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

5
votes
0answers
59 views

Change footnote number to text using tabu

Problem: Changing footnote default numbering to text using the tabu package. Minimal Working Example (MWE): \documentclass{article} \usepackage{array,booktabs}% http://ctan.org/pkg/{array,booktabs} ...
5
votes
0answers
646 views

Multirow cells with centered multiline text

I use tabu package to easily typeset tables. Now i need to typeset long table. So i used longtabu. The head of the table consists of much columns. Also there are lots of text in each cell and some ...
5
votes
0answers
1k views

LaTeX tables in pandoc, captions

If I feed a simple LaTeX table to Pandoc, e.g. \begin{table}[h!] \begin{tabular}{ll} x&y\\ \end{tabular} \caption{A caption} \end{table} and convert it to HTML using pandoc -s table.tex -o ...
5
votes
0answers
205 views

Table vs Plot: How to print table of values, with colors representing values

In an effort to collect knowledge that will ultimately allow me to answer this question, I am seeking a way to generate a table where numeric values are plotted as cell-filling colors. The color ...
5
votes
0answers
848 views

Color first row in a xtable generated table

I am trying to color the FIRST row of my table. But if I add \rowcolor[gray]{0.95} to the FIRST row the colored row will be the SECOND. Indeed it is quite straight forward to modify from the second ...
4
votes
0answers
41 views

Move tables to appendix

I have almost 100 tabular environments in my latex document and I've decided that they would be better placed in my appendix. What is the easiest way to move them all and provide a reference to them? ...
4
votes
0answers
61 views

ODS to LaTeX: use formatting from the ods file?

There is a nice solution for importing tables from ods file, in the form of the odsfile package. For very simple, non-formatted tables it basically produces the same effect as the table in the ods. ...
4
votes
0answers
30 views

vocalised arabic changes baselines in tabular environment

Using polyglossia I often set an Arabic text opposite and English text, and I want the baselines to match vertically within a tabular environment. Sometimes the Arabic text is vocalised, and ...
4
votes
0answers
128 views

Border control for LaTeX tables generated using TeX4ht

In producing simultaneous pdfs and html/word files using xelatex and TeX4ht I have noticed that the table produced by TeX4ht is kind of illogical and is clumsy to clean up and manipulate. I would ...
4
votes
0answers
314 views

Draw register map with TikZ

I was wondering if there was a way to easily draw a register map (like the one below) in LaTeX, possibly in TikZ? The closest I've gotten is just using the tabular environment and that's not even ...
4
votes
0answers
126 views

How can I typeset *some* fields from a (YAML) dataset?

I'm building a dataset of sorts with long strings, tags, some of which will be used for survey research (a q-sort, actually). This dataset needs to: be reasonably human-readable play nice with ...
3
votes
0answers
18 views

Inconsistent spacing of suffix in siunitx formatted table

I want to produce a table with two prices in a row, using siunitx to achieve a pleasant and consistent display of the numbers. Trying not to repeat the currency symbol in the data rows, I insert it as ...
3
votes
0answers
55 views

Making an automatic log table yearly

I did a quick doodle in Excel and I like to make a table that looks like the below. Essentially the issue is, I want it to take up the entire page, half the month on one column, and the other half on ...
3
votes
0answers
56 views

End of proof sign outside table

How to insert an end of proof sign outside a table (on the right on the table, on the same last line)? So far, I only managed to insert the end of proof sign in the bottom-right cell of my table, or ...
3
votes
0answers
27 views

Column Sorting Toggle in Output PDF

I'm interested in creating a table with columns that can be actively sorted in an output PDF. In this manner, I mean a table in which one can sort each column either alphabetically or numerically, ...
3
votes
0answers
91 views

How do I move table caption placement in pandoc-converted docx file?

I have the following table: % latex table generated in R 3.2.2 by xtable 1.7-4 package % Tue Aug 25 12:42:23 2015 \begin{table}[ht] \centering \begin{tabular}{rr} \hline & \# of Applicants \\ ...
3
votes
0answers
138 views

LaTeX table star positioning (double column tables)

How do I tell my table* to be on top of the same pages as the paragraph I want? I know of the question http://stackoverflow.com/q/1673942/659634. Which does not answer how to work with double column ...
3
votes
0answers
142 views

import a long tab delimited data file with first row as the header

Here's a very simple task that I don't seem to be able to get the format right. In short, I am trying to import and format a long tab-delimited txt file, with the first row as the header. I tried the ...
3
votes
0answers
42 views

etoolbox: problem with the last row in an table automated

I want to automate a long table as follows \documentclass{article} \usepackage{etoolbox} \newcounter{test} \newcounter{count} \begin{document} \begin{tabular}{|c|c|}\hline \whileboolexpr{test ...
3
votes
0answers
156 views

How can I use \multicolumn in a \pgfplotstable table?

In my experiments with pgfplotstable, I've run into some bumps: merging multiple columns adding formatting commands to text within cells Problem I cannot seem to properly add a \multicolumn{}{}{} ...
3
votes
0answers
419 views

Cell overlay in beamer

I used the code posted in this thread to highlight cells in a table: \documentclass[xcolor=table]{beamer} \rowcolors{1}{gray!30}{gray!10} \makeatletter ...
3
votes
0answers
76 views

Embed ConTeXt into LaTeX

I have an XML document which I'm currently trying to converted into XeLaTeX code. I'd like to stick to XeLaTeX rather than move to ConTeXt. However, a problem relatex to the difference in the table ...
3
votes
0answers
109 views

Typing Russell's “Sur la Logique des Relations”

I'm having some trouble typing Russell's definitions in TexWorks, mainly because of the spaces and numerations of propositions. Anyway, my output it's a complete disaster. How could I maintain the ...
3
votes
0answers
216 views

One tabular with column input from multiple data files with pgfplotstable

I have a question which sort of extends the page Multiple Files input to one pgfplotstable. In the answer to this question, data is read from dataB.dat and subsequently appended to the data as ...
3
votes
0answers
131 views

TeX capacity exceeded with a 13 columns 18 rows spreadtab

Originally I had a spreadsheet with 13 columns and 18 rows. Applying pdflatex or xelatex to this sheet I got: ... cell K15 ! TeX capacity exceeded, sorry [save size=80000]. Then I reduced the ...
3
votes
0answers
260 views

Cleaner Code for a Table design

in this question Showcase of beautiful wine bottle labels made with LaTeX/TikZ and friends I asked for wine bottle labels. Here is my own attempt. I still have to play with fonts. I'm quite happy ...
3
votes
0answers
513 views

Conditional formatting, rounding and postprocessing of a column in pgfplotstable

I want to round p-values in a table to two decimals (for example 0.05), have values less than 0.05 in bold font and have values less than 0.01 to come out as '<0.01' in bold font. Like this (the ...
3
votes
0answers
231 views

Center an image horizontally and vertically in a table with ConTeXt

\setuppapersize[A4] \enableregime[utf-8] \usemodule [simplefonts][size=12pt] \setmainfont[EB Garamond 12][expansion=quality,protrusion=quality] \setuppagenumbering[location=] ...
3
votes
0answers
197 views

{tabular} styled like blocks in beamer.cls based upon booktabs.sty markup

beamer tables In Table looking like a block, two methods are shown to give tables a look similar to the block environment in the beamer class. Both require that header and content rows are split: the ...
3
votes
0answers
146 views

Hyperref TextFields dont't work when in tabular environment with xetex?

I created a pdf fillable form in LaTex using hyperref text fields, then decided that I wanted to change the font of the whole form, so I tried to use XeTeX with fontspec. Unfortunately, when I do ...
3
votes
0answers
474 views

Evenly split the columns of a multirow table in lyx

I would like to have a table like this: % Preview source code %% LyX 2.0.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. ...
2
votes
0answers
44 views

Table title and notes not appearing in PNAS

I'm trying to prepare a manuscript for PNAS and am running into issues with a table. As in this question/answer, the table is placed after the \end{article}. However, when compiling the document, the ...
2
votes
0answers
38 views

Extra } or forgotten \endgroup when using footcite in table

I have a problem using footcite of bibtex and \makesavenoteenv of footnote together. This is my (not so minimal) MnWE, where I am trying to use \footcite inside a table floating environment: ...
2
votes
0answers
43 views

Table cell pattern of colors

With \cellcolor one can set the background color of a cell. I use this in documenting a communication protocol to indicate the type of the value in a certain field, say green is type X and blue is ...
2
votes
0answers
35 views

Vertical alignment of table cells and defining column width

I'm currently experimenting with building an Excel app that writes latex code for a table from a selection area within Excel. Essentially the user selects their table in Excel, clicks a button, and ...
2
votes
0answers
39 views

Split up Table Header and Table in LaTeX

I am writing a finance paper and I have some very long tables and some very long table headers. I'd like to split them up, i.e. Header on one page and then the table following on the next. My table ...
2
votes
0answers
39 views

Width of the table

i have a problem with the the width of a table,this is the code: \begin{table} \centering \begin{tabular}{|cl|c|c|} \hline & \emph{\textbf{OWL ...
2
votes
0answers
32 views

How to change rounding precision across rows in a table?

I use the package siunitx to print tables. In the following table, I would like to have a different rounding precision and number of printed decimal places for each row. \usepackage{siunitx} ...
2
votes
0answers
48 views

tabularnewline incompatible with rowcolors

I have a huge table I am editing with LyX I tried to use rowcolors to have alternate row colors but it does not work This looks like to depend on the use of \tabularnewline instead of \\ The ...
2
votes
0answers
43 views

Why my table caption shift line!

\begin{table}[h!] \caption{Arnold period in different size images} \setlength{\tabcolsep}{8pt} \renewcommand{\arraystretch}{1.5} \centering \begin{tabular}{|c|c|c|c|c|c|c|} \hline Size N ...
2
votes
0answers
30 views

Argument of \@xnext has an extra }

I simply generated the following table from here website so syntax-wise it should be correct. \begin{table}[] \centering \begin{tabular}{|c|c|c|c|c|c|} \hline & Frames with Obstacle(s) & ...
2
votes
0answers
38 views

What are the differences between starttable and startTABLE?

Consider the following : \starttable[|c|c|] \NC a \NC b \NC\SR \stoptable It won't compile if I switch to \startTABLE. On the other hand, the following won't compile if I switch to starttable : ...
2
votes
0answers
50 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
2
votes
0answers
75 views

Overfull \vbox caused by tall text in multirow

This is my first post here. I am struggling with overcoming problem of overfull \vbox warning. It is caused by three-lined cell of a table while it \multirow's only two one-lined. In fact in my main ...
2
votes
0answers
123 views

Escaping ampersand inside of a variable within \multicolumn text

I am using PHP to generate a Tex file, and am passing several variables into a template file to be rendered. I want to create a table with several columns, but with a header that spans those columns. ...
2
votes
0answers
93 views

How to break tablenotes (page break) in longtable with threeparttablex?

How can I break my TableNotes in ThreePartTable (it is a landscape table)? \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[top=2.975cm, bottom=2.975cm, left=2.975cm, ...
2
votes
0answers
54 views

Cutting a table along columns

How do I split a table by its columns? \documentclass[a4paper,10pt]{scrartcl} \usepackage[utf8]{inputenc} \begin{document} \begin{center} \begin{tabular}{llllllllllllllllllll} very long text & ...
2
votes
0answers
81 views

Vertical table line is missing (tabularx and multirow)

Can anyone tell me, why my table is missing the vertical line on the right? It has something to do with that \multirow, but i can't find it. \documentclass[11pt, twocolumn, a4paper]{article} ...
2
votes
0answers
125 views

pgfplotstable: typset csv with 2 or more header lines (eg. name, unit, comment)

I am exporting from Origin and get a Data.csv like this: Short_Name1; Short_Name2 Long_Name1; Long_Name2 Unit1; Unit2 Comment1; Comment2 1,1; 2,0 3,5; 4,3 When I try to ...
2
votes
0answers
67 views

Is there any single property/option for creating all borders in LaTeX table?

\begin{tabular}{ | c | c | c | } \hline 1 & 2 & 3 \\ \hline 4 & 5 & 6 \\ \hline 7 & 8 & 9 \\ \hline \end{tabular} If we want to create a ...