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

3
votes
1answer
262 views

Modify font color in a tabular structure

I have using a thesis template, but I want to insert a table like what I did in word. But you know, it is not possible to do that at all. So I just want to insert a like-most table. The image shot is ...
3
votes
1answer
335 views

Maximizing page usage for a table

I'm printing a table enclosing 4 other data tables, one per page, and would like to maximize the space available by reducing the margins as much as possible. I still need the page number, but wonder ...
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 ...
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 ...
76
votes
6answers
75k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
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
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 ...
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 ...
1
vote
2answers
18 views

How can i change a table column's size and its text justification at the same time in Latex?

I am a newbie in Latex but I know that this command {|>{\small} l | p{2.8cm} | p{2.93cm} | p{2.85 cm} | p{2.58 cm} | } will change first column justification to left and set the size for other ...
50
votes
3answers
3k views

Easiest way to delete a column?

I have a set of 10 tables and each has an extra column that I don't want. Specifically, these tables are descriptions of database tables exported by phpMyAdmin, and they all have a "MIME" column that ...
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 ...
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 ...
2
votes
1answer
51 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 ...
3
votes
1answer
97 views

How to suppress hyphenation in figure and table captions?

To suppress hyphenation in section names I use \hyphenpenalty=10000 in \titleformat command. Is there any similar way to suppress hyphenation in figure and table (and longtable) captions?
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} ...
50
votes
2answers
14k views

Aligning numbers by decimal points in table columns

Let me begin by stating that I did google the answers (and I'll reference to them soon). Yet each of the resources I found discussed one particular method, I'm interested in a comparison of the ...
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*} ...
3
votes
1answer
243 views

Suppress page break before table

I have a large, horizontal table that spans multiple pages. LaTeX puts a page break before the table, but I don't want a page break. I want the text to fill the page before the table. I've tried ...
4
votes
2answers
913 views

pgfplotstable; longtable with caption and repeating header

I would like to use the pgfplotstable package in order to import data from a .csv file into a multi-page table. I would like for the table to have: a caption above it and its header to repeat at ...
3
votes
1answer
89 views

Can LaTeX pick up the size of font in table?

Can LaTeX pick up the size of font in table? I want to create the table with rigorous bounds and that LaTeX pick up the size of font by itself.
1
vote
0answers
44 views

Losing space with two rotated tables in one page

I'm writing a paper using the IEEEtran style, which uses two column per page. At some point, I had to make some three big tables, so I used \sideways to rotate them. The pages' height fill all ...
2
votes
0answers
313 views

LaTeX Table Generator

I'm new in Latex and I should deal with huge number of tables in different ways and limited time, for that I used LaTeX Table Generator website to make the process easier. Could you guys tell me what ...
5
votes
2answers
343 views

Creating a table that uses all available space

Is there a way to use tabular or some other method to create a table that expands to use the entire available space? So if I created a table with 4 rows, each row would use 25% of the space. Thanks! ...
5
votes
1answer
2k views

Big table with rotated column labels using booktabs

I'm trying to get a big table to fit into my document using the booktabs package, but it is too wide. An example of a couple of rows of the table is given below. I'm using the ...
3
votes
1answer
85 views

Howto center images in a size defined table?

I have the problem that I have a table which includes two images next to each other and below in the next line there is the caption of the image. The problem is that the images are not shown next to ...
3
votes
1answer
124 views

Change part of table column size

I would like to know if there is a way, that I can resize part of a column, while keeping the rest the same size. Such that I would get this: Column ___| ___| ___| _______| _______| _______| I ...
5
votes
2answers
99 views

ConTeXt TABLEs, how to automatically fit table size with text with \setupTABLE

When I type something like \bTABLE \bTR\bTD abc\eTD\bTD abcdefg\eTD\eTR \bTR\bTD 123456789\eTD\bTD 1234\eTD\eTR \eTABLE in ConTeXt, it automatically sets the column widths to fit the text contained ...
3
votes
1answer
68 views

Resizing table when using package {threeparttable}

I'm using the {threeparttable} package because I want to use table notes, but I'm having a problem resizing my tables. If I use {adjustbox} to enclose {tabular} (or {tabularx}), I get an error ...
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. ...
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 ...
6
votes
2answers
3k views

How to set equal size of cells in tabular environment when \multicolumn extend the size of above cell?

The code example is shown as follows: \documentclass{article} \usepackage{latexsym} \usepackage{bm} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \begin{document} \begin{center} ...
9
votes
1answer
10k views

Fitting tables into beamer

I have some tables in my presentations that are rather big. I found out how to use \resizebox to fit them into my page. Unfortunately this only works for tables that are wide. For long tables, my ...
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)} ...
5
votes
3answers
1k views

How to make caption bold in ctable?

If I use \ctable[caption = \textbf{something}]{}{}{} the text inside the caption is bold but TABLE 1. is not ... It looks like this: TABLE 1: something and i would like TABLE 1: something ...
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 ...
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 ...
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 ...
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
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} % ...
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
75 views

Split wide table into two but keeping the same caption and table number

I have a wide table that doesn't fit in one page so I split the table in 2. The problem is that I need to keep almost the same caption (the second one has to add the word Continued to the caption) and ...