8

$\acute{e}$ makes an italic e with accent in math mode, how can I get the acute accent with a regular letter?

I should mention that this is for annotating a plot with matplotlib, so common tricks in LaTeX may not work, I tried \text and \mbox, both failed.

1
  • @PeterGrill well, apparently this is also matplotlib related though ;-)
    – nye17
    Dec 29, 2011 at 9:27

2 Answers 2

14

If you need to do it in math mode you can use $\acute{\mathrm{e}}$.

Here is a comparison of the output:

enter image description here

\documentclass{article}
\begin{document}
    $\acute{e}$ within math mode (without mathrm)\par
    $\acute{\mathrm{e}}$ within math mode (with mathrm)\par
    \'{e} outside of math mode
\end{document}
4
  • 1
    Add to the existing repertoire somewhere, $\textrm{\'e}$ within math mode (with \verb|\textrm|).
    – Werner
    Dec 29, 2011 at 7:08
  • @Werner Just for the record, \textrm seems doesn't work in my matplotlib (I didn't turn on the usetex option but leave TeX strings to python to parse).
    – nye17
    Dec 29, 2011 at 9:30
  • @nye17: So \textrm does not work. What about \mathrm? Or what solution did you end up using?
    – Werner
    Dec 29, 2011 at 18:35
  • @Werner peter's works, yup, \mathrm
    – nye17
    Dec 29, 2011 at 20:44
2
\'{e}

There's a full list of "normal" accents at http://en.wikibooks.org/wiki/LaTeX/Accents#Escaped_codes

1
  • Since your answer was migrated from Stack Overflow, consider registering your account with this site too.
    – Werner
    Dec 29, 2011 at 18:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .