My question is very similar to Recolor text, such that floats and footnotes are affected correctly, but I am using transparent text instead of colored text.
(I do not simply use grey text because I am using many colored hyperref
links that should change their color as well in transparent mode.)
\documentclass{article}
\usepackage[paperwidth=9cm,paperheight=3.3cm,scale=0.9]{geometry}
\usepackage{transparent}
\usepackage{xcolor}
\begin{document}
This text is black.
\footnote{\transparent{1}I can easily control the transparency of footnotes.}
\begingroup
\transparent{0.2}
This text is transparent%
\footnote{\transparent{0.5}I can always control the transparency of footnotes.},
but the line below that separates the text from the footnote and the footnote-numbers should be black, but they transparent and I don't know how to control their transparency
\clearpage
This text is still transparent.
\footnote{\transparent{0.1}I can still easily control the transparency of footnotes.}
\endgroup
This text is correctly black again.
\vfill
The line (and numbers) below is correctly black again
\end{document}
How can I change the separating line and the numbers to black?
(In real worls examples I use normal automatic page-breaks and not \clearpage
, of course)