TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to define a type of table similar to the look-and-feel of beamer blocks. I tried the following (using the tabu for tables), but with no luck.

    \usebeamertemplate{block begin}}
\usebeamertemplate{block end}%

The use of the new structure would be, something like

A & B \NN
C & D \NN

I also tried to use the solution in Example of fancy table using TikZ package. It worked, however the look-and-feel is not exactly the same.

share|improve this question
related (?) beamer-style-text-box/ – cmhughes Sep 26 '12 at 15:33
Yes. But the first row in the table would be like would have the same look-and-feel as the block title; while the rest of the table would be like the block body. – cacamailg Sep 26 '12 at 15:55
I did something like that before but I don't know if it is useful for you. See the edit history of my answer on this question tex.stackexchange.com/questions/67586/… – percusse Sep 26 '12 at 15:57
The problem is to grab the beamer style. And I want to use tabular-like environment. – cacamailg Sep 26 '12 at 17:08
up vote 5 down vote accepted

The first approach is a \newenvironment that mix mdframed and tabular, but the same with tcolorbox instead of mdframed seem easier because this package have a beamer skin option. The first case is a fixed two columns but in the second the columns format is free (the second parameter of the new environment). You can compare both approaches in this MWE:

enter image description here

    roundcorner=1em, shadow=true,

{ \begin{mdframed}[style=MyFrame, 
{ \end{tabular}



\begin{tcolorbox}[skin=beamer, adjusted title= \centering #1]
{ \end{tabular}


\begin{mdbeamer}{My mdframed  table}
A & B \\
C & D \\

\begin{skinbeamer}{My tcolorbox table}{|c|c|}
 A & B \\
C & D \\

share|improve this answer
Thanks. But it is not exactly what I am looking for. – cacamailg Sep 26 '12 at 21:06
Sorry I haven't seen your second command skinbeamer which can be an approximated solution (with some tweaks for the title behave like a tabular of one line). But how do I remove the background box shadow? – cacamailg Sep 26 '12 at 21:32
In the first case, change shadow=true by shadow=false . In the second, remove skin=beamer, (the comma also) – Fran Sep 26 '12 at 21:42
Thank you very much! – cacamailg Sep 26 '12 at 21:59

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.