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

4
votes
1answer
257 views

Why do I have to choose between global and local settings for siunitx tabular behaviour?

This is a follow up to Numbers in tables: align by decimal point *and* flush right?. In a tabular set with siunitx, I can give formatting options or in the \sisetup{} command or in the ...
2
votes
1answer
487 views

longtabu with multicols?

I want to place a very long table into my document, i.e. a table which spans multiple pages. The table has a rather narrow width, so it should be set in multicolumn mode (2 or 3 columns). The text ...
8
votes
3answers
460 views

\newline in p-column with extra vertical space?

I need to add some vertical space between two lines in a p-column of a tabular. Outside of a table I'd use \\[1ex], but inside of a table I have to use \newline which doesn't have an optional argument ...
6
votes
2answers
223 views

Pgfplotstable for journals

a) Most journal have old LaTeX distribution or do not want to bother with “complicated” packages such as those derived from pgf (see Using TikZ in journal articles). I have build a table using ...
1
vote
1answer
1k views

Indented before caption in a Latex table or figure

I have a problem with the space before my caption. When I run this sintaxis Latex throw a table and a figure. My problem is the position of the caption. The first one (table) is ok; it is at the ...
4
votes
1answer
228 views

Datatool cannot use math macros in tabular headers from csv file

I am making a LaTeX table using a CSV file and the datatools package. Here is a minimal working example: \documentclass{minimal} \usepackage{datatool} \usepackage{filecontents} ...
5
votes
1answer
153 views

Table of Values

How can something like this be done in MacTex:
1
vote
0answers
151 views

Abbreviated syntax for CALS package [duplicate]

The cals package allows to create the tables with design capabilities which are available in Microsoft Word. This package is not based on tabular and has more bulky syntax than tabular. I'm try to ...
3
votes
1answer
490 views

How to create a table where one cell spans all the columns and the text wraps properly?

I need to create a table like this: table with two columns and width equal to width of the page; border around whole table; first row spanning two columns; with background color, bold font and ...
1
vote
1answer
733 views

tabularx and tablefootnote multiple footnotes from one \tablefootnote

In my tablularx environment I have a footnote that I'd like to have placed at the bottom of the page. Using both the tabularx and tablefootnote packages all is well. However I get served a bit too ...
1
vote
1answer
2k views

\hfill underlining in a tabular environment

I would like to make a name and address fill-in-the-blank in a neat rectangle with a lined space where the information should be filled in. At first I came up with this: \begin{tabular}{ll} ...
7
votes
2answers
2k views

longtable in beamer environment (lacks headers/footers)

In Beamer, I wish to use the longtable package to break up tables across multiple frames automatically. I am aware of the xtab package, which works fine in Beamer, but I prefer longtable as it is the ...
8
votes
2answers
203 views

Allow [ characters in tables without entering math-mode (from R)

I have R code that produces latex code like: \begin{tabular}{D{.}{.}{7}D{.}{.}{7}} \toprule \multicolumn{1}{c}{x} & \multicolumn{1}{c}{y} \\ \midrule [1, 5) & 1 \\ [1, 5) & 2 \\ [5, 8) ...
3
votes
2answers
225 views

sideways column type based on column type c

I'm trying to create a sideways column type based on column type c. At the moment it looks like this: I want to put the expression "long word" in the vertical middle of the column and remove the ...
2
votes
1answer
67 views

Making a table centered in latex?

I'm trying the following code to make a table in latex, however the table is out of layout. Here's the code I'm trying: \begin{table} \caption{Table Title} \begin{tabular}{|c|c|c|} \hline & ...
2
votes
1answer
123 views

Alignment of image within tabular

I got a problem with the alignment of an image within the tabular environment. I want to align the image within the table in such a way, that it is located to the very right of the layout and the text ...
4
votes
1answer
43 views

Tabular into different rows within the table environment

I have three tabular environments that I would like to put within the same table... The problem is that they are too large to stay in a single row and I don't know how to break a row of tables so that ...
3
votes
1answer
164 views

How to add two force line breaks in cell

I would like to add two force line breaks in a cell. Using an answer from this question I can add one force line break. Can you help to add two line breaks using similar function like ...
4
votes
1answer
2k views

pgfplotstable manage strings and values

I like the pgfplotstable package for reading and plotting tables but handling of strings and values (especially when strings contain spaces) drives me crazy... I often use a table as shown here: ...
5
votes
1answer
174 views

How to implement the macros style with mixed chars and floats in a csv file?

I would like to implement macros to generate multiple tables in a document. Some inspiration comes from here: usage-of-longtable-or-equivalent-and-pgfplotstabletypeset The input csv file and ...
1
vote
1answer
68 views

Retain longtabu settings throughout document

This question is a continuation of this previous one Identical instance of longtabu I would like to create an environment this is a longtabu where the column widths determined for the second instance ...
4
votes
1answer
106 views

Identical instance of longtabu

Defining a class file, I would like to define a new environment, which is essentially a longtabu. The longtabu is defined to have a variable width left column, which I would like to be identical in ...
2
votes
1answer
116 views

Centering content in tables with borders

I have encountered a problem using \centering within the tabular environment. The following code \documentclass{article} \begin{document} \begin{tabular}{|r|r|} \hline \centering{Lolcats} & ...
2
votes
1answer
250 views

Vertical alignment of text around a symbol in table

Is there a way to organize the vertical alignment in table around a particular symbol. For example in the below code \begin{table} \begin{center} \begin{tabular}{ *{1}{c}} a = b + c \\ a + ...
5
votes
2answers
327 views

Transforming string into tabular row

Trying to have a command converting a string into a (tabular) row, where each cell of the row is (a function of) each character of the string. (\tilerow is my attempt, \tiletext is just for ...
1
vote
1answer
5k views

Increase row height of tabularx [duplicate]

I'm using the tabularx package from within memoir for creating a table. I'm trying to set the row height and found for tabular the command \setlength{\extrarowheight}{40pt} However, with my ...
4
votes
3answers
875 views

How to top align text and image in table?

I am facing some problem in aligning (top-aligned) image and text in a table. \documentclass[11pt,table,a4paper]{article} \usepackage{array,ragged2e} \usepackage{graphicx} \usepackage[top=2cm, ...
3
votes
1answer
120 views

multi row tables

I'm trying to make a table that has column headings with the units underneath the heading. I using the \multirow command, below is a section of the code (I can't add the image of the table output as I ...
3
votes
1answer
62 views

When using the 'longtable' package, how can I have the table title on the second page indicate that it's a continuation from the previous page?

\documentclass[letterpaper]{article} \usepackage{longtable} % Longtable package \usepackage[margin=1in]{geometry} % Margins \usepackage{booktabs} % Nicer horizontal lines ...
4
votes
1answer
76 views

fitting arrays on

How can I get two matrices to fit side by side, centred on the page? Is there a way of automatically printing to 2 decimal places? \documentclass{article} \usepackage{graphicx,amsmath} ...
2
votes
1answer
102 views

Blank space above centered text in tabularx

I have a problem in my report with tabularx and center... I try to center the content of some columns but I don't know why, is there a blank space above the centered text... Here is my code ...
5
votes
1answer
640 views

Make less space between lines on a table

I have a big table where I need to use multiple lines on each cell. The table is too big though so I need the space between lines on each cell to be smaller. I found on another post that I could use ...
6
votes
1answer
197 views

No horizontal bar in table for space between column

I'm trying to create a table with underlined column groupings. I have an extra space between the groupings using @{\hskip 1cm}, but I don't want the underlining to extend over this extra space. Is ...
5
votes
2answers
307 views

How to increase the table row height for furigana(ruby) in XeLaTeX?

The ruby package provides phonetic guide (really, it's possible to use in any language), however, if to use ruby inside the table, the row height will not increased for ruby: I also used the ...
6
votes
3answers
220 views

Table heading too low if on the top of the page

Consider the following MWE: \documentclass{article} \usepackage{lipsum} \usepackage{booktabs} \begin{document} \lipsum[1] \clearpage \begin{table}[htbp]% \centering% \caption{Test ...
9
votes
2answers
6k views

Variable-width horizontal rules with \cline intrude cell text

I have come to learn how to make a variable-width horizontal rule with \hline from the LaTeX companion and with \cline from Horizontal rule with adjustable height behaving like \cline{n-m}. But the ...
13
votes
1answer
3k views

How to right align columns but center align header row using pgfplotstable?

I am a newbie with pgfplotstable: I would like to right align the columns of the table containing my data, but keep the headers center-aligned. Here is the code for the tables - does anyone know how ...
2
votes
0answers
473 views

Defining the position of a tabularx environment [closed]

In my report, I use a tabularx environment within a mdframed environment. I don't know why but I have to delete the table environment surrouding my tabularx environment when I want a table in my ...
11
votes
2answers
177 views

Table without counting ampersands

I want a command like \mytable{4}{ a & b & c & d & e & f} would be the same as \begin{tabular}{cccc} a & b & c & d\\ e & f\\ \end{tabular} and \mytable{2}{ ...
8
votes
1answer
540 views

Remove footnote marks from \listoftables

I'm using footnote marks in my table captions like this: \caption{This is title\protect\footnotemark with a foot note} and then I just use a \footnotetext{Closer explanation...} . This works just ...
4
votes
1answer
1k views

Table and \hlines too short or wide

Here is a MWE of what I am trying to do. \documentclass[a4paper]{article} \usepackage{tabularx,booktabs} \usepackage{color,colortbl} \begin{document} \begin{table}[htb] \centering ...
3
votes
3answers
278 views

Free cell alignment in a table

I want to use the package tabu which I've heard is the latest and greatest package for creating tables to generate a table that looks like this: ------------------------------------- |A | ...
4
votes
1answer
1k views

What's wrong with this table code in beamer?

I've been struggling for a long while with this code trying to solve the problem there apparently is. I basically copied the code from this page http://en.wikibooks.org/wiki/LaTeX/Tables in the ...
6
votes
0answers
441 views

Making LaTeX tabular environment behave well under copy/paste [closed]

Whenever I copy a table created with the LaTeX tabular environment from the output .pdf file and paste it into a word processor, all the entries go to different lines. Worse, the first column is ...
5
votes
1answer
438 views

How can I insert a table within a figure's caption?

I have a small table that I would like included in the caption below a tikzpicture enclosed within a figure. Is this possible?
0
votes
1answer
319 views

hyphenation of chemical names

i use the datatool package to read a csv table which contains names of chemical compounds in one column. Those names are very long and have to be hyphenated. The problem is that these names contain -. ...
1
vote
1answer
517 views

threeparttable - appending commands to \TPTnoteSettings does not work if package called with flushleft option

In the tablenotes environment defined by the threeparttable package, I wanted to resize my notes globally throughout my document. I have found this answer to a question somebody posted in regards to ...
5
votes
2answers
4k views

place footnote under table above caption

I would like to place a footnote under a table and above the caption. Since I am using the floatrow package I went with \floatfoot, however there is no option to position floatfoot below the table and ...
9
votes
1answer
500 views

LaTeX's datatool package together with siunitx

I want to use the datatool package to read csv files and parse them to LaTeX tables. Furthermore I want to use siunitx to format the numbers from the csv file. Have a look at the following example: ...
3
votes
1answer
136 views

Spacing between LaTeX Tables

I generated two separate tables in chapter of the appendix of all tables. Of course, LaTeX fit the two tables in the page in order to use the whole page. Instead, since they are the last two I'd like ...