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

3
votes
0answers
59 views

How to draw a table with shared cells?

Starting from such a table: \documentclass{article} \begin{document} \begin{table} \begin{tabular}{|l|c|c|} \hline & Property 2 & Not property 2 \\ \hline Property 1 & ...
6
votes
3answers
135 views

How to only show text?

I have a document for a student research project and want to know how many pages content without figures, listings and tables i have. My university does differentiate between content and figures,... ...
2
votes
0answers
36 views

how to adjust the header of a table ?

I'm trying to use a table in my these. I have used this code from this list of tables : \documentclass{article} \usepackage{tabu} \usepackage{longtable} \usepackage[table]{xcolor} \definecolor{...
15
votes
1answer
4k views
1
vote
1answer
68 views

Table from a defined layout / template for input

I'm doing a project where I need to copy a table several times throughout a document. The basic structure for the table is the same, however, some of the input needs to change. I was wondering if it ...
-1
votes
2answers
64 views

How to fit long equation into a cell of table and how to use table in general

I am using tabular for the first time and found it to be unbelievably difficult to use. But the primary goal for now is to fit a long equation into the cell of a table \pagebreak \section{List of ...
1
vote
1answer
64 views

How to create a table with 2 panels, each one separate page?

I wish to create a table with 2 independent panels. Both panels are big enough, so I have to put them on two different pages.What should I do? \documentclass[12pt]{article} \usepackage{subcaption} \...
1
vote
0answers
36 views

How to write an algorithm as a column inside the table

Let us consider the following code and the algorithm corresponding to it \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[]{algorithm2e} \begin{document} \begin{center} ...
0
votes
0answers
44 views

How to convert .ods to latex?

When I use calc2latex I receive the error message "BASIC Runtime Error: Object Variable not set" Using Ubuntu 16.04
14
votes
2answers
166 views

How to align horizontally two tabular environments

I have this table (a table environment containing two tabular environments). I need the two tabulars to be placed side by side. But I need the second tabular to be align horizontally (same height that ...
0
votes
0answers
25 views

What is wrong with my Tabular format? [duplicate]

I want to write a table with 6 columns and 5 rows. I tried the following, but couldn't give me a table. Could someone please help me? \begin{center} \begin{tabular}{ | l | l | l | l | l | p{1cm} |} \...
-1
votes
1answer
114 views

hi guis iwant to help me [closed]

indeed help me in this problem when I write new subsection enter as shown in table belwo
1
vote
1answer
25 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. ...
4
votes
1answer
57 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
46 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
43 views

table and box over certain cells

I was trying a way to make a box for a certain part of my table like the following Is there a way to create the red box? My code so far for the table: \begin{tabular}{cccc} \toprule &...
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 ...
163
votes
8answers
189k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
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} \...
108
votes
3answers
23k views

Which tabular packages do which tasks and which packages conflict?

I've read a couple of questions recently about tabular environments, and it seems there's a whole bunch of packages that do stuff in this field. I'd really like a summary of what each package does, ...
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
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 ...
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
30 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
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}{\...
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\...
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'...
4
votes
2answers
1k views

how to use Calc2LaTeX

I've installed extension Calc2LaTeX to convert OO tables into LATEX. But I don't see any extra button on OO to get LATEX CODE; In Extension manage of OO, it's showing Calc2Latex in Enabled format. ...
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{\...
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
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*...
1
vote
1answer
40 views

Problem with tabularx's vertical spacing

I have a problem with the way tabularx (or is it booktabs?) is handling vertical spacing between horizontal lines and the cell content / background color. MWE: \documentclass[paper=a4,fontsize=12pt]{...
2
votes
1answer
39 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 ...
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{...
1
vote
2answers
56 views

Table formatting equal to page size

I have been looking around on this forum, but unfortunately I couldn't find the answer to my question. As given below, I make use of a table. The table contains two columns and I want the first column ...
2
votes
2answers
67 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 ...
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 ...
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.
1
vote
1answer
40 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: ...
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 &...
7
votes
2answers
297 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 ...
4
votes
1answer
43 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 @{\...
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 ...
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|} ...