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

6
votes
2answers
88 views

Extra row appearing in table assembled in pgf for loop

I'm constructing a table one line at time inside a \pgfplotsforeachungrouped. An unwanted line appears after the \hline at the end of the last round of the loop as evidenced by the lone decimal point ...
6
votes
1answer
122 views

siunitx overfull hbox dependent on table-format

There are a few similar questions (see here and here) regarding overfull \hboxes in siunitx tables but neither solves/explains the following. Consider this MWE: \documentclass{article} ...
2
votes
2answers
479 views

Overbrace over two columns of 3-column Table [duplicate]

I'm little new in LateX. What I want to achieve is to make overbrace over two columns in 3-columnt table. I mean that I don't want to make overbrace over whole neither one column. For now I got this: ...
3
votes
2answers
65 views

setting the automatically enumerated text in the middle of the row

I've enumerated my text in rows but it's not in the middle of the row and I don't know how to achieve that. My MWE: \documentclass{article} \usepackage{array,tabularx,multirow,geometry} ...
4
votes
2answers
188 views

dcolumn and tabularx, part 2

This is a follow-up on another question I asked. I am trying to combine the dcolumn package with tabularx (or tabular*for that matter) so the table spans the width I specify, columns are evenly ...
1
vote
1answer
85 views

Issue with table and text width

I ask for help since I cannot cope with an issue occurring in the compilation of my LaTeX file. I put a table in a section (documentclass cv), but unfortunately the table starts from the middle of the ...
4
votes
1answer
80 views

How to align the columns of several tables

Given Table 1 and Table 2, I want to create a Table 3 whose columns are Column1(Table3) = max{Column1(Table1), Column1(Table2)} Column2(Table3) = max{Column2(Table1), Column2(Table2)} ...
0
votes
0answers
37 views

Figure out the width of each column [duplicate]

I want to know the width (e.g., *pt) of each generated column. How can I do it? \documentclass{article} \begin{document} I want to know the width (e.g., *pt) of each generated column. How can I ...
2
votes
0answers
82 views

Left align a Table? [closed]

I write a simple table code in LaTeX, but it is aligned in the centre of my page. I want to align the whole table in left position. How is this possible? \begin{table}[h] \begin{tabular}{| l ...
7
votes
1answer
288 views

TikZ double arrow between table rows

I need to create a double curved arrow that connects two cells in my table. I have found some sample a got this \documentclass{article} \usepackage{array,multirow,graphicx} \usepackage{tikz} ...
4
votes
2answers
2k views

Add space before and after tabular environment

The tabular environment does not add any vertical space before or after it. This looks odd, in my view. What is the "correct" or "best" way to add some space? Also, why is there more space after the ...
3
votes
0answers
133 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
2
votes
1answer
78 views

Spacing rows in a table

I am having a very difficult time typesetting this Cayley table. When I use this code, it gives me an error and tells me that I am using an illegal unit of measure. I know I do not have the correct ...
8
votes
2answers
537 views

Combine column types defined in dcolumn with tabularx

I'm looking for a way to define a column type which "mixes" the 'D' column defined in the dcolumnpackage and the 'X' column defined by the tabularx package. In other words, I want a column type that ...
3
votes
1answer
90 views

Vertically stack parboxes in a cell of a table

I need to insert an enumerate environment in a table. Following hints from this page: itemize in a tabular environment, I used \parbox to prevent error (Putting itemize environment in a tabular ...
4
votes
1answer
163 views

table in LaTeX giving error

I'm trying to create the table using the below script and its giving this error "! Missing $ inserted.<inserted text> $ l.689 \end{tabularx}" \begin{table*}[t] ...
2
votes
1answer
217 views

Alignment of siunitx S-column looks bad with big numbers

I have to put a bunch of numbers into a lab report, and I currently use siunitx with tabular and the S column type. It looks great for small numbers and large column heads. However, for small heads ...
0
votes
0answers
34 views

Putting itemize environment in a tabular environment [duplicate]

I have a macro that makes an itemize environment. When I tried to use the macro in a tabular environment, I have this error message. ERROR: LaTeX Error: Something's wrong--perhaps a missing \item. ...
3
votes
1answer
278 views

Name, address, email Template (sort of empty table) for the attendees of a seminar?

I want a three column "Name", "Address", "email" template with appropriate spacing. I know how to do this in MS word. But I am just curious how to do it in Latex? I might need space in the heading for ...
5
votes
1answer
289 views

How to make a table wide in a twocolumn-mode document?

How could I make a table wide (like using table*) in a twocolumn-mode document, that can break a page? Below the expected result (made in any ordinary text editor). Page 1 Page 2 UPDATE By ...
4
votes
1answer
70 views

Enumerate every row, excluding the first one in a table

I want to numerate every row, excluding the first one, in a tabularx environment. In my MWE the first line, headline, is also numerated. How can I turn this off? \documentclass{article} ...
2
votes
1answer
120 views

Rowcolor wont cover all cells in the row

The following code \begin{tabular}{|m{1cm}| |m{10cm}|} \hline \rowcolor[gray]{0.9} \centering Grupo & \centering Descrição \tabularnewline \hline \hline 2B & instalações que utilizam ...
2
votes
2answers
125 views

Using a bib key containing an ampersand (e.g 2000A&AS..143..391S) in table?

I am currently stuck with this issue. The following is a typical .bibtex entry of a paper that I need to reference: @ARTICLE{1996A&A...307L..41V, author = {{Vink}, J. and {Kaastra}, J.~S. and ...
3
votes
1answer
92 views

\raggedright has unusual behaviour in tables

I'm trying to make one column in a table appear ragged right. I've had some success, depending (inexplicably, to me) on the number of columns. The following works for me: Attempt 1 ...
4
votes
1answer
37 views

Why caption becomes a subcaption in the following case?

\documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{caption} \usepackage{subcaption} \newcolumntype{Y}{>{\footnotesize\raggedleft\arraybackslash}X} ...
1
vote
1answer
59 views

Add custom caption to LOT file

In my publishing company we have our own template with custom \tcaption command which make caption above the table with company's standards (and I don't use table environment). However this command ...
20
votes
5answers
658 views

What are some alternatives to presenting data instead of tables?

What are some alternatives to representing tabular data? Currently, I am trying to construct a table but seeing as how, everyone in my class will be doing that, I want to stand out and I'm looking to ...
6
votes
1answer
251 views

Rows exceeding margin in tabulary environment

The main issue I am having is that the second column becomes squished and the table exceeds the 1 inch margin that exists. What's the best to fix the issue? I also need the table to have the table be ...
3
votes
1answer
83 views

Caption won't stick to table - gets centered

I'm trying to create a table with a caption on top of it, with the caption centered to the table. I have this code: \documentclass[a4paper]{article} \usepackage[english]{babel} ...
2
votes
2answers
113 views

Table way out of margin

I have a really long table and it is out of margin. I read other post about this issue but I still cannot figure it out: \begin{table}[htbp] \begin{center} ...
7
votes
1answer
142 views

Wrong border position on tabular when using lstlisting

I have encountered a problem while using tabular environment. The following code \documentclass [12pt,a4paper,oneside]{report} \usepackage {listings} \usepackage {fontspec} \usepackage {enumitem} ...
13
votes
4answers
251 views

How to clarify and enliven a dense table

I have a table that is quite dense: Any ideas how could make this easier to read, specifically in terms of distinguishing between different rows and columns? Was thinking Excel-style cell shading ...
7
votes
1answer
455 views

How to get a dot instead of colon in table captions?

Now I have Table 1: Title I need Table 1. Title
2
votes
2answers
125 views

Problem with color tables when there are nested tabulars

Color tables work great when using within a single tabular environment. However, when using it within nested tabular environments, a rowcolor command spans the whole nested table instead of a single ...
1
vote
0answers
97 views

How do I reference supplementary files such as tables in Excel format?

Some of the information I need to include in my thesis are extremely long tables that will only be provided in the digital copy as supplementary files, most likely in Excel's XLS format or similar. ...
3
votes
3answers
104 views

How to shorten the space of the entry in a table?

My code is as follows, \documentclass{article} \usepackage{amsmath, amssymb} \usepackage{setspace} \usepackage{ulem} \usepackage{float} % fix the table \usepackage{bold-extra} ...
4
votes
1answer
90 views

Stretching a table

I want to stretch my table using tabular*. I'm using following piece of code. I 'm not getting a proper table. The table lines/border look strange. \documentclass{article} \usepackage{multirow} ...
3
votes
1answer
96 views

Problem with table using \multirow

I'm getting some little problems when using \multirow: Here is my code: \documentclass[a4paper,10pt]{article} % Default font size and paper size \usepackage{multirow} \begin{document} ...
3
votes
3answers
110 views

How do I create an align environment without space between cells?

For example, I would like to create a macro to draw a tableau with letters in the cells. First I create a macro to take in a tabular-like data argument, called \tableau, in which I created a \halign ...
1
vote
2answers
143 views

Beamer table centering in Rochester?

I try to center the table in beamer but even if I use \begin{center} there is still more space on the left than on the right. Have you any idea what I can do with that? \documentclass{beamer} ...
4
votes
1answer
95 views

Drawing divided table

Can anyone recommend any tutorial/library or just explain how can I draw this type of table, divided into few part with arrows? Like on this picture:
5
votes
2answers
82 views

Removing blank line in tabulary

I use tabulary package for automatic width adjustment, but I have a blank line in the first row. \documentclass{article} \usepackage{tabulary} \begin{document} \begin{table}[htbp] ...
9
votes
3answers
1k views

Generating a separate pdf file of tables and figures from a latex file?

Is it possible to generate a pdf of figures and tables of a paper from latex itself? I saw Journals and Conferences asking for a separate file of tables and figures. In this question, questioner ...
2
votes
1answer
140 views

Column with fixed width and centre alignment

In the following code, \documentclass[12pt]{article} \usepackage{multirow} \usepackage{array} \usepackage{hhline} \newcommand{\spe}[1]{\multicolumn{2}{c}{#1}} \makeatletter ...
4
votes
3answers
176 views

Vertical cell alignment in tables?

This problem drives me crazy right now. How can I draw a table with the following properties in Latex? width = \textwidth 1 column: horizontal alignment = left, vertical alignment = bottom 2 column: ...
5
votes
1answer
365 views

Selectively suppress caption numbering when using xtable

I have a chunk of code which is producing table output using Xtable and I would like to suppress the table numbering. I know I can suppress numbering using \caption* outside of Xtable but I'm stumped ...
0
votes
1answer
190 views

How to combine multiple rows with multiple columns with headings in one table?

I am struggling to create a table with three dimension to look up a fourth. Consider the following binomial table as an example ##===##=================##===## || || p || || || n ...
2
votes
0answers
56 views

problem with creating list of longtables [closed]

I'm using the longtables for my document without \begin{table} ... \end{table}. How can I create the list of tables? Command \listoftables doesn't work.
0
votes
0answers
36 views

Employing options of the figure or table environment via \newcommand

I am writing a large document in which I would like to employ the options of figure environments via \newcommand{\figposa}{H} \newcommand{\figposb}{T} \newcommand{\figposc}{B} ...
12
votes
1answer
2k views

Drawing Karnaugh's maps in LaTeX

I've been using LaTeX for a couple of years, but I'm pretty new to the tikz package. In particular, I'd like to add Karnaugh's maps in my document. I've already found a solution that satisfy me (can ...