[Techtalk] LaTeX/LyX question

Wolfgang Petzold petzold at villa-chaos.de
Thu Nov 4 08:44:09 EST 2004


Hi!

>> the last thing I need to do is have the document underline all the
>> emphasized text, instead of formatting it in italics.
> 
> You can do this by redefining the emphasis command using renewcommand:
> 
> \renewcommand{cmd}[args]{def}
> 
> So for what you want, it'd be...
> 
> \renewcommand{\emph}[1]{\underline{#1}}

You might as well want to have a look at the ulem package which among
other gimmicks is able to handle line breaks in the emphasized
(= underlined) text parts.

Regards
Wolfgang


More information about the Techtalk mailing list