{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
3answers
85 views

Problems in a table: thickness of line, multicolumn, optimal height of rows

I've written the following code, that produces the output I include below. I have three problems: The vertical line of the colored rows is finer than the rest of rows. The first row of the table ...
0
votes
0answers
21 views

sidewaystable doesn't fit on page [duplicate]

I have the problem, that my sidewaystable doesn't fit on the page. It is moved to the left. Can anyone help me? Here is a minimal example of what my table looks like in my document ...
2
votes
1answer
52 views

Displaying the horizontal and vertical lines of a table after coloring rows

How can I re-show each line in the following table after coloring the row? \documentclass[english,a4paper,12pt]{report} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage[latin9]{inputenc} ...
0
votes
1answer
33 views

Tabular overfill

This table overfill the margins. I am working on a document with several tables and in some cases the tables overfill the margin. I have tried mini page but with little success - any suggestions? ...
4
votes
1answer
40 views

How to force the caption of a table in order to set it in center

Although, I saw the following post in order to do that : How to force to center the table captions?, I coudn't find a proper way to set the table's caption. How can I force this action? ...
6
votes
1answer
67 views

Vertically Aligning text at top in tabular* - [t] is ignored

I am setting a small tabular environment using tabular* (note the asterisk!), which is supposed to be used as a list item. My problem is that the [t] option I am passing to tabular* is getting ignored ...
1
vote
2answers
47 views

Issues centering table with altered fontsize

I am doing my thesis and want to have all table consistently centered on the page, and \footnotesize text. For some reason one table decides to left justify when I make it footnote size (or any other ...
0
votes
1answer
22 views

The text in a tabular environement goes out of margins [duplicate]

I need to write a long paragraph in my table, but the text goes out of the margins.. Here is my code: \begin{tabular}{l l} \textbf{P1.1} & ...
0
votes
2answers
42 views

Add line to particular column in table?

I want to make an table like this Here is my LaTeX code: \begin{table}[!htbp] \centering \caption{Comparison of all discussed Classifiers} \begin{tabular}{|> ...
4
votes
2answers
50 views

Anchoring Table (Tabularx) from the Bottom of Table

Can you anchor a table at the bottom, inline with text? I have another question posted which I seemed to have solved myself - List Numbering Through Multiple Tables - but I have since found my way ...
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: ...
2
votes
1answer
68 views

Table \rowcolor \columncolor \multirow and \multicolumn Alignment

I'm trying to recreate this table from Word in LaTeX: I'm getting close, but the "Effectiveness" section is not aligned properly, and the "Probability" section is not fully filled in with color. ...
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 ...
0
votes
1answer
58 views

Equation with \argmin inside table

I want the equation to properly show the argmin tag with variable at the bottom inside a table. In my case it is showing as a subscript. I tried everything but cant get this done. The following is a ...
0
votes
1answer
55 views

Package Footnote and Biblatex: only fullcites in table

I have a question about citation in tables/tabulars. I use biblatex with style verbose-ibid and the package footnote to get the cites working in tables/tabulars: Here I use \savenotes and \spewnotes ...
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
1answer
48 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 ...
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} ...
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
69 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} ...
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 ...
9
votes
2answers
142 views

Framing cells vertically in a table

I want to add a box in a tabularx table that would frame several cells vertically. There is this post that shows how to frame cells horizontally (Framing cells in a table), but I cannot figure out how ...
18
votes
4answers
364 views

Avoid repeating [hbt] and \centering for every table

In a document I'm writing, I'm using the familiar [hbt] option for my floating tables, and I center them. I'd like to avoid repeating that every time I'm creating a table. I assume it's easy to add ...
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, ...
1
vote
1answer
61 views

Unwanted line - problem

I have a problem with the file pdf. The line that I do not know where it came from. I wants to get rid of it but I do not know how to do it. In the file line unwanted have indicated in red. This is ...
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 ...
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
27 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 ...
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} ...
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 ...
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
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
35 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
2answers
49 views

Producing a Table in the main file from other file containing multiple tables

I want to create a separate file for tables so that the main latex file doesn't get cluttered. I know I can define tables in new file and add the same file in the main file using input{Tables.tex}. ...
2
votes
1answer
82 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} ...
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
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} ...
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 ...
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
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.
3
votes
1answer
91 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, ...
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} ...
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 ...