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

2
votes
2answers
37 views

How do I break lines in a multirow setup (and column names)?

I was trying both break lines in the cells of my first column and in some column titles. I've tried the suggestion of using \pbox. But it does not seem to work. I've looked already for some answers ...
5
votes
2answers
50 views

Some modifications for multicolumn and multirow

I'm using this code for creating a table in LaTeX: \documentclass[11pt]{article} \usepackage{threeparttable} \usepackage{multirow} \usepackage{makecell} \usepackage{graphicx} \usepackage{color, ...
2
votes
1answer
61 views

Decreasing size of confusion matrix

I used proposed code in How to construct a confusion matrix in LaTeX? to create a confusion matrix: \documentclass{article} \usepackage{array} \usepackage{graphicx} \usepackage{multirow} ...
0
votes
0answers
18 views

Rowcolors and horizontal lines do not mix [duplicate]

Using rowcolors causes the horizontal and vertical lines in my table to behave strangely . The second horizontal line after the first row is not visible, and the vertical line dissappears in the ...
10
votes
1answer
14k views

tables side-by-side using minipage

I'm trying to get three tables side by side using minipage. In spite of my horrific efforts my tables keep stacking on top of each other instead of standing beside what drives me mad. Can anybody spot ...
2
votes
1answer
26 views

Making footnotes fit the border of the table using longtable package

Problem: Making footnotes fit the width of the table using the longtable package. Question: In what way can the footnotes in the MWE be modified to fit the width of the table? Minimal Working ...
1
vote
1answer
34 views

How to make box in a row of a table [duplicate]

I want to make a box in second row. That is on 1 & 3 & 24 & 42 & 43. Also on part of forth row 5 & 16 & 26 & 34. \begin{tabular}{| c | c c c c | } \hline ...
1
vote
1answer
20 views

Increasing table width and centering word within column using longtable package

Problems: Increasing table width to 100% Centering table header word (i.e. criteria) Repeating table captions on every page Questions: How do I increase table width to 100%? How do I center the ...
1
vote
0answers
28 views

Continuing table on multiple pages with tabularx

Problem: Continuing table on multiple pages using the tabularx package. Questions: What is the appropriate way to include "continued ..." caption at the end and beginning of the table when ...
5
votes
1answer
515 views

Pgfplotstable one row in bold

Considering this MWE, I am looking to obtain bold style on a row. The highlight's style works on columns but not on row. \documentclass{standalone} \usepackage{pgfplotstable} \begin{document} ...
1
vote
0answers
38 views

How can I create a new table environment wrapper for pgfplotstable?

A similar question has been asked here: - newenvironment using pgfplotstable At first glance, I thought it was the same question, because the question is not clearly stated. That person is asking for ...
0
votes
2answers
57 views

Multicolumn text centering

This is my code to create a table: \begin{table*} \caption{Test and Out of sample results} \centering \begin{tabular}{c c c c c c c c c c} & \multicolumn{4}{c}{\textbf{ABCDE 1}} & ...
2
votes
2answers
56 views

Draw vertical line on top of horizontal table lines

I'm using two \hline for horizontal line and \begin{tabular}{c | c c c c c} option for vertical line. This is some part of my table: I want vertical line on top of double horizontal lines. How can ...
4
votes
1answer
63 views

How to set and align bullets in a table?

I have the following table, the problem with this table is that the bullets are misaligned respect to the text on the right side of the table (second column). How can I align the elements of the ...
85
votes
3answers
11k views

Which tabular packages do which tasks and which packages conflict?

I've read a couple of questions recently about tabular environments, and it seems there's a whole bunch of packages that do stuff in this field. I'd really like a summary of what each package does, ...
1
vote
1answer
20 views

distance between section and tabular

\documentclass[12pt,a4paper]{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{textpos} \usepackage{eurosym} \usepackage{relsize} \usepackage{sectsty} ...
2
votes
3answers
51 views

Cline doesn´t work properly

I need advice on tables in LaTeX. \cline does not work properly. This: \begin{tabular}{|c|c|c|c|c|c|} \hline \multirow{2}{*}{{A $\wedge$ B}} & \multicolumn{4}{c|}{B} \\ \hline & \textbf{P} ...
6
votes
1answer
2k views

How can I align rotated text in a table at the bottom?

I have a code that produces a table. The three last columns have rotated text. I would like to align them to the bottom (not top as in the code below). In addition I would like to center the "nr" and ...
3
votes
1answer
2k views

\vline for a table

I am using the tabular environment with 3 columns in LaTeX. I want to separate column 1 from columns 2 and 3 using a vertical line. Right now I can only create a vertical line in each row separately, ...
1
vote
0answers
23 views

Color of dash gaps in tabular and dash endpoint alignment?

I am using the \usepackage[table]{xcolor} and the \rowcolors{...}{...}{...} command to get rowwise alternating background colors in my tables. Now i wanted to have dashed vertical lines and came ...
3
votes
1answer
379 views

Dynamic table column generation

I want to generate table columns dynamically but I have no clue how to tell LaTeX to accept or evaluate & as a column separator. As you can see in the attached code, the problem is with \@for ...
2
votes
1answer
31 views

tabular inside tikz matrix

The matrix is not being layed out correctly. It should be a 2x3 matrix. What's wrong with the code? MWE: \documentclass{article} \usepackage[table]{xcolor} \usepackage{tikz} ...
1
vote
2answers
73 views

Make table 100 percent in width and add solid vertical divider

Problem: Making the table 100% in width and adding vertical lines only for letters A-K. Minimal working example (MWE): \begin{table}[htp] \centering \footnotesize\setlength{\tabcolsep}{2.5pt} ...
4
votes
1answer
44 views

How to use newenvironment inside a table?

How to define a formatting to use for (individual) rows of a table? Example: (For each row) the first column is always bold, and the second column has an italic "title" and some text and possibly ...
13
votes
5answers
775 views

Alignment in inline math

I want to enclose a tabular environment with a bracket, inside an enumerate environment, and be aligned to top. In the following example: \documentclass[a4paper]{article} \begin{document} ...
0
votes
1answer
29 views

How to break the column in a table

You see in row 1. I want to break the row after the last column 1 just like the 2nd row. How can I do that ?
1
vote
1answer
46 views

What is wrong with this table?

The spacing in the following table is not proper. How do I adjust it? \documentclass{article} \begin{document} \begin{table} \centering ...
3
votes
1answer
277 views

How to expand row height while using long text in multirow?

I m working on one table which has one row which spans over 3 rows but text in this row is very lengthy so it uses more than 3 lines so all text is not visible. How can i increase row height ...
2
votes
1answer
89 views

Multirowed multicolumn

I need something like that: \multicolumn{2}{|c|}{in this place I want multirow text like in fixed width cells without multicolumn} Without use \makecell and \\ in it. Is it possible? MWE ...
1
vote
4answers
71 views

line break in a centered cell of tabular

I have a table like in the following example: \documentclass[11p,twoside,a4paper,leqno]{article} \usepackage[utf8]{inputenc} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{xcolor} ...
1
vote
1answer
34 views

Latex table centering

I'm wondering how could I center text in table vertically and horizontally? I've seen several manuals and answred questions, but there are many way to create a table and as I'm a begginer in Tex I ...
3
votes
1answer
31 views

3 Coloumn Layout

i would like to recreate a given PDF in the form given in the image. My problem is that I do not know which packages have been used and would like to ask for the best way to recreate the given image. ...
1
vote
1answer
26 views

\autorows style table with custom columns and dynamic row spanning

I'm trying to create a table environment similar to memoir's \autorow, (in that I can supply contents as a list, along with the number of columns) but with more complex requirements. I need to be able ...
4
votes
3answers
55 views

Vertical alignment of a tabularx cell

I have a tabularx table with: a variable width column X on the left a cell with a nested tabular table on the right Like so: \begin{tabularx}{\textwidth}{ | X | c | } \lipsum[1-1] & ...
3
votes
1answer
24 views

Aligning and wrapping the text vertically in a table with multicolumn environment

My code is as follows: \usepackage{array} \usepackage{multirow} \usepackage{graphicx} \begin{table}[h] \centering \begin{tabular}{>{\centering\arraybackslash}m{1in}|l|l|} \cline{2-3} ...
0
votes
1answer
51 views

How to draw a table with annotation? (screenshot inside)

I need to draw a table like this into my paper. I know to draw a table but I'm not sure how to annotate it (rows and columns) with indexes. Do you have some example how to do it in LaTex?
1
vote
1answer
41 views

Table too big for one page

I've done a table but it is way too big in order to be displayed on one page. Does someone know a way how to change the table so that it fits? Thanks in advance. \documentclass[12pt]{article} ...
2
votes
2answers
837 views

How to make such a nice table in LaTeX?

Below is an example, it seems rather complex for me. I can only make a table with dark lines, and don't know how to make the dark lines hollow ones. Is there a way to embed such a fancy table in ...
2
votes
1answer
42 views

Tabularx ou Tabulary environement populated by csvsimple information

I am currently using csvsimple to import table data. Some of the cells information is too long and I would like to dynamically manage the column width. I have been trying to add the tabularx or ...
1
vote
1answer
42 views

specified column width

I'm using the following code for the table. Currently it is set up so that I can change the width of all column (except the first one) to the same width. Can someone help me tweet it so that I can ...
2
votes
2answers
40 views

switching between newcommand and default

I've defined the following macro: % makes tables more readable \renewcommand{\arraystretch}{1.1} \setlength{\tabcolsep}{5pt} Which add extra tabbing space in the tables. However, in one place ...
2
votes
1answer
33 views

Arithmetic in tabular lengths ( p{…} )

I'm trying to do some simply arithmetic for a dynamic column type in tabularx. What I want is to be able to calculate (n-1) * X. I tried to use the calc package, but I just cant figure it out. ...
2
votes
0answers
42 views

How can I use \multicolumn in a \pgfplotstable table?

In my experiments with pgfplotstable, I've run into some bumps: merging multiple columns adding formatting commands to text within cells Problem I cannot seem to properly add a \multicolumn{}{}{} ...
5
votes
3answers
158 views

Generate a table with 19 arguments using key-value interface

I'm doing my bachelor thesis, and need to make a table with lots of data. I want to make a macro for that table, since I'm going to use it a few times. Considering egreg's answer in this question, ...
0
votes
0answers
130 views

I need this tikz and tabular sketch at the right of my presentation, and an itemize at left, but too much length

I need this tikz and tabular sketch at the right of my presentation, and some text at left. Unfortunatly the text is at left but in the down part of my frame, I need it at the center and starting ...
1
vote
2answers
42 views

Automatically setting table row height

When creating a table, Latex sometimes doesn't fit the row height well, making the content intersect with the borders as in the following: Notice how the first row is too short while the second ...
3
votes
3answers
65 views

Tabularx and multicolumn

When I try to use multicolumn inside a tabularx environment, I get this weird behaviour; where the column doesn't fill the whole width. Anyone know why this is happening, and how I can fix it? ...
3
votes
1answer
50 views

hatching table cells fails when using positioning

I'm trying to hatch some table cells by following the code here. It seems to work fine, but then when I change the positioning to \begin{table}[!h] the hatching stops showing up. The correct result ...
4
votes
1answer
46 views

Vertical bar in a math mode inside tabular

I cannot get the | line to appear in a fraction in a tabular. Could someone please tell me what I am doing wrong?? \documentclass{article} \usepackage{amssymb, amsmath} \begin{document} ...
2
votes
2answers
41 views

Fit wide table to landscape page - Legibility

I have a wide table to fit in a landscape page. I'm trying a combination of changing the font size of the header paragraph changing the font size of the table contents resizing the table in a ...