Search found 3 matches

by cozmo87
Sun Apr 04, 2010 4:20 pm
Forum: Graphics, Figures & Tables
Topic: A table in a colored box
Replies: 4
Views: 3791

A table in a colored box

No I'm not using multicol, just the standard way of doing 2 columns.
The code you posted works for me when I add a minipage environment:


\documentclass[twocolumn]{article}
\usepackage{xcolor}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{lipsum} % just to generate some text ...
by cozmo87
Sun Apr 04, 2010 2:07 am
Forum: Graphics, Figures & Tables
Topic: A table in a colored box
Replies: 4
Views: 3791

Re: A table in a colored box

Many thanks,

but now I have the problem that the shaded environment can't be stretched over the entire width of the page in a two column document. For regular tables u can use the starred version of the table environment to achieve this:

\begin{table*}

But this doesn't work for the shaded ...
by cozmo87
Sun Apr 04, 2010 1:13 am
Forum: Graphics, Figures & Tables
Topic: A table in a colored box
Replies: 4
Views: 3791

A table in a colored box

Hi,

I want to create a table with a colored background. I tried looking into the colortbl package but couldn't get anything usefull out of it. I included an example of the kind of table I want to achieve. Any ideas how this can be done?
Table.jpg
Table.jpg (103.11 KiB) Viewed 3787 times