{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
14 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
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 ...
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{...
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
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... \...
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} \...
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 ...
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}{$...
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 ...
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 ...
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 ...
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
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 & ...
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.
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 ...
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\, ...
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?
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: ...
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]{...
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 \...
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{\...
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
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 ...
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: ...
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} \...
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 & ...
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 ...
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. ...
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
votes
0answers
41 views

LaTeX stopped compiling after insert table [closed]

I was writing my thesis and needed to insert a table in my document. Everything was fine, but when I inserted the table the LaTeX stopped compiling (actually, it hangs on forever in the message "...
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-...
2
votes
1answer
31 views

Table caption position

I would like to have my caption at the top right of the table. I've already set it at the top right of the paper using: \floatstyle{plaintop} \restylefloat{table} \captionsetup[table]{justification=...
1
vote
0answers
43 views

Space-saving plotting technique

My goal is to create a template for a report (see the figure) that will be used to programmatically generate reports from a data source. The approach I have thought of is to use a table combined with ...
1
vote
2answers
64 views

Multicolumn and hline

If I run the following code I got a table with a multicolumn of 5 but if I place an \hline before the multicolumn as seen in the code it closes all the table in the upper part. How can I close only ...
6
votes
3answers
87 views

How to create table with custom color borderlines?

I would like to learn how can I create on LaTeX a table like this: Please consider that the content of cells 9,17,25 and 13,21,29 are left aligned, not centered. Also, the width of border lines ...
5
votes
2answers
97 views

table with caption in letter class

Self explanatory title question: How do I get to produce a table with caption in a letter class? A working example would be great.
4
votes
1answer
61 views

How do I create a new column type with a minipage inside?

I'm writing a distilled latex manual for my students, and I want to use tables with one column displaying the code and another column displaying the outcome, for all the commands that we need in class....
5
votes
1answer
206 views

Can I add a button on tables that export them to .csv?

Is there any package that allow us to create a button to export a table as .csv? Is this kind of interactivity of easy coping tables possible with latex? It would be a tool for someone that take ...
3
votes
1answer
50 views

Word wrapping within tabular environment

I'm attempting to write program documentation for some recent software that I am in the process of developing and I'm currently using the tabular environment to format a changelog as to dates when ...
3
votes
2answers
42 views

Creating a separated table

I'd like to be able to setup a bunch of things to put in a table after gathering them up before hand. Something like the following where I keep a variable with the contents that will eventually be ...
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 ...
2
votes
1answer
38 views

Numbers in a table with dcolumn in different font?

I am using beamer and the dcolumn package and cannot get the numbers within a table to be in a different font. I also cannot use the siunitx package because I have numbers in brackets. Before defining ...
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 ...
2
votes
1answer
56 views

Description inside table - Styling

I want to create a table that looks like the following: Under the 'Country List', I would like to have a row with 2 column. How do I do I include that? I have to following : \begin{table} \begin{...
1
vote
1answer
38 views

connect two tables in latex with arrow and make 2 columns more symmetric

I would like to make the following slide in beamer. However, I find difficulties in making more symmetric the two tables by using multicols package. My other question depends on the arrow connecting ...