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

0
votes
1answer
373 views

Adding color to table columns with alignment

I am trying to add color to certain columns in a table for highlighting purposes. In said columns, I have positioned the data presented to be aligned by the decimal point. However, when adding color ...
10
votes
1answer
2k views

Errors using standalone package to create a table

I'm learning using standalone package. I tried to create a page including a table but I got errors: Error Something's wrong--perhaps a missing \item. \begin{table} Something's wrong--perhaps a ...
26
votes
2answers
2k views

Column-wise break of extra wide tables

I have to plot geochemical data tables that are like this table , i.e. with a header column, but that have much more sample columns. When having too many columns, the table has to be broken at a ...
2
votes
2answers
214 views

Tabular unwanted padding

I want my document to be a really long (multiple page) list if definitions. I want to do it in a table format. Here is what I have at the moment: \documentclass{article} \usepackage{fancyhdr} ...
8
votes
1answer
2k views

How to make a perfect colour filled threeparttable table?

A three line table is used for my report. I want to fill lightgray background color to the whole table, but there is white space between rows, how to eliminate this issue? Without \addlinespace: ...
6
votes
2answers
527 views

Footnotes being rendered as letters inside tabular

I wrote a couple of footnotes inside a table using minipage, but they are rendered as letters instead of numbers. I couldn't find anything about it in Google. I tried using ...
0
votes
1answer
135 views

Rule between environments (no spacing!)

I want to place a rule between two centered tabulars like the following example. But I am not able to control the correct spacing of 2mm in between the rule. Can somebody maybe explain :-) what should ...
3
votes
1answer
458 views

Latex: Running table number

There are several tables in my paper, out of which one table is very long and need to be place on landscape page. This is my Table.4 and I want to put it on the last page. For that I used \setcounter ...
0
votes
1answer
2k views

Splitting/breaking a long table from an input file

I am input a file in my main latex file but the table (inputfiles contains a table) is too long to be on apage. How can I break it on two or main pages. \usepackage{longtable} %% ...
7
votes
2answers
198 views

Seeking improvement on a poor solution---for descendant charts

I've a solution to a problem that screams out for improvement. I'm working on a second edition of a family history (mine) that has a great number of descendant charts. I've cobbled together a way of ...
2
votes
2answers
1k views

Table out of margin

I created this table using siunitx package since values must to be represented in scientific notation. Unfortunately the table goes out of margin. How can I fix the issue? ...
3
votes
1answer
2k views

Error: Missing } inserted. \end{center} (followed by: )

I'm getting this error message in a document, which contains three tables. Error: Missing } inserted. \end{center} (followed by: ) I have no idea why, I reviewed it like ten times, but might ...
6
votes
2answers
169 views

Enhancing a table

I am writing to get your suggestion about how I could enhance a table. Please do not suggest changing color or fonts. Code: \begin{table} \caption{Temporal Outliers that are detected with respect to ...
2
votes
1answer
144 views

Problem with a table

I have a table that I would like to adjust: the text is floatting; I wanna have it centred in every cell. \documentclass[12pt,a4paper,oneside]{book} \usepackage{tensor} \usepackage{graphicx} ...
3
votes
1answer
123 views

How to create a table format of 81 columns which can fit into one page?

I want to create a table of 81 columns in landscaped mode, tiny font is ok. I changed the \documentclass to landscape, however the font was still too big to fit in. Any suggestion or idea would be ...
11
votes
1answer
6k views

Removing or changing table border spacing

I'm requiring the use of a tabular environment within each item of an itemize environment. However, owing to the default table border spacing, there exists some extra amount of spacing between the ...
4
votes
1answer
249 views

ctable decimal alignment

I'm trying to replicate siunitx's decimal alignmnent in tables, using ctables. \documentclass{article} \usepackage{ctable} \begin{document} \ctable[] {rc} {}{ \FL \textbf{Data} & ...
2
votes
1answer
2k views

Automatic adjustment of cell width

My problem is similar to tabular tabularx automatic linebreak (p/m/b doesn't work as expected). However he had some other issues that I don't have. I have a two-column article. In this article I ...
2
votes
1answer
259 views

Tables as commands

I have to do a little work but I have to use frequently the same settings for a table and I put the following code \newcommand{\tab41}[4]{\begin{center} \begin{tabular}{|c|l||c|l||c|l||c|l|} \hline ...
3
votes
1answer
1k views

Tables: Automatic adjustment of columnwidth to its content gives error “Misplaced \noalign” at \toprule

I am trying to put two tables next to each other, vertically aligned top, with some below listed adjustments I unfortunately can't get together. First, I'd like to know if/how I can avoid the error ...
2
votes
1answer
2k views

Vertical centering of text spanning multiple rows [duplicate]

Possible Duplicate: How to vertically-center the text of the cells? I am using multicolumn to create a table. The code that I have is here: \documentclass[10pt]{article} ...
40
votes
2answers
14k views

How to diagonally divide a table cell … properly?

There have been many threads discussing solutions to the task of drawing a diagonal line in a table cell. There are also two packages to do this, slashbox and the better looking makecell with its ...
16
votes
2answers
3k views

coloring entire row of tabular*

I would like to have the first row of all my tables colored with a certain color (below yellow) but somehow below thing is not working as expected This: \documentclass[a4paper, 12pt]{report} ...
3
votes
2answers
3k views

Help in creating tables, errors in code

I am beginner of LaTeX. I am using MiKTeX 2.9 and TeXnicCenter as editor. I tried following code to create merged table but I got 101 errors! I want to create PDF file and not able to understand what ...
3
votes
1answer
2k views

How to make all the entries in a table verbatim font

I have a large table in the tabular environment and I need to make all the text verbatim font. I know I can use \begin{verbatim}...\end{verbatim} for all the entries but they are just too much for me ...
29
votes
1answer
60k views

Page-wide table in two-column mode

I want a table that is as wide as the whole page in a document with option twocolumn. The table has to be inserted on the bottom of the page, but that is not necessary. I've tried: \begin{table*}[b] ...
4
votes
1answer
2k views

vertical aligning images in table with \adjustbox only works when not every image is in an \adjustbox

I'm trying to center all images vertically and horizontally within a table cell. Therefore I'm using the adjustbox packet. This is the code I use for my table: \begin{table}[b] \begin{center} ...
1
vote
1answer
123 views

with each subsequent column the images scale up

I'm trying to create a table with 5 columns and 2 rows. The first row should shows images and the second row shows the according text. In my main tex-file I have following code to import the table ...
7
votes
1answer
245 views

xcolor and everycr-Problem

I'm trying to insert some \noalign-code in every row of a tabular by using colortbl and \everycr or \CT@everycr. In most cases it works fine, but not if there is a \rowcolors-command (from xcolor) ...
2
votes
1answer
675 views

Page breaking up for caption of a table

Using the following I get problem by page break up. \IfFileExists{FILE}{% \begin{center} \captionof{table}{Grenzwertverletzung [AL9]} \begin{tabular}{ll} AL9& \input{FILE} \\ \end{tabular} ...
4
votes
1answer
2k views

How to draw the following table (simplex tableau)

I would like to draw table, I tried, \begin{equation} \begin{array}{c} z \\ s_1 \\ s_2 \\ s_3 \end{array} \begin{bmatrix} \begin{array}{c|ccccc|c} z & x_1 & x_2 & s_1 & s_2 ...
5
votes
2answers
3k views

How to create a complex table?

Since I have only little experience in Latex, I'm not sure how to create a specific table as shown in the example screenshot. Is such a table even possible with Latex and if yes, where do I need to ...
2
votes
1answer
325 views

Bordered table: weird last row?

I am trying to make a simple table in LaTeX following some tutorials but I am getting an extra column/row after the last row? Why is this? Any help would be highly appreciated :) ...
24
votes
3answers
14k views

Centering in tabularx and X columns

How can I center the column when using X in tabularx environment like in this example? \begin{tabularx}{\textwidth}{@{}lXXXXX@{}} 1 & 2 & 3 & 4 & 5 \\ \end{tabularx}
3
votes
1answer
194 views

equivalent \addlinespace command for table columns?

I just discovered the Latex command \addlinespace which increases the whitespace between the rows in a table. I was wondering if there is a command like that to increase the whitespace between the ...
8
votes
1answer
992 views

Make \addlinespace globally to work with all tables

I found that useful command \addlinespace[3pt] to create an extra white border around the rows. See example: \documentclass[a4paper]{report} \usepackage{multirow,booktabs} \usepackage[table]{xcolor} ...
30
votes
1answer
37k views

How to rotate text in multirow table?

I have a big table with a problem, when I want to rotate the text in a \multirow cell, the text is placed outside and is bigger than the dimensions of the cell, I took some advice from here, ...
6
votes
1answer
2k views

xcolor package; color multirows

Consider the following table: \documentclass[a4paper]{report} \usepackage{multirow} \usepackage[table]{xcolor} \begin{document} \begin{table} \rowcolors{1}{gray!15}{gray!15} \centering ...
3
votes
1answer
480 views

Problem with \hline and reference

I am trying to end my table with a \hline. My tex is as follows \begin{center} \begin{tabular}{ l | c || r } \hline 1 & 2 & 3 \\ \hline 4 & 5 & 6 \\ \hline 7 & 8 & 9 \\ ...
1
vote
1answer
266 views

Conditional inputfile , latex

I am using a conditionalinput file inside my main file %% Out2 doesn't exits %% Out exists I don't want to get caption and table number at position where I don't have file. ...
2
votes
1answer
123 views

table is broken

I tried to make the following form but I couldn't. Also When the address is too much, the table is broken. I apologize. Maybe my question is awkward. thanks. ‎ \documentclass{article}‎ ...
4
votes
2answers
609 views

Removing vertical lines from the table header

This is what I already have, but for the moment. In the left corner and the right corner there are two little vertical lines, I don't want them, but I don't know how to delete them. Anyone who can ...
0
votes
1answer
2k views

Problem setting the width of a column with multirow command

I have an issue with the width of a column, I have a long word in a cell which is larger than the column width, I've tried with \parbox, changing the width of the box and the column, but I can't fix ...
1
vote
1answer
317 views

Table without using booktabs

I would like to know how to create the following table without using the package booktabs. Is this even possible? \begin{table*}\centering \begin{tabular}{@{}rrrrcrrrcrrr@{}}\toprule & ...
9
votes
1answer
20k views

Vertical lines in a multirow and multicolumn table

I am trying to finish this table scheme but I can't figure out what I am doing wrong. I want to convert those discontinued lines into continuous lines and I want to center the label "Total" between ...
8
votes
1answer
1k views

Make numbers in table bold w/o changing width

I want to highlight some numbers in a table using \bf{}. However, the bold numbers also get wider but I want them to neatly line up with the rest. How can I avoid this?
7
votes
2answers
729 views

Getting small font size in all text of a table

I want to have small font size in a whole table. I tried with \small{table code} and \begin{\small}{table code} \end{small}, but it doesn't work. Maybe, I must use a package or any method; please I'm ...
1
vote
2answers
302 views

about \usepackage{graphicx,floatrow} in latex

When I use the code: \usepackage{graphicx,floatrow}, the caption of a table ends up under the table. This does not meet the requirement of Springer (book publisher).
17
votes
3answers
8k views

Vertical table lines are discontinuous with booktabs

I created a table in LaTeX, but there are some problems with the borders. The borders remain open whereas I want them closed. Also, in the last row, I want the vertical line gone, ie I want just one ...
14
votes
1answer
38k views

Multi columns in latex

I am having problems with tables in latex. Here is what I want: Regressors Model 1 Model 2 Coefficient1 Lower1 Upper1 ...