Questions tagged [tabu]

{tabu} concerns the tabu tabular package under e-TeX

Filter by
Sorted by
Tagged with
196
votes
12answers
179k views

Beautiful table samples

I'm interested in learning about some nice-looking table samples. Colors can make a huge difference, and just providing some color to headers, background, or borders can dramatically change ...
61
votes
1answer
25k views

Is the tabu package obsolete?

When I stumbled upon tabu some time ago it looked quite interesting on a first glance and I intended to learn more about it when I have the time. But, in the comments section of this question posted ...
7
votes
1answer
2k views

longtabu and floats: wrong table breaks on pages with floats

I noticed that the tabu package seems to have problems with its longtabu environment, if it is placed on a page, where a float already is placed. Consider the following MWE: \documentclass[10pt]{...
9
votes
1answer
3k views

threeparttablex table notes for tabu tabulars with less than \textwidth

threeparttablex can be used to add table notes to tabu tabulars*. If the tabular spans \textwidth, the output is as expected. It seems however that the tablenotes environment does not adjust its width ...
3
votes
1answer
690 views

longtabu and color compatibility

After last update of TeX Live packages this code won't compile: \documentclass{article} \usepackage{longtable,tabu} \usepackage{color} \begin{document} \begin{longtabu} to \linewidth {llX} a &...
12
votes
2answers
2k views

Strange line spacing effects in longtabu

I got some strange effect with longtabu: As you can see the line with λ seems to be closer to the above line than to the one below of it. I cant’t figure out why … This is the code with which I ...
11
votes
1answer
751 views

Tabu very recently stopped working with color/xcolor or with fancyvrb

Below is a MWE with a tabu table that compiled perfectly fine up until I updated packages today (Dec. 16, 2018) with TeX Live Utility. \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{...
4
votes
1answer
744 views

Too little space between wrapped text and the line below it

Consider the following table example, the text in the second row is wrapped. \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage{tabu} \usepackage{...
6
votes
2answers
1k views

align columns in multiple tables

I am trying to align the columns of multiple tables. I know I can use p column format to fix column widths but I would prefer that TeX automatically figure out the widths for me. I was hoping to: ...
5
votes
1answer
2k views

Vertical alignment in multicol

In the following code the horizontal rules on the right don't line up in all cases with the horizontal rules on the left. It seems to be related to the text content. How can I fix this in such a way ...
5
votes
2answers
501 views

multiple pairs of columns

Consider this example code which creates a 2x6 table where the 6 columns are formed from three name/value pairs: \documentclass{article} \usepackage[svgnames,table]{xcolor} \usepackage{tabu} \...
3
votes
2answers
2k views

Align (center) header row in table

I use @{\hskip 50pt} to separate columns in my table. The problem which arises is that I add this extra space after a multicolumn. This also moves the header row so that it is no longer centred. Is ...
20
votes
2answers
1k views

Incompatibility between verbatim and tabu? (Danger of using \scantokens in a package)

With the following MWE \documentclass{article} \usepackage{verbatim} \usepackage{tabu} \makeatletter \renewcommand\verbatim@processline {% \begin{tabu}to\textwidth{|l|X[-1,l]|} foo&\the\...
20
votes
1answer
10k views

Consistent vertical spacing with tabu

In the following table I get some vertical space after the rows whose content is short but not after the row having a cell with long content. The problem is that I want to generate the report from ...
9
votes
4answers
2k views

longtabu and scrpage2: line breaks in page header cause compilation errors

Please consider the following MWE: \documentclass{scrartcl} \usepackage{longtable,tabu} \usepackage{lipsum} \usepackage{scrpage2} \chead[Headline 1\\ Headline 2]{Headline 1\\ Headline 2} \pagestyle{...
8
votes
1answer
5k views

How to exceed left margin with longtable

I'm trying to make a longtable that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem: First possibility: If I use the adjustwidth ...
6
votes
1answer
1k views

Beamer tables like block structure look-and-feel

I am trying to define a type of table similar to the look-and-feel of beamer blocks. I tried the following (using the tabu for tables), but with no luck. \newenvironment<>{tabvarblock}[2][.9\...
4
votes
1answer
2k views

Dashed hline in longtabu (arydshln conflicts, does not work?)

I have a large table with the following requirements: Spans multiple pages (currently using longtable) The last column's text must wrap (using tabu's longtabu environment as tabularx does not support ...
2
votes
1answer
8k views

Centring a sidewaystable both horizontally and vertically

I'm trying to have a sideways table at the end of my document, however I can't seem to get it to centre to the A4 page perfectly like intended. Here's my preamble: \documentclass[11pt,a4paper,...
9
votes
1answer
561 views

Hide an entire table (but still generate it)

In this answer the following code appears. The idea is that the initial table sets up the column widths used by the subsequent tables. The initial table itself is not supposed to be shown. Its only ...
7
votes
1answer
1k views

Adjust vertical spacing in tabular containing \href

I seem to be stumped by what seems like a basic tabular spacing issue (when an \href is used). The obvious solution of tweaking arraystretch does not seem to work. What I want is that the output of ...
5
votes
1answer
1k views

Longtabu total width, fixed left margin

I'm trying to make a longtabu that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem: First possibility: If I use the adjustwidth ...
4
votes
2answers
2k views

Little indentation despite \noindent after tabu custom-environment

this question is about a (to me) mysterious little indent (looks like an ordinary blank...) after a custom-environment using the tabu-environment. Please compile this MWE: \documentclass[a4paper, ...
3
votes
1answer
670 views

tabu m-column vertical alignment not working after package updates

After MIKTEX package updates vertical m-column alignment in tabu does not work anymore. See MWE below \documentclass{article} \usepackage{tabu} \begin{document} \tabulinesep=3pt Result using tabu: ...
1
vote
2answers
333 views

Incompatibility of fix in latex3/latex2e in respect to (unmaintained) tabu package

In the github issue: Longtable change breaks 'X' column specification (https://github.com/latex3/latex2e/issues/111) the problem of the incompatibility of a necessary bug fix in latex3/latex2e is ...
9
votes
1answer
954 views

tabu: Error since update

Since the last update of tabu.sty I get the following error: ! Improper \prevdepth. \tabu@verticalspacing ... tempdimc \t Here is a MWE \documentclass[a4paper,12pt]{report} \usepackage{tabu} \...
8
votes
1answer
1k views

Vertical spaces above and below longtabu

This is, in a way, a follow-up-question to New table-environment, spaces and enclosing { } in a new environment, which has already been answered conveniently by @egreg. Please compile this MWE to see ...
4
votes
1answer
384 views

Longtable appears to prevent \enlargethispage from working

The following code works for me, but if I remove the comment and thus add the longtabu/longtable, then the \enlargethispage loses its effect. \documentclass{article} \usepackage{lipsum} \usepackage{...
2
votes
3answers
244 views

How to get rid of vertical offset in a table containing pictures?

While trying to compose some kind of "wanted poster" (Steckbrief), I could not get rid of the vertical spacing LaTeX automatically introduces! Here's an MWE, which should work on Linux/Mac OS with --...
2
votes
1answer
570 views

Longtabu, \tabucline placed on wrong page

See the following longtabu axample: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{tabu} \usepackage{lipsum} \begin{document} \tabulinesep=1.5mm % <---- ...
15
votes
3answers
70k views

How to draw two \hline and two vertical line?

I want to draw a table with two \hline and two vertical line. But as shown in the figure, the first vertical line do not cross the two hline. How to solve this problem? \documentclass{article} \...
8
votes
2answers
3k views

Many vertical alignment problems with tabu table

I use tabu to easily specify colors for different parts of my table. Also the X column makes life easier. I have some problems regarding vertical placement: In the linked figure you can see many ...
8
votes
4answers
1k views

How would you reproduce the Leibniz binary table

I would like to reproduce the original Leibniz binary table (as seen here). The most precise the better...
6
votes
1answer
839 views

Adding vertical rule into tabu

Community, :) I know it might sound like some noobish' question, but I have some trouble adding the last vertical rule into my tabu. I've retrieved the code from here: How to Create Comparison Tables ...
8
votes
2answers
6k views

Vertical and horizontal alignment with tabu package

Another question led me to use tabu for the purpose of fitting one column to its content while allowing the others to stretch equally. This is my current code: \documentclass{article} \usepackage{...
8
votes
1answer
7k views

A vertical alignment problem in tabu environment with X[m]

I learned tabu for a while and I can not solve a problem about vertical alignment with X[m]. Here is the minimal working example below. \documentclass{article} \usepackage[linegoal]{tabu}\...
7
votes
2answers
1k views

Conflict between tabu and tabularx, when using siunitx

I have many tables set with {tabularx} but for some of the it seems easier to use {tabu} which works. But if I use both packages and gave the last X column in {longtabu} an S and optional argument it ...
5
votes
1answer
20k views

longtabu, column width

having an issue with longtabu and setting columns to a percentage of the table width. I've achieved what i want with tabularx: \documentclass{report} \usepackage{tabularx} \begin{document} \begin{...
5
votes
1answer
402 views

Vertical alignment of figure in multirow-cell inside tabu table

We have a tabu table with figures and \multirow cell which contails a long figure (XeLaTeX is used). Minimal working example is in the end. The Figure (arrow) is attached after the actual result. ...
3
votes
1answer
62 views

Table nesting with columnar widths based on uniform parent width, not uniform child width

I think I am using the wrong search queries to say this, but I'm trying to make a table that contains cells whose widths are determined by their parents' uniformity, not whose parents' widths are ...
3
votes
1answer
570 views

Tabu table text-colored header: vertical and horizontal alignment, one line and word wrap cases

We have a latex tabu table with custom header's style: it has different alignment, color and shape from other table rows. BTW XeLaTeX is used. Header could be short on length, see the pictures and ...
2
votes
1answer
221 views

Arc over multiple columns in table

I want to have a flat arc over some columns in a table (tabu environment, as I am using to define independent colours for each row). Similar to the hhline in which bar are drawn over multiple columns. ...
2
votes
1answer
1k views

Text too close to cell border when having a nested tabu and \vspace in a cell

I have a nested tabu table and am using \vspace to simulate an empty line in the same cell. At the end of the cell is text which spans two rows. (If either of these three conditions is not met the ...
1
vote
0answers
134 views

The capability of inserting footnotes in the “longtabu” environment when the “XePersian” package is included

Using the XeTeX engine and specially the XePersian package, I came accross a cumbersome issue! I got my customized footnote command (\MyFootnote) which is working fine except in a multipaged "longtabu"...
10
votes
2answers
722 views

Macro \verb inside tabu environment

I would like to use the \verb command inside of a tabu enviroment. Here is my example \documentclass{article} \usepackage{tabu} \begin{document} \begin{tabu}{lll} a & \verb+\wedge+ & b\\ c ...
8
votes
1answer
2k views

Align siunitx numbers in a tabu table

The minimal example below gives me a strange offset in numbers with exponential numbers. I think tabu and siunitx are getting in each others way. Is anyone aware of a workaround? \documentclass[...
7
votes
1answer
1k views

tabu package - gaps in vertical lines

I'm in the unfortunate situation that I have to make a table in LaTeX which has thick vertical lines. Since this does not seem to be possible with the default tabular environment, I chose the tabu ...
7
votes
1answer
2k views

How to make \rowfont (from tabu package) overlay specification-aware (in beamer package)?

I have tables in a beamer presentation, and I would like to highlight table rows sequentially (not necessarily in row order) using overlay specifications. So I would like to be able to write code ...
7
votes
1answer
2k views

Missing number, treated as zero with nested tabu

I have this minimal example: \documentclass{article} \usepackage{colortbl} \usepackage{longtable} \usepackage{tabu} \begin{document} \begin{longtabu} {|ll|} a & \begin{tabu}{l} 1 \\ ...
6
votes
2answers
289 views

separate style and content in table

I am generating tables from a program and its a bit inconvenient that I have to intersperse style and content information. For example, in the following note how \cellcolor{red} is interspersed among ...