Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tables]

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

10
votes
0answers
88 views

siunitx, brackets around negative numbers

writing tables with statistic s result often contain negative numbers in brackets, for example (-1.23), which should be aligned on the decimal point with other numbers in columns. this can be (simply) ...
5
votes
0answers
80 views

How can I produce s separate PDFs for each one of my floats, when their code isn't self-contained

I've written this document (say it's an article) with a bunch of float - figures and tables. Some of them are just \includegraphics, so the figure essentially exists outside as well inside the ...
5
votes
0answers
235 views

Which component to use: provides few columns, page-breakable, valign, minimun height?

I have got so much help on this site in my particular tasks, and now i realize i'm using something wrong for my purpose. I need a decision (component, or a set of the components), that provides few ...
4
votes
0answers
687 views

Is it possible to exchange rows and columns of a table without retyping

I wrote a table that turned out to be too wide. So I have to turn it sideways for it to fit a typical journal paper. Is there a way I can avoid typing it all over again?!
4
votes
0answers
897 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
553 views

Define own \rowfont (without using tabu)

Since the future of tabu is not that save I’m trying to define an own \rowfont macro. This is what I’ve got so far: \documentclass{article} \usepackage{array,tabularx} \usepackage[table]{xcolor} \...
3
votes
0answers
27 views

Sidebar from mdframed does not cover table at end of page

This is a problem that happens sometimes when there is a frame (with sidebar) between two pages and a table is placed at the end of a page: the sidebar (with background) does not cover the entire ...
3
votes
0answers
89 views

Technical report table of contents

I am writing a technical report. Pease how do I replicate something this nature using report class. Could someone please assist with the page layout (boxed margins, a simple table in header) My code: ...
3
votes
0answers
47 views

Problems inputting tabular data

Could anyone help me figure out what's the real problem here? I'm creating a table with some data exported from Stata, but I can't seem to get the input command to work properly. If I paste the code ...
3
votes
0answers
123 views

Synchronise data spanning over two side-by-side pages in ConTeXt

I am working on a three-language glossary. The idea is having three columns (German, English, Italian) spanning on two pages side-by-side. The data are stored in an XML file whose structure is the ...
3
votes
0answers
96 views

Create design with vertically content-spanning rotated headers

You're dealing with a complete LaTeX noob here, so please be gentile ;) I'm trying to typeset a particular lay-out, but I've not been able to get the desired result so far. My previous attempt was ...
3
votes
0answers
84 views

Context: Nested tables declared in buffers don't appear in embeddedxtables

I'm having trouble using tables nested in embeddedxtables with Context (a word of warning" this is all very new to me so please forgive any obvious missteps...) I have tried to simplify my example to ...
3
votes
0answers
183 views

Remove most bottom space of tabular (or tikz-picture?)

I'm trying to add a table-like structure left of a ganttchart. It appeared to me that labeling every bar with its own tabular of fixed column-width would be the easiest and I got quite close to what I ...
3
votes
0answers
53 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 ...
3
votes
0answers
194 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 ...
3
votes
0answers
547 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 ...
2
votes
0answers
46 views

Work plane (table) in Latex

I would like to define e.g. a 3 years study plane, but it shows me only 1 year in pdf, where is the error in the following code: \documentclass{article} \usepackage{etoolbox} \usepackage{...
2
votes
0answers
28 views

Pgfplotstable - Display specific column in scientific Notation with fixed exponent

I have a table, where one column has data like: 5.67e-07 6.79e-08 5.89e-09 And i want to print this column as 567*10^{-9} 67.9*10^{-9} 5.89*10^{-9} Is there a way to configure this directly ...
2
votes
0answers
69 views

How to change the zero in increasing numbers with dotted zero?

MWE \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \makeatletter \newcommand*{\pmzerodot}{% \nfss@text{% \sbox0{$\vcenter{}$}% math ...
2
votes
0answers
18 views

How to add vertical stretchable glue to tables?

Is it possible to add stretchable vertical glue to rows of a tabular (I actually use tabularx) environment? I've looked at tabularht, but if I have understood right, this allows me to specify a total ...
2
votes
0answers
46 views

Exporting tables made with dcolumn and multicolumns to docx using Pandox

I am trying to convert a tex-document into a docx-file to share it with some colleagues who do not use TeX and will not do so in the (near) future. At the moment, the best possibility seems to be ...
2
votes
0answers
59 views

Easier row grouping on tables

Sometimes I want to group some rows like that: Now I can do that like that: \documentclass[a4paper]{report} \usepackage{geometry} \geometry{a4paper,total={170mm,257mm},left=20mm,top=20mm} \...
2
votes
0answers
92 views

Using dcolumn for tables: Alignment on decimal and thousands separator

I'm struggling to align numbers on the decimal (.) as well as thousands (,) separator using dcolumn. I'd like to avoid unnecessary space when displaying decimals in one, and thousands in another row ...
2
votes
0answers
70 views

Why csvsimple doesn't allow symbols/math in first row?

The package csvsimple is a nice tool to import large tables that were generated externally. However, it fails to interpret files with symbols or math in the header. It does neither work with tabular ...
2
votes
0answers
87 views

Table margin, white space problem and position problem

Table margin problem, extra space is appear in the margin of table (see landscape table 3), also table position is wrongly appearing(I have place the second table in last but it appears as second also ...
2
votes
0answers
64 views

pgfplotstable with lines and colourmap

I am trying super hard to make a table with heatmaps, multirows, columns and some separating lines in latex. The code for this table is: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{...
2
votes
0answers
111 views

Adding a variable with backslash as argument

i would like to make a command to create tables. In a minimal idea the function "autotabell" should be like: \documentclass{article} \usepackage{tikz} \usepackage{csvsimple} \usepackage[latin1]{...
2
votes
0answers
792 views

Pandoc Markdown Table header background Color

I am using pandoc markdown to convert my documents to pdf. I have tables in the document that required formatting. I was able to create alternative colors for rows. However, I am unable to change the ...
2
votes
0answers
206 views

How to use pgfplotstable to highlight the row max value in the table?

I need to highlight the elements in each rows. I use the package pgfplotstable, but it doesn't work. And gives me an error. \documentclass[]{article} \usepackage{pgfplotstable} \pgfplotsset{...
2
votes
0answers
125 views

What the table code needs to look like the attached figure?

I try to create a table with color to look like the following table: I treid to write the following latex: \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \...
2
votes
0answers
333 views

Changing page margin of floating sidewaystable

I have a large table that I want to put sideways. Also to fit it on one page I want to reduce the page margins. One solution to change the margins is to redefine them with \newgeometry (followed by \...
2
votes
0answers
140 views

csvsimple - import only certain columns

\begin{figure} \csvautobooktabular[]{csvs/some-ttests.csv} \end{figure} This produces way too large a table (cut off on the left side), so I want to split it up into multiple tabulars, one for ...
2
votes
0answers
113 views

set the table width to a particular value and each column's width proportional to its actual length

I have a table and I want to set the table width to a specific value, say 0.8\columnwidth. After the stretching, I want each column's width is proportional to its actual width in the original table. ...
2
votes
0answers
214 views

Table using Longtable/threeparttable/landscape in Scientific Workplace and Miktex

I am really struggling with a situation where the following code of mine works in Miktex, but my colleague who uses Scientific Workplace gets the formatting completely wrong (in particular, the table ...
2
votes
0answers
652 views

How to handle too many columns of table

I need to print a table with many columns. I am thinking about two ways: printed table like this (assume the paper only can print 6 dates at one row): Measure date1 date2 date3 date4 date5 date6 ...
2
votes
0answers
112 views

Badly aligned tikz objects and bad page-break in deluxetable

I am creating a table in latex, and I need to use a deluxetable environment. I use the package tikz to draw some circles in the table. The problem I am having is that I want to reposition those ...
2
votes
0answers
54 views

Collecting and analyzing data presented in tables

I have data presented in tabular environments and I want to process it, in LaTeX, in ways that require for multiple cells to be analyzed together. That's in addition to typesetting the cells ...
2
votes
0answers
226 views

Footnote missing when used with table, tabularx

I'm using fithesis3 class and I'm unable to get to work table + tabularx + footnotes + footnote references. I have tried \tablefootnote - https://tex.stackexchange.com/a/35328 \scrextend (\footref) ...
2
votes
0answers
354 views

How to place multiple tablenotes on appropriate page with longtable?

I am trying to get footnotes (footnotes 2 and 3 in MWE) at the bottom of the table on the appropriate page with longtable. But with MWE I have provided I am able to get footnote only at the end of the ...
2
votes
0answers
237 views

How to remove tabcolsep in the first column of all tabulars in one place?

I want to vertically align the first column of all my tables the text. I can change the \tabcolsep using @{} but I how can I declare this in a single place as a default value? Edit: I added an MWE ...
2
votes
0answers
119 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
461 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
226 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 ...
2
votes
0answers
365 views

Pgfplotstable: Filter specific rows when reading from file

So far I have a file from which I read data to the macro \data (in the MWE I replaced the file with an in code table). From this table only 3 rows are selected and printed. What I would like to ...
2
votes
0answers
81 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, ...
2
votes
0answers
295 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
313 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, right=...
2
votes
0answers
471 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
375 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
2
votes
0answers
1k views

supertabular in a twocolumn env

I write a document which represents a catalog of stuff. Most of the content is a long table with heders in two balanced columns. xelatex is used to build pdf. I planned to use longtabu from tabu ...