{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
28 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} ...
3
votes
2answers
65 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
2answers
95 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 ...
2
votes
1answer
33 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 ...
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 ...
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 ...
4
votes
2answers
49 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
45 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
50 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
219 views

How to use double line in LyX tables

I want to have double lines in the top row in my tables in lyx. I searched through the site but could not find how to do this.
9
votes
4answers
177 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
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 ...
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
37 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?
37
votes
2answers
2k views

Partially coloring cell background with histograms

Excel has a cool feature called "data bar" conditional formatting that allows the user to partially fill a cell background to create histograms based on cell contents. Here is a screen clip example ...
2
votes
0answers
24 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} ...
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 ...
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
2answers
78 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: ...
3
votes
1answer
41 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 ? ...
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 ...
2
votes
1answer
57 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} ...
1
vote
1answer
26 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 ...
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
45 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} ...
25
votes
4answers
8k views

Rotated column titles in tabular

I'd like to create a chart where the column titles are rotated, as per this toy example: I used the rotating package to generate the above. It has certain shortcomings: the rotate command doesn't ...
0
votes
0answers
68 views

Draw a picture where some parts are tables

As mentioned above, like the picture below:
3
votes
3answers
88 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} ...
4
votes
1answer
55 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 ...
2
votes
1answer
91 views

Multirowed multicolumn

I need something like that: \multicolumn{2}{|c|}{in this place I want multirow text like in fixed width cells without multicolumn} Without use \makecell and \\ in it. Is it possible? MWE ...
3
votes
1answer
52 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. ...
4
votes
2answers
62 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
23 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
24 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
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 ...
1
vote
1answer
29 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 ...
2
votes
1answer
31 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 ...
3
votes
1answer
458 views

The text “height” keeps popping up in tables

In my LaTeX document, I have some simple code for the simplest of tables. But, when I let TeXnicCenter output it to PDF, the text 'height' is suddenly in the first cell and on the first cell in a new ...
0
votes
0answers
15 views

Referencing to full width table in two-column environment [duplicate]

I am using two-column environment and there I have some tables that have to bu displayed full-width. \documentclass[ DIV=calc,twocolumn]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{subfig} ...
0
votes
3answers
32 views

Using a table inside a figure tag, otherwise changing table caption to figure

I've used a table of figures in order to format their presentation and order. But essentially the whole thing is a figure, so I want it now to get "Figure 5" as a caption. To do that I guess I have to ...
0
votes
0answers
20 views

Hyperref Links in Tables [duplicate]

This is my first question so bear with me :) I have a few tables in my document which contain refs or cites. They are streched to look a bit better. When using the hyperref package, the links take up ...
2
votes
5answers
84 views

How to have a thorough horizontal line in tabular environment?

I want the horizontal lines to go across the second column; form start to the end of the second column. I found some suggestions to make a nested table, But couldn't understand those. This my code: ...