For some reason, footnotes do not seem to work with the ulem
package.
\documentclass{article}
\usepackage{ulem}
\begin{document}
\uline{test\footnote{note}}
\end{document}
gives
! Undefined control sequence.
\@footnotemark ...rk \ifhmode \spacefactor \@x@sf
\fi \relax
when I try to compile it using pdflatex
. Is there any chance to fix this or some kind of workaround?
soul
and its\ul
command. If you're underlining a word for giving it a special meaning, then the footnote marker shouldn't be underlined anyway and the standard\underline
would suffice. If you're underlining a whole sentence, emphasize it in a different way, with italics, for instance; your readers will be grateful.ulem
package are kind of external.