{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
159 views

How to break header titles in a table

Please, how to break headers titles in a table ? \begin{table}[H] \begin{tabular}[h]{|p{2cm}||p{2cm}} \hline {title one} & {title two} \\ \hline\hline \end{tabular} \caption{title} \end{table} ...
12
votes
2answers
3k views

Misplaced \omit. \multispan with \newcommand

I'm trying to build my own cookbook-style, which has an ingredient makro. Sometimes the ingredients should be seperated and have a headline, so I tryed with an optional argument. A minumum example ...
2
votes
1answer
142 views

Creating table of images and only one col having one picture to span all rows

I am just adding lots of images into latex and although I know how to apply images to a table, this one is slightly tricker. I have two columns. The first needs a single image which spans all rows, ...
5
votes
1answer
4k views

Table errors with excel2latex

Following this discussion, I have just converted a table using excel2latex, and I get the following output from it, % Table generated by Excel2LaTeX from sheet 'Sheet2' \begin{table}[htbp] ...
3
votes
2answers
1k views

Tables as PDF images

Due to time constraints I'm considering cheating a little and importing some tables I've created in Excel into my latex document. I realise I can do this quite nicely as a 'figure' using something ...
8
votes
4answers
295 views

How can I align at relation symbols within a cases environment?

I have used the following code in LaTeX - \documentclass{article} \usepackage{amssymb,amsmath} \begin{document} \begin{table}[H] \centering \begin{tabular}{c|c} \hline { $X=y+z$} & { ...
5
votes
1answer
3k views

Strange problem with `longtabu`

I would like to share with you a quite simple example LaTeX is not able to compile. I use the longtabu environment provided by tabu package. I am using commands from booktabs as recommended in the ...
5
votes
1answer
321 views

Different type of captions

I have four tables. The first table has a caption of Table A: Title. The other three tables have captions of Table 1: Title, Table 2: Title, and Table 3: Title. When I use \caption{Title} it ...
3
votes
1answer
1k views

want table to look like this

I use lyx with elsarticle class with two-column document but I made span columns so table will span over the two columns. I tried it with adding the caption package: ...
1
vote
2answers
2k views

Rotate table with caption on the same page

I want to rotate a table because it is too wide. I'm forced to use \documentclass[11pt,a4paper]{article}, so changing that is not a solution. Many packages rotate the whole page, but I just wan't to ...
1
vote
1answer
184 views

table floating outside Beamer slide [closed]

The problem is , I created a Table in Beamer, its not fitting in the slide, some part of it was floating outside the slide area. Any fix for this please
4
votes
3answers
3k views

hspace in tabular

How can I move the summation equation that appears at the bottom of column 3 to be centered with the column 3rd column. Using \hspace hasn't been successful thus far. ...
5
votes
1answer
1k views

Space after itemize only if no text follows [duplicate]

My problem with the following example: If there is text after a list (itemize), everything looks just fine. If there isn't, there is a blank line after the last list item which I would like to ...
11
votes
2answers
408 views

Non-trivial table in LaTeX

I want to convert this OO table into latex: This is what I have so far: \begin{table} \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|} %p{4cm} \hline \multicolumn{7}{|c|}{Czas ...
5
votes
3answers
4k views

Removing some lines in table

\documentclass{article} \usepackage{rotating} \begin{document} \begin{table}[h] \centering \begin{tabular}{|c|c|c|c|} \hline & \begin{sideways}ABCD\end{sideways} & ...
2
votes
2answers
2k views

How can I use the full page width (\textwidth) while importing a table with \includegraphics?

I'm in a 2-column environment. I need to use the entire pagewidth (\textwidth) while importing a table with \includegraphics. \begin{table} \centering \includegraphics[width=\textwidth]{./myfile.pdf} ...
5
votes
2answers
204 views

Itemized table layout

quick question: I copied this code: \documentclass{article} \usepackage{amsmath,amssymb,calc} \def\horizlist#1#2#3{% \setcounter{enumi}{0}% #3% \flushleft \newlength\stringlength ...
4
votes
1answer
216 views

How can I center multiline text in the horizontal remainder of a page?

I'd like to produce a bunch of pages in the 'minicard' format (2.75 by 1.1), with a 1-inch qr code taking up one side of the thing, and centered multiline text on the other side. Unfortunately, I ...
7
votes
2answers
789 views

Creating an automated table of signs

When solving some inequalities in the context of algebra-precalculus course it is sometimes useful to sketch the behavior of the factors involved using a table. All becomes clear with an example - say ...
28
votes
2answers
6k views

Vertical alignment in table: m-column, row size - problem in last column

Unfortunatly, I have a problem with m-columns (array package) in tables with adjusted row height. Somehow in the last column (only there) the text is not centered vertically. Check it out: ...
10
votes
4answers
14k views

Table with foot note

I have a table and some of the number inside has some symbol like * and ** which should be explianed as footer ( at the end of the table not the page) I dont know how to do that and I dont want to ...
1
vote
1answer
192 views

Images inside table are drawn on top of cell borders

I have the following table: \begin{table} \centering \begin{tabular}{ | c | c | } \hline \includegraphics[scale=.5]{image1.png} & \includegraphics[scale=.5]{image2.png} \\ \hline ...
3
votes
1answer
226 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
121 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 ...
5
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
178 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 ...
12
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
145 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
148 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
213 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
360 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
182 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
202 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
268 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
605 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
321 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
468 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
360 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
614 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
4k 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 ...