{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
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
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 ...
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} ...
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 ...
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} ...
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}} & ...
1
vote
2answers
74 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 ...
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 ...
0
votes
1answer
30 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
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} ...
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
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 ...
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 ...
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} ...
1
vote
1answer
42 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} ...
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?
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] & ...
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
41 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
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
43 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 ...
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{}{}{} ...
9
votes
2answers
195 views

How can I use variables (or formatting commands) in a header row of a \pgfplotstable table?

My first reaction to reading the pgfplotstable manual was: Why would anybody in their right mind use the tabular environment for generating tables? Advantages of pgfplotstable No need to specify ...
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? ...
1
vote
1answer
31 views

How to create lines for all cells of the table (pgfplotstable)

How to create lines for all cells of the table in a package pgfplotstable? There is my code: \documentclass[a4paper,12pt]{article} \usepackage{ucs} \usepackage{amsmath} \usepackage{pgfplotstable} ...
0
votes
0answers
22 views

table alignment specification

When I use \begin{tabular}{l*{20}{c}} it works perfectly. But when I use \begin{tabular}{l|c*{4}|c*{8}|c*{8}} It gives me error. How can I specify the alignment operator as multiples without ...
1
vote
3answers
69 views

How can I improve the style of this table in latex?

I would like to center all the elements of the table and improve the style of this one. \begin{table}[h] \begin{tabular}{|l|r|l|l|} \hline \multicolumn{1}{|c|}{text} & ...
2
votes
3answers
45 views

vertical alignment of paragraphs in separate paragraphs of text

Writing text in two-column format and I would like the lines of text to agree between both columns. Right now I use 12 point font on both sides, but the equations on one side are larger than on the ...
4
votes
0answers
43 views

deluxetable error (Illegal pream-token (\string): 'c' used \startdata) when using \rowcolor and \specialcell

I'm having an issue with deluxetable and am given the following errors: Package array Error: Illegal pream-token (\string): 'c' used \startdata Package array Error: Illegal pream-token (\string): ...
3
votes
1answer
51 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 ...
8
votes
2answers
416 views

1.5 + 1.5 > 3 : difficulties aligning columns in tables

I made 4-column table and a separate 2-column table. I thought if the columns were twice the size they should align but they don't. What is the problem? \documentclass[12pt]{article} ...
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
1answer
41 views

Recreate table-like graphics

I'd like to recreate a calculation similar to: I tried using a table with blind cells and \swarrow, but the arrows are to steep. A second try was using xymatrix, but the distances between the rows ...
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 ...
0
votes
0answers
15 views

float: Table* not working

I am trying to squeeze a wide table with contents onto a page. I have tried selecting the span columns option that turns it into float:table* but instead of the table squeezing and the contents ...
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} ...
0
votes
0answers
48 views

Latex copy formatting table

How can i copy formatting table from latex pdf? To word or email message? When I copy - paste table from pdf paste only text, without formatting tables line. Part of my .tex: ...
3
votes
1answer
27 views

How to allow a cell to expand into its left neightbour

I want to make a cell overflow to the left. In this Question: Allowing cell to overflow without affecting indentation we learn how to make an overflow to the right(row 1), but I cannot manage to ...
1
vote
2answers
65 views

Multicolumn table with wrapping

I am trying to create a multicolumn table, with the column heading split in to two lines and each column has two subcolumns (except the first one). It is not working. Any help ? ...
0
votes
0answers
19 views

Unwanted white space with knitr+booktabs package

I want to include a table in my latex document that I create using knitr package. I "call" the table using: \begin{table}[H] \begin{centering} <<r second part}>>= kable(Per_cond, ...
5
votes
1answer
37 views

Is it possible to ignore (not typeset) a column of a tabular by modifying its preamble only? [duplicate]

Is there a convenient way to not typeset a particular column in a tabular environment by modifying only the preamble of the tabular? That is, without modifying the body of the tabular itself? My ...
3
votes
2answers
107 views

Prettify booktabs table with subheadings/categories

I basically want to list attribute names and a attribute description in a table. The attributes belong to a certain category. The idea is to list all attributes in one table to avoid creating multiple ...
0
votes
0answers
22 views

Table caption alignment with respect to table [duplicate]

How to align table caption in following example to the left of table (instead of being centered) ? Unfortunately I cannot find any switch which would govern this. Command ...
0
votes
1answer
35 views

Part of my table is not placed in the pdf output

I used this code using an online website : here to create my table, my first problem is that it can not merge the first row, then also I couldn't design it the way you see in the image attached ,is ...
0
votes
0answers
30 views

Tables and Figures are appearing at the end of Chapter

My Table and Figures in Chapter 4 of my thesis are appearing at the end of chapter instead of within the text where I want them to appear. Before these table and figure everything is fine in this ...
2
votes
1answer
62 views

Fancy table of tables

I'm trying to create something similar, but not identical to, this table. That is, I want to have one page-size table (two columns), and then within each cell be able to have additional tables, ...