[texhax] verbatim in footnote
Lars Madsen
daleif at imf.au.dk
Mon Feb 21 07:44:55 CET 2005
Tom Schneider :
> Hi:
>
> I'd like to put a verbatim or verb inside a footnote:
>
> \footnote{
> \verb|http://www.bdbiosciences.com/|
> }
>
> but LaTeX objects:
>
> ! Missing } inserted.
>
> \footnote{
> \begin{verbatim}
> http://www.bdbiosciences.com/
> \end{verbatim}
> }
>
> ! Argument of \@xverbatim has an extra }.
>
> \protect in front of or inside the footnote doesn't help.
>
verbatim cannot be used inside other macros. See fancyvrb insted.
but in your case you would want to use the url package and
footnote{\url{http://www.bdbiosciences.com/}}
instead
--
/daleif
``You cannot help men permanently by doing for them
what they could and should do for themselves. ''
-- Abraham Lincoln
More information about the texhax
mailing list