Hi,

I want to export a table to Latex like:

------------------------ %< ----------------------------------------

\documentclass[11pt,a4paper]{article}
\usepackage[table]{xcolor}    

% http://blog.intgckts.com/latex-table-with-colored-alternate-rows/
 
\begin{document}
  \rowcolors{2}{blue!15}{white}   
  \begin{tabular}{|c | c|}
    \rowcolor{blue!50}              % Heading with different color to highlight 
it      
    Heading1       & Heading2       \\ \hline
    Row 1 column 1 & Row 1 column 2 \\
    Row 2 column 1 & Row 2 column 2 \\
    Row 3 column 1 & Row 3 column 2 \\
    Row 4 column 1 & Row 4 column 2 \\
    Row 5 column 1 & Row 5 column 2 \\ \hline
  \end{tabular}
\end{document}

------------------------ %< ----------------------------------------

Can you give me a litte example?

-uhe





Reply via email to