From: Uwe Hentzschel <uhe@gmh-systems-ost.de>
To: emacs-orgmode@gnu.org
Subject: LaTex Table with Colored alternate Rows
Date: Wed, 25 Mar 2015 08:46:57 +0100 [thread overview]
Message-ID: <87h9t9qzu5.fsf@thorin.stahl-groeditz.de> (raw)
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 other threads:[~2015-03-25 7:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9t9qzu5.fsf@thorin.stahl-groeditz.de \
--to=uhe@gmh-systems-ost.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).