LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Robin Fairbairns <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Mon, 10 Dec 2001 13:24:34 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
> I never tested anything like this, but I think it works if you \protect
> the inner declaration like
>
> \footnote{foo  \protect{\foo{foo}} foo}

it's bad enough using the latex list for non-latex-research issues,
but to post clueless rubbish to it is worse still.

for the record:
1. \protect protects the next token (in your case "{"); to protect
\foo, say \protect\foo, with no braces around it.

2. \protect has no effect on the working/non-working state of \verb.
when lamport says in his manual that you can't use \verb in the
argument of a command, he actually means what he says.

ATOM RSS1 RSS2