[OS X TeX] Colored words

Alain Schremmer Schremmer.Alain at verizon.net
Sun Feb 20 00:42:28 CET 2005


Maarten Sneep wrote:

> 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.
>
> Maarten

Thanks, I will try it but, in Companion2ed, it looks forbidding. I will 
get the documentation.
Lucida Grandde is surely "something that [I] shouldn't try to 
replicate". Helvetica is fine with me.
Oh, and I wrote "hooked" when I meant "hoist".
I shall report.
Best regards
--schremmer
--------------------- 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 macostex-archives mailing list