[XeTeX] textup superscript
Herbert Schulz
herbs at wideopenwest.com
Thu Jun 9 16:07:38 CEST 2011
On Jun 9, 2011, at 8:48 AM, Jacobo Myerston wrote:
> Hi,
>
> I have to use italics for big chunks of texts in which there are superscripts that cannot be in italics. I wonder how can I create a command based on \textsuperscript that maintains the superscripts upright when is embedded in \emph{}.
>
> Jacobo
Howdy,
Here's one solution: define
\newcommand{\emtextsuperscript}[1]{\emph{\textsuperscript{#1}}}
and then try using it like:
Here are text superscripts\emtextsuperscript{abc123}
\emph{Here are text superscripts\emtextsuperscript{abc123}}
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the XeTeX
mailing list