[XeTeX] Redefining \em and \emph

Gareth Hughes garzohugo at gmail.com
Fri Sep 24 16:15:37 CEST 2010


Philip Taylor (Webmaster, Ret'd) wrote:
> 
> 
> Will Robertson wrote:
> 
>> I'd write something like
>>
>> \let\oldemph\emph
>> \renewcommand\emph{%
>> \if at RTL \expandafter\aemph \else \expandafter\oldelse \fi
> 
> or better still, ... \expandafter \oldemph \fi %!
> ** Phil.

Yes, I'd spotted that. Thanks Will for this. For someone who doesn't
know much TeX, this is really enlightening. Is there a way of adapting
this to modify inner emphasis?

Gareth.


More information about the XeTeX mailing list