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

Tabular Horizontal Line Stops

I am using Tabular to make a simple table. For three columns, my table displayed fine. When I added a fourth column, the horizontal lines stopped reaching all the way across my table. I also have a ...
1
vote
0answers
29 views

Rownumbers on multi-page tables

Im trying to have automatic rownumbers on a multi-page table reset on a page-break. So far I got this, but I dont know, why the counter does not reset: \documentclass{article} ...
1
vote
0answers
21 views

Table from a defined layout / template for input

I'm doing a project where I need to copy a table several times throughout a document. The basic structure for the table is the same, however, some of the input needs to change. I was wondering if it ...
3
votes
1answer
69 views

Tables: - missing counter(number)

I generated table using this website. When I compile the pdf I get table without any sort of description. I don't need to have caption. How can I achieve that? I don't know how to google it...I found ...
48
votes
2answers
59k views

Changing the font size in a table

What's the recommend way of changing the font size in a particular table? Is there a better way than enclosing all values with, for example, the \tiny function.
2
votes
1answer
46 views

problems with table

I dont know how to make my tabel fit my document, can anyone help me? - Here is my code: \begin{table}[h] \begin{tabular}{@{}|l|l|l|l|@{}} \toprule \textbf{Kategori} ...
2
votes
1answer
59 views

Problems with table layout

I have some issues when creating my OLS regression in LaTeX and I really hope, that some of you could help me. I have three questions: 1) How to make "Growth 91-92" and "Growth92-93" with a space, so ...
2
votes
2answers
30 views

Numbering tables sequentially [duplicate]

I would like to number my table so that I have, e.g. Theorem 1.3 Table 1.4 Lemma 1.5 How can I achieve this result? I am also using cleveref, so ideally \cref{ThatTable} would produce a linked ...
1
vote
1answer
30 views

Reflect / flip / rotate a table or array without rotating the elements

I have been working on an array environment, but I have realized that it would take up less space if it was reflected across the diagonal (I suppose this is not quite the same as flipped or rotated, ...
3
votes
1answer
46 views

Spacing around itemize in tabular

I'm working off of a resume template from writelatex.com. I'd like to use bullet points in my descriptions, rather than flowing text. However, it adds a bit to the separating line, as seen in item 1. ...
4
votes
3answers
46 views

Many tables on one page

I have 8 table in the document. I want to show them on one page. I am using 2 column ACM format. However, right now they are automatically placed as 3 (left column) and 5 (right column). How can I do ...
0
votes
0answers
17 views

Fix Tables in relation to subappendix

I am putting together a thesis file and I would like to have appendices for each chapter. Now, before the appendix, I have a bunch of figures and tables. I would like to fix the tables such that the ...
0
votes
0answers
27 views

“Vertical array” inside multicols? Translation problem

I am using a 2-column {multicols}{2} environment for a translation of a text. On the left column is language A and on the right column is language B. Now my text has some rules which are indented ...
1
vote
2answers
47 views

beamer overlays and table rules

I am trying to use \only{...} within a table to selectively add blocks of lines. This works as long as I don't have a \midrule or \bottomrule included or following the part contained in \only{...}. ...
3
votes
1answer
62 views

RTL and LTR columns in ONE table?

Is it possible to set some columns in one table as RTL while other are LTR? I want to do something like this: % !TEX encoding = UTF-8 Unicode % !TEX TS-program = xelatex ...
0
votes
1answer
51 views

Grouping numbers in a table without using S-column

This is bit different than my previous question. I have a huge tables with 7 to 8 digits. I need to make a small space between groups of three digits in the numbers. I have used the package ...
3
votes
2answers
42 views

Missing $ inserted error using smaller than and smaller equal

I have a compilation error trying to use the math symbols <= <, etc. the error looks like this: ./chapters/intro.tex:49: Missing $ inserted. [Delta & \delta], ./chapters/intro.tex:49: ...
2
votes
1answer
70 views

Tabular* environment in harvard-thesis template

I have one issue with tables in harvard-thesis template version 0.4. I cannot set column width with column types such as p, m, b or even custom column types. If I set width to any of the columns, the ...
1
vote
1answer
1k views

tabular tabularx automatic linebreak (p/m/b doesn't work as expected)

The following snipped should break at the end of the column \begin{table}[hb] \begin{tabular}{|l|p{.5\textwidth}|} \hline \bfseries Col 1 & \bfseries Col 2\\\hline \hline Line ...
3
votes
1answer
323 views

Stretched columns when trying to color individual cells

I'm trying to make a time plan for a project using tables in LaTeX but I've run into a small problem. The table below will look fine until I try to colour individual cells by adding ...
1
vote
1answer
70 views

Second Column too wide!

Hello Smart People of Latex Planet; I have this following table: \documentclass[draft,phd,inlinechaptertoc]{psuthesis} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} ...
3
votes
2answers
74 views

Subscripts with tables

I have a magic square with cards as entries, and I am trying to consider all magic squares of order 3 (there are 8). My goal is to denote each square with a subscript M_1, ... , M_8. Right now I have ...
2
votes
1answer
97 views

Insert table in arabic document

How to insert table in arabic document (using arabtex package)? The table also contains arabic text. I tried to use tabular in arabtex environment, but it didn't work.
2
votes
2answers
65 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
227 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
73 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, ...
2
votes
2answers
39 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
41 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
46 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
37 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
41 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
91 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
33 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
43 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
24 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
96 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
60 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
58 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 ...