## Maintaining text color when piping through less

Posted: 28th November 2012 by Tim in Bash, Linux
Tags: , , , , , ,

Say you’ve got a shell script which outputs a bunch of text with some parts colored, such as a regression testing system that colors failures in red and passes in green. The output from this is too big for one screen, so you pipe it through less, which strips away the colors. What you want […]

## Using colors in LaTeX

Posted: 21st October 2011 by Tim in LaTeX
Tags: , , , , , , , , ,

If you want to add a bit of color to your LaTeX document, you can do this quite easily with the color package. This package works with both pdflatex and latex and gives you the following color options: blue cyan green magenta red yellow To use the colors, simply include the color package and wrap […]