emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTex Table with Colored alternate Rows
@ 2015-03-25  7:46 Uwe Hentzschel
  0 siblings, 0 replies; only message in thread
From: Uwe Hentzschel @ 2015-03-25  7:46 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-25  7:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25  7:46 LaTex Table with Colored alternate Rows Uwe Hentzschel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).