[OS X TeX] Colored words

Maarten Sneep maarten.sneep at xs4all.nl
Sat Feb 19 18:16:32 EST 2005

On 20 feb 2005, at 0:09, Alain Schremmer wrote:

> I read the documentation which I found indeed better than Companion2ed.
> The "pretty printing [I] am trying to do" is reproducing TeXShop's 
> source file. (I finally got hooked by my own petard and had to agree 
> to write … the intro to LaTeX that I would have liked to have last 
> year.) For instance, I would like to be able to write stuff like

I think it would be easier to use the listings package, which will 
allow you to pretty print various programming languages, including 
LaTeX. Adapting it to your needs is easy, and assigning colours to 
keywords is trivial (it is right there in the documentation). Changing 
the fonts to helvetica, or whatever is also easy.

Oh, and I've set the typeface of TeXShop to Lucida Grandde, but maybe 
that is something you shouldn't try to replicate.

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the MacOSX-TeX mailing list