Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use pandoc to generate LaTeX beamer presentations. To get the look I want I have created a theme myself. I have managed to get the look and feel I want in my presentations but I cant figure out how to style tables.

Here is an example of a table generated by pandoc:

  split & count & share
  1 & 968157 & 0.6508837
  2 & 519293 & 0.3491163

This is what it looks like in the presentation (I have a special font specified):

enter image description here

If you ask me this is very bleak. The table look might fit very well in a report or larger document but it looks very boring in a presentation. I would like to colorize the table and make it more fitting for a presentation.

Question: How can I style this table in a LaTeX .sty theme file or, if not possible, in the pandoc template file?

share|improve this question

migrated from Jan 16 '14 at 8:48

This question came from our site for professional and enthusiast programmers.

It's possible to stylize this table in LaTeX using colortbl. – Werner Jan 15 '14 at 19:44
The way the table is set up makes me wonder: Do you know the booktabs package? – Johannes_B Jan 16 '14 at 9:03
No, pandoc seems to be using a package called longtable. colortbl seems nice but it would be great if it was possible to style this table in the latex headers without having to interfere with the way the table is written. Not sure if it is possible tough. – while Jan 16 '14 at 9:29
On the contrary I find the table very clean and appropriate for a presentation. But longtable is not the best choice for beamer since it is mostly used for tables that exceeds the page length. – percusse Jan 16 '14 at 10:26
Haha ok. Maybe I should reconsider the look then. Just wanted to make it more similar to our company powerpoint template slides (which I don't like that much anyway). Even so, in my opinion it is hard to separate it visually from other text as well. I thought some colors could fix that... – while Jan 17 '14 at 9:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.