{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
2answers
63 views

Sideways Table not created - Missing number, treated as zero

\documentclass[twoside,11pt]{article} \usepackage[english]{babel} \usepackage[hang]{caption2} \usepackage{enumitem} \usepackage{graphics} \usepackage{psboxit} \usepackage{amsmath} ...
2
votes
1answer
87 views

How to make a table with subcolumns like this?

I want to add a table in the following format: But don't know what's wrong with my script that doesn't work. \documentclass[9pt]{article} \usepackage[utf8]{inputenc} \usepackage{fontspec} ...
3
votes
1answer
94 views

how to make a line between two rows in table? (when no space between strings)

I use longtabu package to build table, when I use \\ to separate every line, it is ok, see below \begin{center} \begin{longtabu} to \textwidth {|X[1 , p ] |X[1 , p ] | X[2 , p ]| X[2 , p ]|X[1 , p ...
3
votes
2answers
62 views

table out of margin: any suggestion?

I try to put a very large table inside a pdf: \begin{table} \begin{center} \caption{ \textit{Title}. Some comments.} \begin{tabular}{llllllll} \hline Parameter & bbbbbb & ...
3
votes
1answer
526 views

\cellcolor command from colortbl package not working

I've been trying to colour single cells but it's not working. Here's a MWE: \documentclass{memoir} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \begin{document} \begin{tabular}{|l|c|} ...
0
votes
1answer
41 views

Data in table row not aligned

I have a pretty complicated table that gathers some decisions inside of it. I recently added a new column to the table, which did not disrupt it, but some of the rows filled with the data for the new ...
0
votes
0answers
26 views

Import and scale LaTeX table data from file (only ampersand stuff)

Is it possible to create a table and include only the pure data from an external file (only ampersand delimited stuff). Is it also possible to scale a table because data is vast and I don't want to ...
1
vote
0answers
46 views

How to put 2 correlation matrices on the same page in landscape?

I am trying to fit 2 correlation matrices on the same page on a landscape format. Here is what I use: \begin{landscape} \begin{table}[htbp]\centering \caption{Correlation matrix, group ...
4
votes
2answers
99 views

Simple tabulary table overflows columns

I want to create a simple table with tabulary: \documentclass{article} \usepackage[english]{babel} \usepackage{tabulary} \begin{document} \begin{tabulary}{\linewidth}{|L|L|L|} A & B & C \\ ...
6
votes
1answer
221 views

How to draw a punchcard in Latex [duplicate]

I would like to draw a punchcard in Latex as shown below. But i just can't find any information how to do this (not even in the manual of tikz). The only thing i can find is information about bubble ...
3
votes
2answers
118 views

table with many columns

I have some questions about the below table: If I omit the margins, the table will completely get disordered. I want to have the two 4 columns in the middle to have a slight distance with each other ...
6
votes
1answer
185 views

How to access rows through naming or similar

I want to create a style for tables similar to \documentclass{article} \begin{document} \begin{table} \begin{tabular}{cc} A & B \\ a & b \\ c & d \\ \multicolumn{2}{l}{\emph{C}} \\ e ...
5
votes
1answer
42 views

Center subcaption-based tabulars in a beamer frame

I have several tabulars side-by-side using the subcaption package in beamer: However, as you can see, they are not quite centered. How can I center the tabulars, so that tabular RAID5 isn't on the ...
2
votes
1answer
32 views

How to right-align whole longtables

Say I have the following document: \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{|lr|} \hline A & 1\\ B & 2\\ C & 3\\ \hline ...
0
votes
1answer
76 views

Two tabulars in one Table but in different pages

I would like to ask you how could I have in one table two parts (tabulars) BUT in different pages? I tried bigskip or pagebreak but it does't work Thank you in advance
1
vote
1answer
55 views

Table appears always before conclusion section

I draw a table, after the table I have a conclusion to write, but the conclusion comes always before the table while it must appear after it instead. Here is the code I used for the table: ...
6
votes
2answers
4k views

Can't generate vertical space between tables

I realize this is probably a really simple issue but I'm a complete beginner. I am auto-generating code very similar to the LaTeX code below. However no matter what I do I can't get space between the ...
2
votes
2answers
108 views

Double lines and centered stars in a table

I have a table, but I have a problem with formatting it: \begin{table}[H] \centering % used for centering table \begin{tabular}{p{5cm} c c c c} \\ Case & Entscheidungsbäume & Neuronale ...
2
votes
2answers
78 views

Multiline in a table cell

I have a problem with my table. I should put a big text in a cell. it should be multi line. How can I do that: \begin{table}[H] \centering % used for centering table \begin{tabular}{c c c c c} ...
4
votes
3answers
130 views

Adding background color to table cells in LyX

I'm doing some tables using LyX and I tried to set a color background in the cells , but I got this error: Undefined control sequence \rowcolor {cyan} & The control sequence at the end ...
1
vote
2answers
54 views

Table title to match table body (in terms of length)

I have a table with 4 columns and my title seems to be far bigger than the main body of the table. This does not look quite good. Is there anyway to have the length of those two be the same, or at ...
1
vote
1answer
86 views

Producing LaTeX Table

Im relatively new to LaTeX and trying to create the table below, but so far I'm unsuccessful. Any help will be appreciated.
1
vote
2answers
61 views

\num with parameters in siunitx table

I have a couple of different methods to solve a diven problem and I want to compare them in a table. My aim is it to automatically add the relative deviation. I got some problems using siunitx within ...
0
votes
1answer
27 views

beamer overlays and table rules

I am trying to use \only{...} within a table to selectively add blocks of lines. This works as long as I don't have a \midrule or \bottomrule included or following the part contained in \only{...}. ...
2
votes
2answers
76 views

Itemize text in a table

I have such a table: \begin{table}[H] \centering \begin{tabular}{l|l} Feature eines Signales & Feature eines Bildes \\ \hline\hline Der Peak vom Spektral ...
2
votes
2answers
198 views

How to remove undesired lines in table

I want to remove the red marked line in the below picture, does anyone know how to do it? The Latex script I use is: \begin{tabular}{|c|c||c|c|c|}\hline ...
5
votes
2answers
69 views

Table is not within the margins

I have set margins using the geometry package (for my resume). I have put up the table but it is going beyond the margins. And, how to bring the Operating System text between the two lines? Please ...
1
vote
1answer
345 views

prevent page break after AASTeX deluxetable \tablecomments and the next deluxetable?

The issue is the following: there are two deluxetables (AASTeX) set after another. The \tablecomments of the first extends extends over a page boundary, such that one line of text lands on a new page. ...
3
votes
1answer
75 views

Table isn't displaying

\documentclass[manuscript]{aastex} \begin{document} \clearpage \begin{deluxetable}{} \tabletypesize{\scriptsize} \rotate \tablecaption{Sample table taken from \citet{treu03}\label{tbl-1}} ...
2
votes
2answers
74 views

imported table positioning

I am importing a data table into a document and want the table to be within the text. When I import with \input{bodyrate}[htpb], the table is placed at the end of the document and [htpb] is printed ...
0
votes
0answers
40 views

Table footnote symbol - fatal error?

I am trying to use: \tablenotetext{$\dag$}{comments} to add an annotation to the values in my table marked with a dagger, but I get an error when I try to use the dagger symbol in the ...
4
votes
1answer
69 views

Is it possible to create a table with two entries in one cell separated by 45 degree line? [duplicate]

I want to create a table like the below picture in LaTeX. Does anyone tried this before? Can you introduce how to create such a table? The problem is that I don't know to how create the slash line ...
2
votes
1answer
170 views

table numbering not in order

I am somewhat irritated about the numbering of tables. Unfortunately i dont have a MWE, i doubt the "error" will be seen in a short example (this is a thesis...). Also when moving things around the ...
3
votes
2answers
54 views

Problems with \newgeometry by using landscape and minipage

I try to rotate a tikz-tree and a table which are in a minipage environment by using \landscape because the tree besides the table is to wide. Now, the tree and the table are not centered. The last ...
3
votes
2answers
64 views

Why different column width in table

I am getting different column width in table and i am not able to correct this. The row with multiple columns in last (with text member) has uneven width. Please help. Here is a sample code. ...
2
votes
1answer
28 views

Putting table in a theorem environment sends it to the very end of the document

I'd like to illustrate my \begin{example} \lipsum[2] \end{example} with a table yet adding the table to the environment sends it to the very end of the document: \documentclass{article} ...
4
votes
1answer
62 views

caption of a table

I've got the following code: \begin{center} \sffamily \captionof{table}{Codexample} \begin{tabular}{ll} \topule[2.5pt] exampleline & example \\ ... \bottomrule[2.5pt] \end{tabular} \end{center} ...
104
votes
24answers
12k views

Comprehensive list of tools that simplify the generation of LaTeX tables

Manually hacking tables in LaTeX is one of the less funny things when preparing a document. Naturally, there are quite a few tools that promise to simplify this. In fact, I have somewhat lost track of ...
1
vote
0answers
24 views

LaTeX: table with variable number of lines [duplicate]

In LaTeX, I can do this: \begin{tabular}{|p{5ex}|p{5ex}|}\hline & \\ \hline & \\ \hline & \\ \hline \end{tabular} But I cannot get a variable number of blank lines this way ...
4
votes
1answer
85 views

I am having trouble importing a big excel table into latex [duplicate]

I have an excel file including the following table. How should I create something similar to it? Is it better to use the table code in latex or make a figure from it and import it to latex (I did this ...
2
votes
3answers
87 views

Problem with horizontal and vertical centering of multiline cells in a table

I'm having difficulties perfectly centering (both horizontally and vertically) a few cells in my table. Here is a screenshot of what it looks like right now: The problem line is the one which ...
3
votes
1answer
70 views

How to hide the number of a table, whilst keeping it in the list of tables

I want the caption of one of my tables to say only Table, without the number. Caption* did not seem to work. Also, I still I want it to appear in the list of tables. Is there any way to do that?
3
votes
2answers
67 views

Line spacing and alignment issues in tables with multiline cells

While trying to create tables with multiline cells, I run into some line spacing and alignment issues. The following code creates two tables: \documentclass[10pt]{article} \usepackage[english]{babel} ...
2
votes
2answers
64 views

How to centre the horizontal text in table

\documentclass{article} \usepackage{multicol} \usepackage{multirow} \usepackage{array} \usepackage{rotating} \usepackage{makecell} \begin{document} \begin{table} \small \caption{Studies on ...
2
votes
1answer
31 views

Extend vertical line in table

The following code: \documentclass[12pt]{article} \begin{document} \begin{table}[t] \centering \begin{tabular}{c|cccccccc} \hline id & \multicolumn{4}{c|}{Col1} & \multicolumn{4}{c}{Col2}\\ ...
16
votes
1answer
22k views

Make a table span multiple pages

I have a table that takes up a full page, but I want it to start on a page that already has some text and then continue onto the next page (i.e. it's ok if the table gets broken up and spans two ...
0
votes
0answers
19 views

How to continue a very long table on multiple pages? [duplicate]

I have a long table in latex. I used the commands: \begin{table}[ht] \begin{center} \begin{tabular}{cccccccc} (..the table..) \end{tabular} \end{center} \end{table} However the table length ...
5
votes
1answer
55 views

Tabbing environment in tabular environment cancels set table width

I have a table with a tabbing environment in it. I don't want the table to exceed a certain width, but the tabbing environment seems to ignore this. So while inserting a lot of 'blas' in row 5 results ...
3
votes
1answer
82 views

How to right-justify URLs inside a table?

I have a table containing a URL, and I want the URL to break so that the URL is right-justified along with the other text. In my example below you can see that the last few lines are not ...
2
votes
2answers
47 views

Missing vertical line at the end of the first line

I am new to Latex and I have tried to create a table but it seems not to work correctly - the vertical line is missed. Here is the code: \begin{table*}[t] \centering \begin{center} ...