I never tested anything like this, but I think it works if you \protect
the inner declaration like
\footnote{foo \protect{\foo{foo}} foo}
"Paulo J. Matos aka PDestroy" wrote:
> Hi all,
>
> Has anyone any idea how can I do the following without any
> errors, or at least get the same result using any other approach?
>
> \footnote{foo \verb|bar| foo}
>
> \section{foo \verb|bar| foo}
>
> Best regards,
> TIA,
>
> --
> Paulo J. Matos aka PDestroy : pocm(_at_)rnl.ist.utl.pt
> Instituto Superior Tecnico - Lisbon
> Software & Computer Engineering - A.I.
> - > http://www.rnl.ist.utl.pt/~pocm
> ---
> Yes, God had a deadline...
> So, He wrote it all in Lisp!