Note: DG's answer is the practical solution for the problem, but I recommend you to also see David Carlisle's answer since it talks about the problem.
I searched about this for a while, but I couldn't find an answer.
Sometimes we have a footnote within a paragraph and I personally think that using \footnote
in the middle of it makes the code very confusing. So I came up with the idea of using the pair \footnotemark
and \footnotetext
to organize everything, but I know that this pair is usually used when you cannot use \footnote
.
Hence, my question is: Am I committing a crime if I use \footnotemark
and \footnotetext
instead of \footnote
in "normal situations"?
The point of this question is to know whether I will cause problems in large and complex Latex documents or whether doing that is considered bad practice like using eqnarray
in place of align
.
In summary
I want change from this:
Some text\footnote{1st footnote} and more text
to this:
Some text\footnotemark~and more text
\footnotetext{1st footnote}
Note
I am aware of this specific danger of \footnotemark
, so I can guarantee that this issue is not a problem in my case:
\documentclass{article}
\usepackage[paperheight=3cm]{geometry} % (not needed) just for the example
\begin{document}
Some text\footnotemark~and more text\footnotemark
\footnotetext{1st footnote}
\footnotetext{2nd footnote}
\end{document}