{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
46 views

Horizontal decision tree in TikZ

I've been looking for a TikZ example for a while now that looks something like the attached powerpoint picture. I can't imagine that nobody has done something similar. I tried adapting this example, ...
3
votes
4answers
47 views

How to draw straight lines to indicate repeat values in merged table cells?

Can you help me the following working: I'm looking to indicate that the value 2.00 is repetitive vertically through a straight line like in this sketch (the result should be a solid, continuous line, ...
5
votes
1answer
123 views

Is there a dummy package like Lipsum or Blindtext for Tables and Figures?

Lipsum and Blindtext offer paragraphs, lists, and even whole documents of dummy content for testing LaTeX layouts. Is there a package that will generate tables and figures in a similar way?
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 ...
0
votes
0answers
16 views

subfloat, how to put two tables side by side instead of one above the other? [duplicate]

I need to put two tables side by side in my Springer LNCS paper. I used the \subfloat command but something went wrong: instead of being side by side, one is below the other. Here's my code: ...
1
vote
1answer
223 views

Forcing paracol to look like a tabular

Consider the following tabularx construction: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage[table]{xcolor} \usepackage{lipsum,tabularx} \begin{document} \noindent ...
1
vote
0answers
14 views

Vertical Centering [duplicate]

The following LaTeX code produces a table with one row and three columns. Each cell contains two short words word-wrapped so that one name is above the other. A design requirement of this table is the ...
2
votes
2answers
42 views

Align table by dot - Not with siunitx

I'm trying to align numbers in a table by the dots. I know of one method using the siunitx package. But I can't load the package. siunitx error: "incompatible-package"! Package 'SIunits' ...
6
votes
2answers
2k views

Reference table rows by automatic counter

Problem I have defined an environment to automatically number example sentences throughout my document. It uses the tabular environment and automatically numbers the first column of each row using a ...
0
votes
0answers
14 views

Table Captions overlaps table in LaTeX

I put caption and label to a table in LaTeX and when I run the code it seems to close to table, the font is larger than I would like it to be and there is too much space between table caption and the ...
0
votes
0answers
23 views

Controlling the height of table lines

I'm trying to make a signature line. I can't think of anything but using the tabular environment. \documentclass[a4paper,12pt,icelandic]{report} \begin{document} \begin{table}[b] ...
4
votes
3answers
64 views

Braces at the right of rows in a table

I want to put a brace at the right of the rows in a table. I use \documentclass{book} \usepackage{multirow,bigdelim} \begin{document} \begin{tabular}{cc} \hline Sample values: each line contains ...
0
votes
0answers
25 views

Table Captions overlaps table in LaTeX

I put caption and label to a table in LaTeX and when I run the code it seems to close to table, the font is larger than I would like it to be and there is too much space between table caption and the ...
5
votes
1answer
28 views

replace Table emtpy cells

I'd like to know how one can change the table's default empty cell space to something else when the cell has nothing written in it. E.g: \begin{table} \begin{tabular}{l l l l} 1 & 2 & 3 ...
8
votes
3answers
5k views

Change the word “Table” in table captions

I need to have tables with their numbers, just as when I use \caption. My problem is that when I use the \caption it shows me like this: Cuadro x.x: this is some table. The word Cuadro is ...
3
votes
1answer
30 views

Vertical Alignment or Centering

\begin{tabular}{|c|c|c|c|c|} \hline & \multicolumn{2}{c|}{Demand} & \multicolumn{1}{|c|}{} & \multicolumn{1}{c|}{} \\ \cline{2-3} AAA& Group 1 & Group 2 &BBB & CCC \\ ...
2
votes
4answers
91 views

Wrong bottom-alignment of rows of two independent tables, where the last row contains a nested table

I wanted to create a page, where I put some information in the left and some on the right side at the bottom of the page. The bottom lines of the minipages are supposed to be aligned as kind of an ...
5
votes
2answers
41 views

How to add more space underneath and above a horizontal line in tabu?

I'm having the following table in my document: \documentclass[12pt]{article} \usepackage{tabu} \begin{document} \[ \begin{tabu} {c | c c c c c c} \firsthline f & a_{11} & ...
49
votes
4answers
55k views

How can I have two tables side by side?

Suppose I have two tables that don't have many columns (3, for example). How can I position them side by side?
1
vote
0answers
44 views

How to type a table in LaTeX? [duplicate]

Every time I'm working with tables in LaTeX, I'm frustrated, because I can't find a clean way to type them. Suppose my code looks like this: \begin{tabular}{c c c} blablabla & blabla & bla ...
1
vote
2answers
40 views

How to draw multi row multi colum table with many filelds

I need to create a table of the type given below. But I am not getting this. Could anyone here help me? Thank you
3
votes
2answers
40 views

Problem with align inside tabular environment when using xcolor

I'm trying to build a table with multiple numbered equations inside, hence I used the align environment. On the other hand, I need to color some cells, so I included the xcolor package with the table ...
-2
votes
1answer
53 views

How would I make a table like this? [duplicate]

Getting the line that splits down the variables column is giving me trouble.
5
votes
1answer
73 views

Creating tables with enumeration in LaTeX

I want to create the following table: The MWE is as follows: \documentclass{article} \begin{document} \begin{tabular}{|c|c|c|c|} \hline % after \\: \hline or \cline{col1-col2} ...
2
votes
2answers
45 views

Efficiently colouring block of table cells

I made a table with the following code and the hhline package: \documentclass{article} \usepackage{hhline} \begin{document} \begin{tabular}{l || l l l l l | l} & 1 & 2 & 3 & 4 & 5 ...
0
votes
1answer
45 views

Centring table cell content under headers/subheaders

How may I place cell1, cell4 and cell7 under the particle column and cell2, cell5 and cell8 under the mass column in family 1? \documentclass[11pt,a4paper]{article} \usepackage{blindtext} ...
0
votes
2answers
39 views

Custom line break and column sizing in table

I use the following code to produce a table (using XeLaTex): %!TEX encoding = UTF-8 Unicode \documentclass[twoside,a4paper]{article} %---- Allow the insertion of graphics and tables ----% ...
1
vote
1answer
58 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 ...
4
votes
4answers
100 views

Specially indent tabular environment to the left

I would like to indent a tabular environment so that it is to the left than usual. This is because my table doesn't quite fit the page. (Don't worry that it is not the "right" thing to do; this is ...
1
vote
1answer
15 views

How to use ERT command to long tables that is provided for float table

I have been provided with ERT (Evil Red Text) command which when used for float tables, displays the caption of the table as Table 1.1 in List of Tables. I want to know how I can use such command for ...
0
votes
1answer
43 views

Numbering tables with tabular

I'm really new to Latex and would need some help with some basic coding: I can't number this table (which I would just be Table 1 right now). \label{tab:Deactivation} is not working, if I place it ...
2
votes
1answer
38 views

Tweak and prettify a nested table

I am attempting to create a table in which cells of one of the columns contains a nested table as the cell value. So far I have got this: \documentclass{article} \usepackage{array,multirow} ...
3
votes
3answers
35 views

longtable Alignment

I'm using a long table with image and lots of text. The alignment of it is wrong for me. I'd like to know how to make the text start on top of the box, near the line. Here is my code for the longtable ...
5
votes
1answer
29 views

Using lengthconvert with siunitx S column

I need to align numbers in a table. The numbers are generated from the \Convert command from the lengthconvert package. I want to use an S column from the siunitx package to align the numbers, but ...
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} ...
2
votes
2answers
87 views

Make a column of a table take up all remaining width without other columns wrapping to the next line

I want to make a table with 3 columns. The table will fit the width of the container. The left column will be right aligned and take up as little width space as possible. The center column will be ...
3
votes
0answers
44 views

Embed ConTeXt into LaTeX

I have an XML document which I'm currently trying to converted into XeLaTeX code. I'd like to stick to XeLaTeX rather than move to ConTeXt. However, a problem relatex to the difference in the table ...
2
votes
1answer
44 views

How do I change font size in plain TeX tables featuring math (fontch producing unexpected results)

I've been having difficulty with setting the font size in plain-tex tables (i.e. haligns). I want to set the tables to use seven or (preferably) eight point font, including tables which contain math. ...
2
votes
1answer
38 views

How to create empty vertical separation of tabular

I know \hline\hline will create empty horizontal separation in tabular, how about empty vertical separation? The || seems not work. \documentclass{article} \begin{document} \begin{tabular}{|c||c|} ...
0
votes
0answers
18 views

Table of content and list of table how to improve my numeration

how can i write the table of contents in latex in order to get the total number. In my thesis i get numbers from 1-167. However on my document i have numbers from 1-106 then soon after it turns back ...
3
votes
1answer
39 views

Create three column layout with large text in the middle and annotations in right column

I am trying to create a page layout which looks like this quick sketch I have done with Apple Pages: In the left column there should be some headings of the paragraphs printed in the middle column. ...
22
votes
3answers
6k views

Highlighting table cells

I have a large (13x13) table in which I need to highlight a subset of cells. I know that I can set a background color to those cells using colortbl or xcolor. But I need to highlight the table without ...
2
votes
3answers
30 views

Place sidewaystable together with text

My sidewaystable is always placed on a separate page! How do I make it appear exactly where it is defined? Is that possible? text sidewaystable page break text I've done something like this: ...
2
votes
2answers
72 views

How can I resolve this figure margin issue caused by geometry margin options?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage{tikz} \usepackage[english]{babel} \usepackage{blindtext} ...
2
votes
1answer
35 views

\multirow without extra &s

It is possible to somehow modify \multirow so that it works like this: \documentclass{memoir} \usepackage{multirow} \begin{document} \begin{tabular}{ll} \multirow{3}{*}{Tall cell} & First ...
2
votes
1answer
27 views

Show table headers on each page

I have a table that takes about three pages to display and I'm using the longtable package. It's three columns by about 80 rows. On the first page, I have headers for each of the columns. Is there a ...
1
vote
2answers
39 views

Why table border is not complete

This is the code of my table and the border is not complete and i don't know why \begin{table}[htbp] \centering \caption{Aertssen values for m and n \cite{aertssen3}} \begin{tabular}{|c|cccccccc|} ...
2
votes
2answers
36 views

Alignment of numbers in table with wide columns

I have a table with numbers which get aligned using the S column type from siunitx. Some numbers are put into \multirow and with the \tablenum macro the alignment works perfectly as long as the ...
3
votes
2answers
87 views

How to obtain a justified paragraph with correct word-spacing in tabular environment?

I'm trying to obtain a tabular with three columns of text vertically aligned on top (using array package and p{'width'}), but I can't figure how to obtain a regular spacing between words, like a ...
3
votes
1answer
9k views

Reduce space before and after tabular environment

I have a document with many occurrences of \begin{tabular} ... \end{tabular} I have been unable to find a global command that will reduce the vertical space before and after this environment. ...