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

LaTex - endfloat marker text not showing

I want to put "Insert Table 1 Here" in my paper and all tables at the end. So I use \endfloat. However, none of the Insert Table text is showing. Is it conflict with other packages I am using? Thank ...
1
vote
0answers
19 views

placing the full width table caption on top of the table in tufte-latex book [duplicate]

I am using tufte-latex book format for writing my thesis. I have a full width table which I can easily define within table* environment in tufte book. As far as I understood, the caption should also ...
0
votes
1answer
37 views

Last column of tabular isn't vertically centered

I'm in trouble with the last column of my array. It's not vertically centered. I'd like to use as less package as possible, here my code and the result. \usepackage{array} %Some Text \newcolumntype{...
2
votes
2answers
62 views

Align numbers by decimal point using siunitx and bfseries

I am looking for help regarding number alignment along the decimal point. Here is the code that I use so far: \documentclass{article} \usepackage{etoolbox, siunitx} \usepackage{booktabs,makecell} \...
1
vote
2answers
39 views

Issues with Formatting a Table for Integers Modulo 9

I'm having some trouble formatting a table in LaTeX. I'm trying to format a table for the addition of the Integers modulo 9, but it isn't working correctly. This is what I currently have: \begin{...
0
votes
0answers
20 views

Fixing row height while writing vertical

I am writing vertical in a row and as text is long the row is getting insane height. following is my code and result. \begin{table}[H] \centering \begin{tabular}{|p{5cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}...
3
votes
2answers
76 views

Table rotation with sidewaystable

I rotated a table using sidewaystable but the first and last 4 cells of the first row appear with a wrong vertical alignment. Can anyone solve this problem? \documentclass[twoside,b5paper,12pt,fleqn]...
2
votes
2answers
25 views

Change settings of a multicolumn/multirow table

I just have a little question. I need to draw a payoff-matrix. I already have one, but I had to make some changes there. The are still some things I like to improve but I was not able to do so far. ...
2
votes
2answers
47 views

Print table columns next to each other so that they don't use the total table width if table has few columns

I have a PDF file with table printed on two pages. The table can fit 9 columns (one column header and 8 data columns). The first page contains exactly 9 columns. The second page only has one column ...
3
votes
2answers
37 views

Figure/Tables/Equations… counters

I'm currently trying to create a template of my own to unifiy all the documents (article class) I write for school and I'd like to change the functioning of the counters for the equations, figures and ...
3
votes
1answer
40 views

Splitting a formula in table

I am a newbie in Latex and I have the following codes. \documentclass[12]{article} \usepackage{amsthm,amssymb,amsmath,amsfonts,amscd} \usepackage{caption,subcaption} \newcommand{\hmi}{\hat{\mu}...
2
votes
1answer
34 views

Table with fixed width columns with \multicolumn in every line

I want my two tables to look like in the example below, except I would like to get rid of the first row(s) (1 to 8). Both tables should have the same width and all fields should span the given number ...
1
vote
1answer
29 views

Horizontal line after every table

I want to draw a horizontl line after every table. I tried using \hrulefill after every table, but this breaks because of the floating behavior of the tables, e.g. if i have a Code pseudo MWE: <...
3
votes
0answers
28 views

Landscape environment in variable position

I have a portrait document, and I want to put a big table in a landscape page. I am currently using the landscape environment to achieve that. As this page is in the middle of the document, I want ...
1
vote
1answer
38 views

Remove “belowskip” only for tables

In a twosided scrbook, I am aligning all my figures and tables on top of the page (via [!t]). As a result, the upper edge of the figures is higher than the upper edge of the table caption. This can be ...
1
vote
1answer
35 views

Vertical spacing after enumeration in table altough all seps are set to zero

I have a strange vertical spacing after a \enumeration in a table although I have set all seps to 0pt ([itemsep=0pt, topsep=0pt, parsep=0pt, partopsep=0pt]. I want zero vertical spacing after the ...
0
votes
1answer
17 views

using multicolumn in latex table

I have the following table: I want the following: 'Short-crested' belongs to the value 1, 2, 5, 10 and 20. 'Long-crested' belongs to the value 100, 200, 500, 1000, 10000. I want them to move to ...
2
votes
2answers
54 views

How to shorten equation left bracket?

I need to make a table with some equations and the codes as follow: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath,amsfonts,amssymb} \def\arraystretch{3} \...
0
votes
0answers
20 views

Centered inline table with a caption?

I want to typeset a table (in the plain English meaning of the word, not a table environment) inline, and have a caption for it. Well, if I use \begin{table}[!h] ... \end{table} I get the table ...
5
votes
2answers
176 views

Latex Multirow Table formatting

I am trying to format a table using multirow and multicolumn. Most of it seems ok except that I am missing some borders and I would a line separator between row "Binary Classifier" and the row ...
3
votes
3answers
116 views

How to create table with labels (first row and first column)

Here is what I want: And I created simple table as below: \documentclass[11pt]{article} \begin{document} \begin{tabular}{c|cccccc} & 0.1 & 0.25 & 0.40 & 0.55 &...
2
votes
1answer
34 views

I need to break lines in a {tabular} environment using memoir

I need this table to fit the page...breaking the lines... Is there a way to do it? MWE: \documentclass[14pt,twoside,a5paper,extrafontsizes]{memoir} %Classe estilo memoir \usepackage[brazilian]{...
4
votes
2answers
35 views

How to set top align for tabular inside tabular?

My source: \documentclass[12pt]{article} % For removing number order at section header. \makeatletter \def\@seccntformat#1{% \expandafter\ifx\csname c@#1\endcsname\c@section\else \csname the#1\...
3
votes
1answer
42 views

Input file starting with a multicolumn

I have constructed a table (table with a tabularx environment) which takes an input file as input. When I begin this input file with a \multicolumn command the compilation fails and gives me the ...
3
votes
1answer
70 views

Generating a table with all entries from all over the document

We're working on a technical document where we define messages in different chapter/section all over the document. All messages have the same structure and are displayed in a table. We thought that it ...
2
votes
2answers
35 views

Text running off from cell in table

I am trying to create a table using latex - more specifically, the latex table generator (http://www.tablesgenerator.com/) because I have tons of tables from MS powerpoint that I would like to import ...
6
votes
3answers
272 views

Why the sum of columns width in a table is less than 1?

Tell me please, why the sum of columns width in a table is less than 1? That is my code: \begin{tabular} {p{0.15\textwidth}p{0.12\textwidth}p{0.17\textwidth}p{0.17\textwidth}p{0.27\textwidth}} ... \...
1
vote
0answers
28 views

Problem with multicolumn table

The following code works without a problem: \begin{center} \begin{tabular}{ m{3em} m{3em} m{3em} m{3em}} \multirow{3}{*} {\includegraphics[scale=0.3]{figures/leftFig}} & \...
1
vote
0answers
14 views

Escape characters for page continuation of tables

I've been using the \longtable entry trying to create a log book. I've used it because I need the table to span multiple pages. A simplified version of the document is below. Even though some of the ...
1
vote
1answer
22 views

How can I use a list of commands as rows in a longtable?

If I "hardwire" the rows of the longtable environment it works almost as I want. But, if I try to use commands, LaTeX says missing } and hangs. I want to use commands in the arguments to the \...
1
vote
0answers
22 views

Long table continuing on the same page BEFORE going to the next page

I am trying to make a long narrow table, which would continue on the same page, before going to the next page, like here: Continue long table beside on the same page The method provided there works ...
3
votes
1answer
55 views

TikZ - Circled text number in superscript - Missing $

I'm using TikZ to create some circles with numbers as some sort of marker. But I want to use them as superscript. So to generate a circle I'm using this command (suggested here: Good way to make \...
3
votes
1answer
57 views

How can I reverse (flip horizontal) a table?

I want to reverse (flip horizontal) all columns in some tables like this: \documentclass{book}‎ ‎\begin{document}‎ \begin{center}‎ ‎\begin{tabular}{c|c|c}‎ ‎$p$ & $q$ & $p\vee q$ \\ \hline‎ ‎$...
1
vote
1answer
12 views

Using \subfloat inside sidewaysfigure giving missing \item error

I'm trying to produce a document where one page is in landscape, consisting of a graph and a table. Using the lscape package results in the graph being compressed horizontally, even if I set it to 50\...
0
votes
3answers
32 views

Remove line between two cells

I would like to merge two cells and at the same time have a break in the merged cell but I face an error. How can I have $x \le 120$ and $y \le 200$ at two rows without being separated by a ...
1
vote
1answer
71 views

Time calculation with spreadtab

I come from this question: How can I automatically calculate sums in a LaTeX table? I want to do the same but with "timing" calculations. So my example would look like this: \documentclass{article} \...
1
vote
2answers
47 views

How to force table to maintain the margins

I created a table using LaTeX, but as shown in the image, the table width spans to reach the page width as well. I want to maintain the margin in the page. How can I do that? code: \begin{tabular}{ ...
1
vote
2answers
48 views

Aligning a portion of text in a table cell

Is it possible to a align a certain portion of text in a table cell without changing the justification of the entire table? For example aligning the text that follows after (e = ). If someone already ...
0
votes
1answer
25 views

Wrong alignment after \multicolumn

I used multicolumnn to get some text in 3 columns. The problem is that i can't get A, B, C and the numbers in the center of the column anymore. What am i doing wrong? \documentclass[a4paper,12pt]{...
4
votes
2answers
107 views

Lighter midrule

I have a table that looks like \documentclass{article} \usepackage{booktabs} \begin{document} \begin{tabular}{cc} \toprule A & B \\ \midrule Q & M \\ W & N \\ E &...
2
votes
1answer
41 views

Reduce space between figures in tabular

I have arranged 4 plots using tabular. Now I try to decrease the space between the rows to move the plots and the labels closer together. In another post (Column and row padding in tables) I read I ...
2
votes
1answer
42 views

How to make a table column that belongs to two row-colomns

I have produced a table that looks like this: I want to reproduce the table almost identical as the picture, but I have some difficulties. I used the following: \begin{table}[h] \centering \begin{...
1
vote
2answers
35 views

Problems to fit a table into a column of a twocolumn environment

I'm trying to fit a table into one column of a twocolumn environment but everytime I try to fit it in just one column, it disappears. What should I do ? \documentclass[10pt,a4paper,final,twoside]{...
0
votes
2answers
28 views

Put a frame around table notes

I created a table and I added some notes to some cells. I was wondering if it is possible to put a frame around the table notes. The frame should have the same size as the the table. At the end I ...
2
votes
1answer
30 views

How to make mhchem work with \bgroup and \egroup satements? [duplicate]

I am trying to create a table in which a column consists entirely of chemical formulae. I would like to use the array package to automatically insert the \ce{...} command, taking the cell's content as ...
4
votes
2answers
91 views

How to vertically (and horizontally) center text of cells using tabularx?

My question is very similar to this one: previous question but when I vary the example a little (as below), my cells are no longer vertically aligned \documentclass[12pt]{article} \usepackage{...
2
votes
1answer
87 views

How to create a simple 6 column table in Latex?

I am struggling in figuring out how to create a 6 column table that fits in my latex file. Note that I do not want to increase the width of the margins. I just want a simple table with 6 columns and ...
2
votes
2answers
413 views

cm - illegal unit of measure in tabular?

I wanted to created a table and I get an illegal unit of measure error, but I use cm, which works great normally.... I don't know why but sometimes I get this error and sometimes it works great... \...
3
votes
1answer
71 views

How to make a table with equally sized columns?

I have the following table: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{...
1
vote
1answer
35 views

Drawing Nx1 tables in a row with specified spacing using tikz(page replacement algorithm illustration graph)

Actually, how to draw the picture like this. That's the illustration of LRU page-replacement algorithm in operating system concepts.