{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)

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 ...
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 ...
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 ...
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; ...
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
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
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}| ...
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 ...
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: ...
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
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} ...
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: ...
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. ...
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 ...
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?
14
votes
1answer
7k views

in-cell newlines (in tabular environments)?

I'm working on a table containing multi-line cells and I wonder if the following concept is supported by LaTeX. The concept itself is simple: allow a cell to span multiple lines by increasing the ...
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 ...
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 ...
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 ...
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} ...
5
votes
1answer
321 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 ...
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 ...
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 ...
1
vote
1answer
660 views

How can I affect my table formatting from the preamble?

I'd like to change my LaTeX table formatting slightly, but due to the way the documents are generated, I can't do so by changing the actual LaTeX code, but can change what will appear in the preamble. ...
1
vote
2answers
621 views

table from pdf to latex

Ciao guys I am making a presentation using beamer. It is based on an online research article. Let's say there's a pdf file with a table consisting of 4 columns and 5 rows. What would be the easiest ...
7
votes
1answer
269 views

How to prevent tables from being wider than the text width in ConTeXt?

I have some tables like this: \starttabulate[|l|l|] \HL \NC Title 1 \NC Title 2 \NC\NR \HL \NC This is a sentence. \NC This is another sentence. \NC\NR \HL \stoptabulate ...
4
votes
1answer
3k views

Numbering equations in tabular environment

I wish to number equations in a table, like numbering them in \begin{equation}. ... \end{equation} Since all the equations are written as "inline" equations (for example, $a = b+c$) in ...
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
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 ...
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} ...
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...
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: ...
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: ...
1
vote
1answer
385 views

Using \cdots in Table - error: Missing $ inserted

Am getting countless error messages for 'Missing $' and Extra }, or 'forgotten $'. I am building a table and trying to fill some cells with dots (\cdots, \vdots etc). The first line in the table with ...
6
votes
2answers
6k views

Vertical centering in multirow table cells

The documentation for the multirow package implies that the content of a \multirow will be vertically centered by default. In this example (machine-generated from a Word document, hence all the ...
1
vote
1answer
147 views

Can images and tables be always placed immediately after the paragraph they are first mentioned, even if white-space needed to move to another page?

I would like to ensure that when I mention a table/figure in the text, the figure/table will appear after that paragraph ends. Even if this means leaving the rest of the page blank and putting the ...
1
vote
0answers
207 views

numbers before decimal separator do not align in table column [closed]

I want a table column that is aligned at the decimal separator. For that I use the S column type defined by the siunitx package. However, when I do this, the numbers left of the decimal separator are ...
2
votes
2answers
1k views

Duplicated tablefootnotes with longtabu

I Have a very wide table that where I want to have footnotes. I found that one way to make the table fit in my page was to use tabu and longtable. And the package tablefootnote for the in table ...
9
votes
1answer
4k views

Aligning a figure and table side by side

I would like to place a figure side-by-side with a table, and have both of them aligned to the top. This is what I came up with: \begin{figure} \begin{minipage}[b]{0.65\linewidth} ...
9
votes
2answers
11k views

Space between rows in a table

I created a table in LaTeX, however, I can not put a space after the first row. As you can see the bar of X mean overlaps the \hline. I tried \\[1pt] after \hline, but it produced much more space than ...
6
votes
1answer
4k views

How to doublespace a table using setspace?

I have used setspace with \spacing{1.9} to meet publisher specifications of "3 lines per inch or 12 lines per 10 cm", but it does not affect tables, although the publisher has requested that the ...
2
votes
2answers
250 views

How to doublespace a sidewaystable using setspace?

As a follow-up to a previous question, How to doublespace a table using setspace?, I found that the solution is not compatible with the sidewaystable environment defined in the rotating package. I ...
1
vote
1answer
490 views

siunitx package not working in tables

I can't get the special table columns from the siunitx package to work. The numbers render in a normal l column but not in the special S coulmn. Here's my minimal example: ...
3
votes
1answer
225 views

Can I have a table that spans multiple pages using ctable?

I'm currently working on a paper and I have a bunch of tables. Currently I'm using the ctable package for my tables. One of my tables is rather long and it spans more than one page. However currently ...