{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} 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
2answers
473 views

Vertical alignment of tables when using numbered list in LyX

I have a table on my numbered lists but the number is appearing in the middle, I want it to be at the top like normal. This is what it looks like when using tables. (Screenshot below) I've attached a ...
10
votes
2answers
2k views

Justify Table by Row

For example, is it possible to justify the first row of a table differently from the rest? Maybe there is a way to combine two tables to look like one? MWE: \documentclass{article} \begin{document} ...
2
votes
3answers
338 views

Best way to print key-value pairs: table, array or matrix?

I have a series of values that need to be printed row-wise in multiple columns. (These values, held as \def variables, are generated programatically and some of them can be empty strings.) The ...
7
votes
2answers
231 views

Why does 65* become 65∗ when using dcolumn package to align digits?

I am using dcolumn package to align some numbers after the decimal point. However, some of this numbers have "*** signs" in order to relate them to additional information at the end of the table. ...
3
votes
1answer
415 views

PgfplotsTable: How to merge cell contents of two tables to one table?

I have two tables (sorry, inline tables are not working with pgfplotstable 2011/12/19 on my system, even with the option format=inline): Data table (data.csv): X,A,B U,1.1,1.2 V,2.1,2.2 ...
4
votes
1answer
2k views

Chngcntr: \counterwithout not working

I need to place the tables section after my appendix. I've used \counterwithin{table}{section} to number appendix tables A.1, A.2, etc. Then I use \counterwithout{table}{section} so that the tables ...
3
votes
3answers
386 views

Table growing with content and automated line break

I would like to have a tabular or something similar with one cell and the following behavior: The cell grows vertically and horizontally to fit the content of the cell but no more than \linewidth ...
0
votes
2answers
710 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 ...
4
votes
1answer
1k views

Format nomencl in table style

For my thesis I wwant to format the nomencl in the same style as the rest. Simply put this means I want the nomencl to appear as follows: Symbol Quantity Unit t Time s rest ...
8
votes
1answer
520 views

Adding a Caption to a Non-float Environment

I am attempting to add a caption to a non-float environment. The following is a MWE of how I'm trying to do it: \documentclass{article} \usepackage{caption} \begin{document} \begin{tabular}{l|l} ...
4
votes
1answer
437 views

Centering a Table

I have a tabular environment nested within a table environment which I'd like to place horizontally centered. What's the best way to achieve this? If the right thing to do is use the \centering ...
15
votes
2answers
11k views

Math inside tables and formatting

I'm trying to make a little summary of mathematic analysis, useful for my university, in LaTeX. I'm stuck in the problem of creating nice table, with alternate colouring containing equations with ...
9
votes
2answers
8k views

Automatically stretch table to evenly fill horizontal space?

I want to have my tables fill the entire width of the page (i.e., \textwidth). So far, the only thing I've managed to come up with is: \renewcommand{\tabcolsep}{4.4pt} By manually trying different ...
4
votes
2answers
2k 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 ...
2
votes
2answers
2k views

Moving Table to Left and Adding Space to Columns

In the following table, the numbers take up too much room. I do not want to landscape the table because there are too many rows. So, I'd like to do both of the following: Create more space between ...
9
votes
1answer
1k views

Is it possible to have multiple paragraphs inside a multicolumn using xcolor or a replacement?

I am getting information written by users in many lines, paragraphs, and I have to put those inside a table, I would like to know if it is possible to instruct LaTeX to accept paragraphs inside a ...
5
votes
1answer
502 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 ...
2
votes
2answers
307 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
1answer
227 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 ...
1
vote
2answers
2k 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
597 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
13k 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
158 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
431 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} ...
9
votes
2answers
754 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 ...
17
votes
2answers
3k views

How typeset a numeric table from a CSV file

I have a CSV file (db.txt)like this: 30.0, 0.0, 0.0 60.0, 1.9098, 5.8779 90.0, 6.9098, 9.5106 120.0, 13.09, 9.5106 150.0, 18.09, 5.8779 180.0, 20.0, 0.0 I need to typeset it. My ...
4
votes
1answer
718 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} ...
3
votes
2answers
2k 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 : ...
1
vote
2answers
612 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 ...
6
votes
1answer
552 views

Pgffor and the alignment character (&)

I need to construct a table that looks like: \begin{tabular}{ccc} a(1,1) & a(1,2) & a(1,3)\\ % <--- a(2,1) & a(2,2) & a(2,3)\\ % <--- I need this a(3,1) & a(3,2) & ...
10
votes
1answer
1k 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 ...
4
votes
1answer
3k 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} ...
1
vote
1answer
779 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 ...
2
votes
0answers
153 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 ...
8
votes
1answer
2k 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.
2
votes
0answers
1k 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
564 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} ...
1
vote
1answer
110 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 ...
3
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
2k 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
762 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 ...
4
votes
1answer
674 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
1answer
9k views

argument in \begin{subtable}

I use \begin{subtable}{.5\textwidth}...\end{subtable} to produce two (or more) subtables side by side (from the subcaption package). But I don't understand what {.5\textwidth} means. I tried different ...
3
votes
1answer
728 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 ...
8
votes
1answer
123 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 ...
15
votes
2answers
20k views

How to force table caption on top?

I have a table which works ok...as per example below. But in the thesis, the right column is centered and caption forced to below table. Is there a way I can make it look like? ...
0
votes
1answer
1k 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 ...
9
votes
2answers
4k views

How to make a landscape table fill the whole width?

It seems that neither \textwidth nor \textheight can force the table to fill the whole width. \documentclass[dvips]{book} \usepackage[a4paper,margin=20mm,showframe]{geometry} \usepackage{lscape} ...
11
votes
5answers
543 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 ...