[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] LaTex Table with Colored alternate Rows
From: |
Uwe Hentzschel |
Subject: |
[O] LaTex Table with Colored alternate Rows |
Date: |
Wed, 25 Mar 2015 08:46:57 +0100 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] LaTex Table with Colored alternate Rows,
Uwe Hentzschel <=