Thursday, April 02, 2009

colours are nice




Another way to color your document in latex:


\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[centering,includeheadfoot,margin=2cm]{geometry}
\usepackage{xcolor}
\usepackage{calc,blindtext}

\setlength{\parindent}{0pt}

\begin{document}
\colorbox{blue}{\makebox[\textwidth-2\fboxsep][l]{\bfseries\color{white} Academic Achievements}}

\medskip
\blindtext
\end{document}