On Sun, Mar 02, 2003, Muli Ben-Yehuda wrote about "Re: TIP: using CVS keyword in LaTeX 
documents":
> >     \verb$Id$
> True. However, \verb apparently can't be used as a command
> argument. See http://www.ecn.purdue.edu/users/notz/latex-cvs.html.
> 
> So, any other cool latex tricks? Or do I have to open latex-il first?

Doesn't \protect fix that? E.g., try

        \chapter{\protect\verb+$Id$+}

(again, I didn't try it).

\protect is necessary in some cases of *moving* arguments (arguments that
get copied to other places, like table of contents, footnotes, etc.), and
I consider its existance a LaTeX bug, not a feature.


-- 
Nadav Har'El                        |       Sunday, Mar 2 2003, 28 Adar I 5763
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |A man with a watch knows what time it is.
http://nadav.harel.org.il           |A man with two watches is never sure.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to