(A) In order to make the footnote symbols red, I include the following command in the beginning of my LaTeX documents:


But what similar thing can I write to make [also] the text in the footnotes red? Have tried myself and googled in vain – Please keep it simple (an explicit command line like the one above) thanks!

\usepackage{amsmath, amssymb, amsthm, cite, graphicx, color, setspace} 



An example of a number\footnote{Numbers are fun.} is $5.$ 

(B) If I have a folder with hundreds of LeTeX files and I want to include this in all of them (so all of these footnote texts become red), is there any simple way of doing this? I am not good at computers, so please rather write 'no' than something complicated.

  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – albert
    Aug 26, 2018 at 16:40
  • Please insert the code in the original question.
    – albert
    Aug 26, 2018 at 17:31
  • Did that thx. Would appreciate (A) help. (B) I can fix in a tiresome but elementary way. Aug 26, 2018 at 17:39
  • For B): Assuming that all your LaTeX files use the same document class, namely article, you could — as a somewhat hacky work-around — copy the file article.cls from /tex/latex/base/article.cls into your working directory and append the lines between \makeatletter and \makeatother from my answer. Aug 26, 2018 at 19:56

1 Answer 1


For A): You may want to redefine the command \@makefntext as well, which is, however, defined differently depending on the document class you use:


  \parindent 1em%
  \hb@[email protected]{\hss\@makefnmark}\textcolor{red}{#1}}

An example of a number\footnote{Numbers are fun.} is $5$. 
  • Cheers Jasper Habicht for you answers! My footnote-text becomes red. :) Since I'm LaTeX-dummy who can't quite break down each of the ingredients in your trick: I wanted to make footnote-texts all red, not change anything else. Is that what your commando does? (I didn't understand whether "You may want to redefine..." meant you changed something else or that I could do this if I wanted to by adding something additional.) Thx again. Aug 26, 2018 at 20:09
  • My code takes your code (that redefines \thefootnote being the macro to insert the footnote symbol) and just adds another redefinition of the macro to insert the footnote text. Because the redefinition of this second macro contains the letter @, which cannot be used just so, the two commands \makeatletter and \makeatother have to be put before and after this macro redefinition. In short, if you replace your single line of code with my few lines, both, the footnote symbol and the footnote text will become red, just as you wanted. The code is supposed to do exactly that, nothing else. Aug 26, 2018 at 20:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .