On Tue, Aug 13, 2002 at 10:43:43AM +0200, Jean-Marc Lasgouttes wrote:
> 
> Michael> I still believe there is a rather simple solution for the
> Michael> problem above. Just output
> 
> Michael>    {\sf ... }
> 
> You mean {\sffamily ...}, right?
> 
> Michael> instead
> 
> Michael>    \textsf{ ... }
> 
> We got rid of {\foo ...} because it is not very nice for parsers and
> is not good 'human readable' latex. In this case the right solution
> would be \begin{sffamily}...\end{sffamily}, but you do not want that
> in all your files, do you?

The problem is that not all font commands have {\command } form.
Furthermore, \textit{} is preferable over {\itshape } as the latter inserts
italics correction automatically, while the latter doesn't.

Maybe we should treat size commands differently, as they do not have
a \command{} form (but this may lead to ugly code).

Reply via email to