{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} 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
38 views

Aligned equations in tables [duplicate]

I'm new to LaTeX. I'm trying to create a table where one of the cells contains aligned equations. The naive approach of nesting an align environment inside the table environment does not work: ...
2
votes
2answers
57 views

\cline is in tables too thin (when using coloured cells)

I'm having an issue where \cline appears to be drawn under the fill for table colours. With \hline With \cline (to remove the line above the cell I want blank) The line is still there, only ...
6
votes
4answers
121 views

Enumerate environment without vertical space in tabular

I am trying to typeset a hierarchical proof structure as defined by Leslie Lamport in How to Write a Proof. In particular, I am trying to typeset the portion Assume: 1. $r \in \mathbf{Q}$ ...
1
vote
0answers
47 views

Missing lines when shading cells [duplicate]

I cannot figure out why lines are not being showed on the shaded columns. Can I get a little help finding what is wrong? EDIT: The MWE follows: \documentclass[12pt, a4paper]{article} ...
3
votes
3answers
82 views

Adding column space with a specific setting

with the following settings how can I add space between columns or just move them in the middle as they're positioned on the left side? The table looks great but I do not find a way to move column or ...
2
votes
2answers
75 views

Minipage make different space between tables

I have the following problem. I use a minipage to show two table next to each other. As you can see in the figure the first two rows of the tables are okay, but the thrid has a problem with the ...
3
votes
1answer
101 views

Figure overlaps Table

When placing a table then a figure, the figure overlaps half the table.. Here is what the tex looks like: \begin{table}[h] ...
1
vote
0answers
41 views

How to use a single count for tables and figures? [duplicate]

In a short document, I wrote reference-based sentence, which ended up reading : With the previous example (figure 1), the features used are presented in table 1. I would like both figures and ...
4
votes
2answers
52 views

page overflowing in table environment due to content outside tabulars

We made a command to print our software requirements but now that we hit things that use a lot of space we have an overflow issue. We used a table environment to keep everything together and avoid ...
3
votes
2answers
37 views

Limit spanning of hline like cline

Is there a way to limit the length of a hline, so that it behaves like a cline? What I want to achieve is to have the the double lines you will get, when calling \hline twice. What I basically want ...
2
votes
1answer
50 views

Rotated multipage table at start of chapter

I'm working on an article in which I have to put a large and wide table. This table is directly at the start of a new chapter. Because it is very wide, I want to rotate this table (or use it in a ...
2
votes
0answers
35 views

Place sidewaystable at the end of document (below instead of above list of figures)

I've seen a lot of questions concerning how to place a sidewaystable (I'm using the rotating package) floating in the document, but not one on how to place it at the end. My documentclass is ...
1
vote
0answers
40 views

Basic table creation [closed]

I'm having problems creating a basic table. I'm using an R package to produce LaTeX output. This is what it gives me: \begin{tabular}{rlrrr} \hline Disorder & Correlation & StDev & N \\ ...
1
vote
1answer
63 views

How to center the table in Latex

I have got a simple code to generate table in Latex. \begin{tabular}{ | c | c | c | } \hline symbol & value & unit \\ \hline $z Na$ & 11 & - \\ \hline $z F$ ...
2
votes
1answer
36 views

Adding labels to two side by side tables [duplicate]

I've places two tables side by side, but I can't get the labels right. \begin{table}[ht] \begin{minipage}[b]{0.45\linewidth}\centering \begin{tabular} {l | l | l} a & a & a ...
4
votes
1answer
96 views

Calculating averages and more

I am translating a Word document into LaTeX as a learning experience. Now there is this table, that already has hard-coded values. However, I would like to have it generic, so that changing a single ...
1
vote
2answers
78 views

Tabular 3 level header

How can I draw a tabular like below using the given script. \documentclass[12pt]{article} \usepackage{multirow} \usepackage{colortbl} \begin{document} \begin{figure} \centering ...
5
votes
3answers
109 views

Centering an asymmetric tabular

I'm trying to center a payoff table asymmetrically but I give up and I ask to you. The problem is that this type of table appears different than how LaTeX sees it. In fact, the first column should not ...
9
votes
4answers
312 views

Center table by end of cell

I want to be able to center my table, but align the center by the end of the first cell. Currently just using the \begin{center} command i am able to center the table but i would rather the table be ...
0
votes
0answers
98 views

Help me Please. table size by latex

image 1 is very small and font size also small . how can I make like next image \documentclass[a4paper,oneside,12pt]{report} \begin{document} \usepackage{graphics}% for \resizebox ...
3
votes
1answer
42 views

Vertical tablecell alignment fail for the last one [duplicate]

Using array m{} to vertically align cells in a tabular, and changing row height with \\[] the last cell is not properly aligned: \documentclass{article} \usepackage{array} \begin{document} ...
6
votes
1answer
54 views

How can I combine endfloat and chngcntr?

Is there any way to combine the packages endfloat and chngcntr? I would like to have all tables at the end of the document (with endfloat) and a numbering that includes the section number (e.g., ...
4
votes
1answer
80 views

Horizontal lines in a table cell as a part of a form

I am trying to design a form in LaTeX, to be filled by hand. I need to replicate a form that is already being used elsewhere, as closely as possible. The said form uses horizontal lines to write on, ...
4
votes
1answer
55 views

Termcal prints the calculated days on the table border

The termcal package works fine for two or more \calday entries. However, if there are six \skipday entries, than the calculated days on the table border. Here is a snapshot of the problem: This ...
2
votes
1answer
59 views

Description items inside table?

I'm new to LaTeX and trying to create a resumé. I know there are alternatives like moderncv but I'd like to try creating it from scratch. I would like to have dates displayed on the left, sort of ...
2
votes
1answer
42 views

\cline with \usepackage[czech]{babel} doesn't work [duplicate]

I'd like to use \cline command in my table, but it doesn't work when I use it together with \usepackage[czech]{babel}. What I should do? Thanks. Here is my example code: ...
3
votes
1answer
47 views

Command to increase spacing in table

WHen I needed to increase vertical space in a matrix I found this great custom command: \makeatletter \renewcommand*\env@matrix[1][\arraystretch]{% \edef\arraystretch{#1}% \hskip -\arraycolsep ...
2
votes
1answer
47 views

Changing contents of a table to verbatim

As per title, I would like the text in a specific table to be written in verbatim. Being able to change the font of specific rows in a table would be a bonus. Currently what I have is as follows: ...
2
votes
1answer
95 views

LyX undefined control sequence \input

I'm a new user. I-m in trouble with lyX and in particular how to use \input{file.tex} correctly. Error: "undefined control sequence". Actually I'm not sure where I have to specify the path so that LyX ...
3
votes
3answers
122 views

Please help me with a tabular problem

The above table is from C. Bonatto and E. Bica: Fundamental parameters of M 52 and NGC 3960 \documentclass[a4paper,oneside,12pt]{report} \begin{document} \begin{small} %\begin{sidewaystable}[h] ...
3
votes
3answers
78 views

How to resize font size of a column in a table? [duplicate]

I have this kind of table where I would like to make the titles in normal size and all stuff under them in smaller font. How can I do it easily without copy-pasting \scalebox{0.7}{...}? Code ...
3
votes
1answer
47 views

Vertical alignment in a tabular environment with asymptote image

In a tabular environment, I would like to align text vertically at the top of one cell while placing an Asymptote image in an adjacent cell. There are numerous posts on vertical alignment with images ...
1
vote
0answers
48 views

How to add linenumbers to figure captions?

I'd like to add linenumbers to my TeX-file. I found the packe lineno which I'm using as follows: \usepackage{lineno} \linenumbers Unfortunately line numbers are not added to the figure captions and ...
1
vote
1answer
21 views

break lines in latex tabular

I would like to get the "Journal 2 name line 1" text to line up with the first line in the 2nd column. In my code, the text in line 2 of the first column, lines up with the line 1 of the 2nd column: ...
5
votes
2answers
48 views

Table headers colliding with table title

I have a table that has some vertical column headers, but they keep colliding with the table title. I've tried making the top row taller but that did not help the solution, simply moved all the text ...
3
votes
1answer
69 views

Misplaced \omit when using \multicolumn within \multirow

I'm trying to put a \multicolumn within a \multirow environment in the following manner: \documentclass{article} \usepackage{multirow} \usepackage{array} \usepackage{mwe} \begin{document} ...
0
votes
1answer
48 views

Longtable fill entire page

I'm using the longtable environment inside the landscape environment, as I have a large table, which spans several pages. However, I would like my table to fill out the entire page with little to no ...
1
vote
1answer
41 views

Remove empty row inserted by etoolbox

I generate table with some conditional expression using toolbox package. \documentclass{article} \usepackage{etoolbox} \begin{document} \providetoggle{ch} \begin{tabular}{ |l|c|} \hline ...
2
votes
1answer
98 views

Dynamic table column generation

I'm trying hard in finding a way to streamline my table generation. As you can see in the attached code, the problem is related with the code "\@for \el:=#1\do{\textbf{\el} &}", where "&" ...
4
votes
1answer
94 views

longtable vertical column separators

I have a quite complex longtable design and I would like to add white column separators. I can add black separators using | but the placement of the lines does not seem ideal either. ...
1
vote
0answers
32 views

Problem with uline and table-format in siunitx table

I asked a previous question about underlining data in a table when using the siunitx S column definition (see Use of underline and siunitx in a table). The advice given was perfect until I added ...
2
votes
1answer
47 views

Turning automatic placing of tables/figures off [duplicate]

I have noticed that table or figure is sometimes (I haven't figured the pattern yet) automatically placed before its reference, regardless of the code and [!h] (or [!ht]). Is it possible to turn this ...
5
votes
1answer
82 views

Fit coloured longtable to pagewidth

There is a similar question and solution posted here. However, I can't use this solution as I have a coloured table, and the given solution causes white gaps between each column. Is there a way to ...
1
vote
1answer
97 views

How to create a specific table in LaTeX?

I only know the basic concepts of creating a table in LaTeX. I want to know if it is easy to make a table like the one below and how:
7
votes
4answers
77 views

How can I reuse the same table alignment specifications in many tables?

\documentclass{article} \usepackage{array} \begin{document} \begin{table} \begin{tabular}{|>{$}c<{$}|>{$}c<{$}|} 1 & 2 \\ \end{tabular} \end{table} \begin{table} ...
1
vote
0answers
55 views

Tabularx inside of Table becomes wider than the textwidth

I have many tabularx enviornments and have been using \linewidth to keep the table width flush with the text width. I now have a need to insert these tabularx segments inside of a float table ...
5
votes
2answers
60 views

removing space after first hline of tabular

How can I either remove the space after the first hline of the right tabular (the second tabular in the following code) or if that is not possible, what kind of value do I have to pass to the ...
2
votes
0answers
53 views

Simple table with background color and borders - hhline

I'm trying to make simple table with different background colors for cells with borders. I've read that you have to use \hhline in order not to get the borders overwritten but it doesn't work (some ...
1
vote
1answer
40 views

Editing table's caption's name [duplicate]

how do I to edit table's caption's name ? Transformation : "Table" --->> "Tableau"
2
votes
2answers
65 views

Generating tables in LaTeX - Errors

I would like to generate the table shown below in LaTeX (with only top , middle and bottom! rules) and no cell dividers. Here is my MWE.I get many errors.What is the problem here? ...