[texhax] emph{} should toggle emphasis in text set with \itshape

martin f krafft madduck at madduck.net
Fri Aug 28 11:34:12 CEST 2009


also sprach Axel E. Retif <axel.retif at mac.com> [2009.08.28.0622 +0200]:
> >my style sheet uses \itshape for quotations. I have a few
> >quotations with \emph{} in them, and the proper thing to do would
> >be to de-emph{} (toggle emphasis) in this context. Can texlive do
> >this?
> 
> Sorry to ask this way..., but did you even try it?
> 
> {\itshape my style sheet uses \verb|\itshape| for quotations.
> I have a few quotations with \emph{emph} in them, and the proper
> thing to do would be to \emph{de-emph} (toggle emphasis) in this
> context. Can texlive do this?}

Yes, I definitely did. I noticed in the PDF it said "(his emphasis)"
following a quotation, and I shrugged, because it was all cursive.

But then I tested it in a simple case and there it works.

Thanks to your input, I managed to trace this down to a stupidity
deep down in the .cls file I have to use, where \emph{} was
redefined.

I am sorry that I spammed the list without providing all the details
or running a simple test case.

Thank you for your patience.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
the only difference between a car salesman and a computer salesman
is that the car salesman knows he's lying.
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://tug.org/pipermail/texhax/attachments/20090828/2595d7d8/attachment.bin>


More information about the texhax mailing list