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

6
votes
1answer
363 views

Formatting a logical (PD) derivation

I'm trying to format a PD derivation but I'm having trouble getting subderivations to display well. Essentially what I'm trying to accomplish is this: 1 | P Assumption 2 | Q ...
4
votes
1answer
776 views

LaTeX not recognizing \end found in a \newcommand

I'm trying to both start and end a table with \newcommand. I'd like to switch to using \EndTableSetupFourColumns (as it removes several warnings and is easier to understand for other readers) but for ...
10
votes
3answers
12k views

Set longtable to fit the page-width

I would like to set a longtable to fit correctly the page-witdh. From now, I've this situation: and the related tex code is: \usepackage{array} \usepackage{multirow} \usepackage{longtable} ...
1
vote
1answer
341 views

Why \ifnum\c@mpfootnote does not work inside tabular?

Why \ifnum\c@mpfootnote does not work inside tabular? Should not I get no footnote-rule? I am just puzzled! \documentclass{article} \begin{document} \makeatletter \long\def\@mpfootnotetext#1{% ...
3
votes
1answer
1k views

inserting external LaTeX tables made by Stata into Scientific Workplace 5.50

I am trying to insert a table of statistical output into SWP 5.50 from an external file. The table is generated by my statistics program, and it looks something like this: ...
3
votes
1answer
469 views

Why does ltablex skip a number in captions?

The below example presents two tables with an tabularx environment (taken from package ltablex) and a caption. After each tabularx-table, the table counter skips one, as if both the caption and the ...
5
votes
2answers
3k views

Professional slashbox alternative

Suppose I have the following table which lists conversion rules, where rows denote the input and columns denote the output type (so, for example, the conversion int8_t -> int16_t would use b, while ...
3
votes
2answers
192 views

Centering a wide table that is defined inside a NewEnviron

I am trying to centre a table with a lot of content whose width is larger than the text width. The problem is that I am defining the table environment in the preamble so I can reuse it, and this seems ...
4
votes
2answers
581 views

Increasing the length between rows in a table

I have defined a new command to increase the length between rows in a table: \newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}} For example \documentclass[a4paper, 11pt]{article} ...
0
votes
1answer
8k views

Centering table in landscape page [duplicate]

I'm trying to get a table centered both vertically and horizontally in a landscape page. I've tried some of the solutions proposed around here but I can't get them to work in my specific case. Here ...
3
votes
1answer
480 views

Vertical misalignment due to beamer onslide? [duplicate]

The following MWE displays the problem: \documentclass{beamer} \begin{document} \begin{frame}\onslide<+-> \begin{tabular}{p{4cm}r} Text\\Text & Text \\\hline Text\\Text & Text ...
2
votes
1answer
206 views

Last cell in complex table not behaving

I am having a hard time figuring out why the text in the last cell on each row of this complex table I am creating is not positioning correctly. As you can see from my code, the issue only occurs when ...
1
vote
1answer
628 views

How to properly use tabular within \multirow?

For \multirow{3}*{\minitab[c]{India \\ Canada}} I get various error messages in the code below; whereas both \multirow{3}*{India Canada} and \multirow{4}*{\minitab[c]{Common \\ g text}} & ...
22
votes
3answers
40k views

Footnote in tabular environment

It seems as if footnotes would have only a problem with the table environment but in my minimal example non of those answers Footnotes in Tabulars? Footnote in table seem to work for the tabular ...
1
vote
2answers
677 views

Will subcaption and threeparttable live happily ever after? Trouble combining the two

I'm trying to take this MWE table and put it into a subcaption's subtable environment, or, alternatively, use subcaption's subcaption command - see subcaption's manual - to achieve the same end: to ...
3
votes
1answer
927 views

Dashed hline in longtabu (arydshln conflicts, does not work?)

I have a large table with the following requirements: Spans multiple pages (currently using longtable) The last column's text must wrap (using tabu's longtabu environment as tabularx does not ...
4
votes
1answer
833 views

PGFPlots error “Dimension too large” when plotting .csv data

I did search on here for a solution and I did read the manual, but i couldn't find an answer (or at least one that I understood). I am plotting some data in a .csv file and for some reason when the x ...
5
votes
2answers
402 views

Format time span for CV

I would like to add the month to the time span of moderncv. I order not to occupy much more space and still having a beautiful solution, I would like to do the following: Year - Year Month - Month ...
19
votes
2answers
28k views

Misplaced \noalign

Unfortunately I cannot solve the error with noalign on my own: ! Misplaced \noalign. \hline ->\noalign {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth \futurelet... l.12 ... ...
3
votes
1answer
129 views

Stretching each cell to the same height

I'm building a TikZ diagram in a row-by-row fashion. Each row is composed of a sequence of blobs, and the end of the row is signalled by issuing \newrow. Here is the code I have produced so far: ...
2
votes
1answer
567 views

Moving the table caption

I want to move a wrapped table and caption, I'm trying to use vspace but it doesn't move the caption. Any ideas? \documentclass[12pt]{article} \usepackage{wrapfig} \usepackage{floatrow} ...
3
votes
1answer
187 views

Wraptable interferes with the next page

I've got a wrapped table on the right, it reaches the end of the page and stops, and the text next to it finishes its paragraph in line with where the table finishes. The line on the next page stops ...
1
vote
1answer
353 views

multiple uses of multirow

I'm trying to create a table in LaTeX using the multirow package that is such that we have in the first column, a row that spans six (with a title/whatever in it) with an empty space in the top row, ...
1
vote
0answers
13 views

Multiple uses of multirow in LaTeX [duplicate]

I'm trying to create a table in LaTeX using the multirow package that is such that we have in the first column, a row that spans six (with a title/whatever in it) with an empty space in the top row, ...
4
votes
1answer
897 views

Tabular and itemize

I'm having a big problem...I am trying to make a nice table which in the left side has just text and in the right part it may contain some itemized elements. This is how i'm doing it: ...
4
votes
1answer
272 views

Legend as Table under a Table

There are two tables, where the second one is the legend of the first one. How can I combine these easily without destroying the first or second table's layout? \begin{table}[htbp] ...
5
votes
1answer
218 views

Set the width of every columns of a table in ConTeXt

Sometimes, I need such a table whose column widths should be equal with each other. Here is an example: Name Email John john1989@gmail.com Bill bill1990@outlook.com Tim ...
0
votes
0answers
25 views

Cell spacing in table [duplicate]

Consider the following table. Code \documentclass{article} \usepackage{booktabs,dcolumn} \usepackage[table]{xcolor} \newcolumntype{d}[1]{D{.}{,}{#1}} \newcommand*\mc[1]{\multicolumn{1}{c}{#1}} ...
6
votes
1answer
789 views

Align decimal marker with thousands separator using siunitx

My table consists of two groups of rows. The first group contains large values (X,XXX). The second groups contains smaller values (0.XXX). Siunitx aligns all numbers based on the position of the ...
3
votes
1answer
2k views

\hline with \only (or \onslide) in Beamer

In a table in beamer, I would like to remove \hline after X number of slides using \only<1>{\hline} But this always results in an error message: Misplaced \noalign What can I do to ...
4
votes
1answer
454 views

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here?

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tabulary} ...
3
votes
1answer
2k views

How best to change the font size (etc) of threeparttable's table notes?

How best to change the font size (etc) of the threeparttable table notes ? Google returned these (duplicate) unanswered stubs (in English and German, but with pictures ;) ...
3
votes
3answers
296 views

Know the cell width with tabular* or include a paragraph box without specifying its width

I wrote the following table using tabular* inside a \newenvironment. Worked fine but I prefer to have text wrapping on one column. The table uses "phantom" cells to achive what I want that is having ...
1
vote
1answer
7k views

Left Align with Column Width {p{cm}} [duplicate]

I am trying to create a table something like: Idioms Definition A dime Anything that is common, inexpensive, a dozen and easy to get or available any ...
3
votes
2answers
169 views

Test for empty possibly itemized argument in tabu

For some reason, I can't test if #2 is empty in the following tabu use case. An Incomplete \ifx; all text was ignored after line 14 is thrown executing the following code. ...
7
votes
1answer
620 views

How can I create a table that spans across the width of two vertical (and opposite) A4 pages?

I have a large (wide) table to typeset. I usually use the code below for my tables which enables me to specify the width of each column in the table. However, it is up to me to make sure that the sum ...
19
votes
2answers
7k views

How to generate a table of trigonometric functions that can be broken across pages?

Consider the following screenshot. The features I want to have are: I can shrink the page size and the table is allowed to break across pages. The background of odd rows must be different from ...
4
votes
2answers
2k views

Table with 100 % width and vertical / horizontal alignment

I want to draw the following table in LaTeX. In the first column the text should be left aligned. The text in all other cells should be centered. The first problem occurs with D in the first row. If I ...
2
votes
1answer
112 views

Awful page breaking when very long multicolumns items are used

I am using ltablex with \multicolumns. My problem is that I have to introduce a lot of text inside of single \multicolumn items, then when it automatically breaks the table on two different pages, it ...
5
votes
2answers
4k views

How to get line-breaking / multirow to work in the caption of my beginner's table?

How to get line-breaking / multirow to work in the caption of my beginner's table? \caption{this is my first table's captive caption} I'd like the caption to look sth like this: this is my ...
7
votes
1answer
44k views

LaTeX split long table in multiple pages and resize the width

I am trying to find a way to fix the width of my table to the margin of a portrait page (not landscape) while continuing the table in another page since it is very long. I can adjust the width by ...
0
votes
0answers
63 views

Table and Figure in one table [duplicate]

I want to put table and figure side by side in one table...I used this code lines but not working ....could you help me out.... \begin{table}[t]\fbox{ \begin{minipage}[b]{.50\textwidth }% ...
3
votes
1answer
253 views

Automatic arrangement of equations with comments

This question led to a new package: conteq I am writing a paper with multiple chains of equations or inequalities, with optional explanations. Depending on the size of the equations, I use one ...
0
votes
1answer
56 views

Easy way to individually adjust the justification of text in a table?

I have a simple table and want to center only the titles of each column, how can I individually center them ? I tried \centering{} but this only works for the first column.
1
vote
1answer
403 views

Table skipping section?

I have one main section along with 5 subsections. One of the subsections has a table that cannot fit in half a page, and hence needs to be fitted in the next one. However, the table skips all the ...
2
votes
1answer
150 views

Format fonts and individual cells in Tables?

Is it possible to directly modify the fonts in a table ? For example I have : \begin{tabular}{ |l|l| } \hline \multicolumn{2}{|c|}{Table of Bla } \\ \hline test & test2 \\ yes & ...
3
votes
1answer
237 views

Inaccurate table numbering with LyX

I'm using LyX to create some tables, but the numbering is complete borked. In the LyX window, the table numbers are accurate. However, when I render to a PDF, they are evens only: 2, 4, 6 etc. (I'm ...
1
vote
2answers
93 views

Table Line above?

\begin{center} \captionof{table}{Register Table} \label{tab:title} \begin{tabulary}{1.2\textwidth}{| p{3cm} || C | p{3cm} | C | C p{1cm} | } Procedure & Expected Outcome & Pass ...
1
vote
3answers
195 views

How to format a set of paragraphs with captions to the left of the first line

I am trying to write a document with a list of paragraphs that have an introductory caption displayed to the left of the first line of each paragraph, such that the captions appear as a left column ...
2
votes
1answer
245 views

Controlling the size of tables produced from the R functions tabular() and latex()

I'll state up front that I'm not absolutely certain whether this question is more appropriate for CrossValidated or for this site. However, since I've seen several questions about the latex() command ...