{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
1answer
59 views

one problem of creating table in latex

I want to create a table in LaTeX by this \begin{table} \begin{center}‎‎‎‎ \begin{tabular}{‎c‎ | c | c | c | c ‎|c ‎‎‎‎‎‎‎‎{c}‎r}‎ ‎j/i‎ & 1:Tumor & 2:Envir & 3:Leuk & ...
0
votes
2answers
37 views

Ignore particular tabular cell height and simple overflow its content (like \multirow)

I want latex to ignore the height of a tabular cell and to overflow its content to the above and below tabular cell (see image - red arrows). First I tried \multirow but this doesn't align the text on ...
4
votes
2answers
55 views

Error when specifying width of column in table

\documentclass{beamer} \begin{document} \begin{frame} \begin{table} \begin{tabular}{c{15mm} | c | c | c | c} Television & Radio & Washer & Dryer & Computer \\ \end{tabular} ...
2
votes
2answers
97 views

Something is wrong with my multirow

\begin{tabular}{p{2cm} p{2cm} p{2cm} p{2cm} p{2cm}} \hline & \multicolumn{2}{c}{Latin America}& \multicolumn{2}{c}{ Africa}\\ \hline & {\large $\Delta p_c$} & {\large $\Delta ...
7
votes
2answers
134 views

Importing CSV file as a table in Latex but file too long

I am trying to import a CSV file but the data in the table is too long it goes down till the end of the page and disappears without continuing on the next page. Here's the file: ...
3
votes
1answer
51 views

Table header appears twice at top of page

The following minimal code demonstrates my problem. (For me) the header appears twice on the table which is placed at the top of page #2. Any help would be appreciated. \documentclass{article} ...
0
votes
1answer
34 views

If can set caption for images in this table?

If can set caption for 3 image in cells of table in this command? What abut For one image? ‎\documentclass[11pt,fleqn]{book}‎ ‎%\usepackage{amsmath,amsfonts,amssymb,amsthm}‎ ‎\usepackage{graphicx}‎ ...
1
vote
1answer
45 views

tabularx “Missing number, treated as zero” error

error: ! Missing number, treated as zero. } l.16 \begin{tabularx}{\textwidth} {x x x x} MWE: \documentclass[12pt,a4paper,fleqn]{book} % ...
4
votes
1answer
52 views

How to set a picture with caption in table?

How to set caption for images in table? like this image.
7
votes
3answers
174 views

Adding a note in tables

How do you put the "Note: preferred model for each metric bold."? This is my work: \begin{table} \caption{Model selection metrics} \begin{center} \begin{tabular}{l c c c c c} \hline {} & ...
1
vote
1answer
33 views

Undefined control sequence .<recently read> \aline( in a table)

Heelo, I am getting this error note but the document still compiles, however, the table of contents does not and I kind of need it. The part where the error lies is: \subfloat[Subtable 3 list of ...
3
votes
1answer
64 views

how to ensure items in two minipages are in same line

By including a tikz-picture in my two (tabular) minipages my items are messed up. Ideally there is a corresponding item for each (except there's an empty entry for the last item in the left table). ...
2
votes
0answers
27 views

Vertical space around table

I'm using tabu to create a table. I wish this to be center-displayed, so I am using it as follows: Body of text preceding table. \begin{center} \begin{tabu}{llX} text & text & text ...
1
vote
2answers
38 views

Vertical centering in several columns in longtable

I would like to change the vertical alignment of the second column in this table (the names of the hypotheses) to be centered, just as in the 1st column. My mininal example: ...
0
votes
0answers
54 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 ...
3
votes
2answers
85 views

create a table with multicolumns for comparison between 2 sources of data

I wanted to create a table of three columns . the first has several rows and each of the second and third is divided into two columns. I do not know what could be wrong. \document class{article} ...
3
votes
1answer
31 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
29 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 ...
-1
votes
1answer
58 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} ...
3
votes
2answers
82 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}% } ...
5
votes
2answers
70 views

Table alignment problem

So I wasn't happy with how esttab was formatting my regression tables from the statistical program Stata. So I instead I decided to attempt to build my own skeleton table, which had better formatting, ...
6
votes
3answers
261 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. ...
0
votes
2answers
47 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
82 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 ...
4
votes
1answer
26 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 ...
1
vote
0answers
33 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 ...
6
votes
2answers
114 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} ...
3
votes
1answer
53 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
26 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 ...
0
votes
1answer
32 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. ...
2
votes
1answer
31 views

subcaptions for tables can not be displayed

everyone. For making tables with subcaptions,I write the source as shown below. However, subcaptions can not be displayed as shown in attached screen shot. Let me know how to solve it. ...
6
votes
1answer
35 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 ...
5
votes
0answers
40 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 ...
1
vote
1answer
52 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 ...
1
vote
1answer
47 views

Table position at Top Problem

I am trying to place my table at the top of page but it seems there is something I am missing. First of all here is what my document structure \documentclass{article} \begin{document} ...
3
votes
3answers
56 views

How to adjust multi-lined cell entry with multirow

When I try this code: \documentclass{article} \usepackage{multirow, } \begin{document} \begin{table}[htb] \centering \begin{tabular}{|c|c|c|c|c|c|} \hline & \multirow{2}{*} ...
7
votes
3answers
93 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 ...
2
votes
2answers
82 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 ...
4
votes
2answers
76 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 ...
4
votes
1answer
53 views

CSV Table Overflow with CSV Simple?

I have a large CSV data set (240 rows - 4 columns ). When I try to embed the data using csvsimple the table overflows instead of flowing to the next page. How can I get the table to flow onto the next ...
1
vote
1answer
80 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 ...
5
votes
2answers
67 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 ...
6
votes
2answers
98 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: ...
3
votes
2answers
47 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} ...
6
votes
2answers
102 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 ...
2
votes
1answer
26 views

deluxetable* caption not displaying

I am trying to create a page-wide deluxetable using the two-column formatted ApJ article style. The caption displays when creating a single column deluxetable, but will not display when I use ...
3
votes
1answer
81 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
59 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 & ...
0
votes
1answer
40 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 ...