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

2
votes
2answers
66 views

How do I change font size in plain TeX tables featuring math (fontch producing unexpected results)

I've been having difficulty with setting the font size in plain-tex tables (i.e. haligns). I want to set the tables to use seven or (preferably) eight point font, including tables which contain math. ...
1
vote
0answers
41 views

dynamically generating tabular columns

Consider a table (regular tabular environment) with a fixed number of columns. I want to create a command that accepts a comma-separated list of strings, where the number of strings may differ between ...
2
votes
1answer
236 views

\midrule ->\noalign Known Error but can't resolve it for my tables

I have two tables in the below program. First tables generates error of \midrule -> \noalign etc etc, but second table doesn't. I wonder why, I want the output of first table as like second table. ...
0
votes
1answer
74 views

Automatic three digit grouping

I have huge numbers in tables (some of them are grouped in three digit groups but some are not). I need to make a small space (or comma) between groups of three digits. I have used two packages, ...
3
votes
2answers
43 views

Placing Two Generic Tables Beside Each Other

I have two tables that are virtually identical and look like so: \begin{table}[!ht] \fontsize{8}{8}\selectfont \caption{caption$.} \label{label} \center{ \begin{tabular}{|c|c|c|c|} \hline ...
3
votes
2answers
43 views

Aligning three columns differently; with images, manually broken and wrap-around text

I am trying to create a situation with three columns from left to right: one with an image top-edge aligned to the top of the center column and the left of itself; one with wrap-around text having ...
3
votes
2answers
47 views

How to insert a table on the header

I am trying to insert a table on the header, just like the example below. The whole document where I was inspired to create this header can be found here Moshell User Guide. On this picture this is ...
1
vote
3answers
39 views

Resizing my table

I'm trying to fit my table on the page like this: But instead it goes like this: With the left side being the end of the page. How do I do this? This is what I have: \begin{table}[!htb] ...
2
votes
1answer
43 views

Diagonal line in table with vertical text

I want to add a diagonal line in a the top line of a table where the other entries on the first row are written sideways. I've tried \backslashbox and \diagbox and \diag but no matter how I change the ...
3
votes
2answers
95 views

Table caption inside tabular environment

I would like to write a table with latex which looks as similar as possible to this one here but I do not know how to add the caption to the header of the table as seen down below: I reach as far ...
4
votes
1answer
177 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
17
votes
2answers
9k views

How can the margins around a table set to 0pt?

I need to put a table inside another table, and would like to set the outside margins of the inner table to 0pt. How can I do this (in particular for tabularx, but hopefully this would be the same for ...
1
vote
0answers
35 views

How to automatically vertically center text in Lyx?

I have the following table in Lyx: Here is how it looks in Lyx: I want the text "My words" to be automatically vertically centered. I also want the text for the items that are rotated to be ...
2
votes
0answers
34 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 ...
2
votes
1answer
36 views

merging table rows not working

I've created a LaTeX table (using tabular) \documentclass{article} \begin{document} \begin{tabular}{ c | c | c | c| c } Heading 1 & \multicolumn{2}{c}{Heading 2} & ...
19
votes
6answers
8k views

Tool for manipulating LaTeX tables (HTML to LaTeX)

I am wondering if there is any tool that can help me work with tables in LaTeX. Specifically I'd like to be able to import HTML tables (or small Excel tables) into LateX Are there tools that can help ...
3
votes
2answers
41 views

Mysterious error when trying to include a vertical fill inside a tabular

I am trying to make a frontpage (for an exam), and must follow an official norm. I am using a tabular environment, but need to have some large vertical whitespace within the table filled out. I try to ...
1
vote
1answer
45 views

Table and TikZ object on two columns

I'm trying to have a table generated by the tabular environment and a plot generated by TikZ placed side by side. I tried using the table and minipage environment since it works for having multiple ...
1
vote
2answers
31 views

\vspace is swallowing my column

I am using \vspace*{1cm} in my table.. Unfortunately, the column seems to have dissapeared at the location where I am placing my /vscpace.. See the picture \multirow{3}{*}{Rayleigh } & ...
4
votes
1answer
26 views

multiple reference to single footnotes in table

I have been trying to include multiple footnotes in a table. I have tried using longtable inside a minipage with \footnotes, \footnotemark and \footnotetext. I have multiple footnotes and some are ...
3
votes
2answers
101 views

Remove blank space in text - Latex table rows

I want to typeset a table and I used following code. \documentclass{article} \begin{document} \begin{table}[h] \centering \begin{tabular}{|p{9.0cm}|p{1.5cm}|} \hline User-agent string & dummy\\ ...
3
votes
1answer
28 views

Can I nest an array in a table?

In my code I have this: \begin{equation*} \left. \begin{array}{rcl} 2x\lambda &=& 2 \\ 2y\lambda &=& 3 \\ 2z\lambda &=& 4 \\ x^2+y^2+z^2 &=& 1 \\ ...
3
votes
1answer
61 views

Tables in landscape mode

I need to show Excell table below in landscpe mode including the colours of each cell. I have used \begin{landscape} and \end{landscape} but I couldn't fix all the data in the same page. Also I ...
4
votes
1answer
3k views

Align the top of two tables horizontally (side-by-side with minipage)

I'm using \minipage to put two tables side by side. But when the two tables are not of equal length, the shorter of the two is vertically centered with respect to the other. I would like both tables ...
17
votes
5answers
9k views

bordermatrix with blocks

I need to write a complicated matrix, that has a structure as in the attached picture.
4
votes
1answer
44 views

French “Tableau” and English “Table” captions in tables in one LaTeX document

In my thesis I have french resume part, but main text is in English. I need to have in the resume French tables naming (Tableau) in table captions and in the main part instead of Tableau the English ...
1
vote
1answer
63 views

array, table, tabular, tabularx, longtable, supertabular, longtabu [closed]

What is the difference between array , table, tabular, tabularx in terms of syntax , typesetting , ease of use, and appearance after compiling. In short, where will you use each of them and what are ...
0
votes
1answer
63 views

I need this tikz and tabular sketch at the right of my presentation, and an itemize at left, but too much length

I need this tikz and tabular sketch at the right of my presentation, and some text at left. Unfortunatly the text is at left but in the down part of my frame, I need it at the center and starting ...
0
votes
0answers
26 views

I want in my frames some sketch of two columns, presenting an image and at right the description of the image [duplicate]

I want in my frames some sketch of two columns, presenting an image and at right the description of the image. I have tried a lot of mixing code, that haven' taked me anywhere. This is my code. ...
1
vote
1answer
51 views

Use of \@array doesn't match its definition

I am doing something wrong here. I get a message saying Use of \@array doesn't match its definition. `\@ifnextchar ... \reserved@d =#1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.108 ...
4
votes
1answer
52 views

This code do not compile, this is figure environments inside tabular environment, adding captions and labels

This code do not compile, this is figure environments inside tabular environmet, adding captions and labels. I havent found the reason and an effective way to organize my graphs. This is the code Im ...
3
votes
2answers
41 views

itemize within tabularx does not work when ltablex is loaded

I need this code to be compilable without errors: \documentclass{article} \usepackage{tabularx} \usepackage{amsmath, mathdots, paralist} \usepackage{ltablex} % uncommenting this line will work ...
3
votes
2answers
85 views

Vertical center of text in table with images

I want to vertically center the text Rule boolean behavior in each row, how can I do this? Sharelatex. \documentclass{article} \usepackage{graphicx} \graphicspath{ {images/} } ...
2
votes
1answer
47 views

Vertically align across multirow cells in a table

The following code (pastebin - large block of hard-to-read text, open in a proper text editor and disable word wrap to make it display properly) produces the following image: My question seems ...
2
votes
1answer
25 views

How to I use a longtabu inside \newenvironment?

I have the following newenvironment defined using tabularx \newenvironment{factlist}{% \newdimen\unbaseline \unbaseline=\dimexpr-\baselinestretch\baselineskip\relax ...
21
votes
4answers
10k views

How to align table headers differently than all other table cells?

I'm using fixed-width columns with my table, and using both longtable and booktabs packages (as well as tabularx because of \newcolumntype command). In my table, I'll have lots of number data in ...
8
votes
3answers
169 views

Oversized parentheses around tabular

I'm having the following problem. I'm using a tabular environment to create a phrase structure rule (linguistics stuff, don't care about it) and I need parentheses for those parts in the rule which ...
4
votes
1answer
132 views

Push table in a gb4e exe environment (almost?) to the margin

I use the package gb4e to number my (linguistic) examples in tabular format. In some of these tables, I add an extra letter counter to (some of) the rows. When there is a letter counter in the first ...
2
votes
3answers
29 views

How can I change a table column's size and its text justification at the same time in LaTeX?

I am a newbie in LaTeX but I know that this command {|>{\small} l | p{2.8cm} | p{2.93cm} | p{2.85 cm} | p{2.58 cm} | } will change first column justification to left and set the size for other ...
4
votes
3answers
97 views

Fit a long table on multiple pages

I have this table that it ok for the width but not for the height. How can I split into two different pages? I tried using longtable but I got so many errors. I put an example of a long table taken ...
2
votes
1answer
87 views

Highlight Row in LaTex [duplicate]

I would like to highlight first row in a table, starts with Date... Here is a screenshot of the table in question:
2
votes
1answer
111 views

Horizontal decision tree in TikZ

I've been looking for a TikZ example for a while now that looks something like the attached powerpoint picture. I can't imagine that nobody has done something similar. I tried adapting this example, ...
3
votes
4answers
109 views

Wrong bottom-alignment of rows of two independent tables, where the last row contains a nested table

I wanted to create a page, where I put some information in the left and some on the right side at the bottom of the page. The bottom lines of the minipages are supposed to be aligned as kind of an ...
5
votes
1answer
64 views

LabelMaker style alá TEX

I don't own a label maker machine but I've found some A4 paper which have a sticky side. Therefore they can be used as labels. I wrote the following code where the \newLabel command should make a ...
3
votes
2answers
64 views

top alignment of table in table

I have a small :) problem with latex. I wanted to put an enumeration into a tabular, but this didn't work. Than I worked on a workaround ending up with the following code. My Problem: The cells are ...
1
vote
1answer
51 views

Circle a number inside a table

Open to any and all suggestions / alternative layouts. Need to be able to cleanly circle a number inside of a table. Currently I have this (stolen from elsewhere) and it produces output as attached. ...
3
votes
2answers
53 views

horizontal alignment of two tables with variable vertical space

I would like to have 2 very simple tables like these: \begin{center} \begin{tabular}{rl} text:&text2\\ &text3\\ something:&other stuff \end{tabular} ...
6
votes
2answers
159 views

How to resize a table to fit the page's width (without changing font size)

How to resize a table to fit the page's width (without changing font size)? \documentclass[twocolumn,a4paper]{article} \usepackage{multirow} \begin{document} \begin{table}[h] ...
0
votes
1answer
37 views

Long table centres the table

I have a table like this \begin{tabularx}{\linewidth}{lX} Cap & The underlying is a an interest rate cap\\ Floor & The underlying is an interest rate floor\\ Swap & The ...
3
votes
4answers
71 views

How to draw straight lines to indicate repeat values in merged table cells?

Can you help me the following working: I'm looking to indicate that the value 2.00 is repetitive vertically through a straight line like in this sketch (the result should be a solid, continuous line, ...