How do I make "E" in this equation a small cap?

  • Hmm, why isn't $x^E$ just good enough? It typesets E in the smaller script style. Commented Mar 9, 2011 at 13:32
  • @Andrey: It'll give an "E" in math italic. Commented Mar 9, 2011 at 13:46
  • I think it's best to keep questions reserved for the actual questions. Your edit is an answer, so it would be best if you post it as an answer to your own question (and remove your EDIT from the question). Commented Mar 9, 2011 at 13:50
  • @Hendrik: normally I'd say it's fine to edit the question with a simple "Thanks, here's what I went with:..." But in this case the poster's final solution is much different from the only posted (and accepted) answer. So yes, it would be better for @Oldrich to put his solution in his own answer. Commented Mar 9, 2011 at 14:32
  • @Andrey Vihrov: E in the $x^E$ is still far too big and aggressive for me. Commented Mar 10, 2011 at 5:54

3 Answers 3


To switch fonts in math mode you often use a command like \mathit (for italic) or \mathrm (for roman). But there's no \mathsc command. So just use \textsc.


Note that \textsc{E} will give a capital E that is roughly the same height as the normal shape capital E. In general, if you want a small capital E, use \textsc{e}.

  • 6
    Is there a reason why you wouldn't simply use $x^{\textsc{e}}$? Commented Mar 9, 2011 at 12:48
  • 2
    @Niel: the reason I didn't was that I didn't know you could do that! For some reason I thought that \textsc would require LR mode. I've edited to reflect your simplification. Commented Mar 9, 2011 at 12:54
  • 1
    If you want to have slanted small-caps in math mode, you have to fake it: \mbox{\footnotesize{\textit{E}}} Commented Nov 12, 2018 at 17:13
  • @Jesse, what is the purpose of the \mbox?
    – Marian
    Commented Nov 19, 2018 at 17:09
  • @Marian, the \mbox ensures some nice spacing around the symbol. Try ${\E}^x$ with and without the \mbox, where \E is the symbold defined as above. But I'm no expert - more information here. Commented Nov 19, 2018 at 20:28

The above mentioned $x^{\textsc{e}}$ works in basic situations, but it has the drawback that the font used will depend on the current text font in the environment. For example, \texttt{ ... $x^{\textsc{e}}$ ... } typesets the small capital E in the typewriter font. This is usually undesirable for a mathematical symbol. The problem is most prominent when the surrounding text is bold (such as in a heading): there are no bold extended small caps fonts in the standard Computer Modern font collection, hence the e in \section{ ... $x^{\textsc{e}}$ ... } will come out as bold lower case. So, if you want a general-purpose macro, it is better to use


You can define

  • 2
    With amsmath a better way would be \text{\normalfont\scshape#1} (assuming, by way of contradiction, that the OP really has a problem, which it isn't).
    – egreg
    Commented Jul 23, 2012 at 16:54
  • 4
    The poster of the original question most likely does not have a problem any more, given that it is over a year old. However, other people may have problems. Note that this question turns up as the #1 Google hit for “latex math small caps”, so it is worthwhile to document any relevant info here. And yes, I encountered this very problem in a real-world situation, it is not made up. Commented Jul 23, 2012 at 17:29
  • Just a side note: If in beamer, \normalfont\textsc{e} does not work but \textrm{\textsc{e}} does.
    – tvk
    Commented Oct 23, 2018 at 0:15
  • 2
    Or maybe \textnormal{\textsc{e}}... See: tex.stackexchange.com/questions/70632/…
    – PatrickT
    Commented Dec 12, 2018 at 15:48

My chosen solution which works fine is

\newcommand{\xE}{\ensuremath{ x^{\mbox{\tiny{E}}} }}
  • Could you explain a little bit why chose this solution?
    – rainman
    Commented Aug 5, 2022 at 7:51

You must log in to answer this question.

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