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

1
vote
0answers
41 views

Tabular error: \begin{tabular}{ c | c | c } [duplicate]

I can't understand this error message: ERROR: Class memoir Error: . --- TeX said --- See the memoir class documentation for explanation. Type H <return> for immediate help. ... ...
1
vote
1answer
33 views

How to apply attributes to a single column of a tabular excluding one cell

I am using this code: \documentclass{article} \usepackage{collcell} \usepackage{array}% actually already loaded by `collcell` \newcommand*{\mymacro}[1]{\fbox{#1}}% Do anything you like with `#1` ...
2
votes
1answer
35 views

Making \xrightarrow longer but without using spaces

I have this table, and as you can see I make the last arrow longer with loads of spaces. Is there a better way to make it as long as the other \plusarrows but at the same time with a centered text ...
4
votes
1answer
39 views

Aligning two tables side by side and adjusting spacing

I read the similar question here, but I cannot manage to adjust the spacing correctly. Following the answers in the linked question, I wrote this: \documentclass[a4paper]{article} \usepackage{float} ...
0
votes
1answer
40 views

Incorrect multirow height

I need to create a table representing hierarchical decisions, something like this: +---+---+---+---+ | | | C | x | | | B +---+---+ | | | D | x | | A +---+---+---+ | | | F | x | | | ...
2
votes
1answer
20 views

Alignment problem of footnotes inside tables

I have a problem with footnotes inside tables. I am using the pifont package to produce dots (\ding{108}). These dots should be aligned. This works very well until I add more then 9 footnotes. Then ...
2
votes
0answers
60 views

One table for all? Searching for a comprehensive yet simple table package [closed]

While I get the concept that LaTeX is different from WYSIWYG editors, formatting tables seems to be a rather complex process in LaTeX (especially for a newbie). I am thinking of the following basic ...
3
votes
1answer
27 views

Tabular in tabular: Strange behavior of rowcolor

Starting with the following document: \documentclass{scrartcl} \usepackage[table]{xcolor} \begin{document} \begin{tabular}{|r|r|} \rowcolor{yellow} \hline Head 1 & Head 2 \\ ...
1
vote
0answers
25 views

Multicolumn - Extra alignment tab has been changed to \cr [closed]

I'm trying to build the following table, but I get the error in the title. I'm sure it has something to do with the \multicolumn function, but I can't see what's wrong with it. Help? \begin{table} ...
2
votes
1answer
30 views

Table caption above, figure caption below in ConTeXt

My definition looks like this: \setupcaptions[location=top] \setupcaptions[way=bysection,prefixsegments=section,headstyle=\bf] And placement of tables ...
-2
votes
0answers
36 views

multicolomns and rows

I want to do a table in latex like : ------|---------------------------- no. | name ------|---------------------------- 1 | equation ------|--|-----------|------------- name | name ...
3
votes
2answers
63 views

What is the generic workflow to place objects relatively to others (or previously set anchor points) in beamer?

Coming from MS Powerpoint I usually use SmartForms or other objects to highlight specific points in a picture or a table to draw the viewers attention. Just imagine a technical drawing and I want a ...
4
votes
1answer
49 views

How can I use the ampersand (&) as a delineator for tabs in LaTeX3 (expl3)/xparse syntax?

This idea evolved from the question: How can I get a count of the optional arguments with xparse? Problem I cannot get the ampersand to function as a delineator (for tab stops) inside the ...
4
votes
2answers
94 views

Formatting tables

Could you help me formatting these two tables? I'm close to submit my thesis, but I found some problem in formatting these tables. This is the preamble I'm using ...
4
votes
2answers
48 views

Fit table to textwidth AND textheight

The table below was too long to fit the textheight and not wide enough to fit the textwidth. I would prefer the height of the table to conform to the height specified by the commented-out line ...
1
vote
1answer
43 views

Making thick horizontal lines and a thick vertical line in a table

I have the code for a table. What is the default thickness for the lines? I would like to double the thickness for the vertical line to distinguish the "total column", and I would like to double the ...
2
votes
1answer
47 views

Siunitx adding the \cdot and \chemfig to get extra top space in a tabular

i am having a problem compiling, i get an error of missing $ and { also } when i use \si....... [siunitx package] ----> I tried the \sisetup... but it gives me an error, may be it has conflicts with ...
2
votes
1answer
23 views

Table - disable auto numbering

I was wondering whether it was possible to skip numbering one of my tables and carry on numbering the rest as if that table was not there.
1
vote
1answer
39 views

Multirow and Multicolumn with missing lines

I am trying to create a table which uses both multicolumns and multirows, and I am getting some graphical problems. As you can see on below image, the top right corner is missing a line and the ...
1
vote
1answer
30 views

How to properly place a pgfplotstablestyleset in a floating environment

I am trying to make a really basic table with values I read from file using pgfplotstablestyleset. However, the placing of this table seems completely off. If I use \centering it is glued to the right ...
1
vote
1answer
32 views

What does \processtable{}, and where can I learn about what it does?

LaTeX Companion does not mention \processtable{} command. It seems to obviate the need for \caption{}... where do I go to learn more?
2
votes
0answers
23 views

Vertical table line is missing (tabularx and multirow)

Can anyone tell me, why my table is missing the vertical line on the right? It has something to do with that \multirow, but i can't find it. \documentclass[11pt, twocolumn, a4paper]{article} ...
9
votes
4answers
174 views

Automatically colour previously defined strings of text

I'm creating some tables with conjugations for nouns, adjectives, etc., for certain languages. I wanted to colour certain endings of these instances but doing it manually is very tedious, so I tried ...
1
vote
1answer
34 views

error in repeated column header

I want to repeat a column header and add a footer but face error. Please help me to make the header of table. Here is the code: \documentclass{article} \usepackage[english]{babel} ...
3
votes
1answer
40 views

How change numbering table just in one chapter?

I have set book and numbering a table is 1.1...second chapter 2.1.....and one chapter just in one I need numbering my table just table 1 table 2.... any help ? ...
3
votes
2answers
39 views

How do I make part of my table caption in italic font?

I am very new to Latex and I am trying to make a very simple table with a species name in the title (caption). I want all of my title to be normal font except for the species name, which should be ...
2
votes
1answer
55 views

Plot file could not be opened

The following code is from the "gallery of examples in the manual - PGFPlots". \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \pagestyle{empty} \begin{document} ...
2
votes
2answers
52 views

Putting Line Breaks in a table

I have the following latex code: %\usepackage{multirow} \begin{tabular}{|c|c|c|c|c|c|} \hline \multirow{2}{*}{Position} & \multirow{2}{*}{CF ...
1
vote
1answer
24 views

Table changes distance to preceding line depending on rows

This seems to be such a simple issue, but I still have not found an answer to this question. I am using a non-float tabular environment. Depending on how many rows my table has, the distance to the ...
3
votes
2answers
77 views

Tabular* environment stretching table more than page width

I am using trying to use the tabular* environment to stretch a table to the page width. However the table gets stretched more than the page width defined on the preamble ... Here's my code: ...
2
votes
1answer
24 views

Troubles for fit this floating table to the page

Sorry for the question but I have the following MWE: \documentclass[fontsize=10pt,paper=letter,headings=big,bibliography=totoc,DIV=9,headsepline=true,]{scrbook} ...
2
votes
2answers
44 views

Tabular and equation in a text line

I want to do something like this: in a line with text, not center. Also I can control the left brace but it doesn't seems good. My MWE is: \documentclass{article} \usepackage{amsmath,cancel} ...
4
votes
1answer
54 views

center dollar values in siunitx S table column

How do I get \$ values centered properly in this table? This should be straightforward, but a frustrating search on this site and in siunitx documentation didn't help me. Of course I can always ...
3
votes
3answers
84 views

Making a line in a table bold

Please consider the MWE below, this gives following table. Now I want to ladder-like line passing through the table to be in bold. Any ideas on how this can be done? \documentclass{article} ...
0
votes
0answers
68 views

Draw a picture where some parts are tables

As mentioned above, like the picture below:
4
votes
2answers
59 views

Table Row Color Covers Text

I am trying to create a table with alternating row colors using the xcolor package with the [table] option. The following example demonstrates that the row coloring (uncommenting the \rowcolors..) ...
2
votes
1answer
21 views

How to add a tablenote for a caption [duplicate]

How is it possible to make a table note for the table caption? Something like \begin{table} ... \caption{...\tnote{1}.} ... \begin{tablenotes} \item [1] : blabla. \end{tablenotes} \end{table} ...
1
vote
0answers
22 views

Restricting column width in tables

I'm using the table format below in my thesis. The template I'm using is Classicthesis. What happens below, however, is that the long text in the second column runs out of the page. What's the ...
1
vote
2answers
43 views

How to improve this table with just one row?

\documentclass{memoir} \newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}} \usepackage{graphicx} \usepackage{booktabs} \usepackage{amsmath} \begin{document} \begin{table*}[h!] \centerfloat ...
1
vote
1answer
28 views

Putting text in the middle of a run-off triangle (table)

Consider the MWE below, giving the following figure: Now I want to adjust my code such that in the middle of the table the same text appears as in the following figure. What is the best way to do ...
0
votes
1answer
15 views

Table where last column has width so the whole table not bigger than line [duplicate]

I want to have table, for instance with 3 columns, where the first two columns will have natural width, so the text doesn't wrap and the last column will wrap if the whole table will be bigger than ...
1
vote
0answers
22 views

!Misplaced \omit. \multispan -> \omit for stacked image figure

I am trying to create a figure composed of 2 images stacked vertically, with captions underneath each. There are 2 captions (horizontally) under the second image, therefore I use 2 columns. My latex ...
1
vote
1answer
41 views

Creating a large horizontal table

i want to create a horizontal table, which gives an overview over other studies in my field. I tried the following: \documentclass{article} \usepackage{hyperref} \usepackage{pdflscape} ...
1
vote
1answer
28 views

Using \\ in environments inside the \begin{tabularx}

I have the following code: \begin{table}[h] \begin{tabularx}{0.75\textwidth}{ m{4cm} X } & \textbf{Derivations} \\ $v=v_0+at$ & line 1\hrule \\ ...
1
vote
1answer
28 views

table formatting help (centering on a dash)

I'm not happy with the look of this table: I think the dashes in the entries in the first column should align vertically. I don't like the extra space after the integer percentages in the second ...
1
vote
3answers
28 views

Vertically aligning content in table cell

I have the following code: \begin{table}[h] \begin{tabularx}{\textwidth}{ m{4cm} X } & Derivations \\ $v=v_0+at$ & test \newline test \newline ...
3
votes
1answer
51 views

two columns face to face when page breaks

I want to make a command for translated text. My wish is to have two columns facing each other : the original on the left and the translated on the right, with the informations about the text beyond. ...
2
votes
1answer
30 views

Align resized tabular and image vertically

I'm using this code to put a large table next to a figure. \begin{figure}%[t!] \centering \begin{minipage}[c]{0.95\textwidth} \begin{tabular}{cc} \resizebox{0.45\textwidth}{!}{ \begin{tabular}{c c c ...
5
votes
3answers
70 views

Fitting column width to text

I have the following table: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{booktabs,array, caption,fixltx2e} \usepackage[flushleft]{threeparttable} ...
0
votes
1answer
38 views

Page content turns back to portrait within `landscape` environment

I have some wide tables, so I decided to use landscape orientation to show them. I use the landscape environment from the lscape package to achieve this. Unfortunately, I am experiencing some strange ...