{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
256 views

esttab output in Spanish (observations) using threeparttable and estwide or estauto

I am using the eststo and esttab commands to output regression results in .tex documents. I then use threeparttable (package threeparttablex) and \estwide to create and format the table in my LyX ...
8
votes
1answer
1k views

tikz and tables: node increases row height

I'm trying to add arrows to a table in my beamer presentation using the package tikz. Because I don't want the table to look different from the other tables in the presentation, I didn't use \matrix ...
0
votes
1answer
804 views

LaTeX table is cut off, with extra page of output that is blank. How to fix?

I am trying to make a table, but when I make the PDF, the top and bottom of the table are cut off. I am also getting a blank page of output in the beginning, but I can deal with that. I have tried ...
1
vote
2answers
183 views

Tables together

I want to put the following table together with a other similar table in two columns \begin{table}[h] \centering {\fontfamily{ptm}\selectfont{ \rowcolors{1}{}{gray!20} \begin{tabular}{cc} ...
5
votes
2answers
4k views

Colored tables and cline/hhline

How to write \clines (or \hhline) in colored tables so that the color of the cell does not hide the line? Here are two solutions but neither of them works fine. \documentclass[a4paper,11pt]{article} ...
5
votes
2answers
209 views

Table alignment

Consider the following example: Code \documentclass{article} \usepackage{siunitx} \usepackage{booktabs,dcolumn,array} \begin{document} \begin{table} \centering \begin{tabular}{l !{\quad} c c ...
3
votes
2answers
729 views

Modifying the latex code from tabular() in r so that output is not cut off and is displayed properly?

I am using the r function tabular() to produce tables that I can turn into pdfs. The output looks fine, except for some of the tables I am producing. When I compile the pdfs, the table is cutoff on ...
7
votes
1answer
2k views

How to 'shorten' \cline so that multiple groups in a table become visible?

I would like to construct a table which looks like a booktabs table (but without using the package booktabs). Instead of \cmidrule, I used \cline, which comes pretty close (see below), but the lines ...
0
votes
1answer
215 views

Table cutting off fractions [duplicate]

I am having some problems with my table cutting the tops and bottoms off of my fractions. See image. The horizontal padding seems fine as is, but I couldn't figure out how to increase the vertical ...
3
votes
1answer
229 views

Table width and height woes for multipage landscape table

I'm writing up my thesis and trying to convert a table to LaTeX (http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3523805/table/T1/). It's rather large so I'm using the lscape and the longtable library. ...
6
votes
1answer
316 views

ctable and siunitx: Last column does not center correctly (possible incompatibility?)

I would like to use ctable in my thesis for tables and graphics and I also would like to use siunitx for formatting numbers and aligning numbers on the decimal marker in tables. Everything seemed to ...
5
votes
1answer
106 views

Removing boxes in a ytableau

I am attempting to draw a ytableau where I remove the boxes around the outermost part of the table. Basically, what I would like to do is remove the boxes around all of the numbers in the example ...
3
votes
1answer
569 views

Remove indent from table environment, and center-set the resulting table

How can I center my table if I'd like it to be ´1.5\textwidth´? \documentclass{amsart} \usepackage{graphicx} \usepackage{booktabs} \usepackage{ctable} \usepackage{tabularx} \usepackage{rotating} ...
3
votes
2answers
6k views

Creating tables with borders in IEEE conference two column format

I'm new to LaTex. I'm trying to find some sample code that shows how to create a single column table with borders (and if possible a grey header row) in a two column paper.
6
votes
1answer
3k views

wide table in a two-column document

I have a two-column LyX document. I want to add a table that will be as wide as the entire page, so that it will not have to be squeezed into a single column. I found some suggestions: table too wide ...
3
votes
1answer
247 views

Is there a way to create a staggered table in latex?

I need to make a staggered table, essentially the first row of the table would have 1 cell, the second row would have 2 cells, the third row 3 cells and so on. Is there a way to do this with the ...
3
votes
2answers
126 views

Table contents are not centring properly

I'm trying to make a table however the contents of certain columns aren't centred correctly. I'm using the following in my preamble... \documentclass[11pt,a4paper,twoside, twocolumn]{article} ...
2
votes
1answer
6k 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
158 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
342 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
178 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
28 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 ...
6
votes
1answer
3k 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
210 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 ...
2
votes
1answer
961 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
602 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
152 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
350 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
280 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
167 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
200 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
168 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
132 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
3k 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
845 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
188 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
252 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
848 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
146 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
72 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
228 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
386 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
343 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
223 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 ...