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

0
votes
1answer
68 views

Landscape table will not be in centre of page

I read all the questions and answers on this, but they only left me more confused. I want my table to be in the centre of the landscape page, but it's always aligned on the left instead. Is there a ...
4
votes
1answer
176 views

In table cell, how to break long words after “::” or “_”?

I have a software program can generate tables which may be very long and may contains words with many letters,so i use longtabu package. Some words may look like this: AAA_BBB_CCCC_DDDDD_CC ...
2
votes
0answers
51 views

How to sort footnotes in tables in two columns at the page end?

I have come across a problem and have searched the internet for a solution for two days now, but no luck. I have a couple of tables in my thesis with a lot of footnotes. I have read about the problem ...
0
votes
1answer
49 views

Floating and non-floating items in one document

till now my tables were like this: \documentclass{article} \usepackage{capt-of} \begin{document} \begin{table} \begin{minipage}[h!]{\linewidth} \centering ...
4
votes
3answers
110 views

How to align contents within table cells vertically?

Sorry for opening up another thread when there are so many already, but I can't find the correct solution to this right now. I would like to align the contents of the third column (the parts put in ...
4
votes
1answer
65 views

Auto colour numbers in range

If I had some numbers in a tabular column, is there a way to automatically change the font colour of them if they are outside a range; eg red if under 10 and green if over 50? \documentclass{article} ...
0
votes
1answer
150 views

Latex align table within itemize

I am trying to write my CV using latex. I have the following problem. I want a table within itemize environment. This is how my code looks: \documentclass{scrartcl} \usepackage{tabularx} ...
5
votes
1answer
274 views

Recalibrating \hline vertical spacing to that of \cline

How do I alter the spacing dimensions of \hline so as to replicate those of \cline? I have drawn a series of (empty-celled) tables using \hline for lines spanning whole tables and, e.g., \cline{1-2} ...
5
votes
1answer
404 views

How to adjust spacing between caption and table / figure in beamer?

I want to adjust spacing between caption and table/figure in beamer. However I am not able to overcome the warning Package caption Warning: \caption will not be redefined since it's already ...
2
votes
1answer
116 views

In table, how to make one column has different font size for different line?

I use longtabu to create a table, below is the realted code \begin{longtabu} to \textwidth {|>{\footnotesize}X[1 , p ] |>{\footnotesize}X[1 , p ] | >{\footnotesize}X[1 , p ]|} I want the ...
3
votes
2answers
117 views

A table with some cells selected

I have an assignment at university and I have to write some documents written by hand into a TeX document. I'm facing a problem with the following table: Is it possible to achieve a result similar ...
2
votes
3answers
285 views

My table is larger than the text box and I want to make it smaller

I have some tables that larger than my box text, but not my page. If I don't want to use the rotate package, what can I do to solve this problem? For example a picture of one of my pages is below ...
1
vote
3answers
205 views

Extending Text Outside Table Cell

I have a simple graphic I'm trying to make with a table, but for it to work I need to extend the text beyond the table cell - through something like a negative margin - is this possible? Specifically, ...
4
votes
2answers
144 views

Is there a semantic way to typeset table headers in LaTeX?

Usually, when I add tables I use \usepackage{booktabs} and code that looks like this: \begin{table}[ht] \centering \begin{tabular}{l|rrr} \toprule Country / Property & Population ...
3
votes
3answers
124 views

Table alignment help

I have three fairly minor problems, but I can't seem to figure out how to fix them. First Problem: Even though I have 'gaps' in my Latex editor between the semi-colon and the number after it (e.g. ...
2
votes
2answers
281 views

Several caption problems in longtable and tabulary

I'm trying to typeset some multipage tables with tablenotes and repeating captions on each page. I found this question, which marries the longtable environment with tabulary. This is quite nice, ...
2
votes
2answers
204 views

Getting `tables` R package to print a text file that I can import into my .tex file

I'm trying to write some R code that takes data from my (evolving) experiment, makes a summary statistics table, and inputs it into the .tex document that I'm writing. I want to avoid copy-pasting. ...
2
votes
1answer
218 views

How to remove the extra vertical lines in a table

There are two vertical lines on top of my table that are not supposed to be there. It looks something like this: | | Table 1: Title This is the beginning of my ...
2
votes
4answers
364 views

Can anyone help me create the table below?

I try to use \multirow to create the table below, but it failed. Making the "unit" below the item causes table creation difficult for me. Anyone can help me out?
2
votes
1answer
88 views

Adjusting the overall width of a table

My table extends past the margin of my .pdf file. I already set the margin using the geometry package. How will I be able to adjust the width of my table so that it will be within the specified ...
1
vote
1answer
79 views

Issue with table captions

I have been writing my thesis in LaTeX and has always managed to fix any issues that arose but I just can't go anywhere with this one... :s. Basically any table that I have in my document has the ...
3
votes
1answer
131 views

how to modify the following table

In the example below, you might see that I have a table: I would like to change/introduce and understand the following: How to change the column separator say to \Rightarrow. Normally one can do ...
3
votes
4answers
129 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 ...
0
votes
0answers
71 views

ComplexTable of Contents

Id like to create a table structure within my document based upon a \newlesson command for example. \newcommand{\newlesson}[1]{ \newpage \addtocounter{LessonNumber}{1}\subsubsection{{Lesson ...
4
votes
2answers
231 views

Tabular cells with exact same width and multicolumn

I tried to design a table with some very specific preferences: The table should span across the whole width Each cell can have a different alignment Each cell has exactly the same width Some cells ...
3
votes
1answer
104 views

Table of results is not closing from above

The problem is that the table is not closing from above. Secondary problem (which I don't really care) is that a vertical line is replicated. Here is the code: \resizebox{\linewidth}{!}{ ...
2
votes
2answers
152 views

Blank lines in tabular environment

I have a problem. I am making a table in the tabular environment; it has multirows and multicolumns and cell colours and all the usual haberdashery. However, there are lines missing in the table ...
2
votes
2answers
3k views

Overfull \hbox (15.0pt too wide)

I have multiple tables which look like this: \begin{tabularx}{\textwidth}{|l|X|l|} \hline \textbf{ID} & \textbf{Description} \\ \hline 336858 & The description \\ \hline \end{tabularx} and ...
1
vote
1answer
219 views

How to add a table in footer

How can I add a table in the footer in LaTeX? I was trying to add a table that has three rows and 2 columns. In the left column, text is left-aligned, and In the right side column, text is ...
0
votes
0answers
91 views

How to make the (COMPLETE) preamble of a Standalone document available to a `Main Document`?

I am in the process of generating a lot of content for presentations and scripts. The standalone package and documentclass seems to be a very helpful, but I am running into an issue mentioned by Diac ...
3
votes
1answer
107 views

How can I arrange the table and the image in a minipage vertically?

I need the table and the image arranged vertically in the minipage instead of horizontally. I also add the pictures used in the code in the end. \documentclass[12pt,a4paper]{article} ...
0
votes
1answer
52 views

Specifying columns using cellspace

I'm using cellspace to try get some more padding around fractions in tables and I'm stuck on this gibberish: \begin{tabular}[b]{ >{}l*{2}{| >{$}Sc <{$}}} What does it all mean? For ...
0
votes
1answer
96 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
88 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
628 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
128 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 ...
9
votes
2answers
1k 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
92 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
52 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
713 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
87 views

How to set a picture with caption in table?

How to set caption for images in table? like this image.
7
votes
3answers
230 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
217 views

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

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
128 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). ...
3
votes
1answer
59 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
51 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: ...
3
votes
2answers
134 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
256 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 ...
-1
votes
1answer
66 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
108 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}% } ...