{tabularx} is a package that defines an environment tabularx, an extension of tabular which has an additional column designator, X, which creates a paragraph-like column whose width automatically expands so that the declared width of the environment is filled.

learn more… | top users | synonyms

3
votes
2answers
76 views

How to place footnotes in the caption of a table?

Problem: Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table ...
7
votes
0answers
92 views

tex4ht removes spaces in array column when including a package even if the package is not used

In the following cases, Tex4ht generates an HTML file with no spaces between the columns of the matrix if some package is included, even if the package is not used. Removing the package, the space ...
2
votes
0answers
37 views

Caption outside float in tabularx

I am getting an error, while processing this latex file. Please help me. Thanks. \documentclass{article} \usepackage{tabularx} \usepackage{threeparttable} \usepackage{threeparttablex} \usepackage{...
2
votes
0answers
826 views

Package array Error: Illegal pream-token (3): `c' used. with tabularx

I have a table \begin{table}% \begin{tabularx}{\textwidth}{c *{6}{Y}} \toprule Compare with game & \multicolumn{2}{3}{95\% confidence interval} & p-value\\ \midrule P1 & 0.45 & 0.28 &...
2
votes
0answers
81 views

Vertical Center in Tabularx

I know this question has asked many times before, but is there maybe another efficient way to really vertically centre text in a tabularx environment? \documentclass[a4paper,9pt]{extarticle} \...
2
votes
0answers
46 views

Box height in tabular

I have this macro \code that produces a box. And I want to create a tabular "environment" that acts like enumerate except it puts the items into a grid. \documentclass{article} \usepackage{tabularx} ...
2
votes
0answers
68 views

Alignment of TikZ Pics in TabularX

What is the easiest way to get that last square aligned the same was as the first two? Do I need to create a \newcolumntype that somehow centers the content both vertically and horizontally? If so, ...
2
votes
0answers
115 views

Vertical table line is missing (tabularx and multirow)

Can anyone tell me, why my table is missing the vertical line on the right? It has something to do with that \multirow, but i can't find it. \documentclass[11pt, twocolumn, a4paper]{article} \...
2
votes
0answers
400 views

Pgfplotstable multicolumn table with dec sep align and Tabularx

I would like to implement a multicolumn table with Pgfplotstable that aligns on one side the number of the columns by dec sep align and secondly aligns the whole table by Tabularx. A version without ...
2
votes
0answers
106 views

breaking a tabular and aligning tabulars throughout the document

I have two questions. How do you break a tabular so that some of it lies on the previous page while the rest is on the next page. See sample tex file provided below. How do you align the tabular ...
1
vote
0answers
18 views

tabularx table formats poorly when too long

I have a long, multi-columned tabularx table in a document I'm working with. I'm finding that under certain circumstances the table's formatting breaks. My minimum working example (works with the ...
1
vote
0answers
22 views

How to remove a blank page before landscape figure tabular?

I tried to insert a figure using landscape, figure and tabular. However, it has an extra blank page. What should I do to remove the extra page? Thank you so much. \documentclass[12pt]{article} \...
1
vote
0answers
34 views

how to make a table span 2 pages?

i'm not an expert in Latex, Maybe the question seems straightforward for many of you. I'm trying to make a table span 2 pages . this is my code : \usepackage{tabu} \usepackage{longtable} \...
1
vote
0answers
29 views

Footnote missing when used with table, tabularx

I'm using fithesis3 class and I'm unable to get to work table + tabularx + footnotes + footnote references. I have tried \tablefootnote - http://tex.stackexchange.com/a/35328 \scrextend (\footref) ...
1
vote
0answers
45 views

Tabular Columns with Different Vertical Alignment

I'm trying to arrange a poem with one word followed by a block of text followed by one word aligned with the bottom. I keep getting stuck \documentclass[11pt]{article} \usepackage{tabularx} \...
1
vote
0answers
24 views

How To Centralise Multicolumn with Specific Column Width

Is there a way to force a multicolumn with column width specifiers to centre the context? For example, if I specify a new column type with a specific width, my column can still be centralised. However,...
1
vote
0answers
67 views

how to fit merged columns/rows content to the appropriate cell width (tabularx)?

This is a follow-up question to how to fit merged columns/rows content to the appropriate cell width? I am looking to make the same table but using the environment tabularx rather than tabular. the ...
1
vote
0answers
30 views

tabularx shifted farer than margin

I have a custom papersize and margins set with geometry package. Now I want a table to reach over the complete page (not the margins) \begin{tabularx}{\textwidth}{ |X|X|X|X| } \hline label 1 &...
1
vote
0answers
33 views

Table with greek words into columns or rows

I have a problem with a table layout and greek words. I use the code \begin{center} \begin{tabular}{ *{4}{>{\centering\arraybackslash}p{1.5cm}} } \toprule I & \g πλήθος παλμών\e &...
1
vote
0answers
57 views

I am trying to make these chemical molecules into a nice table

I am writing a organic chemistry report and would like to create a nice table with these two molecules with captions A and B to fit into a lab report ehtyl acetate toluene Here is my code: \...
1
vote
0answers
78 views

Linewidth of tabular with booktabs varies randomly

The Following MWE produces the output that I want to achieve: \documentclass[11pt, a4paper, twoside, %openright, toc=listof, BCOR=5mm, bibliography=totoc, parskip=half]{scrreprt} \usepackage{...
1
vote
0answers
128 views

Long and wide subtables

I'm not a LaTeX expert. I'm using it to write my thesis. Here's my problem. I have a set of tables and subtables, wich are very wide and long, so I'm using \begin{table}[H] \begin{subtable}[]{\...
1
vote
0answers
77 views

xcolors cellcolor overlays tikz background

I'm using mdframed with the tikz option to define my own environment. Unfortunately, if I'm using a tabularx environment with xcolor's \cellcolor command, it is overlaying the header of my box. Here'...
1
vote
0answers
92 views

Booktabs table with rotated and aligned header, multirows, and tabularx columns

I have a problem with the alignment in a bit complicated table setting (see MWE). I have a table normally stretching the complete width of the paper (for illustrating here the nr of columns is reduced ...
1
vote
0answers
302 views

Continuing table on multiple pages with tabularx

Problem: Continuing table on multiple pages using the tabularx package. Questions: What is the appropriate way to include "continued ..." caption at the end and beginning of the table when ...
1
vote
0answers
58 views

Fixed column width with tabularx and exclude Total column

I would like to fix column width for the first column because there are other tables with different width due to different length of categories. How can that be done? Also, is there a way to exclude ...
1
vote
0answers
108 views

itemize inside tabularx seems to break exam class gradetable

I'm using the exam class. If I use the itemize environment inside a tabularx, LaTeX gives me warnings when I use the gradetable command: LaTeX Warning: Reference `question@1' on page 1 undefined on ...
1
vote
0answers
574 views

How to automatically vertically center text in Lyx?

I have the following table in Lyx: Here is how it looks in Lyx: I want the text "My words" to be automatically vertically centered. I also want the text for the items that are rotated to be ...
1
vote
0answers
117 views

very long table - 31 columns to fit page

I'm a bit desperate after hours of trying without any success. I have an ouput from R, but the tables are way too wide, having 31 columns. Is there anyway of automatically splitting the table? Maybe ...
1
vote
0answers
65 views

How can I align, break and fill tabular entries properly for my Curriculum Vitae?

I am trying to make a nice Curriculum Vitae in LaTeX but am having some difficulties with aligning, breaking and filling the tabular entries. A Curriculum Vitae has to be short and clear. I thus need ...
0
votes
0answers
28 views

how to create long table with multirows?

I'm new with latex and I'm trying to use this table which is long and divided into multiple pages. but I failed to add multirows and multicolumns to make it look like this table this is my code ...
0
votes
0answers
36 views

Missing table borders when using tabularx

I'm using tabularx with this solution: http://tex.stackexchange.com/a/12712 to achieve right alignment in a variable column width based on content size with linebreaks. I would like the result to ...
0
votes
0answers
16 views

Alignment problem in tabularx that happens when I change it to non-decimal

I have the following code which aligns when I have decimal figures but fails to do so when I type 0 for instance. The code is as follow \documentclass{article} \usepackage{tabularx} \...
0
votes
0answers
26 views

Modify your code to get a different table

Does any one know How I can change my code below to get table like this in pic? Or any other way to get a table like this please. \begin{table}[h!] \centering \begin{tabular}{ |p{3cm}||p{3cm}|p{3cm}|...
0
votes
0answers
43 views

Different alignment on columns when the 'X' column wraps in tabularx

On 2013 I did ask this question and was answered, but implementing on another code I've new issues not presented before. I have a three column tabularx in which two of them are l, r or c and the ...
0
votes
0answers
45 views

Horizontal line overlapped by colored cells in table

I am unable to get a horizontal line visible after I have applied color to the cells. Also, the text "After Fault Clearance" doesn't seem to be vertically centered. Below is a sample of my problem: \...
0
votes
0answers
30 views

set table spacing to be different from whole document

I am writing up my thesis and set \linespread{1.5} at the preamble. But I want my table to be of single spacing, because apparently when the table is of single spacing it fits nicely in 1 page, but ...
0
votes
0answers
33 views

How can I edit this code so that no numbers display on the right hand side

\usepackage{tabularx} \newcounter{matchleft} \newcounter{matchright} \newenvironment{matchtabular}{% \setcounter{matchleft}{0}% \setcounter{matchright}{0}% \tabularx{\textwidth}{% >{\...
0
votes
0answers
56 views

Problem “Go to Page”, Footnote in Table

MWE \documentclass[a4paper,11pt]{book} \usepackage{tabularx} \usepackage[svgnames]{xcolor} \usepackage{footnote} \usepackage[colorlinks=true,linkcolor=blue]{hyperref} \makesavenoteenv{tabular} \...
0
votes
0answers
84 views

How to use tabularx and siunitx together with siunitx 2.6h / texlive 2015

This is a follow up question of this question: How to use siunitx and tabularx together? Updating to texlive 2015 (with siunitx 2.6h) seems to have broken the accepted answer. So the question is How ...
0
votes
0answers
103 views

landscape multipage table issue with following page

I have a large table which I want to present in landscape with a caption. Everything is working so far, except that I am having a blank page in front of my table. I found out that I should use the ...
0
votes
0answers
69 views

Minted and Tabularx

I've seen lots of questions on using minted with tabular. I'm getting this problem when using minted with tabularx. Code: \begin{tabularx}{|l|X}|} A & B\\ testing & \begin{minted}{c} int ...
0
votes
0answers
358 views

Allow breaking long words in table cell automatically

Is it possible to break long words (note, not lines) in table cell without adding \- or \allowbreak? Current code is: \begin{tabularx}{\textwidth}{|p{3.5cm}|p{3.5cm}|X|p{3cm}|p{3cm}|p{4cm}|} \hline ...
0
votes
0answers
136 views

Error in tabularx+listings example with TexLive 2014, which compiles in TexLive 2011 (! Missing { inserted)

Consider this MWE: \documentclass{article} \usepackage{trace} \usepackage{tabularx} \usepackage{booktabs} % \toprule etc; \let\botrule\bottomrule % temp hack \newcommand{\tn}{\tabularnewline} % for ...