{tabu} concerns the tabu tabular package under e-TeX
18
votes
2answers
221 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]|}
...
9
votes
4answers
184 views
Two-colum task list with status information
I'm trying to generate a two-column task list with status information in the second column. It has to allow page breaks and should look more a less like this:
I managed to hack something together ...
9
votes
1answer
135 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 ...
8
votes
2answers
650 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 ...
8
votes
1answer
93 views
Apparent hyperref conflict with datatool and longtabu col vertical alignment?
Only when I turn on hyperref do I get a weird vertical alignment problem in the first column of a datatool-driven longtabu. Without hyperref, the rows of the first column are vertically aligned to ...
7
votes
1answer
957 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 ...
7
votes
1answer
500 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?
...
6
votes
2answers
410 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 ...
6
votes
1answer
303 views
How can I update the array package? Warning from tabu
I am trying to use the tabu package, but it returns a warning which does not seem like a good sign. Does anyone know how to resolve the following issue?
LaTeX Warning: You have requested, on input ...
6
votes
1answer
247 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 ...
6
votes
1answer
92 views
Align math contents in a table
While trying to display some data in a table, I use tabu and siunitx. I want the content to be centered by the dot. However, the cell at last column, first row is not centered.
...
6
votes
1answer
409 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 ...
5
votes
2answers
84 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 ...
5
votes
3answers
392 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}
...
5
votes
2answers
292 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
125 views
Who can solve my text positioning problem in my colored tabu header row?
I've a positioning problem in my tabu header. If I define the text color with rowfont, the text in that row will jumping around like a rabbit.
\documentclass[]{scrlttr2}
\usepackage[utf8]{inputenc}
...
5
votes
1answer
656 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
662 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}
...
5
votes
1answer
225 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
339 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
185 views
Format time span for CV
I would like to add the month to the time span of moderncv. I order not to occupy much more space and still having a beautiful solution, I would like to do the following:
Year - Year
Month - Month
...
4
votes
3answers
128 views
How to span over variable number of cells?
I'm looking for a macro to span all cells in a tabu environment to get category headers in tables.
This example does what I need for two columns.
\begin{tabu} {XX}
abc & def \\
...
4
votes
2answers
134 views
Why is tabu package reading what is inside \begin{htmlonly} tags?
I think there is a bug here.
Introduction
I use latex2html (L2H) to build some HTML Pages from LaTeX. The standard method to add L2H specific latex command is like this
\begin{htmlonly}
% for ...
4
votes
2answers
340 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
1answer
52 views
Tabu: factors of cell width
When I use factors of a variable in tabu's cell description, the result is not what I intended. For example in the following code, the middle cell is not half the width of the others.
...
4
votes
2answers
41 views
How can I avoid the gap between \cellcolor-colored cells created by \tabucline?
I'm trying to partially separate rows from one another using \tabucline. The line encompasses column 3-6. Since the line's width is neither part of the upper, nor the lower row, there is going to be ...
4
votes
1answer
59 views
LaTeX not recognizing \end found in a \newcommand
I'm trying to both start and end a table with \newcommand. I'd like to switch to using \EndTableSetupFourColumns (as it removes several warnings and is easier to understand for other readers) but for ...
4
votes
1answer
188 views
Row colored with alternatingly with \taburowcolors is pink
I'm making a table with tabu having alternating row color, but I'm getting a pink row, which is not a color that I defined.
The code:
\definecolor{lightb}{RGB}{217,224,250}
\begin{table}
...
4
votes
1answer
509 views
bug in tabu when rowcolors are defined?
In the following code the vertical separation from cell to the bottom is negative instead of the defined \tabulinesep=5pt when \rowcolor{headcolor} and and \rowfont are defined.
...
4
votes
1answer
278 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.
...
4
votes
2answers
159 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 ...
4
votes
1answer
140 views
Aligning multiple tabu tables
In the example code below we have two one-row tables (in reality there would be more rows and colors and other formatting) and we would like to align then so that the vertical line after the second ...
4
votes
1answer
200 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 \\
...
4
votes
1answer
288 views
Multicolumn width calculated for lX columns
I have the following table:
\documentclass{article}
\usepackage{tabu, longtable}
\begin{document}
\begin{longtabu} to \textwidth {|l|l|l|lX|}
1 & Column 2 & 3 & ...
4
votes
2answers
199 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
44 views
Using {tabu} to make thick table lines in header generates errors
I want to place a thick vertical line next to my page number in the header of every page. I have chosen to build a small table and add the line to it. It works fine, until I add the option (part of ...
3
votes
2answers
37 views
Test for empty possibly itemized argument in tabu
For some reason, I can't test if #2 is empty in the following tabu use case. An
Incomplete \ifx; all text was ignored after line 14
is thrown executing the following code.
...
3
votes
1answer
852 views
Strange problem with `longtabu`
I would like to share with you a quite simple example LaTeX is not able to compile.
I use the longtabu environment provided by tabu package. I am using commands from booktabs as recommended in the ...
3
votes
1answer
206 views
tabucline with a break
In the following the first two columns are different in nature from the last two and I wanted to emphasize this by having a break in the horizontal line. I drew lines across columns 1 and 2 and then ...
3
votes
1answer
707 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:
...
3
votes
1answer
76 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 ...
3
votes
1answer
337 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 ...
3
votes
1answer
110 views
Switching text case with package collcell
I would like to use the package collcell to change the case of every string in a column of a tabuenvironment. I know there are workarounds to do this without resorting to the package, but none of ...
3
votes
1answer
85 views
Multirows, multicolums and vertical centring in the tabu environment
I have a table, using the tabu environment, in which I would like multirow and multicolumn cells. Inside the cells, any content that doesn't vertically fill the cell should be vertically centred.
...
3
votes
2answers
151 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 ...
3
votes
1answer
665 views
newcolumntype, siunitx, tabu and illegal pream-tokens
I use tabu with siunitx for making my charts with MikTeX 2.9, tabu 2.8 and now siunitx v2.5g. Since last time using the updater \newcolumn commands like
\newcolumntype D{X[1,c]{%
...
3
votes
1answer
262 views
Expand table to use page width
I normally use the table and tabu environment to create my tables. I am new to LaTeX and after I while I realized tables look nicer when they use the whole page width rather than being just centered. ...
3
votes
0answers
81 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}
...
2
votes
1answer
161 views
Second Font dedicated for tables
How to put second font in table. First is Utopia Regular with Math Design as a main font. Second - TeX Gyre Heros, for tables.
\documentclass{beamer}
\mode<presentation>
{
...
2
votes
1answer
62 views
Cannot compile tabu
I have been trying to compile the following tabu environment with xelatex, but to no avail:
\documentclass{article}
\usepackage{xcolor}
\usepackage{tabu}
\begin{document}
\taburowcolors ...
