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

6
votes
1answer
337 views

longtable: extra table structure after last entry

My long table extends one more column after the last row and is not smooth. What am I missing? \usepackage{longtable} \begin{longtable}{|l|l|} \caption{sample table with extra lines} \\ \hline ...
6
votes
2answers
976 views

Centering tables in document class apa6

I'm using the apa6 class in doc mode for my thesis. Now, when I create a table and try to center it on a page, the table is centered alright. The caption, however, still floats on the left of the ...
6
votes
1answer
619 views

Pgffor and the alignment character (&)

I need to construct a table that looks like: \begin{tabular}{ccc} a(1,1) & a(1,2) & a(1,3)\\ % <--- a(2,1) & a(2,2) & a(2,3)\\ % <--- I need this a(3,1) & a(3,2) & ...
6
votes
1answer
444 views

How to make nested table span all underlying cells

How can I make a nested multicolumn table span all its underlying columns such that 1 2 3 do not look squashed together but are rather distributed equally over the 2 cells? \begin{tabular}{ c c } ...
6
votes
1answer
912 views

How do I create the headings for this multirow multicolum table?

I wish to create a table that looks like the following: +-------++--------------------------++--------------------------+ | || Category A || Category B | | Title ...
6
votes
0answers
226 views

Is there a “widetable” counterpart to “longtable”? [duplicate]

Possible Duplicate: Table and multi-page I have some tables with 25 columns that don't fit on the page, even after rotating with sidewaystable. I know about longtable but what I would need ...
6
votes
3answers
633 views

etoolbox conditional causes unwanted empty row in tabular

This code leaves an empty row at the bottom: \documentclass{article} \usepackage{etoolbox} \def\somedef{foo} \begin{document} \begin{tabular}{|l|} \hline First row, not important \\ \hline ...
5
votes
1answer
50 views

hyperref link jumps beneath table's top caption when floatrow is included

I use the following packages related to captioning, tables and hyperlinks: \usepackage{hyperref,caption} \usepackage[style=Plaintop]{floatrow} \usepackage[referable]{threeparttablex} I have a table ...
5
votes
1answer
98 views

centering column headers in siunitx table column

In this table with some big numbers the column headers centered over the decimal point look odd to me. And, too, the columns seem a little too wide. I've puttered a bit with other answers here and ...
5
votes
1answer
51 views

Using lengthconvert with siunitx S column

I need to align numbers in a table. The numbers are generated from the \Convert command from the lengthconvert package. I want to use an S column from the siunitx package to align the numbers, but ...
5
votes
2answers
179 views

Problem with subcaptions in subtables

I am trying to implement a table with several subtables, but working with subcaption does not work neither when I try tabularx. This subtables have different number of columns. with the following code ...
5
votes
2answers
208 views

Table with multiple rows and columns

I just want to create a table with multiple rows and columns, here is a very suitable solution:Table rowspan and colspan, but can anyone help me to get a variable column width rather than the equal ...
5
votes
2answers
216 views

alignment of numbers in exponential format in a table with complicated header rows

I have a table that contains a lot of numbers. I have been defining new column types to allow me to specify column widths and allow \newline within a cell. Some of my columns of numbers are in ...
5
votes
2answers
261 views

Isometric Tables in LaTeX

Can someone please help me with a simple LaTeX code to draw something like the attached picture?
5
votes
1answer
100 views

Tables: vertical alignment of cell

I have a tabu-table and my default row-style is and has to be p. But I want the head-row (Column 1 and Column 2 in the MWE) to be vertically centered. How can I achieve that? MWE: ...
5
votes
2answers
2k views

Missing \endgroup inserted error in a table

I am getting 'Missing \endgroup inserted morekeywords={class,run}]' on line 16 while running the tex. I am using TexStudio. How can I solve that problem? \documentclass{article} ...
5
votes
2answers
244 views

Anchoring Table (Tabularx) from the Bottom of Table

Can you anchor a table at the bottom, inline with text? I have another question posted which I seemed to have solved myself - List Numbering Through Multiple Tables - but I have since found my way ...
5
votes
1answer
157 views

Add table titles from captions in scrreprt class

I am badly looking for a way to give all my tables the same title in the document, that is used in the list of tables via caption[title]{long description...}. The reason is that my tables originate ...
5
votes
2answers
105 views

Adjust table record in center

i have this latex table \begin{table}[H] \centering \footnotesize \begin{tabular}{p{3.5cm}p{3.5cm}p{3.5cm}} \hline Metric& cca vs. cca1 &cca vs. King James Bible\\[0.1cm] ...
5
votes
1answer
144 views

Possible to wrap multiple rows within a column at one time?

I am producing a document that has "interlinear" qualities. As such, it would be much simpler if I could wrap multiple lines of text at one time. Here is an example of what I want: Let's take these ...
5
votes
1answer
278 views

Splitting figures/tables into separate files

I'm preparing an article for submission in a journal and it requires that the PDF of the text be uploaded without figures and tables and each figure and table should be it's own PDF file complete with ...
5
votes
1answer
406 views

How to adjust the width of a wrap text sideways column header in tabular [duplicate]

I am trying to create table as below, in Texmaker. here i am facing following issues. To wrap text the column headers from 4 to 6 and align it center. Hspace on paragraph [row 3 last column] is ...
5
votes
1answer
282 views

Create Table for a Family of Curves

Following the issue Color Management with a Family of Curves I couldn't find a proper way of creating the associated table for a family of curves. I tried to create new columns with respect to the ...
5
votes
2answers
339 views

Creating Thin Tables in LaTeX

Suppose I have the following table: \begin{table}[!p] \fontsize{6}{6}\selectfont \caption{First 200 terms of Hofstadter's $Q(n)$}\label{tab11} \center{ \begin{tabular}{l r r r r r l r r r r r} ...
5
votes
2answers
208 views

Is the longtable enviroment limited? I have a several pages long table

I am writing a long table with several complex things inside. When I realized I needed a multiple page table I tried to change table to longtable, but it just gives me a lot of errors. How can I ...
5
votes
1answer
100 views

What is the right way to set predetermined column widths with tabularx?

I was just wondering about this, because I went over the tabularx documentation and I couldn't find an answer. So, there are several questions going on here: Is it better to use a proportion of the ...
5
votes
4answers
896 views

Big curly brackets and rotated text around table

I have a rather cramped looking table here showing the chance of a nurse touching a surface type given (s)he is doing a certain type of care. I would like to make a large curly bracket to the left of ...
5
votes
2answers
3k 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
1answer
753 views

White space between columns using \rowcolor{somecolor}

I have been using \rowcolor{color} command and I have noticed that there is always some white space between one cell and the next one in the row. Here is my code: ...
5
votes
2answers
942 views

Tabular integration by parts

All I am trying to do is write an integration by parts table in LaTeX. I can't seem to find an .tex code examples anywhere though I have seen pictures of such tables in PDF form (like at ...
5
votes
2answers
194 views

Odd results using FP package inside table environment

I'm trying to create a number of running totals using the FP package. I define a macro for adding numbers to a running total and then I define a macro to output the final value. The problem I'm ...
5
votes
1answer
468 views

footnote, hyperref, tabular

I have many tables with footnotes inside and I need hyperref in my document. Now, the problem is that footnote in my tables does not point to the notes at the end of the page. It points to the first ...
5
votes
4answers
2k views

Center column headings in tabular: multicolumn not respected

I would like to center column headings (and column headings only) in the following table. Why does it work with the first column, but not the second (I thought \multicolumn is the correct approach to ...
5
votes
1answer
521 views

How to represent tic tac toe table in Latex?

Hi all I need numbers from 1.... 8 as below in a table. 0 1 2 3 4 5 6 7 8
5
votes
1answer
444 views

Table with shaded transitition, rounded corners and shadow (like a block of the theme)

this is my first question here. I want to make my table look like the block to have a consequent style. Questions: How to create that shaded transition from the table headline to the body (like the ...
5
votes
1answer
333 views

formatting natural table header with conTeXt

I am struggling with my table formatting a bit and hope there is someone around here that can give me some help. This is the table I have at the moment. \bTABLE \startTABLEhead \bTR \bTD ...
5
votes
1answer
517 views

Centering a Table

I have a tabular environment nested within a table environment which I'd like to place horizontally centered. What's the best way to achieve this? If the right thing to do is use the \centering ...
5
votes
3answers
384 views

Make different font sizes in a table align at top, not bottom

I have a situation similar as to this MWE: \documentclass{article} \usepackage{tabularx} \begin{document} \begin{table} \begin{tiny} \begin{tabularx}{\textwidth}{|>{\normalsize}X|X|X|} \hline Foo ...
5
votes
3answers
2k views

Table exceeds page

I'm new to tex and got a problem with a table that exceeds the page, because the content is too wide. I'd expect the table to wrap the text into a new line / new lines, if the text is too long for the ...
5
votes
1answer
287 views

Table counter increasing by 2 for every table

I'm having some issues when using tabularx within a table environment. The most annoying of these issues is that the table counter seems to be increasing by 2 for every table. So instead of having ...
5
votes
3answers
4k views

tabular* with rubber spacing and \cline

I'm using a tabular* with rubber spacing to fill the complete width of the page. This works fine, except that when I use \cline, the line is not complete. It seems that \cline does not cover the ...
4
votes
2answers
108 views

Creating a formatted table from a list of words

I am working on putting together a grammar book which has a lot of bilingual examples, and simultaneously trying to learn the memoir class. The book will have many tables which look like the ...
4
votes
1answer
132 views

tabu package - gaps in vertical lines

I'm in the unfortunate situation that I have to make a table in LaTeX which has thick vertical lines. Since this does not seem to be possible with the default tabular environment, I chose the tabu ...
4
votes
2answers
245 views

Newline linespacing problems within a table cell

I have problems with the linespace inside a longtable environment when forcing a linebreak. Following code should illustrate the problem. ...
4
votes
1answer
200 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 ...
4
votes
2answers
155 views

Division with remainders displayed on side

I am trying to make a nice looking division process where the remainders are displayed on the side at each step. I want to produce exactly this (but, of course, be able to extend it to longer ...
4
votes
1answer
72 views

Braces for cases in tabular environment

I would like to create an aesthetic table with some cases within the table. I would like to denote the cases with braces from the left, as usual, like in the picture below (taken from ...
4
votes
4answers
488 views

centering tables

I am trying to create my CV, using tables. I want them in the center of the page, but they continue to position a little bit to the left. I am using the command \centering before the environment ...
4
votes
2answers
138 views

Are tabls and tabularx not compatible?

The following MWE does not compile: \documentclass{article} \usepackage{tabularx,tabls} \begin{document} \begin{tabular}{ccc>{arraybackslash}c} 1&2&3&4\\ 1&2&3&4\\ ...
4
votes
4answers
245 views

Expand a macro with parameters in tabular head

My eventual goal is to create my own tabular-like environment in which all entries are in math-mode by default, let's call it fancytable. (One requirement is that the first column be separated from ...