{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
2answers
113 views

How to h-alignment subtable to the limits of text?

I have this 2 subtables. How could I separate more the 2 tables, puttin the space indicate in the image in the center to get bigger the central distance ? I usually use \centering for center... are ...
0
votes
1answer
37 views

I want to construct a pseudo glossary using a table - how do I replicate a hanging indent?

I want a glossary in my thesis, but have come to the conclusion the glossaries package is overkill as I don't want to use much of the functionality. All I want is to be able to manually add a few ...
1
vote
0answers
59 views

How to avoid cutting tables at end of page? [closed]

How to avoid this kind of things? The table has the double of height you can see
7
votes
1answer
180 views

Generate automatic revision's numbering tabular

Situation I have to make a cover template for a document. At the end of the page, I have to add the revision number with other useful info like this example: \begin{tabular}{lccl} Revision 0 &...
1
vote
1answer
137 views

Remove whitespace around an enumeration in a table

I've tried using the enumitem suggestion given on http://stackoverflow.com/questions/4968557/latex-very-compact-itemize, but I still see white space around my enumeration: \documentclass{article} \...
1
vote
0answers
101 views

Dynamic Tables from Data Array

I have Data like that: Now i want to create that Table a bit Dynamic, I searched for Dynamic LaTeX Tables but only found Things for Excel and CVS. (And I dont have any of that formats…) Does ...
3
votes
1answer
1k views

Horizontally align multi-line cell in table

I want to horizontally align two cells with two lines in a table environment, something like this: ------------------- | A long | foo | | | ----| | multiline | bar | ------------------- ...
8
votes
4answers
184 views

specific table layout

I want to draw a table like this: with the table width being a portion of the line width, like e.g. 0.8 * linewidth. But I cant figure out how to do it. Anyone? edit: MWE: \documentclass[...
3
votes
2answers
79 views

How to draw lines and put objects relative to other lines

I'm trying to draw a simple line, and at the end of that line include a table. I would like to do it without having to compute myself the position where the table needs to be drawn. How can I do that? ...
1
vote
1answer
115 views

Table with an itemized list in second column

A colleague of mine asked me for help creating the following picture using tex code. Can someone share a bit of code, maybe for the first two rows? =================================================...
6
votes
3answers
281 views

bigdelim and text with multiple lines

I have a table with a common label for multiple lines. Using bigdelim I place brackets to give explanations. My explanation has too much text for one line, so I would like it to break over multiple ...
2
votes
1answer
626 views

How to color a single cell in a longtable [duplicate]

We are using XeLaTeX and the longtable package to visualize information, one of those reports must have a colored cell. A single cell, not the entire row. An example output is here: Is there a way ...
2
votes
1answer
306 views

Why doesn't this this line appear between tables?

I'm trying to learn how to typeset caption tables but... why doesn't this text appear between tables? \documentclass{article} \usepackage{subcaption} \begin{document} \begin{table} \begin{subtable}{...
2
votes
1answer
93 views

Raising one cell in a table

That is, I would like to raise one cell (e). Currently, the code is as follows: \documentclass{standalone} \begin{document} \begin{tabular}{llll} \hline A & B & C & D \\ \hline a & ...
2
votes
2answers
547 views

How to make a wide longtable fit on page?

I'm new to LaTeX, and copied over a table from Excel into TeXShop (mac) using the macro. I set it as a longtable because it spans two pages, but with regard to width, the table isn't fitting. Also, ...
3
votes
2answers
377 views

.jpg image inserted in a column is shrinked or squeezed

When I am trying to insert a .jpg image in one column of a table in latex. it is getting shrunk and not able to stretch or fit into the whole column. it is getting shrunk or squeezed & when I am ...
3
votes
2answers
166 views

\newdimen in LaTeX is 0pt after assignment, why?

In the below example, I print out the two dimens in the subfigure captions. Surprisingly (to me), the first one prints correctly but the second one is somehow zero pts. Here is the MWE: \...
12
votes
2answers
1k views

Table with alternating row colours and rounded corners

I am trying to create a table with alternating row colours and rounded corners. I combined two answers so far to achieve this: Thorsten Donnig's answer about alternating row colours. Jake's answer ...
20
votes
3answers
4k 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.
7
votes
2answers
207 views

Table-like scheme in LaTeX

I would like to draw the kind of table (I don't know any proper name for this, so I cannot research for similar question) shown in the picture below: I have absolutely no clue on how I can draw it....
6
votes
2answers
650 views

Long text in multirow

I have long text in a multirow cell. And the text takes more rows than the rows in the second column. \documentclass[a4paper,12pt]{report} \usepackage{multirow} \usepackage{longtable} \begin{...
6
votes
1answer
233 views

Create linewidth spaced three columned table with column alignment

I'm writing a two columned article: \documentclass[10pt, aps, prb, twocolumn]{revtex4-1} I would like to include a table which is as long as 1.\linewidth. The table should consist of three columns, ...
3
votes
2answers
159 views

Rotated multipage table at start of chapter

I'm working on an article in which I have to put a large and wide table. This table is directly at the start of a new chapter. Because it is very wide, I want to rotate this table (or use it in a ...
7
votes
2answers
430 views

Warning: Please use \TABLE{…} in place of LaTeX environment

Please see the MWE: \documentclass{JHEP} \author{me} \abstract{a} \title{title} \begin{document} \begin{table} \begin{tabular}{c} hello \end{tabular} \end{table} \end{document} After compiling ...
5
votes
3answers
1k views

Centering siunitx columns

I have the following table, with the decimal aligning handled by siunitx (MWE): \documentclass{scrartcl} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx} \sisetup{ ...
2
votes
1answer
246 views

How to make this table in LaTeX?

I'm not an expert in LaTeX, and just want to ask. How can we build the following table in LaTeX? Thanks.
2
votes
0answers
206 views

! Undefined control sequence on tables [closed]

I am new in LaTeX. I have created LaTeX and Gnuplot to build my graphs. Currently I have to add new table using LaTeX. but I get error: ! Undefined control sequence. l.60 \mycaption {...
1
vote
2answers
157 views

How to create a new line in the table cell

I am trying to create a table, but the content in the table cell is quite long, so I decided to create a new line for the cells. But I am not sure how to do that, could someone help me on that? Here ...
6
votes
1answer
271 views

Align missing data in siunitx S column type

How can I align missing data inside a S column type like in the below image? If I just add {\textemdash}, the dash is not centered, example: \documentclass{article} \usepackage{siunitx} \begin{...
2
votes
2answers
135 views

vertically center text in a table

I've got the following table: \documentclass[11pt]{article} \usepackage{rotating} \usepackage[ lmargin=1.0in, rmargin=1.0in, tmargin=2.0cm, bmargin=2.0cm ]{geometry} \usepackage{...
2
votes
2answers
649 views

Insert loop inside table?

1- I want to make a table with n number of rows ? my wrong code \newcommand{\xx}{ \begin{tabular}{|c|c|c|} \hline \newcount\fooo \fooo=10 \loop 11 & 12 & 13\\ \hline \advance \fooo -...
5
votes
1answer
1k views

Landscape forces premature pagebreak

After some trouble I have managed to make a table in landscape orientation that breaks over three pages. I used tabularx and the landscape package. Now my problem is that the thing won't float like ...
1
vote
2answers
237 views

Longtable & siunitx

So this is the first time I am attempting to use the longtable package and for some reason, I can't even get MWE to run - Pdflatex gets stuck after loading the booktabs package. I honestly can't see ...
3
votes
2answers
112 views

Problem with table content

I have drawn a table of 2 columns and 5 rows. but because of 2nd row, 2nd column content is long,,, Only half of the table displays. other part is not displayed.. Please help me.....I tried many ...
2
votes
1answer
85 views

Centering two tables in landscape modus

The posts seems very similar to the one's already posted two tables side by side in landscape mode but I have difficulties centering my first tables in the middle of a landscape page. This is only a ...
3
votes
1answer
2k views

tabular can't caption is separated

I'm creating a table like this: \captionof{table}{caption} \begin{tabular}{@{} *5l @{}}\toprule \emph{header1} & \emph{header2} & \emph{header3} \\\midrule item1 & v1 & v2 \\ item2 ...
4
votes
1answer
344 views

Caption of table is too small and does not align with other captions of tables

I am making a paper and for one table I have to use the longtable package, after struggling a lot I am almost done with this table. One problem left, the caption does/header of the table is too small ...
3
votes
1answer
471 views

Caption in the outer margin using longtable within a tufte-latex document

The tufte-latex class has a page layout with a wide margin on the side; the class redefines the figure and table environments so that the captions are put in the margin, side to side with the floating ...
7
votes
4answers
247 views

typesetting long lists of numbers - is automatic tabling possible?

I have quite a lot of lists of numbers I need to put into my document. I am not sure how best to typeset them. Inspired by reading Add \midrule Every 5 Lines Automatically the other day, I sort of ...
15
votes
3answers
965 views

Big table - what to do about it?

So I have quite a big table, as you will see in my code. I'd prefer (if possible) to have the table fit on a "normal" portrait page (personal preference as I think it is easier to read). Mainly the ...
2
votes
3answers
437 views

How to force a text to appear after a table

I have to show a set of four tables: one after another. Each table has almost middle page of information, and I really need them to appear before the next block of text. An example of LaTeX code is ...
0
votes
1answer
2k views

How to draw a simple table with colored cells in Beamer

I am trying to draw a simple "array" data structure in Beamer using tabular. I would like to color some of the cells blue. Here is my M(N)WE. \documentclass{beamer} \usepackage[table]{xcolor} \begin{...
17
votes
5answers
25k views

Centering mutirow text in a table whose cells contain several lines of text

I'd appreciate advise in centering a multirow text. In the MWE below the multirow text "spring" is NOT centered over the three rows that it spans. \documentclass[10pt,a4paper,twoside,open=right,...
13
votes
1answer
3k views

Table with gap between cmidrule's (extra space between two columns)

Example of my final solution based on Werner's suggestion can be found at the end of this question. I would like to make a table that looks about as this one: I can get most of this to work with ...
1
vote
2answers
739 views

Automatic new lines in cells in a table to fit page width

I'd like to let latex automatically put a new line in cells so to fit the table in the page width, is this possible? For example this code would show the table but the table would not fit in the page ...
3
votes
0answers
80 views

Question about seemingly random indentations after compiling [closed]

So I have been working on a large, 360+ page document, and after working on a few pages of tables, the tables have begun to indent with no apparent reason. Now I don't consider myself a nooby here, ...
1
vote
0answers
98 views

All table cells need to have two lines

I found this answer with search: http://tex.stackexchange.com/a/19678/53832 Is there some way to make all cells in the table to work like this? Some of the cells in the table are multirow cells if ...
23
votes
2answers
740 views

Add \midrule Every 5 Lines Automatically

I wrote a table listing scores of 40 students using booktabs package. How to write midrule command automatically every 5 rows? \documentclass{article} \usepackage{booktabs} \begin{document} \begin{...
0
votes
0answers
28 views

List inside a table [duplicate]

I am trying to make two dofferent lists in two coulmns of table, but I am getting an error: something wrong perhaps missing \item here is my code \begin{tabular}{cc} \begin{mylist} ...
4
votes
1answer
1k views

Setting up APA-Tables - three problems

Below, you see a table. The blue boxes display my "problem areas". Setting up tables is pretty difficult for me so far... Uper left box: I want to indent Group A/ Group B compared to Overall Group; ...