1

How can I write e^(3j) in LaTeX?

I have tried many syntax, like $e^(3j)$ or $e^*{3j}$

Any help will be very well received.

moewe
  • 175,683

1 Answers1

10

Group the exponent in curly braces, and use the ^ sign to make it a superscript. If you really need parentheses, add them inside the braces too.

\documentclass[border=10pt]{standalone}
\begin{document}
$e^{3j}$ or $e^{(3j)}$%a variable e
\quad
$\mathrm{e}^{3j}$% e as a constant
\end{document}

Output

Stefan Kottwitz
  • 231,401
  • 1
    I feel one should use \exp and define it to one's likings, but that's debatable – Bort Aug 16 '15 at 10:51
  • @Bort But there are times when one wants to write $\exp(blah)$ and times when one wants to write $\mathrm{e}^{blah}$. The former is well-suited to complicated expressions; the latter to simple ones. – David Richerby Aug 16 '15 at 15:30