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

How to *disable* Lua's Microtype for a given tabular column?

I'm looking for a way to disable Lua's Microtype (note the capital M - to distinguish from the lower case microtype package) in the first tabular column of the MWE given below: ...
2
votes
2answers
7k views

Indentation after '\tabular' environments

I was filling some tables for my progress report and noticed something were odd. The following text/tables are indented. MWE: \documentclass[12pt, oneside]{book} \usepackage[ngerman]{babel} ...
2
votes
4answers
254 views

Problem with custom vertical-alignment and/or length of lines/rules in tabular environment

As a follow-up to my previous question: In my table / tabular, \cline{1-1} gives me the correct vertical position but not the right horizontal length . In contrast, \rule{\mycustomlength}{0.4pt} ...
2
votes
1answer
237 views

How to alternately shade rows in a table [duplicate]

I'm having trouble finding anything that will work with this checklist table that I have set up. I was hoping someone might have some suggestions. \usepackage{colortbl} \begin{center} ...
2
votes
1answer
446 views

Underline multicolumns in tikz matrix

In a TikZ matrix, how can I underline multicolumns automatically as follows (esp. when height of one header cell is larger than others): MWE from this question: \documentclass{standalone} ...
2
votes
1answer
2k views

Placement of tablenotes in longtable with threeparttablex

How can I prevent a pagebreak of the tablenotes within ThreePartTable (threeparttablex) in the following MWE (btw it's a landscape table)? \enlargethispage seems to have no effect. ...
2
votes
1answer
284 views

table inside a main table

I want to have a table which contains many tables. I want its caption also. MTab1 and 2 are single col and row matrix. length of Mtab1 and 2 should be equal to T1 and T2.It means Row of MTab1 = 7 ...
2
votes
1answer
5k views

Multicolumn misplaced \omit problem

Okay, I know there are a few questions already about this but I looked at them and tried to get it to work but couldn't, I'm kinda new at this so I dont really have a clue what I'm doing. Anyway ...
2
votes
1answer
375 views

Automatically change the text width for all table environments using memoir

I'd like to redefine the table environment in a document I'm writing so that the tables and captions are wider than the text block. I'm using the memoir class, and an example given in the manual is ...
2
votes
1answer
3k views

table doesn't work with baposter

I am making a poster with baposter. When I want to make a talbe (put in \headerbox{}), I got error message: ! LaTeX Error: Not in outer par mode. See the LaTeX manual or LaTeX Companion for ...
2
votes
1answer
1k views

Importing CSV table - Error [closed]

I am new to LaTeX and am compiling a document right now using TeXworks. I am trying to create CSV tables into my document right now, and although I succeed in between I must have some small bug in the ...
2
votes
2answers
4k views

Bold \hlines for longtable

I've searched the topic and found the following two answers. Answer 1. LaTeX tables: How do I make bold horizontal lines (typically \hline)? The best answer suggests to use booktabs. However ...
2
votes
1answer
391 views

looping in tabular

I am curious to know why the following failed. A similar thread is on comp.text.tex unanswered. Of course, other manipulations of \whileexpr work, but why does this fail? \documentclass{article} ...
2
votes
3answers
869 views

How to get rid of these excessive rules?

\documentclass{article}%cannot be minimal \usepackage{longtable} \usepackage{ifthen, xspace} \newcounter{xyz} \setcounter{xyz}{1} \def\and{&\xspace} \begin{document} ...
1
vote
1answer
55 views

How can I handle table record with many parameters without CSV?

I have the following situation: I get a record like this \row{day,dayShort,date}{come,go,break,breakGo}{hours,days}{project} from an external program. This program commits 30 or 40 records and I ...
1
vote
0answers
52 views

To eliminate sparse-columns in Logical Tables? [closed]

Pseudocode \begin{verbatim} % verbatim is secondary to this problem; choose whatever suits you best! \begin{minimalSparse}[space=0.5] ...
1
vote
1answer
67 views

How to get alignment finally “right” with tabularx and an image?

Two things I'm struggling with in the following MWE: "looooooooooonger text" doesn't fit: don't want the middle and right column to be equally spaced: the maple may move over a little to the right ...
1
vote
1answer
208 views

How to create a large table with Pgfplots and string entries?

I tried to hack this here for a larger case but it is firing errors. What is causing the too many columns error and is Pgfplots ideal for this kind of table generation? Goal: table that I am trying ...
1
vote
2answers
1k views

How to use \hlines and | column separators in a csv table uploaded with datatool

Hi I've been trying to use the datatool package to get data from csv files easily into documents as formatted tables. I seem to keep getting the lines on the first column shifted down by a row. If I ...
1
vote
1answer
148 views

Can images and tables be always placed immediately after the paragraph they are first mentioned, even if white-space needed to move to another page?

I would like to ensure that when I mention a table/figure in the text, the figure/table will appear after that paragraph ends. Even if this means leaving the rest of the page blank and putting the ...
1
vote
3answers
2k views

Center-align text in columns in tabular environment in multicol environment

I need the text in the second two columns to be center-aligned. I also need someone to please help me clean up this table. It looks ugly. Notice it is inside a multicolumn (2-column) environment, ...
0
votes
1answer
137 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, ...
0
votes
1answer
167 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 ...
0
votes
1answer
204 views

How to fit a table of figures with various sizes into a page

I'm trying to fit four figures with various sizes into a table on one page. I started with the following code, but couldn't figure out how to get it work. How can I achieve that? begin{figure} ...
0
votes
1answer
1k views

How to mark/round an element of a table/tabular?

I´m creating a table for simplex, and I want to create a circle around a number in a table. How can I make this in LaTeX? I use PSTricks, but I prefer don´t create an image and a table/tabular ...
0
votes
0answers
66 views

Multiple 'List of Tables' entry for single threeparttablex type table that spans multiple pages [duplicate]

Possible Duplicate: How to use a longtable with only one entry in the list of tables I have a single table that spans three pages using threeparttablex/longtable. The table: ...
16
votes
3answers
4k views

How to wrap text in table cell?

this code: %%%%%%%%%%%%%%%%%%Table: Valence x valence crosstab \begin{table*}[t] \centering \begin{tabular}{c c c c c c c} \toprule \midrule ...
13
votes
2answers
268 views

Writing descriptions of columns of table

How do you do table like this? I don't need coloured background and blue borders. This is what I have. Looks terrible. And doesn't even fit on page. \documentclass{article} \usepackage{polski} ...
11
votes
2answers
216 views

Is there such thing as “p{height}”

I am making a table right now and it's really annoying that items in my cell are getting crunched \begin{center} \begin{tabular}{|c| c | c|} Critical Points $P_0$ & $f(P_0)$ & Conclusion \\ ...
10
votes
1answer
1k views

Alpha channel in colortbl

I'm using the colortbl package to color table cells. I've combined this w/ the xcolor package to define my own colors. However, it appears that xcolor does not support transparency. I saw the ...
10
votes
1answer
4k views

How can I prevent hyphenation in a table column?

I have a table (tabular) with some fixed width columns, and I'd like to prevent a hyphen being inserted (preferring a line break to be inserted prematurely). The sample table's content is below. ...
9
votes
3answers
217 views

Code review: Tables on a page

In a document I am working on, I am trying to group four tables on a single page. However, it seems I still have not one, but multiple issues with my understanding of how tables work... I tried to ...
9
votes
2answers
3k views

Difference between tabular and array environment

What is the difference between a tabular and an array environment? When should be used the former and when the latter?
9
votes
4answers
359 views

Center table by end of cell

I want to be able to center my table, but align the center by the end of the first cell. Currently just using the \begin{center} command i am able to center the table but i would rather the table be ...
9
votes
1answer
2k views

How to nicely format a table including measurement errors

I have a table which contains measurement results. Currently I have one column per measurement 'type'. In each column, I have values like $+$0.74\,\,$\pm$\,\,0.14. The table is rather long (~30 rows), ...
9
votes
1answer
757 views

Lost float in exam class

For some reason, I can't seem to put a figure or a table environment inside a solution environment while using the exam class. It produces a float is lost error. Has anyone found a way to bypass this ...
9
votes
4answers
2k views

Caption and footnote width with ctable

I am using ctable and I have a table with footnotes. Since the table is narrow, the caption text is squeezed in the table width, which looks odd. I can use mincapwidth to specify a minimum width for ...
9
votes
2answers
16k views

How to write vertically in a cell

I know that with \begin{sideways} ... \end{sideways} I can write a text vertically, but it rotates the text by +90 degrees. What should I do to rotate it by -90 degrees?
8
votes
2answers
762 views

Tabular paragraph vertical alignment

How to make this kind of tabbed paragraph: 3 columns 2cm 10cm 2cm, the last column is right aligned and it's content starts on the last line of the paragraph of the second column. 10. Some text ...
8
votes
1answer
614 views

bracket covering only a part of a matrix

How can I write a matrix, with brackets that cover only rows/columns in a certain range, but still has the right indentation? What I would like: My current solution: \[ \overset{ ...
8
votes
1answer
1k views

How to wrap text around a landscape table over multiple pages? \sidewaystable or \landscape + \longtable

I am trying to create a landscape table that breaks over multiple pages. I have successfully done this with the following: \begin{landscape} \begin{longtabu} to \textwidth{some columns} \caption[my ...
8
votes
1answer
846 views

siunitx number too big when trying to round

Using the siunitx package \usepackage{siunitx} I am trying to put numbers with plenty of decimal digits in a table while rounding them to 3 digits after the decimal point. There is a compilation ...
8
votes
2answers
1k views

Four Language Parallel Column Book

I am trying to format a four column parallel text in four different languages to display on two pages with two columns per page. I have tried using ledpar and parallels but I cannot get it to work. ...
8
votes
2answers
9k views

How do you make a paragraph indent within a table?

I can manually try and indent, but it only works on the first 'paragraph' within the cell, and the \hspace won't even work with the second paragraph. Is there an easier way? \ctable[ cap= A short ...
8
votes
1answer
456 views

Can I set the format of an entire column except for the header?

I would like to italicize all of the names in the second column of a table, but presently the only way I have found to do this is to use \textit{} in each cell, i.e.: \begin{table} ...
7
votes
1answer
66 views

Problem while rendering tabu with data from datatool

I have this strange problem while trying to render a table with tabu package from data gathered with datatool package. Here is a working example: \documentclass[a4paper,10pt]{article} ...
7
votes
4answers
424 views

How to color a cell of a table using multirow and center the cell content?

I have checked for other similar questions. I followed the suggested solution in the question Color in multirows. After implementing this solution, I still have a problem. I want to develop the ...
7
votes
3answers
233 views

Three tables side by side

I have three tables and I need that the three tables stays side by side. I tried with this approach but the tables are overlapping each other. \begin{table}[!htb]\tiny ...
7
votes
2answers
3k views

longtable misplaced noalign

Question Why am I getting multiple misplaced \noalign errors? Reproducible example \documentclass{scrartcl} \usepackage{longtable} \usepackage{booktabs} \begin{document} \section{Table test} ...
7
votes
2answers
251 views

Rectangles around words in table including diagonals

I'm trying to make a map of word correlations that will include a table of words with similar groupings marked by surrounding them with a rectangle with rounded corners. This needs to also be possible ...