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

3
votes
1answer
119 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 ...
1
vote
0answers
64 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 ...
0
votes
0answers
50 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 ...
1
vote
3answers
143 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 ...
0
votes
2answers
73 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, ...
4
votes
2answers
102 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
69 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. ...
1
vote
3answers
84 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, ...
1
vote
1answer
65 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 ...
1
vote
1answer
123 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 ...
3
votes
4answers
331 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
76 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
1answer
58 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 ...
4
votes
2answers
71 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 ...
0
votes
0answers
48 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 ...
3
votes
1answer
56 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
165 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 ...
2
votes
2answers
97 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 ...
0
votes
0answers
45 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 ...
2
votes
1answer
48 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. ...
3
votes
1answer
63 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} ...
1
vote
1answer
52 views

Table numbering incorrect

Since trying to fix the problem described in this question: Tabularx moving table to next page, ignoring optional arguments I have removed the offending Table and now noticed that my Tables have all ...
0
votes
0answers
25 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
84 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
534 views

Fit to landscape longtable generated with xtable and sweave

I read many TEX questions/answers on fitting a table to your page width, but cannot figure out how to do apply it in my context (using xtable/sweave). Everything that I tried (using adjustbox, tabu) ...
0
votes
2answers
56 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 ...
7
votes
2answers
707 views

Prevent xtab breaking table too soon

Xtab breaks a long table spanning multiple pages too soon -- see my screenshot: The output seems rather unsightly to me. Can I make it take more of the available space? Alternatively, is there a ...
0
votes
1answer
76 views

Tabular - Problem in aligning text

I've created a table and I want the text to be centered and aligned vertically in the middle so I used this code \documentclass[a4paper]{article} \usepackage[french]{babel} ...
4
votes
2answers
85 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
108 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 ...
3
votes
1answer
59 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} ...
8
votes
2answers
181 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: ...
4
votes
1answer
63 views

How to set a picture with caption in table?

How to set caption for images in table? like this image.
0
votes
1answer
42 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
71 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} % ...
2
votes
1answer
185 views

Vertical alignment text first column with merged cells and last column

I'm relatively new to Latex and I really appreciate this community, it has already helped me a lot. However, I've been unable to find the answer for the following problem: I want to create a 3 ...
7
votes
3answers
190 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 {} & ...
3
votes
4answers
131 views

Chemical structures drawing: {table} vs \chemfig

I write a chemical structure as a table. Please help me understand, How can I reduce the distances between the rows and columns in a table? This is the structure of the zeolite and would like to make ...
2
votes
1answer
42 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 ...
4
votes
1answer
68 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 ...
3
votes
3answers
65 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}{*} ...
1
vote
1answer
64 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} ...
6
votes
2answers
94 views

Problem with vertical alignment in tabular environment

I'm having a few issues with vertically aligning table elements. There seems to be too much space either above or below the text or image. Is this to do with the fbox environment? I want both the ...
3
votes
1answer
87 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). ...
1
vote
2answers
44 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: ...
2
votes
0answers
31 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 ...
5
votes
2answers
77 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, ...
3
votes
2answers
99 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} ...
46
votes
2answers
6k views

Org-mode export to LaTeX: temptation or nuisance?

We are talking about Emacs and Org-mode: There are several advantages of drafting papers with Org-mode and to have them transferred later to LaTeX, e.g.: I'd like to avoid »programming while ...
0
votes
0answers
67 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 ...