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

0
votes
0answers
68 views

Advantages of longtabu? compared with longtable

I know to use longtabu, we need to have the packages tabu and longtable. What are the advantages of longtabu? By now, i just found longtabu can break lines automatically in a table cell, but seems ...
6
votes
3answers
271 views

Fancy Labels for Tables

I am trying to draw relational database tables with tabular. I would like to label each table with a label at the top left of the table. Neither solution that comes to my mind is exactly what I want. ...
3
votes
1answer
52 views

Add vertical space between lines without breaking a vertical line

I am writing a resume in TeX. I'm formatting my technical skills in a tabular environment. Currently it looks like: \begin{tabular}{ l | c c c } \textbf{Programming Languages} & Java & C ...
0
votes
0answers
38 views

Subtable as sidewaystable over three pages

I am trying to create a sideways table over three pages. So my question is first: Is it better to use "one" sidewaystable that "continues" over several pages or to split them each up into subtables ...
3
votes
2answers
86 views

table with two multicolumns

can someone help me fix this table?: \documentclass{article} \usepackage{siunitx,booktabs,caption} \newcommand{\splitcell}[1]{% \begin{tabular}{@{}c@{}}\strut#1\strut\end{tabular}% } ...
-1
votes
1answer
59 views

organizing a table [duplicate]

Hi: I wanted to pull the column (her results) up to be next to the column (my results). can someone help me please?. the MWE is: \documentclass{article} \usepackage{siunitx,booktabs,caption} ...
1
vote
2answers
87 views

How to automatically break “a long word with underscore” in a cell of table, using longtabu package?

I use longtabu package for creating tables, because the table can be very long (several pages) and i need automatic linebreak(or wordbreak) if the sentence(or a single word) in certain cell is too ...
4
votes
1answer
94 views

a column is composed of three parts

I needed to do a table with 4 columns.The first has 2 cells. the second has 4 cells. The third is split into three different things. And, the fourth is split into 3 different things. I know how to do ...
3
votes
1answer
62 views

Auto generate list-items within table from string with delimiter

This is a follow-up on this question: Creating bullet-list from string with delimiters I have a CSV file where I genereate some tables from. Some of those table cells will have items that should be ...
4
votes
1answer
40 views

\setlength not working

I am having trouble with setting space before and after a table. Here is my code for a ten-column table: \begin{tabular}{cccccccccc} \toprule .. .. \bottomrule \end{tabular} As you can see, it ...
0
votes
1answer
54 views

Landscape and header formatting [duplicate]

Hello I am really new at this. I am trying to represent a .pdf with the following specifications: -a4 papper -orientation: landscape -Special header with three divisions -after header divide in 4 ...
19
votes
3answers
3k views

tabular input by columns (i.e. transpose a table)

I would like to be able to transpose a tabular(x) table like in the following example. It is not necessary to be completely automated, but I don't want to change the data order, which is a painful and ...
6
votes
2answers
157 views

Basic S Column Alignment with siunitx package

OK, what am I missing here? Why is the S column not aligning on the decimal: The desired result is the data aligned on the decimal and centered within the column: Code: \documentclass{article} ...
1
vote
0answers
48 views

long table working in TexNiccenter but not in R Studio GUI

I'm having a weird error where my code is working just fine in TexNiccenter but unable to compile within the R studio GUI (probably not an R studio problem just R problem). Here's some background: my ...
4
votes
1answer
33 views

threeparttables in single table environment

I have two threeparttable that I would like side by side in a single table environment. Previously I had a single threeparttable with a center column (of 5 columns) that had no borders, making it look ...
18
votes
2answers
346 views

Techniques to make tabular contents copyable

Take the following table: \documentclass{article} \begin{document} \begin{tabular}{|c|c|} 11 & 21 \\ 12 & 22 \\ \end{tabular} \end{document} What are the techniques to make this table ...
5
votes
0answers
45 views

alignment problem with bold (negative) numbers

I am trying to create a table containing a correlation matrix. I marked the significant numbers bold and insignificant are just normal. Anyhow, all boldifyed numbers are aligned differently than the ...
0
votes
1answer
41 views

Tables grid lines are not equal with columncolor

I am trying to color the background headline of my tables. I am using columncolor, which works very well, but sadly, the grid lines does not look correct. Without columncolor the grid line looks fine. ...
1
vote
1answer
101 views

Table heading formatting

I have had this problem before (sort of) - it's related to this question I asked previously. Basically, I am having trouble with my table headings. I want the headings to be bold and centered ...
6
votes
1answer
50 views

Unwanted padding in tabular columns when cells contain multiple rows

Whenever I need to create a cell with multiple rows in a tabular environment, I usually create enclose the contents of the cell within a tabular environment within the cell. This has been a great fix ...
1
vote
1answer
58 views

How to do Three column Addition?

I want to write a primary school sheet of exercices (additions in columns) with big digits in LaTeX. When i want to do two columns, it is easy with xlop, but i can't to do three columns! How to do ...
2
votes
2answers
99 views

Adjust column width of a table

I am working on it: \documentclass{article} \newcommand\htext[1]{\texttt{0x\MakeLowercase{#1}}} \begin{document} \begin{table}[h] \centering \begin{tabular}{|l|l|l|l|l|l|l|} \hline ...
7
votes
3answers
104 views

Using & in macro abstracting a tabular's row

I am attempting to create a marco for table rows. This will allow me to change the order of the columns in the future, without having to change the order of the columns in every single row. I have ...
6
votes
2answers
110 views

Adding vertical hierarchy lines to a category column of a table

I often need to represent hierarchies within tables but I've yet to find an elegant way to do this. Oftentimes I do a variation on the following theme, with nested whitespace in the category column: ...
7
votes
1answer
888 views

Tables as Header and footer

I've been struggling with my .tex for quite some time now, and decided its time to look for help. This is the situation: all docs here (my office) need to bring, as header, a table (3 columns) which ...
4
votes
2answers
85 views

Alignment Problem in Table environment

Regarding to the following question Problem with subcaptions in subtables I created the following. There appears three problems: in the header starting from "Mean" to "Max." The alignment seems not to ...
5
votes
2answers
73 views

Problem with subcaptions in subtables

I am trying to implement a table with several subtables, but working with subcaption does not work neither when I try tabularx. This subtables have different number of columns. with the following code ...
1
vote
1answer
87 views

weird characters coming in some columns

I am using miktex in win 7 my MWE is \documentclass[12pt,a4paper,fleqn]{book} % \usepackage{subfiles} \usepackage{thesis_style} \title{hfvj} \author{fgikf} \date{} \begin{document} ...
0
votes
0answers
28 views

Tables always auto ref to Table 1.2 [duplicate]

When referencing a table with \autoref{}, instead of the table's correct reference I always get Table 1.2. This is quite strange, because clicking in the reference sends me to the correct table on the ...
3
votes
2answers
56 views

Increase inter-line space in a table and index dimension or position

With the following code: \documentclass{article} \begin{document} \begin{table}[h!] \centering \begin{tabular}{|c|c|} \hline \multicolumn{2}{|c|}{shock wave}\\ \hline Left wave & Right wave\\ ...
6
votes
2answers
118 views

Remove padding in table with images

I have a table with 2 small images in each cell. I reduced the horisontal padding with \setlength{\tabcolsep}{0pt} But I still have a white vertical space between a table separation line and images ...
3
votes
2answers
66 views

Sideways Table not created - Missing number, treated as zero

\documentclass[twoside,11pt]{article} \usepackage[english]{babel} \usepackage[hang]{caption2} \usepackage{enumitem} \usepackage{graphics} \usepackage{psboxit} \usepackage{amsmath} ...
2
votes
1answer
89 views

How to make a table with subcolumns like this?

I want to add a table in the following format: But don't know what's wrong with my script that doesn't work. \documentclass[9pt]{article} \usepackage[utf8]{inputenc} \usepackage{fontspec} ...
3
votes
1answer
95 views

how to make a line between two rows in table? (when no space between strings)

I use longtabu package to build table, when I use \\ to separate every line, it is ok, see below \begin{center} \begin{longtabu} to \textwidth {|X[1 , p ] |X[1 , p ] | X[2 , p ]| X[2 , p ]|X[1 , p ...
3
votes
2answers
63 views

table out of margin: any suggestion?

I try to put a very large table inside a pdf: \begin{table} \begin{center} \caption{ \textit{Title}. Some comments.} \begin{tabular}{llllllll} \hline Parameter & bbbbbb & ...
3
votes
1answer
555 views

\cellcolor command from colortbl package not working

I've been trying to colour single cells but it's not working. Here's a MWE: \documentclass{memoir} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \begin{document} \begin{tabular}{|l|c|} ...
0
votes
1answer
41 views

Data in table row not aligned

I have a pretty complicated table that gathers some decisions inside of it. I recently added a new column to the table, which did not disrupt it, but some of the rows filled with the data for the new ...
0
votes
0answers
30 views

Import and scale LaTeX table data from file (only ampersand stuff)

Is it possible to create a table and include only the pure data from an external file (only ampersand delimited stuff). Is it also possible to scale a table because data is vast and I don't want to ...
1
vote
0answers
47 views

How to put 2 correlation matrices on the same page in landscape?

I am trying to fit 2 correlation matrices on the same page on a landscape format. Here is what I use: \begin{landscape} \begin{table}[htbp]\centering \caption{Correlation matrix, group ...
4
votes
2answers
103 views

Simple tabulary table overflows columns

I want to create a simple table with tabulary: \documentclass{article} \usepackage[english]{babel} \usepackage{tabulary} \begin{document} \begin{tabulary}{\linewidth}{|L|L|L|} A & B & C \\ ...
6
votes
1answer
225 views

How to draw a punchcard in Latex [duplicate]

I would like to draw a punchcard in Latex as shown below. But i just can't find any information how to do this (not even in the manual of tikz). The only thing i can find is information about bubble ...
3
votes
2answers
120 views

table with many columns

I have some questions about the below table: If I omit the margins, the table will completely get disordered. I want to have the two 4 columns in the middle to have a slight distance with each other ...
6
votes
1answer
185 views

How to access rows through naming or similar

I want to create a style for tables similar to \documentclass{article} \begin{document} \begin{table} \begin{tabular}{cc} A & B \\ a & b \\ c & d \\ \multicolumn{2}{l}{\emph{C}} \\ e ...
5
votes
1answer
42 views

Center subcaption-based tabulars in a beamer frame

I have several tabulars side-by-side using the subcaption package in beamer: However, as you can see, they are not quite centered. How can I center the tabulars, so that tabular RAID5 isn't on the ...
2
votes
1answer
33 views

How to right-align whole longtables

Say I have the following document: \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{|lr|} \hline A & 1\\ B & 2\\ C & 3\\ \hline ...
0
votes
1answer
79 views

Two tabulars in one Table but in different pages

I would like to ask you how could I have in one table two parts (tabulars) BUT in different pages? I tried bigskip or pagebreak but it does't work Thank you in advance
1
vote
1answer
56 views

Table appears always before conclusion section

I draw a table, after the table I have a conclusion to write, but the conclusion comes always before the table while it must appear after it instead. Here is the code I used for the table: ...
6
votes
2answers
4k views

Can't generate vertical space between tables

I realize this is probably a really simple issue but I'm a complete beginner. I am auto-generating code very similar to the LaTeX code below. However no matter what I do I can't get space between the ...
2
votes
2answers
110 views

Double lines and centered stars in a table

I have a table, but I have a problem with formatting it: \begin{table}[H] \centering % used for centering table \begin{tabular}{p{5cm} c c c c} \\ Case & Entscheidungsbäume & Neuronale ...
2
votes
2answers
90 views

Multiline in a table cell

I have a problem with my table. I should put a big text in a cell. it should be multi line. How can I do that: \begin{table}[H] \centering % used for centering table \begin{tabular}{c c c c c} ...