{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx}, {tabu} and {longtable}. For questions about the table environment (i.e., about floating or positioning), use {floats} instead.

learn more… | top users | synonyms (2)

3
votes
1answer
221 views

Space between words tabular

I'm working with booktabs package. My goal is to get the same space between each word. For example: LaTeX TikZ, tabular myframed titleps. \ Not like this one: ...
1
vote
1answer
3k views

Table Layout Beamer

I need to create a structure which is similar to Table Layout in the presentation (Beamer). I have rows, and in every row I have some columns (pictures,text). E.g., I mean this: I need only to ...
5
votes
1answer
120 views

How to calculate the number of cells per line

Assume I have a table with a dynamic number of rows and columns, and I want to fill the table with n elements. Assume an element has the constant length x, and I want to say make floor(linewitdth/x) ...
1
vote
1answer
118 views

Order of `float` and `caption` packages in preamble

I am using float and caption packages in my document, and also packages like tabularx, listings, algorithm... that (as far as I know) define floating elements or elements that have captions ...
4
votes
1answer
1k views

Caption at foot of long tables ('longtable' package)

I would like to ask a question about longtable package. I've already posted it in other forums. I have a long table (a several-pages-long one) using longtable package and I would like to add a table ...
2
votes
1answer
177 views

building a table of images

I seem to have run into an impassable issue that I need help solving, and I am 100% aware that this is impossible just pure LaTeX but I wish it was. So onto the question at hand. I am wanting to ...
11
votes
2answers
13k views

How to highlight table rows by colors in Beamer

I would like to highlight rows in tables, in rowwise, that is I would like to highlight row 1 in red, then make row 1 in black but row 2 in red, etc. How can I manage to do so in Beamer?
6
votes
1answer
2k views

Why tabular doesn't work with ModernCV

When I try to insert a tabular in my CV using modernCV document like this \begin{tabular}{|c|c|c|} \hline aa & bb & cc \\ \hline dd & ee & ff \\ \hline \end{tabular} I don't ...
2
votes
1answer
142 views

Customize horizontal positon of table within page

I am using memoir package and I want to generally left align tables (In contrast to figures that should be centered). I am using the hmisc latex function which generates this float table code, but I ...
2
votes
2answers
145 views

Reserve the place for further overlays

I have 3 parts in a tabular, I want onslide1- to be always displayed. After 1 clic, I want only2 to be shown; after another clic, at the position of only2, I want only3- to replace only2 forever; ...
2
votes
1answer
188 views

Position of \only within a \tabular

I have the following code: \documentclass{beamer} \usetheme{Boadilla} \usepackage[frenchb]{babel} \begin{document} \begin{frame} \begin{tabular}{ll|ll} \only<1>{only 1} ...
5
votes
1answer
1k views

Tabular with arrows or lines between some cells

I have a table like the one below and want to write this in Latex. what would be the best aproach? I have tried it with Tikz where i can nest a Table but failed with the lines wich connect the ...
2
votes
1answer
210 views

Automatically center array of images inside table cell

I have this kind of table: \begin{tabular}{p{0.5\textwidth}|p{0.5\textwidth}} caption1 & caption2 \\ \includegraphics[params]{path11} \includegraphics[params]{path12} ... ...
10
votes
2answers
353 views

Multicolumn within a newcommand error

I am new to writing packages and am coming across an error that I can't unravel, I would appreciate any help that you can provide. I am writing a few macros which are meant to be used within a tabular ...
5
votes
1answer
4k views

Tabular environment column specification

I am using the tabular environment. \begin{table*}[ht] \renewcommand{\arraystretch}{1.3} {\small \begin{center} \begin{tabular}{|l||>{\centering\arraybackslash}m{1.6cm}| ...
3
votes
2answers
177 views

Putting tables in end of paper, then summoning them in text with a command?

In papers I put the tables at the very end and do something like; \begin{center} Insert Table~\ref{tbl:tab1_1} about here. \end{center} in the body of the paper for a draft. When it comes to ...
8
votes
1answer
197 views

Indent and spacing in tables (or: How to do it better?)

I'm using the tabular environment in order to properly display my address in the text. But as the following example shows, the first column of the table doesn't align with the main body text. Also ...
2
votes
0answers
266 views

siunitx not working in table [closed]

I am trying to use siunitx package to format tables, but it just doesn't seem to be working. I am using texlive2012 installation under ubuntu 12.04. A minimal "working" example would be: ...
2
votes
1answer
592 views

Very wide columns with dcolumn package

I want the the following table to be perfectly centered within the margin, with an approximately even spacing between each column. \documentclass[a4paper,11pt]{article} ...
18
votes
3answers
3k views

How to Create Comparison Tables in LaTeX?

I am a new user (both to LaTeX & this forum). I want to create a Comparison Table for an Article (like the one shown here): Can someone please help me with this.
0
votes
1answer
1k views

Vertical text alignment in tabular is wrong

According to http://en.wikibooks.org/wiki/LaTeX/Tables ('The tabular environment' paragraph), I would have expected to be able to use 'p', 'b', 'm' to define vertical text alignment for a column. This ...
6
votes
2answers
316 views

How can I define a macro that adds a row to a table that has not yet been printed?

I want to generate a list of technical abbreviations and acronyms that I use. Currently, I'm defining all acronyms with a macro I have designed. Now, I want the macro to call another macro, called ...
6
votes
2answers
446 views

How to do a table with top corner removed

I want to do a table with some columns (9) but I want the first 2 columns on the first row to be empty. I can't seem to be able to close the top of my table the way I do it. ...
9
votes
1answer
357 views

What is best practice for aligning distinct arrays or tables side-by-side?

I have two related tables that could naturally be displayed side-by-side but don't have to be. However, it saves space to display them side-by-side rather than one atop the other. If I do so without ...
11
votes
2answers
4k views

Highlight table cells using thick, colored border

I'd like to highlight certain cells of my table. In particular, I'd like to set the border of these sells colored and thick. These cells should also have a background color. Here's a minimal example ...
3
votes
3answers
602 views

Dropped column in multicolumn table

In a table with 4 rows and 4 columns I try to merge different cells in every row while preserving the table layout. As there are never more than 3 cells in a row, a table column seems to be dropped. ...
4
votes
1answer
2k views

LaTeX - tables, multirow with non integer number of rows

Editted to provide a clearer example Basically I want to make a table that in one column has a series of dates and the second and third columns have a series of objectives for that date. However the ...
16
votes
3answers
3k views

How to wrap text in table cell?

this code: %%%%%%%%%%%%%%%%%%Table: Valence x valence crosstab \begin{table*}[t] \centering \begin{tabular}{c c c c c c c} \toprule \midrule ...
13
votes
4answers
1k views

Drawing Young tabloids

I would like LaTeX to produce output like the following (without the 2 a so called Young tabloid), ideally by writing \ytabloidshort{123,56} (using one character per cell, ideally allowing ...
5
votes
1answer
320 views

Color table element with siunitx S column

I have a table with numbers that I have aligned using the S column type provided by the siunitx package. I need to make one of the table elements red, but when I do that, the number that is red is no ...
14
votes
2answers
3k views

Set table background hatched and shaded using tikz

I am looking for a convenient way to set the background of tabular cells. I'd like to do two things: (1) Set the background shaded in a color (2) Set the background hatched I learned that the TikZ ...
2
votes
1answer
2k views

Using \include with in Tabular / Array

I'm doing graphics using PStricks, writing each figure in it's own sub-file. I would like to order two of these figure vertically with a symbol in between. To that end, I've tried using a tabular and ...
4
votes
1answer
263 views

Vertical centered image in cell

Consider following code: \documentclass[a4paper]{article} \usepackage[table]{xcolor} \usepackage{graphicx} \paperheight297mm \paperwidth210mm \textheight297mm \textwidth180mm \topmargin-25.4mm ...
6
votes
2answers
2k views

Not enough space in table for fractions

The table that I'd like to make does not display fractions with enough space between lines. What's the reasoning for this? (Not enough rep to be able to post a picture yet unfortunately.) ...
3
votes
3answers
356 views

Table in golden ratio

I'd like to create a table with two columns which follow the rules of the golden ratio. The width of the table should be equal to \textwidth of the corresponding class. Here is an example image: ...
6
votes
1answer
1k views

Many vertical alignment problems with tabu table

I use tabu to easily specify colors for different parts of my table. Also the X column makes life easier. I have some problems regarding vertical placement: In the linked figure you can see many ...
12
votes
3answers
982 views

Reusing LaTeX code to achieve a consistent layout

What is the best approach to reusing the same layout for numerous tables, paragraphs etc. which share the same structure but different content? Is the best method to use custom commands/macros?
3
votes
1answer
137 views

Tabular column not matching up

I'm trying to create a document showing how two numbers are added, focusing on moving from the ones column on up, but for some reason, my tabular environment's columns are not matching up with my ...
2
votes
1answer
288 views

content-independent total height

I am generating a table from a program with two pairs of name/value columns. Each pair forms a two column tabu table and the two tables are then nested in an overall tabu table to get the effect. I ...
16
votes
1answer
2k views

Table looking like a block

The goal is to create a table that has the same style than a block of the used theme in order to have a consequent style trough the document. this can be done by the following two methodes shown in ...
5
votes
1answer
181 views

building a box a bit special

I'm trying to build in latex this box: I have been trying with this code: \noindent\begin{tabular}{|c|c|c|c|}\hline \enc{cyan}{ NOMBRE }&\enc{cyan}{ $\text{1}^{\text{er}}$ APELLIDO } & ...
0
votes
1answer
103 views

Centering a table while ignoring the 1st column in centering procedure

I want a table to be centered except I don't want the first column to be considered in the centering procedure. That is, I want columns 2 to N to be centered perfectly, and column 1 to be hanging off ...
4
votes
1answer
826 views

Using sidewaystable enviroment with footnotetext

my new problem si this code: \documentclass[a4paper,12pt]{article} \usepackage{rotating} \begin{document} \begin{sidewaystable}[h!] \centering \setlength{\tabcolsep}{5pt} ...
5
votes
1answer
445 views

Table with shaded transitition, rounded corners and shadow (like a block of the theme)

this is my first question here. I want to make my table look like the block to have a consequent style. Questions: How to create that shaded transition from the table headline to the body (like the ...
8
votes
1answer
12k views

Vertical Alignment in multirow using cells with >1 lines

I want to vertically align (best would be to center) the text ("TEST") in the left (yellow) column of the following table. It works fine with multirow when every row has exactly the hight of one line: ...
2
votes
2answers
159 views

Justification in table

How to justify a table column like: \begin{table}{j j} ab cd & ef gh\\ ij kl & mn op \end{table} where j stands for justified column, i.e. both right and left are aligned. Thanks...
4
votes
2answers
5k views

Vertical alignment using multirow and booktabs

I'm trying to format correctly the following table: \documentclass[a4paper,twoside]{report} \usepackage{array,colortbl,multirow,multicol,booktabs,ctable} ...
1
vote
1answer
251 views

Pagebreak problem (stop my document from not pagebreaking) [duplicate]

Possible Duplicate: What is the command to just slightly increase the text height of a particular page? Squeeze some more lines on the current page How would I shift up my text from the ...
5
votes
2answers
1k views

pgfplotstable; longtable with caption and repeating header

I would like to use the pgfplotstable package in order to import data from a .csv file into a multi-page table. I would like for the table to have: a caption above it and its header to repeat at ...
6
votes
2answers
268 views

tabular height savebox problem

I'd like to build a tabular and next to it a graphics in the same height. I use the following code (for minimal working purposes, I used \rule) and do not understand, what is going wrong: ...