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

2
votes
1answer
49 views

Caption in LyX appears below a “sub-title”

I'm using the following TeX code in LyX for creating a double table. When viewing it in .pdf I don't know why the caption "Main Title" appears below the text Panel A: Effect. Definitely it should be ...
3
votes
1answer
79 views

! Missing number, treated as zero, for creating table in Latex

I'm trying to create the following table. This is the code which I wrote. \begin{table}[!htb] \centering \caption{"table1"} \begin{tabular}{|c|c|c|c|c|c|c|c|} System & ...
1
vote
0answers
28 views

Why do I get the errors 'Missing number' and 'Illegal unit of measure'? [duplicate]

The problem is in using the \multirow function. This is not the main document, the \usepackage{multirow} is already defined in the main document from which I compile. I can not see the error: ...
4
votes
2answers
69 views

Making advanced table. Centering and line above tabular environment, 3 columns

I need some help creating the table below. I only need the full sample and parameters columns, and therefore only three columns. However I have issues with centering, top line above the TABLE 3 and ...
41
votes
2answers
5k views

Org-mode export to LaTeX: temptation or nuisance?

We are talking about Emacs and Org-mode: There are several advantages of drafting papers with Org-mode and to have them transferred later to LaTeX, e.g.: I'd like to avoid »programming while ...
2
votes
1answer
51 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 ...
3
votes
1answer
56 views

Dashes (any kind) not showing up in table

I'm making a table that contains bond lengths and angles, and I can't get any dashes to show up to indicate a bond. I have typed (ETA entire table code): \begin{table}[hbp] \caption[Selected bond ...
2
votes
0answers
37 views

breaking a tabular and aligning tabulars throughout the document

I have two questions. How do you break a tabular so that some of it lies on the previous page while the rest is on the next page. See sample tex file provided below. How do you align the tabular ...
4
votes
1answer
54 views

Improve legibility in a siunitx table

I am a rather basic user of LaTeX, so please be kind. ;) I am using the siunitx package to align numbers on tables, and this is a rather similar question to this one: Centering table column titles ...
3
votes
2answers
62 views

Modify global size of booktabs table

Here is the table I am trying to make: \documentclass{book} \usepackage{tabularx, booktabs} \usepackage{lipsum} \begin{document} \begin{table} \centering \begin{tabularx}{\textwidth}{lll} ...
6
votes
1answer
37 views

scaling table vs changing font vs some other approach

subjective, but not opinionated At "normal" font sizes, my tables typically exceed page margins. I am asking for guidelines on how to solve this, having in mind the following: I am an academic and I ...
5
votes
2answers
68 views

Centering on the decimal separator, figure font selection

I'd like to format a column with numbers with a decimal point. In my body text I use old-style figures for numbers, and lining figures in equations. If I use dcolumn my tables use lining figures, ...
3
votes
1answer
25 views

Table containing symbols in a fixed-width column results in underfull hbox

As part of a large table I have a column where each row contains a number of variables/symbols. The column should have a fixed width to fit the rest of the table. The problem is that the collection of ...
7
votes
1answer
70 views

\foreignlanguage in tabular environment

\foreignlanguage does not work in tabular. How to switch language in tabular? \documentclass[spanish,russian]{scrbook} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} ...
1
vote
1answer
49 views

Manual column spacing in tabular environment and centering

How can I adjust the column spacing in a tabular environment and also center the contents? The code I use is this: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
6
votes
2answers
176 views

How can I draw an horizontal line of specific width in a tabular environment?

I'm trying to make a table with some numbers and a total result, as follows: Age Female Male Total ---------------------------- Under 10 5 8 13 10-30 57 61 118 30-60 ...
5
votes
1answer
87 views

Table within table fouls up vertical alignment of neighboring cells!

I nested a table inside of my table like this: \begin{tabular}{p{1in}||p{5in}} \hline This should be on top. & \begin{tabular}{@{\extracolsep{\fill}}lr} Thing1 & ...
2
votes
1answer
40 views

incomplete horizontal line with many columns

I'm trying to to create a table with many columns, but the horizontal line shows up as incomplete. I also want to have the column width adapt to the content if possible, but I've just been able to ...
1
vote
1answer
28 views

\include'd tables show up on separate pages. How can I fit them on a single page? [duplicate]

When I insert two tables with \include into my main.tex file, each table floats to a separate page. I would like to fit them into one page and mesh with the rest of the document. I can do that when ...
3
votes
2answers
47 views

trouble with table borders - some are incomplete

I am having trouble with my table borders again. I want to produce something like this: or like this: But I keep getting this: These are my commands: \begin{table}[ht!] ...
1
vote
1answer
55 views

How can I automatically use typewriter font for one column of a tabular?

I'm trying to create a table where everything in one column is in typewriter font. In other words, it should perform like this: \begin{tabular} {| l | p{5cm} |} \hline \multicolumn{2}{|l|}{Sample ...
12
votes
2answers
138 views

'e+08' (don't suppress 0) notation in columns with S-specifier

for symmetry reasons in a large table I want the scientific format with 2 digits (i.e. e+08). By default it suppresses the 0. Here is what I do: \documentclass[]{article} \usepackage{siunitx} ...
1
vote
2answers
44 views

How to make table numbering as table section_number alpha

I would like the numbering of tables in a section to be in the following format: Table section_number alpha: table caption. For examples, tables of section 4.3 should look like: Table 4.3 a: Table ...
1
vote
0answers
34 views

Table-caption rotated wrongly

How can the table-description in tufte-handouts be placed correctly with sideways-tables and xtable? See following minimal reproducible example where the figure-description is corrrect (stolen from ...
1
vote
1answer
36 views

TEXMAKER when compiling gives me error misplaced alignment [duplicate]

! Misplaced alignment tab character &. <argument> ...d/record.url?eid=2-s2.0-78751524824& partnerID=40&md5=4144bdb06... l.76 ...D=40&md5=4144bdb064f723bb3e27d5ff60673d79} I ...
1
vote
1answer
40 views

Table error - black band inside the fields on toprule

I need a help with a table attached in the pictures above. I put this table in a document composed of several chapters. When I compile the single chapter that include the table, i have no error ...
2
votes
1answer
85 views

Combining multirow and multicolumn

When combining multirow and multicolumn in the same cell of a table I am getting extra vertical lines: \documentclass[plain]{article} \usepackage{multirow} \pagestyle{empty} \begin{document} ...
2
votes
0answers
78 views

Cleaner Code for a Table design

in this question Showcase of beautiful wine bottle labels made with LaTeX/TikZ and friends I asked for wine bottle labels. Here is my own attempt. I still have to play with fonts. I'm quite happy ...
5
votes
2answers
116 views

Vertical aligment with tikzpicture

I have a problem with vertical alignment in a tabular environment with tikzpicture. My code so far is: \documentclass[12pt,a4paper]{article} \usepackage{tikz} \begin{document} \begin{tabular}{ccccc} ...
2
votes
2answers
128 views

Table formatting

I want to create a table like this: Here is the code: \begin{table}[h] \begin{threeparttable} \caption{\textit{Sample Selection}} \centering \begin{tabular}{lcccccccc} \toprule\toprule & (I) ...
0
votes
4answers
53 views

Three columns aligned horizontally and vertically

I'm trying to make a list of three columns where the first column is on the left hand side of the page, the second column runs down the middle and the third column is on the right hand side. A table ...
1
vote
2answers
96 views

How can I recreate this two tables in LaTeX?

In this case, the real text is irrelevant; the format and layout is what I'm interesed in. All my tries with it have seen deceptive. I'm impatient to study your ideas!. Thanks in advance.
2
votes
1answer
45 views

Table reference not compiling correctly

I'm hoping for some guidance on why LaTeX isn't properly referencing this table. \begin{table}[ht] \caption*{Table 2 \\ Number and Percentage}\label{tab:table2} \centering \begin{tabular}{rrrrrr} ...
1
vote
2answers
75 views

Need vertically centered text in latex table

I want the text in each cell vertically centered. \documentclass[12pt,a4paper,onesided]{report} \usepackage{array} \usepackage{booktabs} ...
1
vote
0answers
110 views

Annotating Tables With Tikz; Adding Arrows

I'd like to be able to draw an arrow with some text on top connecting two arbitrary (i.e. possibly non-right-/left-most, possibly nonadjacent) cells of a table with a left-looking arrow. In ...
1
vote
1answer
58 views

Borders of tables

I have been working on my first LateX report, and everything works fine, except tables. It seems that some of the lines appear and other don't (In all my tables). I have tried adding and removing ...
3
votes
1answer
92 views

Annotating tables

I'm trying to annotate a table by highlighting and annotating the final column, yet once I use the\tabnode together with coloring I get misalignment. Either the content of the cell marked with ...
5
votes
1answer
45 views

Labeling Multiple Equations Per Row of a Table

I am trying to create a table with two columns of independently labelled equations (1-6). Unfortunately, everything I have found so far either has not worked or would number them as sub-equations (1a, ...
3
votes
2answers
71 views

Bold row in table aligned with dcolumn

I am generating a bunch of TeX-tables (with Stata), in which one particular row has to be highlighted (bold). I can however only modify the first column in there, hence I want to place a command in ...
5
votes
2answers
83 views

Trouble with table borders

I want my table to look like the one below: But this is what is turning out: Here’s an MWE: \documentclass{article} \usepackage{multirow} \begin{document} \begin{tabular}{|c|c|c|} \cline{1-3} ...
10
votes
3answers
197 views

Move tabular entry to bottom of row

How do I get the last column text to be at the bottom of the row? That is I want the XXX to be aligned with the line containing the arrow. I tried playing around with \multirow{3}{-3ex}{XXX}, but ...
46
votes
3answers
2k views

Is there a tool to make a complicated Table like this one (“Auswahlliste” from “Pahl/Beitz Konstruktionsmethodik”)?

I’m developing a product as a part of my thesis for my university in Germany. We are supposed to use standard methodology for decision making. One of the tools is called “Auswahlliste”. (I don’t even ...
2
votes
0answers
39 views

align icons to dictionary entries

I'm trying to typeset a small dictionary. Many of the entries come with a couple of icons that I would like to display in the margin just left of the entry, top-aligned with the beginning of the ...
4
votes
1answer
90 views

merge two tables into one

i have two sperate tables with the same number of rows and labels as follows: one: a 12 b 32 c 18 two: a 45 b 98 c 300 how can i combine those two tables into one? as follows: a 12 45 ...
4
votes
2answers
99 views

Automatic line-break in tabular

Sorry if I've missed the answer in another post, but I've literally spent 3+ hours googling this problem now. I'm making a tabular and I'd like to to automatically do a like break rather than going ...
0
votes
1answer
23 views

LATEX: Error when use 'cline' in a table

I use latex to prepare exam sheets. I use the exam.cls package. In the cover page, I created a table to include the question categories and their points: \begin{table}[H] \centering \large ...
1
vote
2answers
65 views

Table Formatting - Width

Okay so I am having some trouble with tables in Latex. I tried to find a solution within the already asked questions out there, but I haven't been able to either make sense or get these to work. ...
3
votes
1answer
71 views

How to make background in tabular cell (vertical lines)?

is there any way to make the following two horizontal lines on the background of a cell? Cell should contain either a blue or green horizontal line in the middle. Or the third option is both. Here ...
3
votes
1answer
39 views

Vertical lines going beyond the borders of my table

I am very new to LaTeX so please excuse the amateur question. I am creating a table using the following commands: \begin{table}[ht!] \small \centering \caption{Effect of industry on \emph{Bad Self ...
6
votes
1answer
54 views

How can I combine endfloat and chngcntr?

Is there any way to combine the packages endfloat and chngcntr? I would like to have all tables at the end of the document (with endfloat) and a numbering that includes the section number (e.g., ...