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

22
votes
3answers
18k views

Aligning Decimal Points in Table

I want to align two numbers in two different rows the decimal point. I do see a link for that here: Aligning numbers by decimal points in table columns However, I don't understand how to ...
5
votes
1answer
1k views

Adding Columns to a Table

I am trying to make a table with 10 columns. For some reason, when I add an 11th column, the table no longer compiles. Below is, I believe, a minimum working example. Specifically, the table ...
1
vote
2answers
1k views

Incorrect numbering on table broken over pages using longtabu

I've a problem with table numbering when using longtabu and my tables go onto a second page. This was picked up by the external examiner in my viva - how embarassing! Anyway, here's a MWE which ...
2
votes
1answer
457 views

How I can define last row on each page on multipage table?

Is there any way of determination last row of each page in multipage tables. For example if I want add double line on end of each page, or some special content of cells in last row. I use the ...
2
votes
2answers
377 views

verbatim text in ConTeXt tables

I want to create a table for a few blocks of source code. In LaTeX, I would do \hline \begin{lstlisting} abc; def; \end{lstlisting} \tabularnewline Is there a way to accomplish something like ...
2
votes
2answers
3k views

One footnote with two marks in the text [duplicate]

Possible Duplicate: Reference different places to the same footnote How can I have a single footnote but place the mark for it in multiple places on the page (in fact, in a single table). ...
1
vote
1answer
1k views

Sequent Calculus

What is sequent calculus? See wiki: http://en.wikipedia.org/wiki/Sequent_calculus So basicaly I'd like to produce something like this: Maybe using Tikz?
2
votes
1answer
23k views

How to use tabular/array to arrange figures [duplicate]

Possible Duplicate: How to use images in a table? I'm looking for a solution for automatic alignment of figures within my tex-file. I would like to keep it as simple as possible. I have the ...
3
votes
2answers
194 views

Using different centring-methods within a table

I've got following table which is almost what I wanted to have. But it would be much better if cells with text would be aligned vertical (only vertical) and cells with -- would be aligned vertical &...
4
votes
1answer
596 views

Text alignment in tabular-environment

I would like to align the text within following table to the top and left. I'm pretty new to LaTeX so I have no clue. Sorry, if this questions has been asked already: \documentclass{article} \...
4
votes
1answer
1k views

Why does >{\centering} in my column spec produce an error?

I want to create a column in a tabular with column specifier 'p' and centred text. I have tried to achieve this using the example below. \documentclass{article} \usepackage{array} \begin{document} ...
4
votes
2answers
6k views

\shortstack and vertical aligment in table?

\documentclass{report} \usepackage{lipsum} \begin{document} \begin{tabular}{cp{4cm}} \hline \shortstack{A\\B\\C\\D} & \lipsum[1] \\ \hline \end{tabular} \end{document} Results in : -------------...
21
votes
3answers
5k views

Is there something like “sidewayslongtable”?

Unfortunately my table is too wide to use longtable. In sideways it fits on width. Unfortunately it's too long to fit on one page. Is there something like sidewayslongtable, a way to combine ...
4
votes
1answer
4k views

Line break in table caption using beamer

I would like to add a line break in a centered table caption with beamer. I can't seem to figure it out. Here is sample code: \documentclass[xcolor=pdftex,svgnames,table]{beamer} \setbeamertemplate{...
11
votes
1answer
2k views

Having problems aligning in a table with siunitx when using uncertainties in some power of 10

I'm trying to have a table, with an S column (from the siunitx-package) where the numbers are aligned to the \pm signifying uncertainty. Some values have uncertainties like 1.00 x 10⁴ and that seems ...
2
votes
0answers
179 views

Linking Latex Tables to Beamer [closed]

Is there a way to link Latex table titles to Beamer? If I change the table titles in Latex and I want to include these titles in my Beamer tables, is there a way to have these titles automatically ...
1
vote
1answer
886 views

Table spanning multiple pages [duplicate]

Possible Duplicate: How can I make a table that takes up more than a single page? I want to make a table in LaTeX span multiple pages in a way that it retains the same column headings on the ...
9
votes
1answer
5k views

Minus sign in Table

What is the correct way of doing a minus sign in a LaTeX Table? The minus sign I'm doing seems much longer than the minus sign in math mode.
14
votes
2answers
991 views

pgfplotstable or datatool?

What are differences, which to use for including .csv, .tsv files ? Datatool ? pgfplotstable ? I've seen at question : How typeset a numeric table from a CSV file how person asked about fixing ...
1
vote
2answers
1k views

How to make table with caption appearing on \listoftables without \begin{table} environment? [duplicate]

Possible Duplicate: Label and caption without float Create caption without float AND without caption-package? Here is an example of LaTeX document being compiled with pdflatex having table ...
6
votes
2answers
3k views

APA6 Class - Single-spaced Tables for Manuscript

I'm trying to produce a manuscript for submission. I have tables that are fairly long and need to be single spaced. The apa6 class is double-spacing the entire document including the tables. I need ...
1
vote
0answers
2k views

Issues with multirow [closed]

For some reason, in TeXmaker, I have no issues using \multicolumn, but \multirow simply just does not exist in my program. I am trying to use both in a tabular environment and have the entire table ...
2
votes
1answer
858 views

How to draw an arrow to a table cell?

I'd like to draw something like drawing an arrow to a table cell. But in my case the arrow should be in the right side. Could you please change the following code: \documentclass{article} \usepackage{...
1
vote
1answer
133 views

\footnotes in environment with \pushftn \popftn

Code proposed by David Carlisle works out-of-the box, cause has no package dependencies. It's comfortable solution of dealing with footnotes in environments needing \footnotemark+footnotetext. I have ...
4
votes
2answers
2k views

how to vertically align text in multirow cell with tabularx with renewcommand?

Here I come again, Following the indications on this url I managed to get almost exactly what I want. However the problem is that the first multirow cell (with text "5 and 6") is not vertically ...
4
votes
1answer
4k views

Table with multiple merging

Most of the places, examples for merging of cells in tables are given. But, I could not find a merging of cells in complicated fashion as shown below. This question may summarize all the possible ...
6
votes
2answers
1k views

Conflict between tabu and tabularx, when using siunitx

I have many tables set with {tabularx} but for some of the it seems easier to use {tabu} which works. But if I use both packages and gave the last X column in {longtabu} an S and optional argument it ...
5
votes
1answer
1k views

Using tabularx package with xtable package in R

I am trying to solve the problem of having a latex table (produced using the xtable from R, then combined into a tex file using Sweave), exceeding the margins of my LaTeX document. I found that one ...
9
votes
3answers
10k views

Dealing with a wide table that exceeds the document margins

I am looking for "global" and "local" solutions to the case where I have a table that goes "much" beyond the right and left margins of the page (meaning: cases where having no margins to the page ...
8
votes
1answer
127 views

Let the width of a cell be set by a picture

I wish to have a table with two rows - first one with a picture, and the second is some text (I know I can probably do it within the figure environment, but I want to do it on my own). I want the text ...
6
votes
1answer
1k views

How do I right-align the last line of a justified paragraph?

I want to wrap around text in a table cell; therefore I use the p option in the definition of tabular. However, I'm writing in Hebrew, so it aligns the last line to the left, instead of to the right. ...
18
votes
3answers
3k views

Is it possible to generate sudoku games with LaTeX?

I am a fan of sudoku and I was wondering if it is possible to randomly generate sudoku tables with their solutions in LaTeX. I see a few problems in the generation of numbers in the tables, but, ...
4
votes
2answers
3k views

How to create a table that spans over multiple pages, breaking single rows

With the longtable package one can create a table that spans over multiple pages. The problem is that it will never break a row in two: either it stays entirely in the current page or it is moved ...
0
votes
1answer
2k views

Aligning columns in tabularx with multicolumn

I'm trying to set up a table to use in my CV, where by I list my qualifications and the date achieved (two separate columns), and under it the list of grades achieved. I want two separate sets of ...
1
vote
1answer
1k views

Arrayjob vs array conflict

I'm using the arrayjob package (to have an array data stucture) and I just added the more known array to have a vertically centered table (text+pictures). I get an error and seems it seems the array ...
11
votes
5answers
750 views

Speed up LaTeX compilation on a document with lots of automatically created tables

I know that similar ground has been covered before (e.g. Speeding up LaTeX compilation), but this question is more specific. I want to create some reports programmatically, so I wrote a program that ...
4
votes
1answer
895 views

Math column in tabular without “array” package

I'd like to do something like \begin{tabular}{>{$}c<{$} c} but I'm not able to use the array package (which defines >{...} and <{...}) due to technical restrictions. Is there any ...
4
votes
2answers
2k views

How can I top align table cells of variable length?

I would like to get the lorem ipsum text to start on the same row as "A" in the table below. How can I do this? Here is my code: \documentclass{article} \usepackage[hmargin=3cm,vmargin=8cm]{...
3
votes
3answers
1k views

Table Limit: Sweave

I'm running into an issue. It seems that when I try to output more than 17 or 18 tables to a pdf document the remaining tables are ignored. When I split them across multiple Rnw files, there is no ...
6
votes
2answers
1k views

Visual table editor for linux

Is there any visual LaTeX-table editor for linux? I want something where I can load existing LaTeX-tables, modify them and save it in LaTeX.
3
votes
1answer
2k views

space between columns titles in tabular

I am having trouble doing the following in the tabular environment: title1 title2 ------ ------ a 1 b 2 . . . . . . z 26 That, having only the column ...
5
votes
1answer
1k views

How to avoid \cellcolor overflowing when changing the space in the column?

I reduced the space in the columns through the use of @{} in the column type: \newcolumntype{M}{@{}c@{}} The problem is that, when I combined this with the \cellcolor command, it overflows into the ...
31
votes
3answers
3k views

Parametrize shading in table through TikZ

I wanted to do some shading in a table according to its values. For example, if you see the table below: a b c d a 90 10 0 0 b 0 80 10 10 c 0 0 95 5 d 0 10 5 85 I want to ...
0
votes
0answers
45 views

I cannot get an image and `lstlisting` aligned in a table [duplicate]

Possible Duplicate: How to align picture top left in a table? I want to display an image and some lines of monospaced text with line breaks (as far as I know, lstlisting is the only option). ...
3
votes
1answer
729 views

Vertical alignment of tabulars nested in longtable

I tried to nest tabulars in a longtable enviroment. The content of the tabulars is still at the bottom of each row. \begin{longtable}[c]{p{153mm-2\tabcolsep}p{37mm-2\tabcolsep}}\hline \begin{...
2
votes
1answer
604 views

Is it possible to set a linebreak in l columns

Im using tabu to span tables over the full width, but I would like to span only the first column (i.e. the space between first and second column) and let TeX use the natural width of the other columns....
7
votes
2answers
911 views

problem with \ifthenelse + multicolumn

I encounter various problems when i want to control the display of a table with a ifthenelse test. For example, consider the following M(non)WE : \documentclass{article} \usepackage{multirow} \...
3
votes
3answers
3k views

Remove automatic table headline

I use LaTeX for creating PDF output from R - not to create long documents. Hence the automatic Table 1: <caption> above the table is rather annoying. How can I remove the automatically generated ...
1
vote
1answer
918 views

Table vertical line [duplicate]

Possible Duplicate: Too long vertical lines in table In the following table, the first vertical line is higher than the second. How do I correct this? \documentclass[a4paper,12pt]{article}% \...
6
votes
2answers
1k views

Centering tables in document class apa6

I'm using the apa6 class in doc mode for my thesis. Now, when I create a table and try to center it on a page, the table is centered alright. The caption, however, still floats on the left of the ...