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

1
vote
1answer
637 views

Why is the text in these table column cells not centered?

I have the following table in my document, and it seems to be OK except that the topmost columns' text is not centered. I can't figure out why not. I could manually adjust the multicolumn m sizes to ...
2
votes
2answers
211 views

How to center multiple tabular entries in different centered environments?

I am about to pull my hair out. I was wondering if anyone could give me some tips or guide me to the proper way to correctly format my centered tabular entries. I just want the my centered tabular ...
30
votes
2answers
4k views

multicolumn long table or enumeration

I would like to generate a multi-column table that wraps within columns of the document, and splits across pages. There are a couple of similar questions here How do I create a really long table in ...
6
votes
2answers
3k views

Make each column of a table have same width

I have a table as follows: &$\begin{array}{c|cc|cc} & x & \multicolumn{1}{c}{y} & i & 0 \\ \hline x & 0 & \multicolumn{1}{c}{} & -49 & \\ y & ...
4
votes
4answers
882 views

tabular side-by-side

I am trying to get two tabular constructs side-by-side with a tikz figure in between and can't seem to get what I want using the minipage construct. Here is the code I have ...
4
votes
1answer
711 views

How do I center table headings and stretch the table to full column width?

I have the following code for creating a table in the multicols enviroment. I'd like to center the column headings and make it so that the table automatically takes up the entire column from edge to ...
12
votes
2answers
1k views

vspace before itemize in a Table cell, tabular vs longtable

In the following MWE, one sees the difference between tabular and longtable, with respect to the vertical space before an itemize, inside a cell : \documentclass[12pt]{article} ...
2
votes
1answer
290 views

table and page break inside list

For a cooperative latex document with a lot of authors, it was decided to use tables for certain structures. Therefore, I have to cope with the problem of automatic page breaks of tables that only ...
7
votes
1answer
557 views

siunitx number too big when trying to round

Using the siunitx package \usepackage{siunitx} I am trying to put numbers with plenty of decimal digits in a table while rounding them to 3 digits after the decimal point. There is a compilation ...
4
votes
1answer
365 views

Workflow for creating/updating tables?

I primarily a Word user, but use LaTeX now and then. One thing I don't like working with in LaTeX is tables. My data might come from Excel (usually), Word, or the output of some custom program. If my ...
2
votes
1answer
257 views

How to create a document wide table style for border [duplicate]

Possible Duplicate: How to separate table content and table style is it possible to create a document wide table setting for how table border are applied for each table? I want to have the ...
1
vote
2answers
588 views

tabular extend beyond a page

I have a large dataset to show in tabular format. The problem is that it doesn't page break into more pages. And the excess is not being displayed. This is how i used the tabular tag ...
9
votes
2answers
635 views

Why do I need a '\vspace{0pt}` to align a table and a figure along the bottom line when using '\vbox' and '\hbox'?

Recently, I fiddled with placing a table and a figure next to each other such that their bottom parts aligned with each other. I managed to do by using \vbox and \hbox, but there is one thing that ...
4
votes
1answer
212 views

Measure and retain lengths between tabular rows

I need elements in a tabular environment to set some lengths and be able to access these lengths in another row of this same table. But it appears that adding \global in front of \settoheight and ...
26
votes
2answers
20k views

Vertically center cells of a table?

What is the easiest way to center align each row of table? I have a table column that contains an image and other cells in the same row contain text. I would like to know how to vertically center ...
3
votes
1answer
469 views

Left align sidewaystable

Is it possible to left align a sidewaytable to make use of the extra space at the left of it? Similar to the \LTleft\fill in longtable? I have not found a way to do this yet.
11
votes
4answers
1k views

How to vertically center a content spanning multiple rows without using nested tables?

I don't want to use nested tables. My current code produces the following result. And I want to get the following output. And the minimal working example: \documentclass{article} ...
2
votes
1answer
272 views

Custom environment to accept \item

How can I create an environment that takes items in a way similar to lists? Example: \begin{myEnv} \item{AAA}{BBB} \item{CCC}{DDD} \end{myEnv} I'd like the above do something like ...
4
votes
1answer
6k views

Reduce vertical space between text and table and remove table indentation

I want to reduce the vertical space between the first line text and the start of the table. I also want to remove the indent on the table, so that all three lines start at exactly the same vertical ...
2
votes
2answers
2k 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
0answers
48 views

How to split text from one cell on several pages? [duplicate]

Possible Duplicate: How to create a table that spans over multiple pages, breaking single rows I have a longtable. One of cells has a very long list which which doesn't fit on one page. As ...
3
votes
2answers
439 views

Options for decreasing this table's width?

I like the style of the following table (booktabs effects, nice caption, equal width of data columns, right alignment of data, width set equal to the \linewidth, able to look at two estimator ...
11
votes
2answers
3k views

Balancing long table inside multicol in LaTeX

I would like to put some longer tabular data inside the multicols environment while maintaining its balancing abilities. I have tried supertabular with the trick to redefine \newpage as columnbreak. ...
1
vote
2answers
1k views

Setting tabular width

I'm using a tabular within multicols and would like to make a table extend its second column right to the edge of the column within multicols, so the column is pushed over but the text is still left ...
6
votes
1answer
2k views

Inserting table and figure vertically in a full page

I have a table with large number of columns and few rows. I need to insert this table vertically in one single page. How to do. I need to do the same with a figure also, wherein I need to insert a ...
6
votes
2answers
214 views

Vertical numbering with multienumerate environment

I'm trying to get the numbering in the multienumerate environment to go vertically instead of horizontally. So, \documentclass{article} \usepackage{multienum} \begin{document} ...
5
votes
3answers
531 views

Setting the position of an element using Tikz

Recently I've asked a question about "Inserting an image properly in a table", and I got nice answers. I decided to adopt the accepted one but now I have another problem. I thought it was a minor ...
9
votes
3answers
302 views

Inserting an image properly in a table

I'd like to insert those lines that from "Foo" point to the four different rows in the table. I've tries inserting an image but it doesn't come out right (please ignore the bad quality of the ...
1
vote
3answers
424 views

How can I create a table where one cell spans several rows and all the text is justified?

I'm trying to create a table where the first column spans 3 rows and the text will wrap several times. The second and third columns will each have 3 rows in them. The cells in the second column will ...
10
votes
1answer
223 views

Table-aligned, randomized, repeatingly smaller icons for eyesight-chart

My daughter needs to train her eyesight in accordance to the LEA eyesight chart tests. I have manually created a new chart for her, but it really takes a long time randomzing the four icons and ...
4
votes
2answers
251 views

How do I stop tables from messing with alignment?

I'm new to TeX and I'm having a hard time understanding how paragraphs, alignment, indentation, and all that works. Some text here. \begin{tabular}{ l l } a & b \\ c & d \\ \end{tabular} ...
4
votes
2answers
474 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
340 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
416 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
388 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
713 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 ...
9
votes
1answer
532 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
439 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
504 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
308 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
230 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 ...