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

2
votes
1answer
27 views

How should multiline pieces of code be put into a table?

I have the following two pieces of information that I would like to present side-by-side in a Beamer slide. I think I'd like these two things in two cells of a two-column table. Is there a good way to ...
2
votes
1answer
94 views

How can I align this table with another way?

I tried to align this table. My code \documentclass[border=2]{standalone} \usepackage{amsmath} \begin{document} \begin{tabular}{c c c} 1 & $=$ & 1 \\ $2 + 3 +4$ & $=$ & $1+8$ \\ ...
2
votes
2answers
39 views

Sweave: Floating Text and four tables anchored at bottom of the first page

I am trying to create a document that contains floating text that can extend over more than one page in length together with four tables that are anchored at the bottom of the first page (top left ...
4
votes
1answer
46 views

Odd incompatibility between multi-line forest nodes and tabular

The following MWE compiles just fine: \documentclass{article} \usepackage{forest} \begin{document} %\begin{tabular}{c} \begin{forest} [x\\y, align=center [z] ] \end{forest} ...
0
votes
1answer
71 views

Underline text within table

I want to underline a short text and at the same time want the underline to span the width of that column according to the text width. This is what i tried but i have to manually specify the makebox ...
3
votes
1answer
37 views

Multi-page table over two columns

I can create tables over both columns in two-column mode using table* with tabular and multi-page tables using longtable or supertabular but I am not able to combine both. ...
1
vote
0answers
30 views

Siunitx S column with line break

I have a table with many S columns of the siunitx package containing mean and errors. The table is to wide for the page width when the mean and error are typed in one line. However breaking a line ...
1
vote
0answers
34 views

Booktabs table with rotated and aligned header, multirows, and tabularx columns

I have a problem with the alignment in a bit complicated table setting (see MWE). I have a table normally stretching the complete width of the paper (for illustrating here the nr of columns is reduced ...
4
votes
2answers
108 views

RTL with tabluar

This is a question about xelatex, even though I mention LyX here. My goal is to produce an RTL table with one row, two columns, which looks more or less like that: ...
4
votes
2answers
81 views

Center table in the page

Having this example (note the use of tufte-handout document class): \documentclass[12pt,english,nohyper]{tufte-handout} \usepackage[]{color} \usepackage{lipsum} \usepackage{graphicx} ...
4
votes
1answer
77 views

! LaTeX Error: Unknown float option `d'

I have two tables in an article written by somebody else which compiles fine with TeXLive 2013, but after an upgrade to the 2015 version xelatex hangs at them. Pressing enter the file still compiles ...
0
votes
0answers
8 views

iosart2c table* will make next table caption overflow into second column

In the two-column layout of iosart2c, the very next "table" after a "table*" will have its caption incorrectly flow into the second column, thus overlapping with the text there. Is this a known ...
2
votes
1answer
92 views

How to align the left edge of text in table with the section heading?

I am trying to make a table as follows. \documentclass{article} \begin{document} \section*{Foo} \begin{tabular}{l l l} Date & : & 2015-01-01 \\ Time & : & 20:30 \\ Place ...
0
votes
3answers
25 views

Table rows | single line | double line | of text not lining up

I have a table with two columns, the width of each column is set. There are cases where the left hand text is one line and the right hand text is two lines. As a result the left hand text is aligned ...
1
vote
0answers
13 views

how to use inline syntax highlighting from mint inside tabular column

I want to display single lines (not whole blocks) of code in a tabular column. The result should work with longtable as well. I defined a shorthand for inline highlighting using minted. It allows to ...
3
votes
1answer
41 views

Changing color in horizontal line in a table

The following code \documentclass[11pt]{article} \usepackage[table]{xcolor} \definecolor{orangec}{RGB}{255,158,62} \newcommand{\wh}{\color{white}} \begin{document} \begin{tabular}{|l|l|l|} ...
1
vote
1answer
27 views

vertical alignment of minipages in two columns in a longtable

I began to learn latex and I use it to prepare a CV. I made good experiences by organizing my CV with a longtable, in order to define the widths and the alignments of the different text blocks. In my ...
3
votes
1answer
96 views

Getting specific row/column values from a csv file to use in text, figures or table cells

I am trying to do the following: read a csv (or other similar format) external file with numerical and string data into an object; reference/get an specific value from such object to use into an ...
2
votes
1answer
50 views

2nd Column EnvironmentTable and figure 2x2 on the top of 1st and 2nd page

Can anyone help me revise my code so that I can achieve the following goals. 1.How to make the table to be on the top of the first page? Now it skips the first page and jumps to the middle of the 2nd ...
6
votes
1answer
79 views

Align table data by decimal points

I have tried for about an hour and a half now to get my table data to align by the decimal places and I am beginning to lose my mind a bit. I am aware of the siunitx and dcolumn packages but cannot ...
2
votes
1answer
36 views

Combined Tables Not Centering Correctly with ACM

I'm trying to put two tables together, so that they sit immediately, with ACM's template and I'm having a problem. The tables will sit next to once another, but the first table will be too far to the ...
3
votes
1answer
32 views

How do I put align elements into fixed columns?

I want an "align" equation in one column and a text table in the other column. In LaTeX, it seems that "tables" and "columns" are separate but overlapping mechanisms. In LaTeX, "columns" seem to be ...
0
votes
2answers
63 views

Whats best to arrange several tables on a page?

i have several tables, all of those have a caption, the same number of columns, but differ in the number of rows. Those tables take about 1/3rd of the page (very similar width, mostly the same, even), ...
4
votes
1answer
130 views

Centering a wide table

I can't seem to center this table. Here's the code I have. I've tried using \centering too. There is a big indent and the table goes all the way to the right edge of the page. \documentclass{article} ...
1
vote
1answer
39 views

How to make tables in which the text appears vertically? [duplicate]

I want my table to appear as shown in the figure. Is it possible in Latex, and if it is how can it be done?
2
votes
1answer
44 views

Animation with LaTeX Tables [duplicate]

I am trying to create an image in LaTeX that shows a table auto-filling itself, such as the four tables shown below. I've seen some posts about animating pictures, but I haven't seen anything about ...
1
vote
0answers
15 views

Merging rows in different columns [duplicate]

I want to make a table like the following. In particularly what does not satisfy me is that I wanted to incorporate \multirow so that `cell1,cell2,cell9,cell10' can be centered in between the ...
2
votes
1answer
45 views

Centering text in a diagonally split table cell

I need help centering a hyphen located in a table cell that has a diagonal slash to split the table cell in two. As can be seen in my photo, the hyphen is positioned at the edge of the cell, I would ...
1
vote
2answers
91 views

How can I show a leading + sign in siunitx S column?

I'm using siunitx's S columntype to align numbers in a table. The numbers are percentage values which should all have a preceding sign (some - and some +). The numbers with a "-" are shown with a ...
0
votes
1answer
43 views

How to make a table of items in resume? [duplicate]

Hi I am writing my resume in Latex. In "Professional service" section, I wish to list journals I refereed papers to. And I wish to do something like the following template. It seems that the names ...
4
votes
2answers
86 views

Compilable custom environment when in the body text becomes uncompilable when defined as a new environment

I attempted to make a table which has gray backgound cells except for the first column and the first row colored blue. The following code successfully generates the desired output (although I do not ...
1
vote
1answer
40 views

How to get alignment finally “right” with tabularx and an image?

Two things I'm struggling with in the following MWE: "looooooooooonger text" doesn't fit: don't want the middle and right column to be equally spaced: the maple may move over a little to the right ...
3
votes
1answer
38 views

tabularx preamble tweaks // column widths

am using this: %%% http://tex.stackexchange.com/a/97188/27721 \usepackage{array} \newcolumntype{Z}{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}X} and would like to use (that is, ...
1
vote
1answer
34 views

While running this table i got errors

\begin{tabular}{|p{0.3in}|p{0.9in}|p{0.2in}|p{0.3in}|p{0.2in}|p{0.2in}|p{0.2in}|p{0.2in}|p{0.2in}|p{0.3in}|p{0.3in}|p{0.2in}|p{0.3in}|p{0.2in}|p{0.3in}|} \hline Sl.No. & Author \& year ...
1
vote
0answers
40 views

Tables going wild when changing font size

I have a document with 3 or 4 wide tables. Using \begin{adjustwidth}{-5in}{-5in} I got them to adjust. However, when I changed the font size (from the default 10 to 13) of the document they went ...
2
votes
0answers
57 views

How to break tablenotes (page break) in longtable with threeparttablex?

How can I break my TableNotes in ThreePartTable (it is a landscape table)? \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[top=2.975cm, bottom=2.975cm, left=2.975cm, ...
2
votes
1answer
34 views

Using “moderncv” package, the \cvitemwithcomment command gives error

I'm trying to create my personal CV using moderncv package but I'm getting an error: in language skills section I'd like to insert a table resuming my skills using the code as follows ...
0
votes
1answer
16 views

Tabular Alignment and Centering around Decimal Point [duplicate]

I'm trying to align numbers by a decimal point in LaTex. I know this has already been answered, but what I can't figure out is how to center justify the labels around the decimal point. ...
0
votes
0answers
19 views

Specify horizontal position of xtable output in LaTeX

I originally posted about this on StackOverflow (http://stackoverflow.com/questions/31359737/table-environment-from-xtable), but it was recommended for me to post it here instead. I am using the ...
3
votes
1answer
67 views

Table layout is wrong when stretched to text width

I am trying to change the width of my table to text width but the layout is bad as shown below .. Any ideas? My Code: \begin{table} \centering \begin{tabularx}{\textwidth}{|l|l|l|l|} \hline ...
4
votes
1answer
33 views

Remove column sep between longtable and a tabular insides

when I created a tabular inside longtable, there is a space between them. How can I remove that space? Thank you. \documentclass[10pt,twoside]{article} \usepackage[a4paper,tmargin=1.75cm, ...
3
votes
1answer
26 views

Bad linebreak with tabulars in loop

I have built arrays (with csnames) containing contact information, and I would like to print out all the contacts in tabular format, using a loop. But when the tabulars overflow the \textwidth, ...
3
votes
1answer
59 views

Suppress Chapter number in Table to display “Table #” instead of “Table Chapter#.#”

This is my first time working in LaTeX; I am working on my dissertation and I need to rename Tables so that they are numbered as Table 1, Table 2 etc. rather than include the Chapter number in them so ...
2
votes
1answer
32 views

Change colors to table lines

I have: \documentclass[11pt]{article} \usepackage[table]{xcolor} \definecolor{orangec}{RGB}{255,158,62} \begin{document} \begin{tabular}{|l|l|} \cline{1-2} ...
1
vote
1answer
20 views

Having a table, add colors

If I have \documentclass[11pt]{article} \begin{document} \begin{tabular}{|l|l|l|l|} \hline text& text &text &text \\ \hline text& text &text &text \\ \hline ...
4
votes
4answers
59 views

Missing vertical line in multirow table

I'm trying to make a table, but some vertical lines are missing. Could someone help me to see the mistake? \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{dsfont} \parindent0em ...
1
vote
3answers
53 views

Align table horizontally - rescale

I would like to align horizontally two tables, if necessary rescaling them, to put them on the same line. Obviously even the caption must be scaled, remaining aligned with the center of the table. ...
4
votes
3answers
143 views

How to type short division?

I am typing elementary arithmetics, is there any one knows how to type this ? I know perhaps there's a package "polynom" could solve this problem, but is there any method that could work without ...
0
votes
0answers
29 views

Predefining placement of figures and tables in custom package

I am trying to define figures in a new custom package using \newenvironment{name}{begin defs}{end defs} and minipage command (code is given below). if i create a \newcommand{\name}{defs} (named as ...
3
votes
1answer
38 views

A command for table entry by columns

This question is in followup to this question; an excellent response there has allowed me to very easily make tables for examples in the grammar book I am working on which have one language on one ...