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

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
43 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
114 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
62 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
202 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
40 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
91 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
53 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
87 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
81 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
46 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
152 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
62 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
56 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
37 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
101 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
39 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
56 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
73 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
42 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
49 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
46 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
56 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
48 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
66 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
47 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
177 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
179 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
51 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
99 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
135 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
112 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
42 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
28 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
62 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
214 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
197 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 \\ ...
1
vote
2answers
46 views

Inserting a logo at the left side of the table without changing the width of rest of the rows

I am trying to use this table as a header for my document, the problem when including the logo, the width of the rest of the rows changes. Possible to merge the "cells" of the table on the left ...
2
votes
1answer
100 views

tables without tabular?

I'm having a lot of difficulty with the tabular environment. Granted, I'm trying to do a lot, including centering horizontally and vertically, using different fonts in different cells, and different ...
1
vote
3answers
111 views

How can I fit my table in the text block?

I want to make my table fit in the text block. At the minute, a large part of my table is being cut off at the right-hand edge the page. My code is: \documentclass{article} \usepackage{graphicx} % ...
1
vote
2answers
57 views

Referencing a table in latex

My latex document is given below. \documentclass[12pt]{report} \linespread{} \usepackage{fancyhdr} \usepackage{amsmath,amssymb} \usepackage{caption} \usepackage{relsize} ...
2
votes
1answer
34 views

Gap between double-spaced paragraphs with table

I have the code for a table between two blocks of texts (of multiple paragraphs). When the text is single-spaced, there is no problem; however, when I doublespace the text using setspace and ...
3
votes
1answer
25 views

Problem with \multicolumn in \longtabu environment

I'm a relative newbie to LaTeX and am having a problem with a longtabu table. I've set it up with alternating row colors, which works great. However, this makes the captions on all but the first page ...
0
votes
0answers
47 views

I want to write the examples in non-italic form

I want to write the examples in non-italic form in latex please guide me
1
vote
1answer
70 views

Table of tables with captions?

Minimal example: \documentclass{scrreprt} \begin{document} \begin{figure} \centering \begin{tabular}{cc} \begin{figure} \begin{tabular}{cc} 0 & 1 \\ 2 & 3 \\ \end{tabular} ...
1
vote
1answer
64 views

How can I modify the classicthesis margins only for the tables?

I would like to include some longtables and deluxetables in my PhD thesis written with classicthesis, but I find two problems: The deluxetable is not floating. The longtable is truncated on the left ...
3
votes
1answer
49 views

Vertical align in longtable

I would like the content of the first and second column to be vertically aligned on top, since the 3rd column will contain a bunch of data so it would not be readable if vertically centered (which is ...