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.
Best Answer
I think you may have misunderstood what you have been told.
\exp(x)
is not an alternative toe^{x}
in LaTeX, exp(x) is an alternative to ex in maths and physics etc.The exp(x) notation is useful where x is some large or complicated expression, e.g.:
Which I certainly think is a big improvement over:
The ex notation is useful where x is something nice and small, like, well:
So LaTeX supports both,
\exp(x)
for exp(x) ande^{x}
for ex.\exp(x)
is not a LaTeX shorthand (longhand?) fore^{x}
= ex.