TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to shade the whole footnote area (bottom of the page). Does anyone know, if it can be done ?

Edit : Using the answer provided, the text direction commands \setRL and \setLR, from the Bidi package, get ignored. Here is an example :

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode


\setmainfont{Times New Roman}

%colored footnotes

\nointerlineskip\hbox{\fboxsep0pt \colorbox{yellow}{\box#1}}}

h e b r e w t e x t   \setLR\footnote{a b c d e f} \setRL
share|improve this question
Do you mean with “shading” the boxing way as given by David or more a colour progression from background colour (e.g. white) into a different colour? – Speravir Mar 4 '13 at 21:22
up vote 8 down vote accepted

This removes some of the flexible space between footnotes in order to box and colour the area, but is probably OK in practice.


\nointerlineskip\hbox{\fboxsep0pt \colorbox{yellow}{\box#1}}}



aaa\footnote{one two three}

aaa\footnote{four five six}

aaa\footnote{red blue green

share|improve this answer
This answer provided is working is correspond to the question, but there seems to be some conflict with the "bidi" package, as the shading also changes the orientation of the text : the \setLR command is ignored. (The document is Right-to-left, but the footnotes are Left-to right) – Tonton80 Mar 8 '13 at 14:13
Ah well as a workaround I guess you can put \hbox{\beginR\fboxsep0pt \colorbox{yellow}{\box#1}}\endR} ping me again if that doesn't work – David Carlisle Mar 8 '13 at 14:20
Unfortunately the \beginR command seems to be ignored as well, it produces the same result. – Tonton80 Mar 8 '13 at 14:47
If you can make a small bidi example and add it here or as a new question I'll try to look at the weekend (ping me in a comment if you add it here otherwise I wont see it:-) – David Carlisle Mar 8 '13 at 14:54
I just put an example in the question. Thanks – Tonton80 Mar 9 '13 at 1:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.