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

2
votes
1answer
55 views

How do I create a single-page frequency table instead of a long table for LaTeX in Stata?

I am using stata 12. I have a very long frequency table that I need to put in the appendix (it's composed of countries), I would like to have this table in one single page as opposed to a very long ...
0
votes
1answer
47 views

Forcing two tables to be at the top of the page on facing pages

The person at the desk next to me is writing his Ph.D. thesis, and is trying to decide how to lay out some tables. He has too much data for one table, but is not a fan of rotated tables. So we were ...
2
votes
1answer
74 views

Header and footer with tables. Right margin go off the page

I'm not completely sure if this topci is repeated, but anyway... I'm writing some company reports that have a special header and footer layout containing tables. I have been able to configure the ...
5
votes
2answers
154 views

tikz: table with mathmode and drawing

I made the following table in LaTex with the following code: \documentclass{article} \begin{document} \begin{table}[ph] \protect\caption{Genotype-by-Environment Means} \centering{}% ...
3
votes
1answer
74 views

Recreating a table from MS Word (with a mix of rotated and non-rotated text)

I have the following table which is created in MS Word: I want to recreate it in LaTeX as it is (keeping the same rotation of column headers) and I must keep the vertical and horizontal lines as it ...
3
votes
2answers
83 views

How to create table with inner columns inside larger columns?

I want to create this kind of table with 3 large columns and at one point the column is divided to two smaller columns. Please note that the column not divided in the whole space. How can create the ...
5
votes
2answers
83 views

Tables in an enumerate environment

\begin{document} \begin{enumerate}[leftmargin=*] \item *Kang, B., In, F., Kim, G., and Kim, T. (2010). A longer look at the asymmetric dependence between hedge funds and the equity market, ...
4
votes
2answers
64 views

Insert figure in a table, how to align figures with text in a table

I am inserting multiple figures into a table, and would like to make the following change: center the text (1st column) in the cell (all the text currently are at the bottom) center the figures (2nd ...
3
votes
1answer
37 views

Extra alignment tab has been changed to \cr end template?

I get the error mentioned in the title of the question. \begin{table*}[!ht] \centering \caption{\textit{first scenario : heuristic methods}} \label{Table2} \resizebox{2\columnwidth}{!}{% ...
3
votes
2answers
66 views

Variable column spacing in a table

I have a relatively complex table with quite a few sub headings. I am trying to adjust the column spacing so that the separate "groups" are more visible. Here is a bit of my current table: ...
2
votes
2answers
51 views

Creating table without problem of exceeding page

I would like to create a table like this, but the first row is too long and exceeded the width of page. How can I create and fix this problem in latex?
2
votes
1answer
39 views

Trouble including graphics from csv file into Pgftable, commands are dissapearing (local maybe?)

I've been trying to add eps graphics with the filename in a csv file. Take a look at the CSV to get an idea of what I mean: ...
7
votes
1answer
102 views

Table not wider than text, same columns' width, decimal alignment

I'd like to get the same width of columns labeled 1-10 (all except the first one ~ Name of X) be able to adjust the position of "name of Y" (have it centered or on the left. Right now, it's ...
1
vote
2answers
63 views

Table with multi column

i have this code \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{|c|c|c|c|c|c|} \hline \multirow{3}[4]{*}{Tested Text} & ...
2
votes
2answers
93 views

Tables extending into the right/outer margin

I have some wide tables (might be figures, too) that don’t fit into \textwidth. If the draft document option is active, there’s a black border on the right indicating that it’s wider than allowed. ...
5
votes
1answer
116 views

How to uncover alternating row colors in beamer class?

In the howtos section of the beamer documentation (v3.30) I saw the code how to do alternating row colors when displaying tables as a remedy to errors caused by horizontal and vertical lines in ...
2
votes
3answers
70 views

booktabs with multicol: horizontal rules too short

I need to typeset a two-column document (conference paper) & use the multicol package. I wish to insert a table & usually use the booktabs package as it gives nice spacing. However, in this ...
4
votes
2answers
66 views

Table inside description list

I'm trying to put a table inside a list environment but without success. I'd like to have the table inside the item (matching \linewidth) and not floating in the next page. \begin{description} ...
2
votes
1answer
142 views

Table footnotes in same line

What I need to do: footnotes written (typset) in the same paragraph/line within tabular environment. What I am doing: \begin{table}[!htb] \caption{Caption text.} \label{tab:text} ...
5
votes
1answer
117 views

pgfplots import data from table with comma as decimal separator

I am trying to plot data from data files which are using the comma as decimal separator instead of a point (as is normal in SI style (French version): ...
3
votes
1answer
58 views

Use of underline and siunitx in a table

I have a table of numbers that are aligned using the 'S' format of siunitx (so they are aligned by the decimal point). I need to mark the statistically significant numbers somehow, and using bold font ...
2
votes
1answer
80 views

Latex: How to apply smaller size to all Figures/Tables contained in a Tex document

Figures/Tables do not fit into the page, so that some tables get cut by their right side (imagine that I cannot see the end of the table on its right side). Here is the complicated part: My ...
1
vote
1answer
36 views

Fitting column headers on one row

I have the following table: \documentclass[12pt,notitlepage]{article} \usepackage{setspace} \usepackage{ifthen} \usepackage{booktabs} \usepackage{array} \usepackage{multirow} \usepackage{tabularx} ...
3
votes
1answer
69 views

Text/character alignment in table tabular environment

I'm having some difficulty with the text alignment in some table columns and was wondering if someone could help me work out what's going on? I've provided a MWE and image of the table output. ...
4
votes
2answers
131 views

LaTeX table adjustments

I am typing the following table in LaTeX: \begin{center} \setlength\extrarowheight{5pt} %\renewcommand{\arraystretch}{1.2} \begin{tabular*}{3.4in}{@{\extracolsep{\fill} } | c | c | c | c | c | c | c ...
6
votes
2answers
3k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
1
vote
0answers
135 views

Uncover Table Row-wise not working with \setbeamercovered{transparent}

Consider the following MWE: \documentclass[10pt,compress, xcolor={dvipsnames,table} ]{beamer} %%%Beameroptions \usetheme{Luebeck} \usecolortheme{orchid} ...
4
votes
1answer
64 views

\bottomrule not working in tabular environment with minipage inside

When I use this code: \toprule works well. \bottomrule appear on the bottom but this error occurs: misplaced \noalign \bottomrule. You know why? Thank you! \begin{quadro} \caption{Experiência com ...
1
vote
1answer
48 views

Bad vertical distance in table using makecell package \multirowhead

This is my working code: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{multirow} \usepackage{hhline} \usepackage{array} \usepackage{caption} \usepackage{tabu} ...
0
votes
0answers
71 views

Tabular derivations with bussproofs

I am trying to typeset derivations in the CCG grammar formalism. These are just derivations as in type theory, but with words as the initial premises. I've tried to typeset them using the bussproof ...
5
votes
2answers
96 views

Wrong width in multicolumn tabularx cells

I'm trying to create a table with fixed column widths. As most rows have a different number of cells (with LCM 12) I defined a 12 column wide table, where I add multicolumns of the wanted size. The ...
2
votes
0answers
61 views

Eqnarray vs align environments [duplicate]

I keep reading that \begin{align} is preferred to \begin{eqnarray}. Unfortunately, I can't get align to justify rcl. I'll change between align and eqnarray, and the rightmost column is right ...
4
votes
2answers
102 views

How to refer to figures, tables, equations and sections [closed]

What is the correct way to refer to figures, tables, equations and sections? For example, should I write In Figure 1.1 we notice that.... or In fig. 1.1 we notice that.... or In figure 1.1 we notice ...
1
vote
0answers
20 views

Have a table-cell spanning entire table with automatic width [duplicate]

I'm formatting a table, and I the bottom row has to have the "table notes". I'm not allowed to use the threeparttable package (or any other special package). I know I can use something like ...
1
vote
0answers
23 views

Footenote in table appear only as alpha letters [duplicate]

I'm trying to add footnotes to a table with arabic numerals, but it comes up as alpha letters instead: begin{minipage}{500pt} \renewcommand{\thefootnote}{\arabic{footnote}} \begin{tabular}{rcccc} ...
4
votes
3answers
63 views

Changing height of vertical line in tabular

Is there any way of changing the height of the vertical lines of a tabular environment? Here is my MWE: \begin{tabular}{|c|c|} \multicolumn{2}{|c|}{Header 1}\\ Subheader 1 & Subheader 2 \\ ...
6
votes
2answers
88 views

How to vertically center cell content when its height is stretched by \arraystretch?

\documentclass[preview,border=12pt,varwidth]{standalone} \renewcommand\arraystretch{5} \begin{document} \begin{tabular}{|c|c|}\hline Time & Monday \\\hline 16:00-16:30 &\\\hline 16:30-17:00 ...
2
votes
3answers
72 views

How to make the table fill the entire horizontal space? [duplicate]

I want the table to fit the available horizontal space. How to fix this problem? \documentclass[12pt]{article} \usepackage[a4paper,hmargin=1cm,landscape,includemp,showframe]{geometry} ...
4
votes
1answer
63 views

multirow table, error

I'm trying to create a table which some of the cells are multirow and this is my code: \begin{table}[!htb] \centering \small\addtolength{\tabcolsep}{4pt} \caption{""} \label{table3} ...
2
votes
1answer
200 views

Dynamically format labels/columns of a LaTeX table generated in R/knitr/xtable

I have some tables coming from the statistical package R that I want to export in LaTeX markup. I would like to make every column large as the longest word of its label (assuming for simplicity the ...
1
vote
1answer
77 views

I can't find/fix the errors in order to be able to compile it

\documentclass{article} \usepackage{amsmath} \begin{document} $These are two truth tables for the following: $\neg (p \vee q)$ is logically equivalent to $(\neg p) \wedge (\neg q)$ ...
1
vote
0answers
41 views

Prevent header hyphenation in tabulary

How is it possible to prevent tabulary environment hyphenating table headers? Perhaps redefining \tyformat, but I can't find any reference to this command. EDIT As suggested in comments, I tried ...
3
votes
2answers
98 views

Table of 2x2 tikzpictures defined by my own macro

As a follow-up question from this post I am trying to find out how to arrange multiple tikspictures in a table, where my diagrams are defined by my own macros. Problem: Showing the diagrams ...
1
vote
2answers
85 views

Latex Recall and Precision Table [closed]

I want to draw follow table on a latex but I have spend over a day now but yet to get anything close to it. I am attaching a screen short it would be great if I can get latex command to build this ...
2
votes
1answer
89 views

How to center column values in a table?

How can I center the column values in this code? \documentclass[conference]{IEEEtran} \begin{document} \begin{table} \centering \begin{tabular}{|p{2.5cm}|p{2.5cm}|p{2.5cm}|} \hline ...
2
votes
0answers
33 views

How can I import an excel table into latex longtable [duplicate]

I want to import some data from excel which is in table form (raw from that it not formatted) and I want to import into a longtable with the appropriate formatting (if indeed it can be done in one ...
2
votes
1answer
40 views

How to allow more lines in specific colums of simple tables respecting the page margins

A simple table is needed. The issue is that there is much text in the 2nd column, and it should respect the text margins. Example: \documentclass[11pt]{article} \usepackage{booktabs} ...
1
vote
0answers
51 views

Number-Alignment with siunitx in tables [closed]

Update... after a update to recent version of siunitx, everything is fine now. Thanks a lot @daleif and @crissov :-) \documentclass[ngerman,a4paper]{scrartcl} \usepackage[utf8]{inputenc} ...
4
votes
1answer
123 views

Tabular bibliography with 2 cols for @inbook, @article etc

Is there a bibliography style for biblatex that arranges the data in columns, especially when the cited work is part of a larger entity? (Better than the following mockup that is.) Mockup with many ...
10
votes
3answers
136 views

How to correctly pad and align a displaystyle inline equation in a table

I've got the following code in a document and am at a loss trying to figure out how I can correctly pad the cells and/or align the equations correctly. \begin{table}[h] ...