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

1
vote
1answer
15 views

How to write the caption of a english table in Persian when using xepersian package?

I am writing a report using the documentclass{report} and xepersian package. I have some tables in english but I want the caption to be in persian. Since I use the xepersian package, I have to put ...
0
votes
0answers
10 views

Latex Table is moved by Appendix Chapter Heading

In the screenshot we see two tables and I want them on the same level.. I am pretty new to Latex so I really dont know what to do.. Thanks in advance!
1
vote
2answers
23 views

I want to have more than one footnote in a table. What's the best way to get this to work right?

I want to have more than one footnote in a table. But then the footnote counter has incremented too many times by the time I've gotten to the first \footnotetext. What is the best way to get this to ...
5
votes
3answers
142 views

bullet in table not aligned

I created the following table. however, the bullets are not aligned. What can I do to get them aligned? \documentclass{beamer} \usepackage{booktabs}% http://ctan.org/pkg/booktabs ...
4
votes
1answer
33 views

xymatrix spacing in lyx

I'm trying to use lyx to make an xymatrix with narrowed spacing between the rows. I found in Peter Gumm's notes http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf that I could add to the ...
2
votes
1answer
19 views

Table with 2 columns, each further divided into 2 columns

I'm trying to create a table as shown in the attached picture. I declared the first row (or header) as multicolumn to get 2 columns and it works as expected. On the second row, I again declared ...
0
votes
1answer
24 views

centering within a table cell not working in one cell only [duplicate]

I'm trying to create a table using custom columns as explained here. For some reason in the last row of my table the very left column is not centered horizontally and I don't know why. Here is the ...
2
votes
1answer
25 views

centralising the table contents

could anyone help me to centralise the table using this code, please \usepackage {ctable} \begin{tabular}{llr} \toprule \multicolumn{2}{c}{steady-state error} \\ \cmidrule(r){1-2} ...
1
vote
2answers
26 views

aligning text in a cell of a table

How to vertically align short stack in a cell of a table? I am using "\shortstack" and would like it vertically centred in the cell of a table
6
votes
1answer
56 views

How does the \newcolumntype command work?

I'm a StackExchange and LaTeX newb trying to figure out tables and tabularx. Sometimes I copy code but don't actually know what I'm doing or why it works or fails. Can someone explain to me how the ...
2
votes
1answer
38 views

Appending an empty row after every 5 or 10 rows in LaTeX table

I wonder how to append an empty row after every 5 or 10 rows in LaTeX table. Here is my MWE in .Rnw format. Any help will be highly appreciated. Thanks \documentclass{article} \usepackage{longtable} ...
2
votes
1answer
42 views

Misaligned vertical lines in table

In my document I use different kinds of tables, as shown below in a simplified way. My problem only affects the first table shown in the output. Strangely, the vertical lines between columns "B" and ...
1
vote
1answer
67 views

Row Padding, Row by Row

Here's my MWE that is almost right... except for the excess padding in the top row which I would like to reduce to 0.2cm. The rest, I'd like to keep at 1.5cm. ...
4
votes
0answers
28 views

Change footnote number to text using tabu

Problem: Changing footnote default numbering to text using the tabu package. Minimal Working Example (MWE): \documentclass{article} \usepackage{array,booktabs}% http://ctan.org/pkg/{array,booktabs} ...
1
vote
2answers
44 views

Making several rows in a column

Hi guys I have this really weird table I made in word and want to make it in LaTeX since I am a noob in LaTeX I dont know how to split a column into several rows can some please tell me the coding how ...
3
votes
1answer
50 views

How to align horizontally tikz picture and text in a tabular in LaTex?

I have a table as shown below: My code is: \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amsfonts,amssymb,tikz} \usepackage[left=1cm,right=1cm,top=1cm,bottom=0cm]{geometry} ...
0
votes
1answer
45 views

Defining table location in document

I've created a table in my document with the help from here the table looks exactly as I want except it's location in my document , how can I define the location of the table anywhere in the doc ? ...
0
votes
1answer
17 views

Weird error with memoir sidecaption, subbottom and threepartable package

I have a weird error using threepartable, sidecaption, subbottom and memoir class ! You can't use `\prevdepth' in restricted horizontal mode. \TPTdoTablenotes ->\par \prevdepth ...
1
vote
1answer
21 views

cline issue in drawing horizontal lines in tabular environment

I am trying to draw a horizontal line for cells 2 to 3 and then for cell 5 in a table using \\ \cline{2-3,5}. But it does not work for me. Can anyone tell me how to accomplish this in LaTeX tabular ...
4
votes
2answers
57 views

Changing width of table lines

We know that by adding \setlength\arrayrulewidth{xpt} changes the thickness of all the table lines. If I wanted to change specific table lines, how to do it? \documentclass[11pt]{article} ...
1
vote
1answer
30 views

“Paragraph ended before \verbatim@ was complete.” when trying to use verbatim in tabular

I have the following code in my Beamer slide code: \begin{frame} \frametitle{selections} \begin{tabular}{ll} sample 1 & \begin{minipage}{3in} \begin{verbatim} sample 2 \end{verbatim} ...
2
votes
1answer
25 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
31 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
44 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
2answers
69 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
35 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
33 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
1answer
95 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
80 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
72 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
86 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
40 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
25 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
85 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
49 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
71 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
35 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
129 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
43 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 ...