{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
1answer
57 views

latex table to continue on the same page

I need to generate a latex table using data from a csv file. The table has only two columns with about 500 rows. I would like to make best use of the space and continue the table on the same page, ...
-1
votes
0answers
24 views

Matrix labelling [duplicate]

I need your help desperately. I want to write something above and on the side of a 5x5 matrix for my master thesis. But I don't know how to do it. Can you please help???
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 ...
0
votes
1answer
36 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
60 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}...
2
votes
0answers
99 views

Extra } or forgotten \endgroup when using footcite in table

I have a problem using footcite of bibtex and \makesavenoteenv of footnote together. This is my (not so minimal) MnWE, where I am trying to use \footcite inside a table floating environment: \...
3
votes
2answers
74 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]...
1
vote
1answer
21 views

Landscape longtable pagenumber rotation works only for 1 page!

Assume I want to draw a multi-page landscape table. Also I want to rotate the pagenumber to landscape. I figured out the following MWE for this, however as you can see, it rotates only the pagenumber ...
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 ...
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. ...
1
vote
1answer
37 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 ...
3
votes
1answer
63 views

Overfull \vbox caused by multirow and multiline text

I have read this question, but i just can not explain why exactly overfull happens in my case, so i ask for help. First of all, two boxes in spanned cells (that ones with rotated text) produces 4 bad ...
3
votes
2answers
36 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 ...
2
votes
1answer
32 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 ...
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
2answers
2k views

\hhline doesn't work

I wonder if you can help me why LaTeX can't draw a \hhline in my table? (I would put a picture but I need at least 10 reputation...) Here is the code: \documentclass[12pt,titlepage]{report} \...
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
27 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 ...
2
votes
2answers
49 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
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 ...
1
vote
1answer
85 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} \...
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
175 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 ...
44
votes
8answers
60k views

Inserting a small vertical space in a table

Is there a way that I can insert a small space in a table? When I use a superscript, the number touches the \hline. \documentclass[9pt,letterpaper]{article} \usepackage{helvet} \renewcommand{\...
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]{...
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}} ... \...
2
votes
1answer
301 views

supertabular in a twocolumn env

I write a document which represents a catalog of stuff. Most of the content is a long table with heders in two balanced columns. xelatex is used to build pdf. I planned to use longtabu from tabu ...
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
41 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 ...
2
votes
2answers
34 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 ...
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 ...
1
vote
0answers
27 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}} & \...
5
votes
3answers
15k views

Top alignment of cell content in tabularx

I would like to align the content of each cell (of the first column) to the top. The approaches presented here did not apply. Maybe it has something to do with die tabular-environment inside the ...
4
votes
1answer
159 views

Alignment of a tabular with respect to text outside of the tabular

In the picture I am wondering if it is possible to align the first row of the table with the word "Ciphertext" instead of having the table vertically centered? \documentclass[12pt,letterpaper]{...
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 ...
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
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
0answers
21 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
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‎ ‎$...
3
votes
1answer
88 views

Calculate amount of figures [duplicate]

Is there way to automatically calculate amount of figures, tables and appendices? I found a way to see what pages have figures(Automatically determine numbers of pages with figures ), but how to ...
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 \...
10
votes
6answers
15k views

Text alignment on top with multirow command

\begin{table}[!h] \centering \caption{Titel} \resizebox{.95\columnwidth}{!}{% \begin{tabular}{p{4.5cm}p{10cm}p{3.5cm}} \hline Name & \multicolumn{2}{p{\textwidth-3\...
1
vote
1answer
11 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\...
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*...
0
votes
3answers
31 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 ...
7
votes
2answers
153 views

How can I make a table with some lines superimposed?

I made the following table using PowerPoint and now I want to generate it using LuaLaTeX or XeLaTeX. I need to use the font Arial with size 10,5 pt. I find myself with several challenges: ...
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}{ ...