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

6
votes
4answers
2k views

Footnotes in Tabulars?

Is there a simple, elegant solution to add footnotes in a table (tabular)? Preferably, the solution can also support the cleveref package. EDIT: My intended effect is that, the footnotes should be ...
39
votes
6answers
8k views

Best way to create an system of equations environment?

I am trying to write a few systems of equations, and I want the terms to be nicely spaced as below 2x + y + 3z = 10 \\ x + y + z = 6 \\ x + 3y + 2z = 13 Now, using ...
9
votes
2answers
3k views

colortbl: \rowcolor in tables with \begin{tabular}{@{}ccc@{}}

I'm trying to make a table with the following code: \begin{tabular}{@{}ccc@{}} \hline \rowcolor[gray]{.9} a & b & c \\ \hline \end{tabular} Unfortunately the \rowcolor command seems ...
10
votes
2answers
137 views

Restore original definition of $

I found an incompatibility between onlyamsmath and tabu, related to the redefinition of the $-sign. (Its is an active char, and thus breaks inside tabu columns specifiers). This is triggered with: ...
13
votes
2answers
42k views

Combine 4 cells in a table

Here is some simple table - I cannot upload, because I'm just a guest. I want to merge 4 cells. I mean I want to combine three "this" area in this table. I thought I have to use multirow and ...
1
vote
1answer
1k views

why does my document fail with sideways from rotating package?

I want to test landscape tables, and started with the sideways environment. However the code does not compile, I get the error: (./content/landscapetable.tex ! LaTeX Error: Something's wrong--perhaps ...
1
vote
2answers
692 views

Question about tabular

I need some table in LaTeX. As you can see, my LaTeX code is following \setlength{\extrarowheight}{7.6pt} \begin{footnotesize} \begin{tabular}{l|m{7cm}} \hline \hline Workloads & Applications \\ ...
1
vote
2answers
2k views

Use tabularx in LyX instead of default tabular

I recently got into LyX and I’m getting along quite well. The only thing that bothers me is that LyX’s table feature produces really sloppy-looking tables by default, i.e. double borders and stuff ...
2
votes
1answer
1k views

tables across page (ltxtable vs ltablex)

In the past I worked with the ltxtable package, which unfortunately require the table in a separate file. Now I found the ltablex package which claims to be a rewrite (or it rewrites) the tabularx ...
2
votes
1answer
260 views

How to display a specific entry from an external data source input?

I have a data.txt file and it contains an array of numbers, I included it in the preamble of the .tex file, now I would like to display some specific entry from the data file, not the whole data set ...
5
votes
2answers
951 views

sans serif math in tables and siunitx

I want to know the easiest way to ensure that the content inside a tabular, including siunitx columns is set using a/the sans serif math font. The normal document is set in serif font. This approach ...
8
votes
1answer
1k views

Automating Adding Tables Fast to LateX from R? [duplicate]

Possible Duplicate: How can I use a table generated by R in LaTeX? I use a lot of tables from R, and I find it cumbersome and very slow to type the "&" and "\" etc. to get the tables ...
8
votes
3answers
490 views

colortbl: new environments and how to apply \expandafter

This is a followup question from one asked by Andrew Howard. After some discussion, it became clear that colortbl has some issues with the names that can be used for a \newcolumntype. The result of ...
3
votes
2answers
923 views

Using \columncolor outside column definition

I'm trying to create a command, which calls on an environment, which defines a custom column definition with one argument using \newcolumntype, and defines a second command, containing parameters for ...
14
votes
5answers
2k views

In a tabular, how to left align ignoring minus signs?

I'd like to create a table that is aligned left, but minus signs are ignored. E.g., the following gives a normal left-aligned table \begin{tabular}{llll} & a & b & c ...
0
votes
0answers
2k views

padding for table cells [duplicate]

Possible Duplicate: Column padding in tables I am unable to determine the padding for table cells. Here is my table so far: \begin{center} \begin{tabular}{ m{5cm} m{12cm} } \hline ...
0
votes
0answers
65 views

Multiple 'List of Tables' entry for single threeparttablex type table that spans multiple pages [duplicate]

Possible Duplicate: How to use a longtable with only one entry in the list of tables I have a single table that spans three pages using threeparttablex/longtable. The table: ...
12
votes
1answer
345 views

Error with table

\begin{table}[ht] \makebox[\textwidth][c]{ \begin{tabular}{ccccc} \hline \hline [] & [] & [] & [] & []\\ [] & [] & [] & [] & []\\ ...
0
votes
0answers
170 views

How to rotate the text in latex table? [duplicate]

Possible Duplicate: How to Rotate Text in Table across column spanning many rows I would like to make my first column of table merger together and include a 90°-rotated text in that merged ...
6
votes
4answers
3k views

How to decrease the font size of a table in an \input file

I have: \documentclass[11pt]{article} \begin{document} This is the main tex document. \input{tables} \end{document} In the tables.tex file, I only have numerical tables. I want to decrease the ...
7
votes
3answers
3k views

How to make a table with centered images?

On page 6 in this PDF is there a table with centred pictures in the right column. Does anyone know how to make such a table? I am using pdflatex.
12
votes
2answers
4k views

Different font sizes for different rows

I want to put different sizes of fonts (smaller) into different rows of my LaTeX table. I found that it is possible to have different font sizes for different columns of this post. Is there any simple ...
2
votes
1answer
1k views

Overriding margins with longtables

I am trying to create a large table, it is both wide and has a lot of rows. I've gotten long table to work and break it up, and I've managed to turn it landscape. However, due to the size of the ...
5
votes
1answer
312 views

Finding a table's row height

I have two tables, one of which has two rows as a header. The first table's header looks something like this: \toprule \footnotesize\textsc{Stars}\\ \tiny{Name} & \tiny{SHA} & \tiny{Dec}\\ ...
7
votes
1answer
4k views

Minipage, columns, tabular: differences in applicability?

This \parbox vs. \minipage post helped me to understand the main reasons to use either \parbox or {minipage} for placing material side-by-side ({minipage} is usually the winner). I have a similar ...
5
votes
1answer
532 views

How to wrap text in a cell (without any explicit lengths)

I'm hoping to wrap text in a single "mega-cell" at the end of a table. ---------------------- | header1 | header 2 | ---------------------- | entry1 | entry 2 | ---------------------- | ...
2
votes
1answer
425 views

The text “height” keeps popping up in tables

In my LaTeX document, I have some simple code for the simplest of tables. But, when I let TeXnicCenter output it to PDF, the text 'height' is suddenly in the first cell and on the first cell in a new ...
29
votes
3answers
9k views

Professional-looking tables with alternating row colors?

Both the Booktabs documentation and the Small Guide to Making Nice Tables provide some nice rules-of-thumb for making professional-looking tables (e.g., no double rules, no vertical rules, etc.) Q: ...
5
votes
2answers
2k views

Vertical spacing in tables with math

How can I force LaTeX to vertically center math in a table taking into account subscripts, superscripts, etc? It appears from the output below that LaTeX vertically centered the $JV$ and added the ...
9
votes
2answers
272 views

Table with “curly” break

I searched a lot but I wasn't able to find a package that can really fit my needs. I want to achieve something like the “Page Table” in this image: A regular table but with some “curly breaks” that ...
2
votes
3answers
131 views

Is there error in this code for a table?

I am trying to make a table using ScribTeX using the following code: \documentclass[12pt,oneside,reqno]{amsart} \usepackage{amssymb} \usepackage{mathtools} \usepackage[T1]{fontenc} ...
5
votes
1answer
719 views

How do I create the headings for this multirow multicolum table?

I wish to create a table that looks like the following: +-------++--------------------------++--------------------------+ | || Category A || Category B | | Title ...
21
votes
2answers
3k views

Aligning inside tabular environment, specific cell

I'm trying to align a specific content of a single cell. For example, \begin{tabular}{|r|r|} \hline 1 & 2 \hline right & to_the_left \hline 1 & 2 \hline ...
8
votes
3answers
3k views

Longtable caption numbering

I am trying to prevent a table from showing up in the list of tables. I used long table to create the table. This is the first table in my document. I know \caption*{} command should do the trick but ...
1
vote
1answer
361 views

table with monospaced and nonbreaking spaces

I have a xtable generated in R/Sweave that I would like displayed in portrait mode in a pdf. The spaces in the spacedSeq should properly align the sequences. How can I force this to be in a monospace ...
5
votes
1answer
3k views

How to vertically and horizontally centre text and images in (different) table cells?

I have a table which contains images in one column. I would like the first column to have text centred vertically and horizontally. I would like the second column to have text left justified and ...
6
votes
1answer
895 views

Within table, vertically align top of a list and normal text in horizontally adjacent cells

I am making a table where two of the columns constitute a pros/ cons list. I have created a custom list environment with minimal white space around it for this purpose. However, I still find that the ...
0
votes
1answer
661 views

XeLaTeX: xtabular package fails to work

I am trying to make my resume neat and tidy. So, going for LaTeX/XeLaTex. Resume Here The problem is, even though I use the xtab package to put my long tables across multiple pages, for some reason, ...
13
votes
5answers
723 views

Editing *existing* multipage TeX tables in a spreadsheet-like interface?

Is there any GUI/interface/package that will enable me to edit existing data in columns of my super-complicated multipage TeX table? Currently, I count the "&"s to get to the correct column and ...
4
votes
2answers
440 views

An improved \rowstyle that takes the cell contents as an argument

It is possible to format the column entries of a tabular in an argument-style fashion using the lrbox environment to store the column cell in a box (say) \mybox; and supply \mybox as an argument to ...
2
votes
2answers
1k views

booktabs and tiny horizontal space

In a regular table, I'm trying to remove the small horizontal space before the first column and after the last one as achieved with package booktabs with the option @{}. How can I do that? Please ...
1
vote
1answer
1k views

Align table-text in Lyx 1.6.9

I created a table with normal font text inside. After I select the text and go to Edit>>Text style>>Customized and select Larger, in the input the text looks aligned ok (it's right in the ...
8
votes
1answer
4k views

Center wide longtable (not tabular or tabularx)

I have a long and wide table that does fit on A4 format, but is too wide for the text margins. I want that table to be able to spread over multiple pages, but I also want it to be centered on the ...
5
votes
3answers
2k views

Table exceeds page

I'm new to tex and got a problem with a table that exceeds the page, because the content is too wide. I'd expect the table to wrap the text into a new line / new lines, if the text is too long for the ...
24
votes
4answers
7k views

Rotated column titles in tabular

I'd like to create a chart where the column titles are rotated, as per this toy example: I used the rotating package to generate the above. It has certain shortcomings: the rotate command doesn't ...
4
votes
1answer
2k views

Fix sized centered multirow and multicolumn tables

I'm using TeXLive 2011, and one of my friends has a problem with creating tables, which use fix sized centered \multirow and \multicolumn cells. This is his thesis, so there is a lot of ignorable code ...
6
votes
2answers
1k views

Crop entire document around figure

Have you ever submitted a LaTeX paper to a journal that wants separate figures? When you want to include a figure composed of a table of images, you must build it separately. When I run latexpdf, I ...
6
votes
2answers
498 views

How to eliminate the \\ at the end of a longtable

I define a macro \mycmd like this \newcommand\mycmd[2]{{some complicated format #1}&{some complicated format #2}\\} to simplify the input. So I can just write: sometext \begin{longtable}{cc} ...
4
votes
4answers
320 views

Adding lines that go from one cell to another on a different row

I've google a bit about this topic but I've found no result. I'm trying to write some notes for my University course. The topic is "numerical interpolation methods". More precisely I have to build a ...
4
votes
1answer
3k views

Columns of Tabular on Different Slides (Beamer)

I would like to show a tabular by columns for didactical reasons. Example: \begin{tabular}{ll} Beispiel & Erklärung \\\hline Die Schule fällt Fritzchen nicht leicht. & Unterricht\\ Fritzchen ...