{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
2answers
19 views

Put a frame around table notes

I created a table and I added some notes to some cells. I was wondering if it is possible to put a frame around the table notes. The frame should have the same size as the the table. At the end I ...
0
votes
1answer
15 views

Problems to fit a table into a column of a twocolumn environment

I'm trying to fit a table into one column of a twocolumn environment but everytime I try to fit it in just one column, it disappears. What should I do ? \documentclass[10pt,a4paper,final,twoside]{...
0
votes
1answer
39 views

Problem with formatting Text in Table

Here is my code. Every time I include an image into my table the text in the same row skip lines and start from the bottom, to align itself [the text] with the image. Can you please advise me on how ...
2
votes
1answer
25 views

How to make mhchem work with \bgroup and \egroup satements? [duplicate]

I am trying to create a table in which a column consists entirely of chemical formulae. I would like to use the array package to automatically insert the \ce{...} command, taking the cell's content as ...
4
votes
2answers
64 views

How to vertically (and horizontally) center text of cells using tabularx?

My question is very similar to this one: previous question but when I vary the example a little (as below), my cells are no longer vertically aligned \documentclass[12pt]{article} \usepackage{...
5
votes
2answers
110 views

How can I make a table with some lines superimposed?

I made the following table using PowerPoint and now I want to generate it using LuaLatex or XeLaTeX. I need to use the font Arial with size 10,5 pt. I find myself with several challenges: ...
2
votes
1answer
70 views

How to create a simple 6 column table in Latex?

I am struggling in figuring out how to create a 6 column table that fits in my latex file. Note that I do not want to increase the width of the margins. I just want a simple table with 6 columns and ...
2
votes
1answer
32 views

How to make a table with equally sized columns?

I have the following table: \begin{document} % Table generated by Excel2LaTeX from sheet 'Sheet2' \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{lcccc} \...
2
votes
2answers
395 views

cm - illegal unit of measure in tabular?

I wanted to created a table and I get an illegal unit of measure error, but I use cm, which works great normally.... I don't know why but sometimes I get this error and sometimes it works great... \...
0
votes
1answer
28 views

how to float long table to next page without influence the two column layout?

I'm trying to place a rotated long table in IEEEtran. In order to add long table, I added the \onecolumn before the table and \twocolumn after that. The table appeared on the right place but the text ...
2
votes
2answers
36 views

Over multiple rows text from bottom to top (or vice versa)

Is it possible to format a table so that in one column you get some text over multiple rows where the text appears vertically oriented from bottom to top or vice versa? In this case, given should be ...
2
votes
1answer
49 views

Problems with references to figures and tables

I am finishing my course conclusion work writing using LaTeX, and insert the images I used standard codes, such as \begin{figure}[!h] \centering \includegraphics[width=13cm]{lixeoutroa} \caption{........
1
vote
1answer
29 views

Drawing Nx1 tables in a row with specified spacing using tikz(page replacement algorithm illustration graph)

Actually, how to draw the picture like this. That's the illustration of LRU page-replacement algorithm in operating system concepts.
3
votes
2answers
99 views

Row too wide in Table!

I have the table below. But row 11 and 20 are too wide so I would like to have them split in two in a way that it still looks nice. So that the end result looks something like 11 Crude petroleum and ...
2
votes
0answers
59 views

Code crashes on Mac OSX, not linux?

Using TexWorks. 2 people using Mac OSX, one El Capitan, one Yosemite. 1 person using linux. The following code works on linux: \begin{tabular}{|l|l|l|} \hline Scalar form & Meaning & ...
1
vote
0answers
28 views

Define “no color” in a table cell

Is is possible to define a colour as no colour? This is for use in LaTeX tables for individual cells to override a defined \rowcolor. I've experimented with using a white colour, but then if the user ...
1
vote
4answers
30 views

Tiny Problem with Centering a Column Label

Could you tell me why is it that I can’t get in the last column to center G'_i above the figure 8 below? \begin{center} \begin{tabular}{cccS} \multicolumn{1}{c}{$C$} & \multicolumn{1}{c}{$...
12
votes
5answers
2k views

Caption and footnote width with ctable

I am using ctable and I have a table with footnotes. Since the table is narrow, the caption text is squeezed in the table width, which looks odd. I can use mincapwidth to specify a minimum width for ...
4
votes
3answers
87 views

Aligning text in a minipage environment with the top of a table in a tabular environment

I would like the text in the minipage environment aligned with the top of a table in a tabular environment. \documentclass[10pt]{amsart} \usepackage{adjustbox} \usepackage{mathtools} \usepackage{...
6
votes
3answers
274 views

Why is there no pagebreak in my table?

Sorry for a stupid question, but I am completely new to Latex. I seem to understand how to create pdf-tables from latex code in TeXworks, but all the tables, which are created, have only 1 page. I am ...
4
votes
1answer
46 views

alternate row colors for only some columns

I'd like alternating row colors for only specific columns (and in a perfect world, also only a subset of rows), with a table using multirow and multicolumn. I've found that putting \rowcolor{COLOR} ...
0
votes
1answer
55 views

How can I be sure that there are also lines between the boxes that are empty [duplicate]

I have a problem with Latex, TeXmaker (program). I would like to make a table but the last two boxes are empty, but how can I be sure that there are also lines between the boxes that are empty? Now ...
0
votes
2answers
71 views

Creating a similar table

I'm trying to create a table similar to the one in the picture below. I don't use LaTeX often and I am in need of some help. Any info would be much appreciated.
1
vote
2answers
38 views

How to use siunitx to align decimal points in a table column [duplicate]

Could any of you tell me how do I align the decimal points in the 8th column and why is it that I’m not seeing vertical column dividers in the first row except before classes? \begin{center} \begin{...
0
votes
2answers
30 views

Renaming the label of figure just in some cases

I would like to change the caption of Figure for Table just on a particular case, which is when the figure is a table (screenshot of a table made with MSWord). The last thing is about the position of ...
0
votes
1answer
32 views

\begin{table} incompatible with graphicx?

I used to import tables from R program using the LaTeX commands that R spins out in the xtable-package. It involves commands like: \begin{table}[ht] \centering \begin{tabular}{{ rr }} \hline & ...
4
votes
4answers
74 views

Aligning Maths in a Table Column

Is there a way to align this column on t_p? \begin{center} \begin{tabular}{cl} $t_p \le -2\; ^\circ\mathrm{C},$ & frost is expected \\ $-2\; ^\circ\mathrm{C} \le\, ...
2
votes
1answer
43 views

How to get table row sub numbering?

I am trying to get serial numbers in table, but some of the rows require sub numbering as shown below: S. No. X Y Z 1 1 12 1 2 4 34 3 3 5 54 2 4.a 6 34 5 4.b 8 32 7 5 1 ...
1
vote
0answers
33 views

Integrals in mode \begin{matrix}…\end{matrix}

Using \begin{matrix}....\end{matrix}, I'd like to write the integrals in an adequate size. How do you do this?
1
vote
2answers
66 views

Table column-wise split dynamically across pages automatically

I have a table which has many columns. They can't fit in one page on PDF file. I would like to find some packages to print this table in several pages automatically. Each page should have same table ...
3
votes
1answer
34 views

Adapted table width to text using pgfplotstable and csv excel

I have a problem with forcing my table to the same width as the text. I export the csv (Excel) file to Latex using this approach, see code. Changing text-size in Excel works to a curtain "level", but ...
1
vote
0answers
11 views

Table in beamer says that something's wrong [duplicate]

Following this question and its answers: Algorithm with beamer package causing nightmares, I am trying to fit a table in the presentation, so I did this: \documentclass[table,dvipsnames,svgnames]{...
1
vote
1answer
22 views

Shiny - Package array Error: Illegal pream-token-

I have the following table that is compiling when I use TeXnicCentre (running on MiKTeX): \begin{table}[H] \begin{center} \begin{tabular}{\textwidth} \Large{\textcolor{Gray}{DATE:}}& \\ \Large{\...
2
votes
1answer
45 views

Aligning top of tabular with surrounding text

How can a tabular environment with a top line be aligned with the surrounding text, so that no space is inserted above the top line of the tabular? \documentclass{standalone} \begin{document} LEFT \...
7
votes
2answers
6k views

Reduce cell margins in a table

I have a table as shown below. \documentclass{article} \usepackage{graphicx} \newcommand*\rot{\rotatebox{90}} \begin{document} \begin{table}[!ht] \centering \begin{tabular}{| c | c | c |} ...
49
votes
5answers
101k views

LaTeX tables: How do I make thicker or thinner horizontal lines (typically \hline)?

The title says it all: In LaTeX tables: How do I make bold horizontal lines (typically \hline)?
2
votes
1answer
48 views

Alignment in siunitx table

Consider the following example: \documentclass[ a4paper, 12pt ]{article} \usepackage[ hmargin = 2.4cm, vmargin = 3cm ]{geometry} \usepackage[ locale = DE, detect-weight = true, detect-...
3
votes
1answer
67 views

How to place footnotes in the caption of a table?

Problem: Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table ...
0
votes
0answers
31 views

Page Totals For LongTabu

I have a LongTabu that spans several pages and was wondering if there was a way to change the footer/add a row to the LongTabu to display the number of items on the page as well as a running total of ...
1
vote
1answer
43 views

Vertical alignment of tabular to baseline in an itemize environment

I have a tabular inside an itemize environment: \documentclass{article} \begin{document} \begin{itemize} \item[(b)] \begin{tabular}{|c|c|} ... \end{tabular} ...
0
votes
2answers
47 views

Table textwrapping

I'm trying to obtain a table like this, but the output I had doesn't satisfy me. Do you know how can I change this code? This is the table I'm trying to get: This is the table that I obtain: ...
0
votes
1answer
37 views

Is this a Beamer with Animation on Tables bug?

On the second slide of the animation, the following code results in the first table being offset down the page. Is this a bug? (Sorry if the example isn't exactly minimal, but it does show the ...
1
vote
0answers
22 views

Set tabular column width but prevent multiple lines

With the following example the column width is set, and that is exactly what I want. However, in this unusual case I want to prevent the multiple lines and neglect the following text. \documentclass{...
2
votes
2answers
97 views

To create a complex Table

I need to create a table like this: The code I wrote is: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \...
59
votes
3answers
95k views

Increase LaTeX table row height

How does one increase the height of the rows in a LaTeX table?
2
votes
2answers
43 views

Multicolumn table issue

I am having an issue with a table with one column containing multiple columns. After the multicolumn (named "Power Factor" in this case) the remaining columns do not have a vertical line joining the ...
2
votes
2answers
48 views

Different Vertical Alighments Across Columns in a Table

I'm trying to create a table where some of the columns are are meant to be centrally (vertically) aligned, and some are meant to be at the top. It appears that using the 'm' column type for centering ...
4
votes
3answers
78 views

Header of table with math mode, align to decimal dot

I have to create a table with math symbols in the header and numbers in the body. I would like to align all the numbers to the decimal dot. To do that I used the siunitx package. The problem is that I ...
1
vote
2answers
35 views

break a long table over pages while imposing a table line on each page

I want to draw a big table that goes over three of four pages. I understand package longtable is the most appropriate in this case. My table is a simple table, two columns: symbols and signification. ...
3
votes
1answer
82 views

Table and citation formats that are portable across publishers

Sometimes, an author has to submit manuscript originally prepared according to one publisher's format (e.g. IEEE) to another publisher's format (e.g., ACM). This may be due to: A paper is rejected ...