I want write a paragraph that has an exponential term in it, like `the complexity is on the order of 10^5'.
This exponential changes the spacing between the lines of the paragraph. I have seen in some textbooks that they make the size of the base smaller so that it blends in the paragraph.
I wanted to ask what is a good way to have exponential terms in a paragraph in LaTeX without changing the format of the paragraph.
The code can be found here -- the required style file spconf is here (http://www.ieee.ca/ccece09/templates/spconf.sty):
\documentclass[pdftex]{article}
\usepackage{spconf}
\usepackage{amsmath,amsthm,amssymb,mathtools}
\usepackage{subdepth}
\begin{document}
\ninept
\title{Example code}
\name{}
\address{}
\maketitle
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque egestas
posuere eros at feugiat. Morbi adipiscing tempus arcu, et suscipit purus laoreet
eget. Maecenas pulvinar faucibus leo eget feugiat. Pellentesque aliquet placerat
dui id mollis. Etiam convallis tristique tortor, in tempus leo $10^5$ accumsan
sed. Pellentesque interdum metus eu orci convallis mattis. Nunc accumsan
lobortis mi vitae blandit. Integer rhoncus eros dui, ut vestibulum justo ornare
ut. Suspendisse id enim lacus. Proin non blandit neque. Donec lacinia, ipsum
quis vestibulum pulvinar, metus nibh laoreet ante, in semper ligula mi porttitor
purus. Curabitur tempus, leo 10\textsuperscript{5} et cursus congue, tellus
felis ornare neque, ac sagittis tortor leo sit amet sapien. Praesent diam felis,
rhoncus ut eros eget, placerat scelerisque tellus. Quisque elementum turpis non
massa lacinia, condimentum malesuada nisl tincidunt.
\end{document}
:-)
mathptmx
ornewtx
, see this image How are you inputting that number?5
in your screenshot looks both too small and too high. Using some TeX jargon, it looks like the5
was typeset inscriptscriptstyle
rather than inscriptstyle
, say, via$10^{{}^5}$
instead of via$10^5$
. Please state the code that gave rise to this screenshot.