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

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.

--

the only difference between a car salesman and a computer salesman
is that the car salesman knows he's lying.