{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} and {longtable}. For questions about the table environment (i.e., about floating or positioning), use {floats} instead.

learn more… | top users | synonyms (2)

5
votes
3answers
97 views

Does anyone know an easy way to produce a table with cells spanning multiple pages using latex?

I'm looking into the possibility of using latex for programmatically generating PDFs from templates with placeholders and some textual data. The current solution I have is based on reportlab, and it ...
2
votes
2answers
128 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 ...
2
votes
1answer
77 views

inserting external LaTeX tables made by Stata into Scientific Workplace 5.50

I am trying to insert a table of statistical output into SWP 5.50 from an external file. The table is generated by my statistics program, and it looks something like this: ...
1
vote
1answer
98 views

Footnote in tabu table not shown

Which package should I use for proper footnote handling in tabu tables? I thought tabu was supposed to do everything tabularx does, but footnotes do not show up in tabu tables. Working (using ...
1
vote
1answer
153 views

Problem with side by side figures and captions

I want to have 4 figures side by side and centered in my paper. I am using this code. The problem is that captions and figures are not aligned. It seems captions are in correct position, but figures ...
0
votes
1answer
19 views

Support sections on the bookmark in landscape mode

I'm writing a book and I want to put a unnumbered chapter (chapter*), where I will discuss the results and then put the results in tables. These results are divided into three options, so I want to ...
0
votes
1answer
100 views

How to create multicolumn with a diagonal line

How to join two columns in a table row and add diagonal line like this: +-----+--+--+--+ | \ k | | | | | \ | | | | | \ | | | | | M \| | | | +--+--+--+--+--+ | | | | | | | | | ...
4
votes
0answers
118 views

Displaying genetic algorithms on data

It is useful for explaining how a genetic algorithms works to display things like in the two following pictures. In those pictures, it could be useful to have two more features. Display dotted ...
3
votes
0answers
68 views

exam class - align problems horizontally using probsoln

I would like to create worksheets with problems filled by rows instead of columns. I am using probsoln to store and call the problems, but they always end up filling the worksheet vertically. I tried ...
3
votes
0answers
66 views

How to make all table cells center aligned?

I have this code which works fine \begin{table}[ht] \caption{Table Data } \centering \begin{tabular}{c c c c} % centered columns (4 columns) Now i have the dynamic headers so i have ...
3
votes
0answers
91 views

Align decimal marker with thousands separator using siunitx

My table consists of two groups of rows. The first group contains large values (X,XXX). The second groups contains smaller values (0.XXX). Siunitx aligns all numbers based on the position of the ...
3
votes
0answers
60 views

How can I create a table that spans across the width of two vertical (and opposite) A4 pages?

I have a large (wide) table to typeset. I usually use the code below for my tables which enables me to specify the width of each column in the table. However, it is up to me to make sure that the sum ...
3
votes
0answers
60 views

How to use only mathematical input in the first column with pgfplotstable

I can use a mix of text and mathematical input in the first column of a table generated with pgfplots with no problem, and also mathematical input in, e.g. the last column, as this mwe shows: ...
3
votes
0answers
80 views

Table and \tikzexternalize

It might not be a usual thing to do but I need to put some tikz pictures in a Table with externalization. I did \documentclass{report} \usepackage{tabu} \usepackage{tikz} \usetikzlibrary{external} ...
3
votes
0answers
95 views

Text in table with images is not aligned on top

I have table with text in the first column and image in second. I want both columns to be top aligned. I use following code: \begin{tabular}{p{3cm}l} Internal state after adding 2 elements & ...
2
votes
0answers
17 views

Nested tabularx doesn't work with ltablex

This works: \documentclass{article} \usepackage[a5paper]{geometry} \usepackage{array} \usepackage{tabularx} \setlength{\parindent}{0cm} \begin{document} \begin{tabularx}{\textwidth}{ |X|} \hline ...
2
votes
0answers
38 views

Differences between longtable and xtab

I have a pretty simple table that needs to span multiple pages. This seems like a job for either the supertabular/xtab package or the longtable package. The voting on the answers to this question ...
2
votes
0answers
63 views

Stretching each cell to the same height

I'm building a TikZ diagram in a row-by-row fashion. Each row is composed of a sequence of blobs, and the end of the row is signalled by issuing \newrow. Here is the code I have produced so far: ...
2
votes
0answers
69 views

Automatic arrangement of equations with comments

I am writing a paper with multiple chains of equations or inequalities, with optional explanations. Depending on the size of the equations, I use one of \documentclass{article} \usepackage{amsmath} ...
2
votes
0answers
73 views

Can't include a 'tabu' inside \newenvironment with cells in the postamble

I'm trying to include a tabu inside a new definition of an environment but it fails if the postamble (enddef) of the new environment includes tabu's contents, so cells. With tabular or tabular* works. ...
2
votes
0answers
115 views

How to fit this table into Latex

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 ...
2
votes
0answers
200 views

Floating LaTeX longtabu table

I have a table that takes multiple pages, so I use longtabu. However, if I embed longtabu in table environment, the table won't break into pages. How do I create a mult-page table that support ...
2
votes
0answers
96 views

Pgfplotstable converting zeros to — in a knitr inline table

how do I change each 0.0 to -- without having to reference each as string type or making the whole table string type? The actual table is quite long and it would take too long to do it manually. For ...
1
vote
0answers
32 views

Latex float so no stretching appears, but everything is placed on top

It has probably been already answered, but I cannot find it. If I include images as floats, LaTeX places the last one on a single page in the middle. How do I make LaTeX to put in on the top of the ...
1
vote
0answers
30 views

LaTeX prevent oversized table from getting cut off

I have a LaTeX file with a very wide table with many many columns. When I compile this and convert to pdf, the right part of the table is cut off because it is too big to fit on a page. Is there a ...
1
vote
0answers
51 views

Positioning figures

I want to force a table and a figure to appear in a page with nothing except them. I've tried \clearpage but it makes lots of extra spaces in the document. Also some of the figs appear in the end of ...
1
vote
0answers
128 views

Problem on coding table in latex

I am wondering if you can help me on coding a table using LaTeX. I have difficulty in doing it. This is the code I have done: \documentclass[12pt]{article} %\documentclass[12pt,english]{report} ...
1
vote
0answers
35 views

LaTeX error when using Lyx: Bad mathchar (32768)

I have been getting this error message when ouputing my LyX document: Bad mathchar (32768), with the following explanation: "A mathchar number must be between 0 and 32767. I changed this one to ...
1
vote
0answers
60 views

Set the line separation in a tabu table equal to the line separation in the document

As is known, the tabu environment does not automatically adjust the vertical distance between a cell with multiple lines and another cell, cf. Text too close to cell border when having a nested tabu ...
1
vote
0answers
69 views

Wide table spanning multiple pages using longtable and landscape packages

I am using the longtable and landscape package in the hope it would allow my very wide table to be read easily across multiple pages without breaks. However, it only spans one page and any extra ...
1
vote
0answers
39 views

excel2latex table too many }s, wrong endgroups, and too many endgroups

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 ...
1
vote
0answers
77 views

How can I convert the tables and math in a latex document to one of the markup languages supported by github's wiki?

I wrote some software documentation in Latex, but need to get it into a more lightweight format. I used pandoc to convert latex to markdown, but it did not do a very good job of converting tables. ...
1
vote
0answers
86 views

Is it possible to put a long table (longtabu) into a adjust box (adjustbox)?

I am wondering as the title says whether it is possible to put a long table, especially for me a longtabu into a adjustbox? My code throws an error but I guess this is the same issue as is with ...
1
vote
0answers
113 views

Table with different column size and column width

I'm trying to do a table which has a different number of columns in every row. Is there an alternative to multicolumn?
1
vote
0answers
103 views

Table column fixed width does not fire

I have the springer svjour3 template and the user guide says that for tables the usual Latex 2e commands are used. Now, I would like to produce a table that goes over the whole page (the error is the ...
1
vote
0answers
133 views

CSVTools Perl Script / EOF found whilst scanning for \CSVtolongtable third argument

Using the CSV Tools perl script (this is to remove the CSVTools commands so that everything is in one file), I'm getting the following error. There is no EOF character in the CSV file (except at the ...
0
votes
0answers
29 views

How can you change the alignment of calstable? (followup question)

This is a question related to this question of mine. However David's code does not work correctly here (a part of the table remains at the left and the other part moves to the center). How this can be ...
0
votes
0answers
40 views

How to put a legend for \cellcolor{blue!25} in my table caption?

I would like to put a reference to \cellcolor{blue!25} in the table's caption. Is it possible? Also why is the table so massive even in a makebox? I don't want to use resize, looks unprofessional. ...
0
votes
0answers
40 views

ignored {\linewidth} in {tabularx}

In my Project MikTex totally ignores both the {\linewidth} and p{...} totally. In a clean new project, it works fine. Any ideas, which command can cause this painfull behavior? The sample code ...
0
votes
0answers
38 views

Table headers and chain aligment

I have 2 questions. 1- How to use a diagonal seperator for the table hearders n and k in a good way. 2- How to align the back of the arrow to the rightand the head to the left of the numbers? ...
0
votes
0answers
101 views

Latex textfield unicode problem and Xelatex hyperref textfield not working in tabular section

I've tried to add russian letters in textfield, but it gives: T2ACYRI T2Acyrm T2Acyrya Then I used xelatex but generated forms are not working. What to do? And this form works without tabular. ...