I am currently working on a paper and require an equation with e^x. I tried using the suggested layout of $\exp(x)$ but my output only shows an equation with exp(x) in the PDF output. Is there something that I am doing wrong is is there a specific package I need to use?
Any help would be appreciated.
$e^{x}$
do what you want?\exp(x)
intoe^{x}
. There are cases where the former notation is preferable to the latter.\exp(x)
is specifically meant to generate the word “exp” (in upright font), a left parenthesis, an “x” in math italic font, and a closing parenthesis. In LaTeX, to add a superscript to something you must use the^
notation. I advise you not to try to write anything in LaTeX without having previously read an introductory guide (at least).\exp
is an alternative notation toe^{...}
that users should know. Sadly not everyone does. Consider\[\exp\biggl(\int_0^1 fdx\biggr) \qquad e^{\int_0^1 fdx} \]
which of these are more redable? There are many examples of this where there are a short notation for simple input, and a companion notation for complicated input.