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

3
votes
1answer
31 views

referencing several tables in one reference

I need to reference several tables like Tables 1-3 or Tables 3.1 to 3.3 related with the section, I'm using the normal \ref{table1,table2,table3} to do what I want, but when I compile I get something ...
5
votes
1answer
73 views

Format table with aligned values +/- errors and units (and parentheses)

I want to have a table with numbers ± errors and units (or a percent sign). Ideally, the numbers are aligned at the decimal separators and the ± sign. Here is my best solution so far using siunitx ...
6
votes
1answer
527 views

Align decimal marker with thousands separator using siunitx

My table consists of two groups of rows. The first group contains large values (X,XXX). The second groups contains smaller values (0.XXX). Siunitx aligns all numbers based on the position of the ...
2
votes
2answers
106 views

Table: white spacing with rowcolor, multicolumn and multirow

I have the following table : It uses \rowcolor, \multicolumn, \multirow but it also has a wide white spacing between the cases. I need the title "Cobertura del transporte en el municipio de ...
0
votes
0answers
14 views

Add vertical space between two tables in a single figure [duplicate]

Similar to this SE question but without the requirement that the tables be the same width: I have one figure containing two tabular environments: \begin{figure} \centering ...
0
votes
1answer
31 views

What is character in all table cells except bottom right cell?

And how do I get rid of them? \documentclass[letterpaper,10pt]{memoir} \usepackage{tabularx} \usepackage{caption} \begin{document} \begin{table}[ht] \centering \captionsetup{font={tt,Large}} ...
3
votes
1answer
44 views

Centering table with 4 images in beamer

I am trying to center a table containing 4 images and a foot note in beamer (the lines are only for debug). This is the code I am using: \documentclass[]{beamer} \usepackage[spanish]{babel} ...
2
votes
2answers
64 views

Longtable with two column

I need a longtable with only two columns. I saw this topic Two column list with and I managed to convert into longtable. \documentclass{article} \begin{document} ...
13
votes
1answer
21k views

Page-wide table in two-column mode

I want a table that is as wide as the whole page in a document with option twocolumn. The table has to be inserted on the bottom of the page, but that is not necessary. I've tried: \begin{table*}[b] ...
3
votes
1answer
145 views

siunitx table alignment

I want to align both the numbers and the text to the left using siunitx' S column type. I tried: \documentclass[ngerman]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
3
votes
1answer
76 views

siunitx table leading zeros

How to preserve the leading zeros of the errors in a table using siunitx' S column type. \documentclass[ngerman,english]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
19
votes
2answers
2k 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 ...
1
vote
1answer
59 views

Confusion related to this tex

I have this confusion about what this line in tex does \begin{tabular}{|p{5cm}|p{5cm}|} \hline \textbf{Heading 1} & \tabularnewline \hline \end{tabular} I am not sure what this |p{5cm}|p{5cm}| ...
4
votes
3answers
82 views

What is the correct way to stretch the cell keeping it vertically centred in tabularX

I have this table, in which the text is touching the horizontal lines above and below, I tried some of the solutions to stretch the cells I found in the web. I managed to stretch the cell but I can't ...
3
votes
1answer
207 views

Landscape Picture + Table format

I'm using latex, and memoir, and I want to create a page template that would always take one and only one page, containing a picture that is aligned to the left of the page, and always fitted inside a ...
2
votes
1answer
66 views

Footnote in table appears on wrong page

I have a tabular in a floating table environment and want to place a footnote in that table, whereas the footnotetext should appear at the bottom of the page where the table is on. I tried the ...
3
votes
1answer
67 views

Need help starting long, text-heavy table

I am new to LaTex and trying to teach myself. Currently I am trying to write a unit plan for graduate school (MA in Math Ed), which would look something like that provided image. One question, one ...
6
votes
2answers
198 views

How can I improve this table?

Using MikTex/pdfLatex Question: How can I improve table? Consider Column Title: I'd like to remove table numbering? (i.e. remove 'Table 0.1') Consider Column headings: I'd like to get single line ...
2
votes
2answers
90 views

Right alignment of column in table column

I have a table defined as follows where the first column is right-justified: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{array} \begin{document} \begin{table} \centering ...
3
votes
1answer
52 views

how is it possible to automatically break a long table with many columns?

I would like to have a single table that automatically breaks when it does not fit on the page. Is it possible? I have manually made an example illustragin the desired behavior. I created multiple ...
5
votes
3answers
4k views

How to vertically center text with an image in the same row of a table

I want to create a table with multiple rows of the following form: a cell that contains text and then multiple cells that contain images. The text should be vertically centered and the contents of ...
3
votes
5answers
135 views

Giving spaces between rows in a (multicolumn) table

I managed to make a multicolumn table, but it looks ugly and need some fix. How to move the label "Min width" in the center? How to give more space between the first and second row? ...
8
votes
1answer
123 views

Multi level timeline

I am fairly new to LaTeX and I want to write my internship report with it. I have briefly summarized the history of the company and I want to use something visual. I tried to reproduce this (done ...
1
vote
1answer
46 views

How to keep table in the chapter title page

In my thesis I have two chapters at the beginning, list of abbreviations and list of symbols, that consist only of a table. Unfortunately while converting to pdf LyX puts the tables on the next page, ...
1
vote
1answer
63 views

Is there a way to make symbols in a table?

I am trying to make a table and I keep getting errors once I add symbols like \Theta. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \section{Problem 1} %\begin{tabular}{l c r} ...
0
votes
2answers
76 views

Alignment of multi-columns and line breaks within cells

I am failing to set up a complex APA table once again. Actually, I need a table like shown below: My current MWE: \documentclass[12pt,ngerman]{article} \usepackage[utf8]{inputenc} ...
2
votes
2answers
135 views

Question about code for tables [closed]

I have been trying to understand why my code won't produce a table: \begin{enumerate}[label=\bfseries Exercise \arabic*:] \item 5 + 7 = 12 \item 9 + 1 = 10 \item 2 * 2 = 4 \end{enumerate} ...
4
votes
4answers
136 views

Expand a macro with parameters in tabular head

My eventual goal is to create my own tabular-like environment in which all entries are in math-mode by default, let's call it fancytable. (One requirement is that the first column be separated from ...
4
votes
2answers
31 views

Vertical alignment of menukeys output in tables

I want to collect a number of menu entries and associated shortcuts in a table with additional information and references. The actual table is quite large, so here is an abbreviated example: ...
1
vote
1answer
2k views

Table Layout Beamer

I need to create a structure which is similar to Table Layout in the presentation (Beamer). I have rows, and in every row I have some columns (pictures,text). E.g., I mean this: I need only to ...
1
vote
1answer
38 views

fitting a wide table in centre of a page

I want to fit this table in the centre of a page. I couldn't find any way to fit this table on the page. Can anyone suggest a solution? \documentclass{article} \usepackage{booktabs} ...
2
votes
1answer
45 views

Need help formatting table without row and column header cell borders

How do I make a table like this in LaTeX?
2
votes
1answer
32 views

Overlaying a tabular on a lstlisting in a book

I am relatively new to LaTeX and am trying to move a tabular up by about 2cm to overlay a lstlisting. The \hspace command works as expected; the \vspace command however moves the text following the ...
2
votes
2answers
100 views

Color overshoots when using \cellcolor without intercolumn space

When creating highly regular tables, I'm quite fond of the custom C column type shown below that accepts a width and centers the content, without having me worry about intercolumn space messing ...
5
votes
4answers
193 views

A simple line from start of the page to the end

I need on one specific page a line from the very top to the end of the page (it is for folding). Everything I tried so far stopped at the head/foot room. Someone got an idea?
4
votes
2answers
77 views

top align minipage in tabular

I have one table with 2 minipages. I wish to top align the two minipages. e.g. \documentclass{standalone} \usepackage{adjustbox} \begin{document} \begin{tabular}{|l|l|} \hline ...
2
votes
1answer
53 views

vertical line in tabular and size

In the code below, how do I add a vertical line to separate the second column from everything to the right of it? Also, the content of the table is too wide horizontally. I can see though that if ...
1
vote
1answer
183 views

Errors in table, missing \endgroup inserted <inserted text> \endgroup

Below is the latex example i am working on, it should generate two tables. One table with two columns, the other table is just one column. And i have a software program it makes any word in the table ...
4
votes
1answer
2k views

How to use LaTeX tables with MS Word/PowerPoint

I love LaTeX's modularity and that I can generate (w/ Stata) and \input{} tables, which makes it really easy to update my work and to keep the same analyses across papers and presentations. But not ...
6
votes
1answer
71 views

Dynamically calculated Row height in Tables

I am trying to dynamically allocate the height of rows in a table based upon a number, specifically the number of minutes that are devoted to a specific activity in a class lesson. The table ...
5
votes
3answers
86 views

Long list of tabular figures inside minipage goes off page

Using the follow MWE, I'm able to create a beautiful lists of photos on the left and a caption on the right (similarly, I could also use the sidecaption package or floats directly). MWE [LuaLaTeX]: ...
1
vote
1answer
28 views

xtra alignment tab has been changed to \cr?

I get the error mentioned in the title of the question. Can you help me please ? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[siunitx]{circuitikz} \pagestyle{empty} ...
4
votes
1answer
81 views

In table cell, how to break long words after “::” or “_”?

I have a software program can generate tables which may be very long and may contains words with many letters,so i use longtabu package. Some words may look like this: AAA_BBB_CCCC_DDDDD_CC ...
0
votes
1answer
52 views

Table for Binary Operations

I am trying to build a table used for different binary operations, especially with thicker lines on the sides separating the elements in the set from the "products" of the operations. I know this ...
0
votes
1answer
38 views

Landscape table will not be in centre of page

I read all the questions and answers on this, but they only left me more confused. I want my table to be in the centre of the landscape page, but it's always aligned on the left instead. Is there a ...
2
votes
0answers
35 views

How to sort footnotes in tables in two columns at the page end?

I have come across a problem and have searched the internet for a solution for two days now, but no luck. I have a couple of tables in my thesis with a lot of footnotes. I have read about the problem ...
0
votes
1answer
39 views

Floating and non-floating items in one document

till now my tables were like this: \documentclass{article} \usepackage{capt-of} \begin{document} \begin{table} \begin{minipage}[h!]{\linewidth} \centering ...
4
votes
3answers
3k views

Sorting Table Column

Suppose I have a table with say two columns. How can I sort its rows based on the first column? Is it possible in latex? If I do it in another application (like MS Excel) can I import the data from my ...
5
votes
3answers
89 views

How to align contents within table cells vertically?

Sorry for opening up another thread when there are so many already, but I can't find the correct solution to this right now. I would like to align the contents of the third column (the parts put in ...
4
votes
2answers
85 views

A table with some cells selected

I have an assignment at university and I have to write some documents written by hand into a TeX document. I'm facing a problem with the following table: Is it possible to achieve a result similar ...