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

4
votes
0answers
41 views

Move tables to appendix

I have almost 100 tabular environments in my latex document and I've decided that they would be better placed in my appendix. What is the easiest way to move them all and provide a reference to them? ...
0
votes
0answers
31 views

How to move the caption at the top of the table?

I used the code given in this link: Aligned Table of Notation Sybmols - Works but with Errors I need to move the caption to the top of the table. I tried to play with [htbp] but couldn't figure it ...
3
votes
2answers
3k views

Aligned Table of Notation Sybmols - Works but with Errors

I am getting a four (4) errors and 1 Bad Box with the code below. However, the output is the way I need in the PDF. Any ideas why I am getting the errors? And if so, how I can fix it. The error is ...
0
votes
1answer
39 views

Remove vertical spacing from top/bottom of itemize environment within a table [duplicate]

I'd like to create compact itemized lists within a column of a table that are vertically alligned with non-itemized text from the same column. I'm using enumitem to get more control over these ...
2
votes
3answers
40 views

Text vertically aligned in tables

I have create a table using a online creator,and I have no idea how to setthe text vertically centered. I have red all the post I have found about this topic. However, since I didn´t make my code and ...
2
votes
1answer
50 views

Aligning equations in tabular with aligned environment

I am trying to align equations in a tabular environment. Having read that align and align* don't work in tabular, I found this thread: Aligned equations in tables which suggests using the aligned ...
2
votes
1answer
54 views

How to diagonally divide a table cell … adaptation?

I try to adapt this solution How to diagonally divide a table cell … properly? to my needs. But I have a width problem 1\tabcolsep is too short, but anything longer is too long, should be ...
2
votes
2answers
42 views

Longtable and List of Tables - How to add “Table” before numeration?

Im using a template for my Msc thesis and everything was ok, until I used the longtable, to create tables in multiple pages. When I use the normal TABLE, the caption appear like this in the LIST OF ...
1
vote
1answer
32 views

cleaner html code from tex4ht

I wish to have cleaner html code from tex4ht, but I am not able to see, form the code from the file, why there are carriage returns in the html code this is the code for tabular. I added several ...
6
votes
1answer
322 views

Repeating the same column type

I'm using package numprint to create a table which automatically formats its columns. However, the table has many columns. Right now, my table definition looks like this: \begin{tabular}{l n{2}{3} ...
8
votes
2answers
251 views

How can I convince texcount that my use of \newcolumntype is perfectly valid syntax?

Note that not counting words is not an option. All journals in my discipline require a word count on submission, as do most anthology editors, conference organisers and other institutional powers. ...
40
votes
6answers
69k views

Table with multiple lines in some cells

What is the easiest way to have 2 lines in some of the cells in a table? The only way I can think right now is to actually have 2 separate rows (without the line in the middle) and use \multirow on ...
1
vote
0answers
27 views

Table with greek words into columns or rows

I have a problem with a table layout and greek words. I use the code \begin{center} \begin{tabular}{ *{4}{>{\centering\arraybackslash}p{1.5cm}} } \toprule I & \g πλήθος παλμών\e ...
1
vote
2answers
124 views

Mcq Answer Grid

I'm trying to create beautiful Mcq (Multiple Choice Question) Answer Grid so could someone help me please to improve it with the following needs: Add Arguments to get automatic row-column numbers in ...
27
votes
2answers
67k views

Add notes under the table

I'm using the latex package apa6e because the apa package isn't using APA style version 6 yet. Now I'm trying to add a table with notes right underneath it, like in this table for instance: Since ...
2
votes
1answer
27 views

tex4ht non roman languages inside tabular environment

I have tables with accented letters and other non-roman scripts, but they do not appear inside the environment tabular. The letters do appear outside of the tabular environment. i compile with ...
0
votes
2answers
45 views

How can I merge 3 cells? [duplicate]

I'm trying to do something like this My code is as follows \begin{table}[H] %\resizebox{\columnwidth}{!}{ \centering \caption{Reduct size} \begin{tabular}{|l|c|c|c|c|c|c|c|c|c|c|c|} \hline ...
2
votes
1answer
130 views

Vertically aligning form fields within a table

I would like to vertically align form fields within table rows. The problem I am facing is that other columns within the same row can stretch over multiple lines. Solutions as sketched in form field ...
2
votes
2answers
50 views

\phantomsection inside tabular: alignment problems

I would like to use \ref and \label for two lines in a table, which can be done using \phantomsection: \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \begin{document} ...
1
vote
1answer
33 views

Note does not appear in the minipage and the minipage exceeds the margin boundary

\documentclass{article} \usepackage{booktabs,threeparttable} \hyphenpenalty=2000 \exhyphenpenalty=2000 \begin{document} \begin{minipage}{\marginparwidth} \centering \begin{tabular}{r r r} ...
2
votes
1answer
599 views

Problem with framelines in tables

I am having a problem with LaTeX at the moment, which I seem completely incapable of solving. I am trying to create a simple table which has 4 columns and (should have in the end) 36 rows, including a ...
3
votes
3answers
74 views

Automatic vertical spacing after minipage when used in tabulator environment

I encountered some issues with the minipage package combined with the tabulator options. For clarity, I provide a MWE: \documentclass[10pt, a4paper]{article} \usepackage{multicol} ...
3
votes
2answers
47 views

Centering table and its catption as well as justifying caption which spans multiple lines

I wonder how to center table and its catption as well as justifying caption which spans multiple lines. Below is MWE. Any help will be highly appreciated. Thanks \documentclass{article} ...
2
votes
1answer
38 views

tabular: Missing number, treated as zero

The following piece of code works and compiled, when I change the \pagestyle{empty} to \pagestyle{plain} in the following style file for resume. https://www.math.nyu.edu/student_resources/res.cls ...
5
votes
2answers
64 views

Build table in new command results in too long vertical lines

I am trying to build a table inside a LaTeX 3 command. A MWE: \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\createTable}{ m m }{ \begin{tabular}{|c*{#2}{|c}|} ...
3
votes
1answer
50 views

Controlling the float of table in supertabular

A table is created in supertabular environment. After the general heading Symbols and table caption General Parameters, I need to place the table below the caption. However, the table floats to the ...
2
votes
1answer
56 views

How to remove cell padding in longtable environment?

I have a table that spans multiple pages. So naturally I used the longtable environment in the landscape mode. The table works fine but output has large amount of vertical cell padding and sometimes ...
2
votes
1answer
53 views

Table header: diagbox line does not touch corner

Diagbox in table header does not touch corner of cell. Thank you for any help. Here is the Minimal Working Example (MWE), and at bottom a picture of what that MWE is rendering: \documentclass[11pt, ...
1
vote
0answers
36 views

Fillable Form fields aligned in Table

I am creating a form using Winedt and my form fields are aligned in a table environment. however when I test the form and enter something into the field in my pdf reader, all the fields autofill with ...
5
votes
2answers
83 views

Add a column to an existing multirow element

I have the following code: Main.tex: \documentclass[11pt]{article} \usepackage{techdoc} \title{Lorem Ipsum is simply dummy text} \subtitle{Lorem Ipsum is simply dummy text} \department{R\&D} ...
7
votes
1answer
270 views

deluxetable error (Illegal pream-token (\string): 'c' used \startdata) when using \rowcolor and \specialcell

I'm having an issue with deluxetable and am given the following errors: Package array Error: Illegal pream-token (\string): 'c' used \startdata Package array Error: Illegal pream-token (\string): ...
3
votes
1answer
3k views

How to use images in a table?

I want to use a table where the first column contains images and the second column contains text. Ideally the first column should have the width of the image and the rest of the pagewidth should be ...
5
votes
2answers
58 views

Making tables with \multicolumn

I've made the following table using \multicolumn. Everything looks fine. Unfortunately when I replace A, B or C with some longer text, I get unequal spacing between the three columns below. Can anyone ...
1
vote
2answers
39 views

Text at the end of the table

I am experiencing another problem with my table I would like to include a long note at the end of the table. The code I wrote is: \documentclass{article} \usepackage{rotating} \usepackage{xcolor} ...
2
votes
1answer
70 views

Build special table header (multicolumn, rotated) automatically

I have to build lots of tables similar to my MWEm only more complex and with many more columns. Manually adjusting the cmidlines and column width etc. is very annoying. What can I do to automatically ...
2
votes
1answer
37 views

How to centralize table elements using the tabular environment?

Please, how do I centralize a table and its elements using the tabular environment. I entered the following code, which centralized the table quite alright but the elements of the table are still ...
2
votes
1answer
61 views

Align first row in a table

I try to align my first row in a table. Only the first row needs another alignment. %-----TABLE-----% \begin{table}[H] \begin{tcolorbox} [ tabularx={|Y|Y|Y|Y|Y|Y|Y|Y|}, ...
3
votes
2answers
91 views

Table inside Header

I'm trying to create table inside Hearder to looks like this : Output but with my following Code: \documentclass{article} ...
3
votes
1answer
66 views

Rectangles around cells in table - fit not working

I'm trying to fit a rectangle around multiple cells, using the solutions suggested in other posts. However, for some reason, my multiple cell rectangle ends up outside the table and I see no reason ...
1
vote
1answer
43 views

How should one add axis-type labels to a table?

I have a table of plots of the following form: It is made using code like this: \begin{tabular}{r|ccc} & 2 & 3 & 4 \\ \hline 4 & ...
1
vote
2answers
56 views

Fit a large table into a landscape page

I have this table and I want to fit it nicely into a landscape page. I can't make it look right. The cells should be multi-lined for it to work. Please let me know what is wrong: ...
2
votes
1answer
160 views

Creating a LaTeX Table from a Microsoft Word Document

I have this multi page word document file which is consisted of a table with two columns. the left column is an English word in front of which in the left column the Persian translation is provided. I ...
7
votes
7answers
1k views

How can I typeset this correspondence in LaTeX?

I am looking to create a "table" or something similar in LaTeX where I show correspondence/mapping between a natural number and some other natural number, as indicated in the picture below (please ...
4
votes
1answer
61 views

Write “conditionnally” rows of a tabular with spreadtab

I'm writing a tabular using the spreadtab package for some calculus. I want to write it's rows only under a certain condition, i.e. to test in each of its rows if the condition is true, and then write ...
4
votes
2answers
79 views

Uneven Columns in two-column-Tables

I've been given the task of replicating this kind of table: I'm completely new to LaTeX, have literally started today but after looking around on forums I thought I'd give it a go. Here's my ...
4
votes
2answers
53 views

Wrap non-English text in the table cell

I have long table with many cells almost inside every cell long text. The problem is that non-English text does not wrap correctly. \documentclass[11pt, a4paper]{article} ...
5
votes
2answers
139 views

Math environment $..$ in tabular works in some cases

I'm new in this, sorry for using noob phrasings (and possibly including too much/little info). I would think I'm covered from usepackages, but can't get all my math environments in tables to work - ...
4
votes
1answer
37 views

Latex - Set Caption Tab.1 to Tab. S1

Is there a way to change the default caption numbering of: \begin{table}[t] \caption{caption} From Tab. 1: caption to Tab. S1: caption basically adding a string before the number that should be ...
26
votes
3answers
18k views

How to make table with rotated table headers in LaTeX

I saw a table created in PowerPoint and wanted to know how to do it in LaTeX. The table is shown below. The aspects of the table that I'm most interested in are the rotated table headers as well as ...
9
votes
1answer
271 views

Formatting footnotes as a table (not footnotes for tables!)

Is there some way a person could format footnotes as a table? What I'm trying to do is put translations and transliterations from English to Japanese in footnotes on my pages in the form WORD ...