2
votes
1answer
63 views

Coloring tables without xcolor, colortbl and tabu while using listings package

currently, I want to color my tables. However, presumably since I'm using the listings package, I can't apply the abovementioned packages, as they totally mess up the default table looks (lines ...
2
votes
0answers
29 views

Vertical space around table

I'm using tabu to create a table. I wish this to be center-displayed, so I am using it as follows: Body of text preceding table. \begin{center} \begin{tabu}{llX} text & text & text ...
0
votes
0answers
62 views

Advantages of longtabu? compared with longtable

I know to use longtabu, we need to have the packages tabu and longtable. What are the advantages of longtabu? By now, i just found longtabu can break lines automatically in a table cell, but seems ...
2
votes
1answer
64 views

tabu to textwidth yields a table wider than textwidth

I have a code for a table that should fit to textwidth, but for some reason it doesn't. Any ideas why? \documentclass {article} \usepackage [T2A] {fontenc} \usepackage [utf8] {inputenc} \usepackage ...
5
votes
0answers
117 views

Multirow cells with centered multiline text

I use tabu package to easily typeset tables. Now i need to typeset long table. So i used longtabu. The head of the table consists of much columns. Also there are lots of text in each cell and some ...
1
vote
0answers
51 views

Longtabe + multirow + page break

I have with longtabu and multirow. Latex does not display them properly in a page break. \begin{longtabu}{| X[2,l] | X[2,l] | X[2,l] |} \captionsetuptableBegin \caption{Main Objects} ...
1
vote
0answers
10 views

combining threeparttable and tabu results in error [duplicate]

While working on my first ever Latex document I have been looking for a way to add notes to tables. An answer to another question suggesting using threeparttable. Regardless of whether I add the ...
1
vote
0answers
277 views

Missing \cr inserted [closed]

I have a problem with the tabu environment. When I compile my code starting my longtable with \documentclass{srrreprt} \usepackage{tabu} \usepackage{longtable} \begin{document} ...
1
vote
1answer
54 views

longtabu newenvironment caption error [duplicate]

I want to make an environment for my tables. See the following example: \documentclass[a4paper,10pt]{scrartcl} \usepackage{longtable} \usepackage{booktabs} % \toprule, \bottomrule ...
2
votes
2answers
49 views

tabular & multirow: taking a multirow back to a single

I have a table that I needed multirow for say column 2, but for column 3, I am putting the best result from column 2. \documentclass{article} \usepackage{tabu} \usepackage{multirow} \begin{document} ...
3
votes
1answer
818 views

width of paragraph in multicolumn tables

I have problem that I don't know how to solve. Look at \multicolumn{2}{p{18.5cm}}{bla} and please tell me how to set paragraph width to fill whole multicolumn space? I discovered this (18.5cm) value ...
2
votes
0answers
31 views

Why is the second column of my tabu not vertically aligned to the middle? [duplicate]

I'm trying to create a SWOT (strengths, weaknesses, opportunities, threats) table, which is a basic 4x2 table. The cells that aren't part of the header will contain itemized text. All cells have to be ...
3
votes
2answers
133 views

Table in itemize

Is it possible to include a table in itemize? \begin{itemize} \item item 1 \begin{tabu}[X X] \toprule 150 & 150 \\ bottomrule \end{tabu} \item item 2 \end{itemize} The alignment should be: ...
2
votes
1answer
195 views

Vertical alignment of p multirow in tabu

I'm using tabu to create my tables. In one of the tables, I would like to have a multirow row and vertically align its content to top. -------------- --------------------------------- This is p col ...
2
votes
1answer
146 views

Bad vertical distance in table using makecell package \multirowhead

This is my working code: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{multirow} \usepackage{hhline} \usepackage{array} \usepackage{caption} \usepackage{tabu} ...
2
votes
1answer
70 views

Misalignment of vertical lines in big LaTEX table

This is my code: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{multirow} ...
4
votes
2answers
509 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} ...
6
votes
1answer
193 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 ...
5
votes
2answers
156 views

Positioning of images/graphics in tables

I need to create a table where cells in one columns are images, not text. This is the code I'm using: \begin{table}[hbtp] \centering \begin{tabu} to \textwidth {|c|c|c|c|} \hline ...
4
votes
1answer
204 views

How do I make tabu and multicol play nice with each other? [closed]

I'm trying to write a document that will require lots of small tables (which contain other, nested tables) in a section of my document, which I want to put into a two-column section. I use tabu for ...
3
votes
1answer
113 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} ...
2
votes
1answer
95 views

Alignment issue with longtabu

I'm using longtabu to create a table. This is the code: {\footnotesize \begin{longtabu} to \textwidth {|l|c|c|l|l|c|c|c|c|} \hline \textbf{Frame} & \textbf{Cam} & \textbf{ID} & ...
1
vote
1answer
226 views

Tabu/Longtabu: Conditional Column Definition

I want to create a longtabu table with a conditional number of columns: In development mode, 5 columns should be visiable. In the final version, only the first and the last column should be visible. ...
1
vote
1answer
122 views

Using `minted` environment inside a `tabu` table

I am trying to use a piece of highlighted code using the minted package inside a tabu table: \documentclass{article} \usepackage{minted} \usepackage{longtable} \usepackage{tabu} \begin{document} ...
2
votes
2answers
126 views

Need help with long and wide table; tried longtabu, longtable, sidewaystable and nothing seems to fit!

I've literally been spending hours, trying to fit this long and wide table with a series of packages: tabu, longtabu, tabularx, sidewaystable, but nothing seems to fit. This is for a thesis so I ...
3
votes
1answer
608 views

How to make LaTeX (tabu, hhline) tables keep rowheights?

i want to typeset a long table across several columns / pages and want the table rows to keep register. my code looks basically like this: \documentclass{book} \usepackage{pagegrid} ...
5
votes
1answer
374 views

Table cell height too small when wrapping text

I have the following problem with my table: The height of the 2nd row is slightly too small and the text overlaps with the line at the bottom and the top of the cell. My code is below: ...
4
votes
2answers
298 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, ...
2
votes
1answer
259 views

longtabu with multicols?

I want to place a very long table into my document, i.e. a table which spans multiple pages. The table has a rather narrow width, so it should be set in multicolumn mode (2 or 3 columns). The text ...
3
votes
3answers
193 views

Free cell alignment in a table

I want to use the package tabu which I've heard is the latest and greatest package for creating tables to generate a table that looks like this: ------------------------------------- |A | ...
2
votes
2answers
115 views

Tabu part of text in cell not visible

I have problems with the tabu, when I make a table with the code below, the contents of the last column in the first row is not all visible. Why is this? \begin{table}[h] \caption{Explanation } ...
1
vote
1answer
472 views

Alternating column AND row colors with tabu? [closed]

There is a very convenient way to have alternating row colors in tabu using \taburowcolors{ .. }. But is there a way to do the same thing with columns plus alternating row colors ? What I want ...
2
votes
1answer
240 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 ...
3
votes
1answer
701 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. ...
2
votes
2answers
775 views

Footnote in tabu table not shown

Which package should I use for proper footnote handling in tabu tables? I thought tabu was supposed to do everything tabularx does, but footnotes do not show up in tabu tables. Working (using ...
4
votes
1answer
348 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 ...
3
votes
1answer
535 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
328 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 ...
3
votes
2answers
109 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
194 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} ...
0
votes
1answer
608 views

Soft midrule in table

3 small questions: 1) I'd like to put a soft \midrule in this table between Care type and the headers, but I'd like it to not quite reach the edge of the table: (at your discretion to mess with the ...
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
646 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
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. ...
5
votes
2answers
151 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
707 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} ...
5
votes
3answers
355 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 \\ ...
2
votes
1answer
253 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
234 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} ...