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

how to make table width fit to width of column?

This table should fit into one column of two column page perfectly. But it displayed a bit longer than column width. I want to make it fit correctly. \begin{table}[h] ...
0
votes
1answer
22 views

Table foot note not showing

I am trying to use footnotes in a table, and I saw a regular \footnote{} wouldn't work, but \tablefootnote{} should be used instead, therefore importing its package. I did that, but the footnote is ...
0
votes
0answers
22 views

Missing table borders when using tabularx

I'm using tabularx with this solution: http://tex.stackexchange.com/a/12712 to achieve right alignment in a variable column width based on content size with linebreaks. I would like the result to ...
2
votes
1answer
24 views

Macro or \def to create lines in a table

I have a certain table to which I would like to add lines by a command. One way I can get to this looks like this: \newcommand\arow[3]{ #1 & #2 & #3 \tabularnewline } and the table ...
6
votes
2answers
99 views

Table with a diagonal line that crosses cells

How can I draw the following table in LaTeX? I tried looking here but from the examples I can't figure out how I can draw this. Edit: After browsing a few more times I found this with the help of ...
0
votes
0answers
22 views

Table too big to fit one page

I have a table that has 9 columns and one of it includes characters that might be too long. I want to show the entire table and but latex is cutting some columns off since I'm using ...
3
votes
1answer
28 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 ...
2
votes
2answers
70 views

Using list environment to refactor messy table

I'm writing a book using Latex (obviously). Xetex actually. I'm doing a lot of tables w/ \parboxes in the table cells. In the end there's alot of repetitions and the code looks bad as a result (it's ...
2
votes
1answer
17 views

adding frame=none to lstlisting options in \lstdefinestyle gives error with tabular

lstlisting has an option called frame= But when I use the frame=none in \lstdefinestyle and put the lstlisting command inside tabular or longtable I get an error Forbidden control sequence It ...
2
votes
1answer
33 views

Combining Multicolumn & Multirow in a Complex Table

I am attempting to create a table where the every box in the table merges to be two columns wide and two rows tall. I currently have the code below commanding two columns, but I have failed to combine ...
4
votes
1answer
98 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!
4
votes
2answers
38 views

Horizontal lines in nested tabular environment

I currently have this table: \begin{table} \centering \begin{tabular}{ |c|c| } \hline no test & no test \\ \hline no test & \begin{tabular}{c|c} D1 & 1.23 \\ \hline D2 & 1.23 \\ ...
5
votes
2answers
23 views

Change elements of beamer table step-by-step

I have seen questions about how to add elements to a table in beamer step-by-step, but I am interested in changing existing elements of a table step-by-step. Here is a simple example: \begin{frame} ...
2
votes
1answer
33 views

adjustbox missing endgroup inserted. How to fit longtable to page width?

I am working on my thesis. The appendix contains 2 large tables that span multiple pages. These tables are wider than the page height in landscape mode. When using the \begin{adjustbox}{width = ...
2
votes
2answers
116 views

Error while trying to read csv file to create table

I have a csv like the following: CategoryName,Pageviews Restaurants,37951 Shopping,22002 Things to do,20067 Nightlife,10612 Gifts,9194 Food Shopping,8655 Useful Stuff,8536 Parenting ,8353 Home,7654 ...
2
votes
1answer
43 views

Splitting a long table in more than one page

I am doing tables with table enviorment, but it doesnt allow tables to split into pages. So, what enviorment can I use to do this? (could you please write the same table - wrriten in the code below - ...
3
votes
1answer
63 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 ...
13
votes
3answers
6k views

Adding color to a table column as a beamer overlay

I'm trying to have an overlay that adds a background color to a column of a table in beamer. I can create a table with a colored second column using the colortbl package. \begin{tabular}[]{r ...
2
votes
2answers
43 views

Specify the height of table header

I'm new to Lyx and I have a problem. I have the following table and everything is good except that I want to limit the height of header cells. I want them to be shorter that this where each header ...
4
votes
2answers
87 views

How to make editorial table from sections

How would it be possible to make an editorial list/table? I'm not asking how to create a list or table, but if it is possible to attach something to \section's and \subsection's in the form of a ...
2
votes
2answers
42 views

Formatting Latex Table

I have created a table in latex. However, the table is covering the entire page, and I cannot see some of the columns. It would be great if someone can help me format the table. Thanks! ...
5
votes
2answers
75 views

Table with list

How would you make this kind of table? How can you line the numbers with each item in the list? I'm trying to use \multirow{17}{*} for the list, but it doesn't seem to work. This is the source ...
2
votes
1answer
41 views

Answers in table at the end of document in exam template

I am writing multiple choice paper in following format \documentclass{exam} \begin{document} \begin{questions} \question This is a multiple choice question \begin{choices} \choice this is a ...
2
votes
2answers
39 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 ...
1
vote
1answer
20 views

Include three images, so that the first one spans over two rows

So I would like to have 3 images; the first image spanning across the two other images (the first one is taller than the other two). Example: [1]|[2] [1]|[3] Here is the code I currently use, keep ...
2
votes
1answer
19 views

Can't change table reference format

I need to change reference to table to "табл. CHAPTER_NUM.TABLE_NUM", I was tried to do something like: \documentclass[a4paper, ukrainian, utf8, 14pt]{extreport} \setcounter{secnumdepth}{5} ...
2
votes
1answer
29 views

Is there a way to create a column-wide table in beamer?

I am writing a presentation using beamer class, and I want to show a table and then split some text in two columns. I tried to use the code below, but it doesn't work, and I can't find that much ...
6
votes
1answer
1k views

LaTeX tables in pandoc, captions

If I feed a simple LaTeX table to Pandoc, e.g. \begin{table}[h!] \begin{tabular}{ll} x&y\\ \end{tabular} \caption{A caption} \end{table} and convert it to HTML using pandoc -s table.tex -o ...
21
votes
1answer
506 views

Doing things to every page of a multi-page table

So, the designers did their job and specified coloured backgrounds and rounded corners for all tables. Like so: As described here, this requires doing nasty things like putting the whole table ...
2
votes
2answers
52 views

How to generate a table of figures

How to generate a table of figures like this example below:
2
votes
3answers
56 views

How to insert vertical whitespace above and below a tabular environment

I used a tabular in middle of text, but there is little (vertical) space around the table inside the text. How can I increase the margin of this tabular (the distance between horizontal lines of table ...
3
votes
2answers
45 views

Tables: font size setting for all the cells and \arraystretch

I'm trying to create tables with small font size text in cells and large space between rows. If I put \small in every cell, the command \renewcommand{\arraystretch}{1.3} works, but if I try to put ...
2
votes
1answer
36 views

using textwidth in table to make sure table width same as textwidth

I am confused about why \begin{tabular}{|p{0.6\textwidth} | p{0.4\textwidth}|} generates a table with width larger than the page textwidth, since 0.6+0.4 should come out to be 1.0 and so I expected ...
1
vote
0answers
32 views

import cvs file with special characters as table in latex

I am trying to import a cvs file with special characters to my latex file using scvsimple however, I am getting some errors. I tried many suggestions from the forum and net but non worked for me. ...
5
votes
1answer
75 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
1answer
51 views

How can I color one cell of a table using a tikzpicture?

I want to draw a table, and color one cell in another color. As I'm not that experienced in latex, I found this example: \usepackage{tikz} \usetikzlibrary{calc,matrix} \usepackage{amsthm} ...
31
votes
3answers
75k views

Add notes under the table

I'm using the latex package apa6e because the apa package isn't using APA style version 6 yet. Now I'm trying to add a table with notes right underneath it, like in this table for instance: Since ...
55
votes
1answer
57k views

How to add extra spaces between rows in tabular environment?

I couldn't find any option that lets me expand the vertical space between rows in tabular environment. For example, \begin{tabular}{c c} $f^{(n)}(x)$ & $f^{(n)}(0)$ \\ ...
2
votes
1answer
37 views

Setstretch for a table

I am trying to put a list inside a table, using paragraph mode, but the space between the items is too wide, so I was thinking about using the setstretch{} command. Do you know how can I set it in the ...
13
votes
1answer
300 views

When to use tabbing

When should I use the tabbing environment? Whenever I want to line things up I reach for tabular, and I have this vague worry that I sometimes miss a simpler solution because I don't think in terms ...
0
votes
1answer
28 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 ...
-1
votes
0answers
11 views

Estout: indicate() continuous/factorial interaction terms [closed]

I'm trying to indicate whether a regression in STATA includes an interaction term between a factorial and a continuous variable, using the eststout user-written command as below: sysuse auto eststo: ...
0
votes
1answer
137 views

How can I write explanations below tables?

I have two tables and these tables are in one page. I wrote explanations about these. Although there a lot of space, explanations cannot be located below the tables. How can I fix these problems? ...
2
votes
2answers
81 views

Merge table rows vertically and align text vertically

I want to create a table that looks like this: So this is what I already got: \documentclass[]{article} \usepackage[T1]{fontenc} \usepackage{booktabs} \usepackage{multirow} \usepackage{graphicx} ...
2
votes
1answer
38 views

problem with text wrapping in tabular environment

I would like the contents of a cell in a row span several lines. I have the following MWE: \begin{table}[b]{ \begin{center}{ \begin{tabular}{|l|c|c|c|c|} \hline Source & Value & Affected ...
2
votes
1answer
23 views

HVFloat, caption below table

I would like to use the rotated table with the caption bellow the table. Unfortunately, the following code does not work. Thanks for your help.... \usepackage{hvfloat} \usepackage{booktabs} ...
2
votes
1answer
26 views

Different justification for table caption

I need get something like this with caption package: Word "Table 1." in the left with period after number. MWE \documentclass[]{report} \usepackage{caption} ...
3
votes
1answer
30 views

Thickness of lines in a table in LYX

I would like to increase the thickness of the top and the bottom lines of the attached table in Lyx. I tried command \newcommand{\hthickcline}{4} as shown in the attached Lyx file but it does not ...
1
vote
1answer
24 views

How to make \@namedef within a tabular cell have wider scope?

How can I make \@namedef stated within a tabular cell define a name that can be reused outside that cell? For example: \documentclass{article} \begin{document} \makeatletter \begin{tabular}{ll} ...
3
votes
2answers
61 views

Best way to align table cells at an operator?

I have some large upper triangular tables in csv form like this: , A, B, C D, $-10 \pm 2$, $52 \pm 40$, $9 \pm 3$ C, $8 \pm 300$, $411 \pm 1$ B, $9 \pm ...