Rather than using syntax highlighting, why don't you improve readability by moving your footnotes out of the main paragraph?
With the sepfootnotes
package you can put (longer) footnotes outside paragraphs.
Here are a couple of examples:
Example 1: footnotes separate from paragraphs
\documentclass{article}
\usepackage{sepfootnotes}
\begin{document}
\sepfootnotecontent {a} {See Tom (2002) for a similar view.}
\sepfootnotecontent {b} {See Jim (2001) and Frank (2002).}
\sepfootnotecontent {c} {Author (forthcoming).}
The film Star Trek is interesting.\sepfootnote{a}
But some have argued that it is not well directed.\sepfootnote{b}
I've explained elsewhere that this is not right.\sepfootnote{c}
In this paper, i will blah blah blah.\footnote{dadada.}
\end{document}
Notice that you can use \sepfootnote
for long notes, and keep using standard \footnote
for short notes (like your "dadada" note) if you want to.
Example 2: footnotes in a separate file
Better still, here is how to move your footnotes to a separate file using \input
.
doc.tex
\documentclass{article}
\usepackage{sepfootnotes}
\input{notes}
\begin{document}
The film Star Trek is interesting.\sepfootnote{a}
But some have argued that it is not well directed.\sepfootnote{b}
I've explained elsewhere that this is not right.\sepfootnote{c}
In this paper, i will blah blah blah.\footnote{dadada.}
\end{document}
notes.tex
\sepfootnotecontent {a} {See Tom (2002) for a similar view.}
\sepfootnotecontent {b} {See Jim (2001) and Frank (2002).}
\sepfootnotecontent {c} {Author (forthcoming).}
Example 3: shorter footnote commands
And you can make your text even more clean if you define shorter footnote commands by using \newfootnotes
, which is also provided by the sepfootnotes
package.
For example, in order to typeset footnotes using \anote
and \anotecontent
, instead of the default \sepfootnote
and \sepfootnotecontent
, you just need to declare \newfootnotes{a}
in the preamble. Like this:
\documentclass{article}
\usepackage{sepfootnotes}
\newfootnotes{a}
\input{notes}
\begin{document}
The film Star Trek is interesting.\anote{a}
But some have argued that it is not well directed.\anote{b}
I've explained elsewhere that this is not right.\anote{c}
In this paper, i will blah blah blah.\footnote{dadada.}
\end{document}
notes.tex
\anotecontent {a} {See Tom (2002) for a similar view.}
\anotecontent {b} {See Jim (2001) and Frank (2002).}
\anotecontent {c} {Author (forthcoming).}
.pdf
? – Runar Sep 5 '16 at 18:56