Monday, November 5, 2012

LaTex: White Text Black Background

With a name like 'White Text Black Background', this blog should demonstrate how to create such a document in Latex.

First you will need to add the package 'color' to the preamble.

\usepackage{color}

Next place that following lines at the beginning of the document:


\color{white}
\pagecolor{black}

Example:


\documentclass[11pt]{article}
\usepackage{color}
\begin{document}
\color{white}
\pagecolor{black}
Do you see me?
\end{document}



No comments:

Post a Comment