With pdfLaTeX I typically used the following code to globally set the text color for all text in the document:
\documentclass{scrreprt}
\usepackage{xcolor}
\begin{document}
\color{red}
\section{A section heading}
some test text
\end{document}
Running the document through pdfLaTeX produces red text. Running this through XeLaTeX produces black text. Using package color
instead of xcolor
doesn't make a difference.
I'd like to globally set the text color for all text appearing in the document, i.e. the headings, the table of contents, all normal text, in figures, in equations, if possible in TikZ nodes, just everything.
\color{red}
right after\begin{document}
. – Gonzalo Medina Aug 25 '11 at 20:40