I am writing my first university paper in Latex and I am getting compile errors when trying to use \footnote{}
within the \paragraph{}
command.
My document looks roughly like:
\begin{document}
\paragraph{This is confirmed by Aristotle ~\footnote{Aris. Pol. 8.12.3}.}
\end{document}
However, I get the error message:
tex/config/pdftex.map}]
! Argument of \@sect has an extra }.
<inserted text>
\par
l.29 \paragraph
{The state of the evidence is highly fragmentary. The two m...
This is the next paragraph.
The internet tells me that using footnotes is not possible within \paragraph{}
, but I really like the formatting it gives (although \footnote{}
works outside the paragraph environment. Is there a package I can use or a good workaround?
Best Answer
It is a bit odd to have a footnote in a section heading, but if you do, you need to supply a version without the footnote for the table of contents and page headings.
Here
\paragraph
is used directly to keep the example small but it is a 4th level heading so should only be used after\section
,\subsection
and\subsubsection
.