Wednesday, July 09, 2008

Color in latex.

Colortbl and xcolor packages support the color in latex. However, it can be used with the class file "article". It doesn't support the emulateapj class, which is a pity. The reason why I prefer emulateapj class is that the emulateapj has a good-looking table.


Here are some basic examples for the usage of colortbl and xcolor:

colortbl:

\begin{table}[ht]
%\scriptsize
%\rowcolors[\hline]{2}{rgb:red!50,2;green!50,2;blue!0,1}{}
\caption{rxte data for Model phabs(simpl(kerrbb2)) with nH fixed at 0.46e22$\rm cm^{-2}$ (3.0-8.0 keV) }
\centering
\begin{tabular}{c c c c c c>{\columncolor[gray]{.8}} c>{\columncolor[gray]{.5}} c c c c c}
\begin{tabular}{c c c c c c c c c c c c c c}
\hline\hline
\hline\hline
.......
\end{table}

Xcolor:

\begin{table}[ht]
\caption{rxte data for Model phabs(simpl(kerrbb2)) with nH fixed at 0.46e22$\rm cm^{-2}$ (3.0-20.0 keV) }
\centering
\rowcolors[\hline]{2}{rgb:red!50,2;green!50,2;blue!0,1}{}
\begin{tabular}{c c c c c c c c c c c c}
\hline\hline
.........
\end{table}

useful perl link

http://www.comp.leeds.ac.uk/Perl/associative.html

latex link.

latex tips:

http://www.cse.iitd.ernet.in/~anup/homepage/UNIX/latex.html

how to get all the files on ftp site without interactive answer?

http://bbs.chinaunix.net/archiver/?tid-596912.html

use the command "prompt" before use the command "mget". The purpose of "prompt" is to turn off the interactive mode.


"get" is getting one single file.
"mget" is getting multiple files.

ftp command collection:

http://www.computerhope.com/software/ftp.htm