Use \text intead of \mathrm in \supScript.
authorW. Trevor King <wking@drexel.edu>
Sun, 13 Jun 2010 14:19:22 +0000 (10:19 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 13 Jun 2010 14:19:22 +0000 (10:19 -0400)
This avoids setting the font explicitly, which allows the superscript
font to match the standard text font.

tex/src/local_cmmds.tex

index 3b1952f36759d3b6ae070ed13f53286a1c035291..bca22acc4991bf029a348bbfad4743115be716b4 100644 (file)
@@ -47,7 +47,7 @@
 \newcommand{\limZp}{\limZ{z_p}}
 \newcommand{\CPV}{\ensuremath{\mathds{P}}}
 
-\newcommand{\supScript}[1]{\ensuremath{^{\mathrm{#1}}}}
+\newcommand{\supScript}[1]{\ensuremath{^{\text{#1}}}}
 \newcommand{\st}{\supScript{st}}
 \newcommand{\nd}{\supScript{nd}}
 \newcommand{\rd}{\supScript{rd}}