Table of Contents
Date: Tues, Jul 19 2005 3:36 am Groups: comp.text.tex
> I'm beginner in LaTex, I would like to add some nice colors > in my LaTex document. > Is it possible? I use directly pdflatex.
Yes:
\documentclass{article} \usepackage{color}
\begin{document}
I like \textcolor{red}{colored text}.
\end{document}
See grfguide.ps for more information. (Run "texdoc grfguide" if your TeX installation comes with the texdoc program.)
> And is it also possible to add easily tables with background color on > the cells and different foreground color on the text?
Yes. Check out the colortbl package, which is available from CTAN (http://www.ctan.org/) if you don't already have it on your computer.
Scott Pakin
> Is CTAN a site which contains TeX modules as like CPAN for Perl modules?
Yes, only it's the other way around: CPAN is very much inspired by CTAN.
For your color questions: I can only suggest you use the xcolor package: provides the same features as color but adds much, much more. It is already part of teTeX 3.
Morten
> What is main differences of xcolor package from color package? > Thank you in advance.
Mixing colours is very easy, convertion between colour models is also easy, there are some useful macros for colouring tables plus some other things. Have a look at the manual, it has a list and lots of examples.
Morten