{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
8k views

Using table number in the text

Latex takes care of the number of tables by itself. Like it will automatically number the table as Table 4 etc. I want to use this number in the text. For example, if I write "See Table 4" and later ...
0
votes
1answer
174 views

Why are some tables missing in the list of tables? [closed]

In the thesis I am writing, I have a few tables that I would like to see listed at the beginning. To do so, I use the command \listoftables However, only one table is listed and all the others are ...
7
votes
1answer
351 views

Is it possible to use an \hdashrule inside a \ctable as a \midrule?

I would like to know if there is a way to use an \hdashrule or \hdashline inside a \ctableas a \midrule? If possible, it will obey to the same rules as the \midrule command, like adjusting ...
2
votes
0answers
180 views

How to fit this table into Latex [closed]

The margin on the left is quite huge. I was wondering what was the optimal way of fitting this into one latex page. Anyway here is my code: \begin{table}[htbp]\centering ...
1
vote
1answer
140 views

Creation of Column

I am making a table of made up of two columns, but the problem is that in the last row I have multiple column with in a single row, I don't know how to do this. I applied \multicolumn but it did not ...
1
vote
0answers
29 views

Arrows inside a table, marking transition between table cells [duplicate]

Is it possible to have arrows showing transition between cells inside a table? I doubt I could do this just by using tables, so I was wondering if there was someway to get something like that working. ...
5
votes
1answer
8k views

Equations inside tabular environment, no vertical spacing

I have a problem with the spacing of my equations. According to this http://tex.stackexchange.com/a/50348/15360 booktabs one should rarely have to regulate the spacing. But the result of the code ...
7
votes
1answer
4k views

How to add a caption to a LyX table (with table numbering) using the menus?

I know nothing about TEX/LaTeX so I use LyX. I created a table using the LyX menu: Insert > Table..., changed the Rows and Columns values, hit the OK button, and here it is there. However, I can't ...
1
vote
2answers
214 views

How to make table creation in TeX easier?

In my work I need to describe several database tables (~20) - each table has six columns - field name, field type, key, null / not null setting, default value and description. Is there some way how ...
3
votes
1answer
1k views

newenvironment tabularx and begin center

I try to create a custom env, based on a tabular. I try to make a \begin{center} before my tabular to remove identation at the beginning of the tabular, but he tells me "File ended while scanning ...
5
votes
1answer
636 views

How to draw a graph along with probabilty tables using TikZ package

I need help to draw a Directed Acyclic Graph of Bayesian Network along with probability of each node using TikZ package. Here is an example: Table grid can be a full or partial as in above example. ...
2
votes
1answer
160 views

topfigrule only for figure but not for tables

My tables have the captions above and are set with booktabs's \bottomrule at the end. I would like to separate figure (having their caption below) from the text with a \topfigrule ...
2
votes
1answer
111 views

Vertical alignment in table environment and other issues

I'm having some difficulties with the table below. I don't understand why the text in the column 4 is not vertically centered. Also, the title of this column is not horizontally aligned with the ...
4
votes
1answer
390 views

Wrapping or adding line breaks in header cell of siunitx's S-type column

When using the siunitx package, is it possible to either "wrap" or insert line breaks in the header cell of an S-type column (see Section 4.6 of the documentation)? I have a relatively long table ...
1
vote
3answers
310 views

Table footnotes without footnote marks

In my table I would like to use footnotes for more detailed description. Therefore I'm currently using \parnotes. Unfortunately \parnotes also creates footnote marks which I don't want to have. ...
1
vote
1answer
170 views

why there is space in the borders of the table?

I used the following code to draw the table, however, there is blank space in the border. the lines are not connected. May someone help me? \usepackage{tikz} \usetikzlibrary{ shapes.geometric, ...
1
vote
1answer
204 views

classic table footnote with a twist

\documentclass{article} \usepackage{hyperref} \usepackage{tabularx} \usepackage{footnote} \makesavenoteenv{table} \begin{document} \begin{table}[htbp] \begin{tabularx}{\textwidth}{XX} \hline ...
5
votes
1answer
183 views

Problem with \rowcolor and monochrome option

I have a document that I wish to distribute both in color and monochrome. It contains tables and makes use of colored rows. Problem is, when I use the monochrome option for the xcolor package the ...
1
vote
0answers
41 views

why are table lines are not black? [duplicate]

my problem is that the lines of my tables (not all but most of them) are not really black but gray. Furthermore, the gray lines are also thinker than the other, which makes my tables look really bad. ...
4
votes
1answer
136 views

How to achieve enumerated list or perhaps table of this form?

I'm trying to replicate a list in some mathematics that I'm looking at and am struggling to figure out how to do it. So far I've tried using a table and it's not looking great. Below is a link ...
4
votes
2answers
4k views

Removing an “Overfull \vbox” message caused by a nested table

I am trying to typeset a nested table, like this: \documentclass{article} \usepackage{bigstrut} \usepackage{multirow} \begin{document} \begin{tabular}{|lll|} \hline A & \multirow{2}{*}{ ...
11
votes
2answers
930 views

tabular numbers in tables, proportional in text

I'm using LuaTeX with a font that has proportional, lining and tabular numbers available. Is it possible to set things up so tables automatically use tabular numbers - but proportional numbers are ...
4
votes
1answer
2k views

Using tabularx in a custom environment - “misplaced \noalign”

Question Currently, I'm trying to shorten the creation of small tabularx-tables with pre-defined headers, but somehow, trying to use the tabularx-environment, even though I used the \tabularx and ...
6
votes
2answers
190 views

Complex parsing of arguments in new environments

I am trying to build an invoice generation system in LaTeX which will be easy and maintainable. Right now we are using longtable and a preprocessing layer. I would like to change this to a .sty and ...
7
votes
3answers
259 views

How to recreate the following table in LaTeX similarly?

The following is the original table and I have the following code \begin{table} \caption{February} \begin{center} \begin{tabular}{c|c|c|c|c|c|c} \hline M & T & W & Th & F & S ...
2
votes
1answer
887 views

Transparent table captions when using onslide with overprint and setbeamercovered{invisible}

The following works correctly in that the right table is shown at the right time, and all alignment works as expected. The only issue is that while the table body is shown as normal, the table ...
5
votes
2answers
148 views

How to delete borders (rules) in a table defined with the cals package?

I recently discovered the less known cals package for defining tables HTML-style. Here is all documentation I found: http://www.ctan.org/tex-archive/macros/latex/contrib/cals (demo & doc) ...
10
votes
4answers
7k views

Set multicolumn width to default table width

I have a two column table with a single multicolumn spanning both of them. The text on that multicolumn is rather long so I need to set its width so it wraps around. I can set the width with ...
3
votes
2answers
76 views

Center a full selected row in a table

I know I can use \multicolumn{}{}{} to center a single cell within a table with non-centered cells, but what is the best way to center all the cells in a given row? \documentclass{article} ...
2
votes
2answers
232 views

How to eliminate certain vertical lines in tables

I'd appreciate if somebody could help me with this. I'd like to eliminate the vertical lines of the 8th row. I haven't been able to get it. \begin{table} \footnotesize \begin{tabular}{| ...
6
votes
2answers
422 views

How to use variables inside a command when generating a table?

I'm not sure about the question, since I do not really understand why it fails. I tend to use commands to generate my tables, and when I use the #1 style of accessing the arguments it works. But now ...
3
votes
1answer
364 views

Table with small circles on each intersection/corner

I'm a LyX user and have a small question - How do I incorporate to my a document a table consists only of the numbers {0,1}, with borders between the cells, and with small colored circles on the ...
4
votes
1answer
232 views

Matrix ball construction table

I want to draw a table similar to this \begin{tabular}{ c | c | c} $\bigcirc$ & & \\ \hline & $\bigcirc$ & \\ \hline & & $\bigcirc$ \\ \end{tabular} for the ...
2
votes
2answers
321 views

How to align rotated table texts?

I turned the captions of my table by 90 degrees. Unfortunately, the headings do not fit to the table contents. Screenshot: Can this be changed? I already tried parbox but that did not work. Here ...
3
votes
2answers
93 views

Having a table and a picture on top of the title

I am trying to put a logo and also a table before a document title. When I add a title, it adds to number of pages and starts the actual document from the next page. I was wondering if there is a way ...
2
votes
0answers
378 views

Supertabular across pages [closed]

I am using the supertabularenvironment to split tables over pages. Does anybody know, how I can give LaTeX a hint, where to break the table and turn to the next page? There are some rows, which should ...
3
votes
1answer
429 views

Definition/explantion of tabular column types

In a question I recently asked (How to make table with rotated table headers in LaTeX) the accepted answer used some features of tabular column types that I was not familiar with, e.g., ...
0
votes
1answer
366 views

Merging rows with tabularx

This seems to be quite a common question with ordinary tabular environments, but I have not been able to find an answer for this problem, or any like it, using the tabularx environment. My code is as ...
1
vote
0answers
80 views

excel2latex table too many }s, wrong endgroups, and too many endgroups [closed]

I am having issues inputting a table generated by excel2latex into my primary document. I have called up packages bookends. And here is the code copied directly from excel2latex (in excel 2010 on a ...
3
votes
1answer
2k views

Auto resize tabular row height

After running following code \documentclass[10pt]{article} \usepackage{multirow} \begin{document} \begin{tabular}{|l|l|l|} \hline \multicolumn{3}{|c|}{Schedulers} \\ \hline \multirow{3}{3cm}{Row 1. ...
3
votes
2answers
440 views

line break in tabular

I try to set a line break within a tabular environment where the column is not definded with p{$width}. I've tried the following without the expected result \documentclass{article} \begin{document} ...
2
votes
2answers
1k views

Multiline listing within multicolumn row

I have a problem putting a listing (using lstlisting package) within a table. The problem is that I want to put a multiline listing in a row taking 2 columns. The following minimal example shows ...
0
votes
1answer
212 views

How to wrap text in table with delimiter?

I have one long text in a column of table. I want to wrap this it into a cell by using delimiter "/". How can I do it in longtable? ABCDEFGHIJ/DATSET Format: ABCDEFGHIJ DATSET
6
votes
2answers
4k views

Importing LaTeX table code into LyX

I create tables in a spreadsheet program, convert them to LaTeX code and then use an ERT to import into my LyX document. When I paste the LaTeX code the entire thing turns out very ugly looking. The ...
2
votes
2answers
218 views

Table alignment

I'm not an expert with the tabular environment...I have some problems: I got an error "Extra alignment tab has been changed to \cr." I would like to have the professor name completely to the ...
7
votes
1answer
526 views

General question on floating and non-floating objects in LaTeX

I am wondering when you place a non-floating object such as a minipage into a floating environment such as a table or figure if this construction as a whole is then a floating or a non-floating ...
8
votes
1answer
393 views

Nice-looking tables with thick rules

I want to make a table with rules that are thicker than the default. It's pretty straightforward to do, however the result looks bad: the lines have gaps in them (see image below). There must be a ...
8
votes
2answers
908 views

Patch tabular environment with colorbox

I'm trying to quickly add a colored background using colorbox to all tables as shown in this answer. While I could just update all the TeX by hand, I am trying to patch the tabular environment to ...
6
votes
3answers
4k views

Create LaTeX tables from plain numerical data?

I have a bunch of MATLAB results like this 0 -2.000000000000000 2.000000000000000 1.000000000000000 -1.926829268292683 3.707317073170731 2.000000000000000 ...
31
votes
3answers
21k 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 ...