[OS X TeX] \ifthenelse in \author ?

Bruno Voisin bvoisin at mac.com
Mon Feb 7 23:51:28 CET 2005


Le 2 févr. 05, à 16:49, Josep M.Font a écrit :

> By the way, I don't know if this is a bug or whatever: Inside 
> \author{...} you can break a line with a \\, and even with a \\[1ex], 
> but it disregards the additional space. But if you use \\[0.5ex] then 
> \maketitle complains "missing number, treated as 0..."! Just being 
> curious...

Very often this error message indicates that a fragile command is used 
and needs to be protected. Also, does \author{\protect\ifthenelse{...}} 
fix your problem?

Bruno Voisin

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list