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

learn more… | top users | synonyms

29
votes
1answer
6k 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 ...
3
votes
1answer
1k 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: ...
10
votes
2answers
1k 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 ...
6
votes
1answer
2k 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 ...
5
votes
1answer
778 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
307 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
789 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 ...
6
votes
1answer
623 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. ...
9
votes
1answer
198 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 ...
6
votes
1answer
662 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 ...
6
votes
3answers
928 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} ...
1
vote
1answer
2k 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: ...
8
votes
1answer
536 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 ...
20
votes
2answers
484 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]|} ...
11
votes
1answer
3k 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 ...
6
votes
1answer
259 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 ...
6
votes
2answers
837 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
2answers
1k 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} ...
3
votes
1answer
614 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 ...
5
votes
2answers
458 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: ...
2
votes
1answer
167 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. ...
5
votes
2answers
163 views

Odd results using FP package inside table environment

I'm trying to create a number of running totals using the FP package. I define a macro for adding numbers to a running total and then I define a macro to output the final value. The problem I'm ...
4
votes
1answer
44 views

Smashed strut in tabu environment causes too much extra vertical space

Problem I have a tabu table where the text in one column is larger than the text in the rest of the table. To avoid the text to come to close to the top rule I insert a strut (where the bottom has ...
4
votes
2answers
396 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, ...
4
votes
1answer
634 views

Problem with longtabu and tabucline on pagebreak

I've got a tabu package related question. In the longtabu environment using \hline works perfectly. But when I try to use \tabucline[...] instead, on pagebreak there is one line missing. Info ...
4
votes
2answers
2k 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} ...
4
votes
2answers
219 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 ...
3
votes
1answer
69 views

How to combine mdframed and tabu

\documentclass[a4paper,10pt]{article} \usepackage[framemethod=TikZ]{mdframed} \usepackage{multicol} \usepackage{tabu} \mdfdefinestyle{graybox}{ innertopmargin=2mm,% innerbottommargin=2mm,% ...
3
votes
1answer
160 views

Using tabu/tabularx inside xparse NewDocumentEnvironment

My question seems very similar to this, but with tabu instead of tabular*. In fact, switching the options in that example causes the failure I see here. \NewDocumentEnvironment {trace} {} {% ...
3
votes
1answer
648 views

current column width in a tabu table

Is there some way of getting the current column width in a tabu table in the same way that one can refer to \columnwidth in a multicol? For example, the following gallery works but its a bit ugly ...
2
votes
1answer
36 views

Controlling vertical space in embedded tabu environment

When using embedded tabu environments I have difficulties having different vertical space in the outer and inner tables. Consider these simple embedded tabu tables: \documentclass[a4paper]{article} ...
2
votes
1answer
106 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 % <---- ...
2
votes
1answer
197 views

New table-environment, spaces and enclosing { } in a new environment

It was hard for me to find a proper title (feel free to change it) for my question which I want to introduce with an example: Situation In my document I sometimes use tabus directly in the document ...
2
votes
1answer
83 views

\end{tabu} in \newcommand

I want to put \end{tabu} within a \newcommand \documentclass{article} \usepackage{tabu} \newcommand {\tableBegin}[1] { \begin{tabu}[#1] % some other stuff } \newcommand {\tableEnd} ...
2
votes
1answer
700 views

vertical space around horizontal rules between tabu rows while maintaining color

I would like to increase the vertical space before and after a horizontal rule in a tabu table but want the color that is in the cells below and above the rule to not be broken but continue right ...
1
vote
1answer
408 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
1answer
128 views

Macro changes output

The code and output shown below are based on the answers to this post . The problem is that first of the three tables is produced as desired but the second and third have the second column vertically ...