{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
64 views

A table that grows horizontally

I have a two column table that is rather "thin" on the page and leaves a lot of blank space. I wish to grow it sideways by limiting the maximum number of rows it produces. Let us say I have a 12x2 ...
7
votes
1answer
143 views

Add zeros after decimal marker

Consider the following code: \documentclass{article} \usepackage{booktabs} \usepackage[locale = DE]{siunitx} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
5
votes
1answer
54 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 ...
3
votes
1answer
29 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 ...
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 ...
5
votes
1answer
183 views

Why is \rotate useless in deluxetable?

The command \rotate is useless. I searched the web and somebody said it is common and weird. How to rotate it then? I download a 2028K configuration files ...
0
votes
1answer
28 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}} ...
2
votes
2answers
84 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 ...
3
votes
1answer
41 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} ...
16
votes
4answers
759 views

How to draw the following box using TikZ?

How to draw the following boxes using TikZ? EDIT (22.09.)
2
votes
2answers
57 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} ...
6
votes
2answers
68 views

siunitx's S column misaligns numbers if retain-unity-mantissa is false

Consider this MWE: \documentclass{article} \usepackage{amsmath} \usepackage{booktabs} \usepackage{siunitx} \begin{document} \begin{tabular}{l @{\hskip+0.5em} S[retain-unity-mantissa = false]} ...
6
votes
2answers
192 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 ...
4
votes
3answers
74 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
58 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 ...
3
votes
1answer
50 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 ...
2
votes
2answers
63 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
5answers
112 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
111 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
45 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
58 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} ...
4
votes
4answers
131 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 ...
2
votes
2answers
134 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
2answers
29 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
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
2answers
93 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 ...
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
1answer
43 views

Need help formatting table without row and column header cell borders

How do I make a table like this in LaTeX?
4
votes
2answers
58 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
50 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
72 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 ...
5
votes
4answers
192 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?
6
votes
1answer
64 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 ...
0
votes
3answers
65 views

Vertical lines in a table

% Table generated by Excel2LaTeX from sheet 'paper2' \begin{table}[htbp] \centering \caption{Comparison of the CCSHR estimators based on beta and logit-normal distributions} ...
5
votes
3answers
67 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
27 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} ...
0
votes
1answer
48 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
32 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 ...
4
votes
1answer
70 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 ...
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 ...
5
votes
3answers
83 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
1answer
48 views

Auto colour numbers in range

If I had some numbers in a tabular column, is there a way to automatically change the font colour of them if they are outside a range; eg red if under 10 and green if over 50? \documentclass{article} ...
-2
votes
0answers
76 views

How to break lines in a cell of table? a very long word contains “::” or “_” [duplicate]

I use "longtabu" package to create a table. The reason I choose longtabu is, first it can deal with very long table, second it can automatically break lines to fit the width of a cell. But I got a ...
0
votes
1answer
39 views

Latex align table within itemize

I am trying to write my CV using latex. I have the following problem. I want a table within itemize environment. This is how my code looks: \documentclass{scrartcl} \usepackage{tabularx} ...
5
votes
1answer
38 views

Recalibrating \hline vertical spacing to that of \cline

How do I alter the spacing dimensions of \hline so as to replicate those of \cline? I have drawn a series of (empty-celled) tables using \hline for lines spanning whole tables and, e.g., \cline{1-2} ...
1
vote
0answers
60 views

How to adjust spacing between caption and table / figure in beamer?

I want to adjust spacing between caption and table/figure in beamer. However I am not able to overcome the warning Package caption Warning: \caption will not be redefined since it's already ...
0
votes
0answers
48 views

In table, how to make one column has different font size for different line?

I use longtabu to create a table, below is the realted code \begin{longtabu} to \textwidth {|>{\footnotesize}X[1 , p ] |>{\footnotesize}X[1 , p ] | >{\footnotesize}X[1 , p ]|} I want the ...
4
votes
2answers
82 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 ...
1
vote
3answers
141 views

My table is larger than the text box and I want to make it smaller

I have some tables that larger than my box text, but not my page. If I don't want to use the rotate package, what can I do to solve this problem? For example a picture of one of my pages is below ...