General ⇒ footnote{\verb{...}} causes "undefined contrl sequence".
footnote{\verb{...}} causes "undefined contrl sequence".
footnote{\verb{...}} causes "undefined contrl sequence".
any idea?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
footnote{\verb{...}} causes "undefined contrl sequence".
the fancyvrb package could be an option. Take a look at the following example:
Code: Select all
\documentclass{article}
\usepackage{fancyvrb}
\begin{document}
\VerbatimFootnotes
Some text\footnote{\verb=a test footnote.=}
\end{document}
Re: footnote{\verb{...}} causes "undefined contrl sequence".
\VerbatimFootnotes
\foonote{\verb=http://lib.stat.cmu.edu/=} %fine
however,
\usepackage{html}
\VerbatimFootnotes
\foonote{
\htmladdnormallink{\verb=http://lib.stat.cmu.edu/=}{http://lib.stat.cmu.edu/}
}%no longer fine
- Stefan Kottwitz
- Site Admin
- Posts: 10362
- Joined: Mon Mar 10, 2008 9:44 pm
footnote{\verb{...}} causes "undefined contrl sequence".
you could use the url package instead of verbatim environments/commands:
Code: Select all
\usepackage{url}
...
...\url{http://lib.stat.cmu.edu/}...