B
r
u
c
e
'
s

s
i
t
e
Home
EXAFS software
Other software
Talks by Bruce
Bruce's CV
Bruce's doctoral thesis
miscellany
A few memories of my friend Joel Hathhorne

D
o
w
n
l
o
a
d
s
The Perl script
The output TeX file
LaTeX file demonstrating rgb2tex
PostScript output

P
r
o
j
e
c
t
s
XAS software
Gnuplot-mode for Emacs
Compjuga-mode for Emacs
Frobnicate
Central Atoms Phase Shifts
rgb2tex
Pretty printing
AMS Database

Using X11 Colors in Color LaTeX Documents

`rgb2tex.pl' is a perl script which converts the X11 color definitions found in the `rgb.txt' file into definitions for the \color command from the pstricks package. This allows you to use X11 colors in the postscript or PDF output of your LaTeX documents.

Here is a short example of how to use the output of the perl script.

\documentclass{article}
\usepackage{pstricks, pstcol}
\begin{document}

\input{rgb.tex}

   {\color{forestgreen} This is forestgreen. }

\end{document}
         



Some people decided to make knowledge into property. That wasn't capitalism speaking; that was a greedy scam. There wasn't anything normatively acceptable about it. It contravened the freedom of speech and ideas. We [don't] engage in it because it [excludes] people from ideas.

Eban Moglan, General Counsel, Free Software Foundation

Creative Commons License
This web site is licensed under
a Creative Commons License.

Tools used to create this site include:
[Created by XEmacs!]     [Created with the Template Toolkit!]
Time-stamp: <01 October, 2005>
This page copyright © 2007 Bruce Ravel

Support Amnesty International
*Support the American Civil Liberties Union
Support The Electronic Frontier Foundation

BoingBoing guide to defeating censorware