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

5
votes
1answer
37 views

macro value can not be updated in tabular with multirow columns

I am writing a command \newrow to generate one row in a longtable. The problem is that the tabular environment here can not see the value of \subColWid (output is 0pt). This occurs only when multirow ...
2
votes
0answers
41 views

RTL and LTR columns in ONE table?

Is it possible to set some columns in one table as RTL while other are LTR? I want to do something like this: % !TEX encoding = UTF-8 Unicode % !TEX TS-program = xelatex ...
2
votes
2answers
45 views

Vertical alignment within table

My MWE: \documentclass{article} \usepackage{lscape} \usepackage{booktabs}% http://ctan.org/pkg/booktabs \newcommand{\tabitem}{~~\llap{\textbullet}~~} \begin{document} \begin{landscape} ...
0
votes
1answer
37 views

How to type a binomial tree with hanging branches

I want to type up a binomial tree, except that each entry is a function (say a polynomial). If the polynomial is typed in the usual horizontal style then the table becomes too wide and ugly. If the ...
0
votes
0answers
8 views

No footnote text shown for footnote in table caption [duplicate]

I have the following scenario: table content .. \end{tabular} \label{tab:beispiel} \captionof{tabular}[tablecaption]{tablecaption\footnotemark} \footnotetext{table found in ...} \end{table} I can ...
3
votes
1answer
40 views

Fill last page with empty lines in longtable/longtabu

I am generating a PDF automatically from a database and I want to fill the last page up with empty rows. The document looks like \documentclass{article} \usepackage{longtable} \usepackage{tabu} ...
1
vote
1answer
53 views

Alignment problems with table using tabularx

I have a problem with a table which I am using for a publication. The code is as follows: \begin{table}[htbp] \centering \captionof{table}{Summary} % \begin{tabularx}{0.5\textwidth}{| c | ...
0
votes
1answer
39 views

Put tables under subsections

So, for an assignment in one of my classes, we are supposed to provide some data in the form of tables. So, what I want to do is put my tables under a certain number of subsections, but when I do ...
5
votes
4answers
146 views

Center text over multicolumn in table

I have created a table that is the width of my page, but when trying to center the text in the top row over the merged cell, the text is not centering with respect to the entire length of the cell. ...
0
votes
0answers
40 views

Command-scopes in a tabular-environment

I'm trying to use a command which aggregates some values. When using it with normal text, it is properly working but if I call the command in a table it seems that there is a problem with scopes or ...
1
vote
2answers
43 views

Setting three tables next to each other

I want to set three tables to stand in a row, with each of them has its own name above it. Let me show you what I mean... I wrote this code: \begin{center} $R_1$\\ \vspace{3 mm} ...
0
votes
1answer
42 views

Lists shaped like tables [duplicate]

As the title implies, I would like to find a way to write (ordered) lists in the shape of a table. This is particularly suitable for homeworks, for instance. The solution I came with to use the ...
7
votes
2answers
113 views

Descender collides with horizontal line

I don't know if this is an issue with this particular font, but I'd like to know how to correct colliding descenders (and sometimes ascenders) in tables. Thank you, A ...
5
votes
1answer
61 views

What's the best way to typeset this space between table halves?

I've typeset the following table: As you can see, I've split the table horizontally because it makes the data fit better on a letter-sized sheet of paper. This way, the table can easily float at ...
8
votes
2answers
192 views

How to do simple calculation in latex tables

Here I wish to do three things: 1) I want my table to be like this one below whereas mine is 2) I want numbers to appear in the same format as their heading p (in bold) 3) I want latex to ...
3
votes
2answers
36 views

Second and first caption in long table not shown properly

I would like to split my table over two pages. I am doing this by using \usepackage{longtable}. However, I want the second part of the table to have a different header than the first. I tried to do ...
4
votes
3answers
87 views

Displaying significance level across three columns

I have data from an experiment composed of three treatments, A, B, C. I watn to show in a compact way in a table the result of statistical tests (say, t-test) f A/B, A/C, and B/C. This is an example ...
2
votes
1answer
50 views

Table with different sized columns

Is it possible to build tables with different sized columns and manage the vertical limits so it fits only the non-empty table cells? I know how to do this to horizontal lines (with \cline) but I ...
4
votes
1answer
81 views

Auto-numbering table environment with aligned numbers

I'm trying to create a table environment with: A header row that spans an arbitrary number of columns, aligned, automatically numbered cells with aligned numbers uniform spacing between the all ...
4
votes
2answers
72 views

Conditional horizontal lines in tables

I am trying to typeset data that is read from CSV files using the csvsimple package. In the input data, there is a column that will tell me where to place a horizontal line between the rows. (In the ...
2
votes
1answer
40 views

\footnote in table* environment

I am using the SIG-Alternate.cls - Version 2.5 template for my document. I want to have a \footnote{...} in a table. Because my table is very big I use the table* environment. The footnote also needs ...
2
votes
1answer
143 views

Text 'stretched' in a table

I have a minor problem, although I'm unsure how to fix it. The two tables below show the tables as they appear in my thesis: As you can see the space between the words 'Each' and 'successive' is ...
2
votes
1answer
50 views

Landscape mode and page numbering

I am working with a document that has several pages that are in landscape mode. I do realize there are different ways of managing the document - for example, using sideways table with the rotating ...
6
votes
1answer
47 views

Specifying one column in a tabulary and keeping total width \textwidth

My question closely relates to this: Making table width fit into text width. The answer's code is: \maketitle \begin{table}[hbtp] \footnotesize \centering \begin{tabulary}{1.0\textwidth}{C||L|L|L|L} ...
1
vote
1answer
33 views

caption close to the table in caption of figure

I need guidance for making the picture below. I can't see to put the caption to the right of the small table (a,b,c), as in the picture below. Any ideas? This is my code: \begin{figure*} ...
2
votes
1answer
96 views

Decimal alignment in tables with tabularx and multicolumn

in my masterthesis I want to create regression tables the numbers in the table are aligned by the decimal point. Here is a MWE to get an impression what I'm talking about: ...
2
votes
1answer
35 views

Multi-column problem with booktabs package

I'm trying to make a simple-looking table with the booktabs package. I would like to make a multi column, followed by another cell. Right now I can't get to make the following cell, where I would like ...
1
vote
0answers
54 views

PGFPLOTS defintion inside macro inside table or insert boxplots inside table

I am trying to take a plot of a series of boxplots and include/insert these into a table. The code came from a posting of using a data table to define a series of boxplots. The code for the table ...
5
votes
1answer
71 views

Compile Latex table without \begin{document}?

I have am creating a number of latex tables from another program and want to automatically view them after they are created. They are automatically created without a \begin{document} but instead with ...
1
vote
2answers
39 views

Remove the extended column lines and set the row height

\documentclass[conference]{IEEEtran} \usepackage{booktabs} \usepackage{nicefrac} \usepackage{array} \usepackage{multirow} \begin{document} \begin{table*}[t] \caption{Improvement in Reliability} ...
2
votes
1answer
48 views

How to keep the text inside the column of table

I have the following table in tex. \begin{table}[!ht] \centering \footnotesize \caption{Schedule and Milestones} ...
1
vote
2answers
40 views

underfull \hbox in big landscape table

I am experiencing several "Underfull \hbox (badness 10000) in paragraph" warnings in my big landscape-turned table. Unfortunately, I can't see where exactly the errors are in order to correct them. ...
4
votes
1answer
53 views

Make table use page width

Minimal working example: \documentclass[onecolumn]{article} \usepackage{listings} \title{F} \begin{document} \maketitle \secion{foo} \subsection{Interface (queries, stored procedures)} ...
1
vote
1answer
45 views

Text titles in table

I'm trying to universally adjust my text titles via titlesec package. Though I cannot use those titles (subparagraph in my case) in a table - there are excessive vertical gaps I'm not able to get rid ...
2
votes
2answers
43 views

How do I make every column the same width?

\begin{tabular}{|c|c|c|c|c|c|} \hline x&x& & & & \\ \hline &x&x& & & \\ \hline & &x& & & \\ \hline & & & &x&x\\ ...
-1
votes
2answers
62 views

Make a table with a fixed width and a flexible height [duplicate]

I would like to make a tabular with only 1 column. I want the tabular to have a fixed width and to contain several sentences. As some sentences may be long, several rows may be needed to hold 1 ...
1
vote
1answer
42 views

Tables with the same height but with different number of rows

I want to put two tables side by side. Each table has its own caption and the two have a common caption. I can do that with subfloat: \begin{table} \centering ...
8
votes
4answers
166 views

Alignment of table entries: the case of negative numbers

Assume that we have a table that has positive and negative entries. My question is simple: how can we have the number alignment to start from the actual number and not the negative (-) symbol? Let ...
8
votes
3answers
178 views

Code review: Tables on a page

In a document I am working on, I am trying to group four tables on a single page. However, it seems I still have not one, but multiple issues with my understanding of how tables work... I tried to ...
2
votes
2answers
41 views

Right-bottom align cells of row of table headers

Quite often I have table headers which need to be wrapped across several lines and I have not find out how to typeset those nicely. The best I have found is using a \pbox like in the example below ...
3
votes
2answers
97 views

Automatic table generation

I am working on a book that includes word-to-word translations that need to be put in a table. The format of the average page looks like this: Regular paragraph text. Verse. Translation section. ...
3
votes
2answers
120 views

Remove whitespace between columns in table

I'm trying to create a table using booktabs, but for some reason I get extra whitespace between my last two columns. \documentclass{article} \usepackage{booktabs} \begin{document} ...
3
votes
1answer
96 views

To have smaller font in this table of presentation

My code \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} \begin{frame} \frametitle{Nobel Prizes in Bioelectromagnetism} {\fontsize{0.3em}{0.3em} % ...
0
votes
0answers
42 views

Change column width in table

I would like to change the width of columns 2 and 4 in the table below. I'm not sure as to where I need to alter the code in order to change the width. Any suggestions? \documentclass{article} ...
2
votes
1answer
35 views

The text in first column of a multirow table is crossing the borders

\begin{table}[!ht]\footnotesize \centering \begin{tabular}{|p{2.8in}|p{3.5in}|} \hline Goals & Approaches\\\hline \multirow{3}{*}{STRU Mathematical Modeling} & Empirical studies for loop ...
1
vote
2answers
66 views

Aligning in table with siunitx

I need the numbers in the following table aligned by ":". Unfortunately the additional "," in the numbers causes some problems which I can't solve. \documentclass[10pt,a4paper]{article} ...
0
votes
1answer
26 views

Problem with tables and underful \hbox

I'm struggling to sort out some errors with the following table. I'd love some advice please? I keep getting errors like \underful hbox . \documentclass[a4paper]{article} \usepackage{array,pdflscape} ...
2
votes
1answer
59 views

multicolumn X paragraph?

\documentclass[a4paper,10pt]{article} \usepackage{array,tabularx,longtable,tabu} \usepackage{lipsum} \begin{document} \begin{longtabu} to \linewidth {Xccr} \lipsum[1] & Val1/1 & Val1/2 ...
3
votes
2answers
210 views

Typography rules : how to apply them on such tabulars

I am trying to apply the typography rules I read here and there on the stackexchange network (vertical rules by no means, horizontal rules are often over-used, etc), and managed to do pretty well ...
2
votes
2answers
181 views

How to make a table more vertically compact?

I finally managed to use the cases construct within a table: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{table} \begin{tabular}{l p{7cm} ll} \hline a & b & c \\ ...