Tagged Questions

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

learn more… | top users | synonyms

1
vote
0answers
188 views

Set the line separation in a tabu table equal to the line separation in the document [duplicate]

As is known, the tabu environment does not automatically adjust the vertical distance between a cell with multiple lines and another cell, cf. Text too close to cell border when having a nested tabu ...
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: ...
3
votes
2answers
741 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 ...
1
vote
1answer
302 views

Right aligned text in minipage vs. longtabu

After some brute-force attempts I found out that I could right-align two lines in a longtabu cell as follows: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} ...
6
votes
1answer
193 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. ...
3
votes
1answer
3k 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. ...
4
votes
2answers
198 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 ...
5
votes
2answers
159 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 ...
5
votes
1answer
779 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} ...
8
votes
1answer
150 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 ...
20
votes
2answers
470 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]|} ...
5
votes
3answers
397 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 \\ ...
1
vote
1answer
396 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 ...
4
votes
1answer
539 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 \\ ...
10
votes
4answers
344 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 ...
2
votes
1answer
257 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> { ...
5
votes
1answer
245 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} ...
4
votes
1answer
815 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 & ...
6
votes
1answer
640 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 ...
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} ...
6
votes
1answer
611 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. ...
3
votes
1answer
1k views

Wrapping multicolumn in tabu

How do I get the text within a multicolumn to wrap when using tabu? I am hoping that tabu makes it somewhat easier than having to specify p with a manual specification of the width ...
5
votes
1answer
1k 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]{% ...
2
votes
1answer
186 views

Redefining \\ within tabu environment to be overlay-aware

Background I would like to "alert" each row of a table, one row at a time, using Beamer overlays. Using Martin Scharrer's answer to Why can't I wrap \rowcolor in \only? (Beamer), I came up with ...
0
votes
1answer
864 views

Threeparttable and longtabu with consistent topskip

I am trying to have a big table (break across pages) with footnotes and a column with adjustable width. The MWE is the following. \documentclass{scrartcl} \usepackage{blindtext} ...
3
votes
1answer
3k 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 ...
0
votes
0answers
29 views

Wrong linespace with tabu [duplicate]

Possible Duplicate: Vertical alignment in multicol I have the following example: \documentclass{article} \usepackage{tabu} \begin{document} \tabulinesep=6pt \begin{tabu} to ...
1
vote
0answers
192 views

tex4ht + tabu-package does not work [closed]

I am trying to compile an existing tex-document with tex4ht. However, it seems that the tabu-package does not work together with tex4ht: \documentclass{book} \usepackage{tabularx} \usepackage{tabu} ...
6
votes
1answer
1k 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 ...
2
votes
1answer
255 views

content-independent total height

I am generating a table from a program with two pairs of name/value columns. Each pair forms a two column tabu table and the two tables are then nested in an overall tabu table to get the effect. I ...
6
votes
1answer
719 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 ...
2
votes
2answers
866 views

Duplicated tablefootnotes with longtabu

I Have a very wide table that where I want to have footnotes. I found that one way to make the table fit in my page was to use tabu and longtable. And the package tablefootnote for the in table ...
1
vote
1answer
121 views

conditionally emit one table or another

I would like to specify a table and if it has any multiline cells then it should be output as a single pair of columns and otherwise as two pairs of columns. For example, if it looks like the First ...
5
votes
1answer
762 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 ...
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 ...
2
votes
1answer
683 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 ...
5
votes
1answer
611 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 ...
4
votes
2answers
215 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 ...
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 ...
5
votes
2answers
448 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: ...
3
votes
1answer
632 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 ...
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 ...
5
votes
2answers
302 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} ...
4
votes
1answer
249 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 ...
3
votes
1answer
167 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 ...
6
votes
1answer
476 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 ...
1
vote
0answers
98 views

How to install package `tabu`? [duplicate]

Possible Duplicate: Where do I place my own .sty files, to make them available to all my .tex files? I want to include style sheet tabu.sty when compile. Currently, the following error will ...
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 ...
2
votes
1answer
2k views

longtabu problem: what have I missed?

Can someone check the reproducibility of this non-compilation? Here is the LaTeX file: \documentclass{revtex4} \usepackage{longtable,tabu} \include{defs} \begin{document} \begin{table} ...
6
votes
3answers
900 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} ...