{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
21 views

How to control vertical spacing before and after Itemize within the tabular environment?

After asking this question about how to add some spacing between two row in a tabular environment, I figured out some strange behaviour of the itemize command within the tabular* environment. Using ...
1
vote
1answer
29 views

Issue with row spacing in tabular environement

I have the following macro to format all my table together inside of my CV. \documentclass[a4]{article} \usepackage[left=1.5cm,top=2cm,right=1.5cm,bottom=2.5cm,nohead,nofoot]{geometry} \setlength{\...
1
vote
1answer
48 views

Table keeps going off the text width

I have been using LyX 2.1.4 on Manjaro Linux. LyX works great and I get great quality work done on it, however what keeps me from moving my workflow into LyX is this annoying problem with tables. If ...
1
vote
1answer
50 views

how to create a table with the text of columns centered and justified?

I'm a new with Latex, I'm trying to create my Thesis . But I'm stuck in how to create a table. I have tried to use this link which make latex tables online. but I didn't succeed to create my table ...
1
vote
0answers
25 views

Out of margin for longtables

I have a longtable in latex which span in two pages... the table is coming out of the margin when using tufte-book template. Appreciate if anyone can help here.
1
vote
1answer
38 views

How to center longtable both horizontally and vertically

I have the following longtable, I want to center its content both vertically and horizontally, So far I've successed in centering it in one of them using the array package and newcolumntype \...
0
votes
0answers
47 views

How to construct table later

I'm trying to update my simple exam template. I want to place the grade table before the questions. The number of questions and the grades are not ready during the construction of the table. It works ...
2
votes
0answers
26 views

Collecting and analyzing data presented in tables

I have data presented in tabular environments and I want to process it, in LaTeX, in ways that require for multiple cells to be analyzed together. That's in addition to typesetting the cells ...
4
votes
0answers
36 views

\write at the beginning of a table cell adds spurious vertical space

If a tabular column of type p (or a few others such as tabularx's X) starts with a write, this inserts some vertical space. MWE: \documentclass{article} %\usepackage{array} \newcommand{\writethis}{\...
2
votes
2answers
52 views

Math mode in table headers (tabularx)

I am editing a document, using a custom class. The author has numbers with a bar over them in a table header, e.g. $0.58\bar3$. However, when I try to compile it I get the following errors: ! Package ...
0
votes
1answer
27 views

Vertical center cell

Why is not vertically centered the second column, while the first one it is? \begin{table}[h!] \centering \begin{tabular}{|>{\raggedright\arraybackslash}m{0.4\textwidth}| >{\raggedright\...
1
vote
1answer
23 views

Tabular row height of header with vertical allignment

How to set the row height of a single row (the header in this case) with vertically center alignment? Here's my MWE: \documentclass{article} \begin{document} \begin{tabular}{@{\extracolsep{\...
0
votes
1answer
32 views

Latex table error, Forbidden control sequence

Im trying to make a table in LaTEX and my code looks like this: \begin{table}[H] \centering \caption{Comparing all interactions with time at each timestep. The model for All are the full model shown ...
1
vote
1answer
25 views

Tablecolumn alignment

Below is my latex code for my table. But the table is not aligning properly. Also, I am getting an error "extra alignment tab has been changed to cr". Please help me. Thanks in advance. \begin{table*...
2
votes
1answer
40 views

Why sections between these tables are not shown at the required position?

I'm totally new with Latex and I'm facing this problem using tables: I have a certain number of tables with the exact same structure, when I define subsections between them the subsections do not ...
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} ...
4
votes
1answer
58 views

Autofit a table to the column width

I am creating a two-column document using latex. I use the option \columnwidth to autofit a table to the column width, as shown in the following figure. The second column Value is too wide. How do I ...
1
vote
1answer
33 views

Minipages with figure and tables side by side: Alignment of captions

I want to place a figure next to a table. To do so, I use the minipage environment. Here's the MWE: \documentclass{article} \usepackage{caption} \begin{document} {\centering \begin{minipage}[t]{0....
1
vote
0answers
18 views

DTLoad from Start to End Record?

Assume I want to use DataTool to display CSV data in a Latex Table. However, my CSV table, is say 1000 lines long, and I can only display 50 on a page. So I what I am looking for is a solution to ...
1
vote
1answer
26 views

Create custom tabular environment

In the process of creating a beamer template from a PowerPoint template, I am trying to create a tabular environment with colored rows, lines between the rows and specific header and footer styles. ...
2
votes
1answer
84 views

Multiple column and row table in latex

I want to draw a following table in latex EDIT: MWE: \documentclass{article} \usepackage[british,UKenglish,USenglish,english,american]{babel} \pagenumbering{gobble} \usepackage{multirow} \...
0
votes
1answer
25 views

Table column combine

I want to create a table of the following format. How do I combine the two columns CD into A and EF into B.
7
votes
3answers
296 views

A note with the dangerous bend symbol: how to vertically center text and symbol?

I want to make a command (to be used mainly with the beamer class) which typesets a text note with a dangerous bend sign \dbend on the left, the two vertically centered with respect to each other. I'...
6
votes
1answer
80 views

Linenumbers in longtable

I have to add line numbers to a document. It would be nice if the line numbers are also printed (and counted) inside tables. Consider the following example: \documentclass{scrartcl} \usepackage{...
0
votes
0answers
21 views

How to obtain a specific table with a missing cell [duplicate]

How should I proceed to obtain the following table: What I've tried is: \begin{tabular}{ | c | c | c | c | c | } \hline 7 & 4 & 7 & 9 & 27\\ \hline 10 & 9 & 9 & 6 &...
1
vote
1answer
42 views

Error while setting column width in Latex: Package array Error: Illegal pream-token (3cm): `c' used

This is my code to build a simple table. \begin{table} \small \centering \begin{tabular}{ l{3cm}|l|l|l} .... \hline \end{tabular} \end{table} But, I am getting the error Package array Error: ...
4
votes
1answer
45 views

Misplaced noalign when using rowcolor

I am trying to create a table with colored rows and colored hrules between the rows, but I am getting a "Misplaced \noalign. \rowcolor" error. The following example reproduces this problem: \...
1
vote
1answer
29 views

Justify caption

For my figures and Tables the caption text is formatted to start in the middle. For the tables only however, I need it to start from the left. I tried using \flushleft command for it but it did not ...
2
votes
3answers
44 views

Table : Overfull hbox

When I compile the following code, I get the error overfull hbox and I cannot see the right end of the table. Does anyone know how to fix it ? \begin{center} \begin{tabular*}{\textwidth}{c @{\...
0
votes
0answers
20 views

Column borders don't extend from row to row, horizontal cantering

I'd like my table borders to extend throughout a row, they don't; and entering text is problematic, it's vertically entered but to horizontally centred. Any suggestions? \begin{tabular}{|c|c|c|c|c|} ...
1
vote
0answers
32 views

Using table in Latex. text overwitten

I'm using this code \begin{center} \begin{tabular}{ | l | l | l | p{5cm} |} \hline Day & Min Temp & Max Temp & Summary \\ \hline Monday & 11C & 22C & A clear day with lots of ...
7
votes
2answers
299 views

How to create a table automatically for a homework in statistics?

I want to create a long table containing some statistical data, such as the sample, the average, and the variance, etc. I am using the pgf package and its various extensions to do this. Here is a ...
0
votes
2answers
30 views

Question on formatting a Tabular Column

I had a few questions. When I was making a document containing a table containing 10 columns, I was not able to bring all the columns in the page.I tried to fit it by making the margin width 1cm by ...
1
vote
0answers
26 views

Footnote missing when used with table, tabularx

I'm using fithesis3 class and I'm unable to get to work table + tabularx + footnotes + footnote references. I have tried \tablefootnote - http://tex.stackexchange.com/a/35328 \scrextend (\footref) ...
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 ...
2
votes
2answers
48 views

Vertical and Horizontal alignment in table

Question: Here i made a simple table. My question is very simple how can i align text inside the table horizontally and vertically? MWE: \documentclass[12pt, a4paper]{article} \usepackage[a4paper,...
2
votes
1answer
55 views

Multiple Choice Answers with Graphs

I need to have 4 graph options for a multiple choice question in LaTeX. I would like it to look like this picture. I have the graphs(tikzpicture inside minipage) with code before the \begin{...
0
votes
1answer
26 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
32 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
36 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 \...
2
votes
1answer
31 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
2answers
81 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 ...
6
votes
2answers
111 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 ...
4
votes
2answers
49 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 \\ \end{...
5
votes
2answers
34 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} \...
3
votes
2answers
135 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 ...
3
votes
1answer
47 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 = 1\...
2
votes
1answer
46 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 ...
2
votes
1answer
46 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 - ...
4
votes
2answers
108 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 \...