{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

0
votes
1answer
53 views

Creating special table [duplicate]

How can I create a table such as following: I do not know how can I have A and B in the middle of four rows ?
3
votes
4answers
76 views

Alignment in tabularx environment

I want to generate a table that looks approximately as follows: I want to use tabularx to have equidistant cells for the cells that are below the second row and right of the first column. Here is ...
12
votes
3answers
3k views

Centering in tabularx and X columns

How can I center the column when using X in tabularx environment like in this example? \begin{tabularx}{\textwidth}{@{}lXXXXX@{}} 1 & 2 & 3 & 4 & 5 \\ \end{tabularx}
4
votes
3answers
89 views

How do I fix this table?

The table is big in length and width, hence top and bottom of the table are chopped off from the table generated in a pdf file. Here goes the latex code. \documentclass{article} ...
5
votes
2answers
66 views

Table with multiple rows and columns

I just want to create a table with multiple rows and columns, here is a very suitable solution:Table rowspan and colspan, but can anyone help me to get a variable column width rather than the equal ...
1
vote
1answer
48 views

tabularx vs ltablex

I have been working with tables spanned over multiple pages as well as I want "x" functionality as well. I have been successfully working with tabularx (along with threeparttable) for now. It seems to ...
0
votes
1answer
33 views

Tabular table wordbreak

I've got the following table (generated by pandoc html => tex): \begin{longtable}[c]{@{}lll@{}} \toprule\addlinespace \begin{minipage}[b]{0.23\columnwidth}\raggedright Naam \end{minipage} & ...
1
vote
1answer
38 views

Whats the problem with the following code?

\begin{table} \caption{Description of the data sets} \newcolumntype{R}{>{\raggedright \arraybackslash} X} \newcolumntype{S}{>{\centering \arraybackslash} X} ...
1
vote
1answer
30 views

Table spreaded over multiple pages . Tabularx [duplicate]

To spread the table over multiple pages I know the utility islongtable But it seems that it doesn't work for tabularx . what is the solution. there may be duplication of question but couldn't find ...
2
votes
2answers
48 views

Align the word input of algorithm2e with a tabularx table

I'm referring to this post. I like the idea from 'a different ben' of the tabularx table inside the \Input command. But I would like to have the word Input: at the top, on the same line as the first ...
2
votes
1answer
22 views

tabularx table and the indentation from the addmargin environment

I have a problem with the indentation done by the addmargin environment of the koma script and the use of tabularx table. Clearly the \textwidth uses the original width of the text and not the smaller ...
4
votes
1answer
42 views

tabularx: underfull \hbox (badness 10000) in alignment

I'd like to have table of 15cm with fixed-width cells. I use tabularx package. For some reason, the following code gives underfull \hbox (badness 10000) in alignment . What causes this warning? How ...
2
votes
2answers
36 views

Tabularx and short caption causes error

I'm trying to construct a multi-page, landscape table with variable column widths. It was working until I started to get a problem with the caption. If I try to include a short caption I get the error ...
0
votes
1answer
44 views

Tabularx, Caption and Footnotes

I need to have some tables with the following requirements: The need to be of width \textwidth; The caption has to be on top of the table even at automatic page breaks; The tables should not float; ...
0
votes
1answer
46 views

Alignment of multi-columns and line breaks within cells

I am failing to set up a complex APA table once again. Actually, I need a table like shown below: My current MWE: \documentclass[12pt,ngerman]{article} \usepackage[utf8]{inputenc} ...
1
vote
1answer
29 views

Problem with setting up a tabularx table

I am trying to set up a tabularx table with very long item descriptions in first column \documentclass[12pt,ngerman]{article} \usepackage[utf8]{inputenc} \usepackage{tabularx} \usepackage{booktabs} ...
2
votes
2answers
62 views

organize columns in table

I made a table with this code: \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} ...
4
votes
1answer
83 views

table badly too wide

I got a bad problem with the width of my table. I can't get the point why its so wide. I'm using latexmk. Here's my code: \documentclass[final,12pt,abstracton,oneside,a4paper, ...
2
votes
1answer
247 views

Annotating Tables With Tikz; Adding Arrows

I'd like to be able to draw an arrow with some text on top connecting two arbitrary (i.e. possibly non-right-/left-most, possibly nonadjacent) cells of a table with a left-looking arrow. In ...
1
vote
1answer
99 views

Really big table troubles

I have a really big problem here. I have to insert a big table in a document. No matter how I tried to make it smaller, my boss does not want it to be changed. He made it using word, and I have to ...
2
votes
1answer
25 views

How can I place dot2tex graphs next to each other?

I have two dot2tex graphs that have a relatively large height and small width. The combined width of the graphs is considerably smaller than the text width. For example: ...
3
votes
2answers
57 views

Itemize in tabular // minipage resulting in `Missing \endcsname inserted` error

The minipage solution of this accepted answer is also what I'm looking for, that is, this one :-) not this one :-( The commented-out part of the MWE below tries to implement that minipage ...
1
vote
1answer
72 views

Extra alignment tab error, on Table

I am trying to make a table in LaTeX. However, I get several extra alignment tab errors and I do not know why. I have searched here for similar problems but I only found extra alignment tab error ...
8
votes
4answers
151 views

specific table layout

I want to draw a table like this: with the table width being a portion of the line width, like e.g. 0.8 * linewidth. But I cant figure out how to do it. Anyone? edit: MWE: ...
3
votes
2answers
53 views

How to avoid overfull \hbox warning when using tabularx with \textwidth?

Question How do I avoid the warning Overfull \hbox (10.95003pt too wide) in paragraph at lines [...] produced by the following document? \documentclass[parskip=half]{scrartcl} ...
3
votes
1answer
77 views

Citations in tabularx cause all bibliography entries to not have a number

If I invoke \cite within a tabularx environment and biblatex is loaded with defernumbers=true and sorting=none, references do not get a number. I get these warnings: LaTeX Warning: There were ...
5
votes
1answer
41 views

Create linewidth spaced three columned table with column alignment

I'm writing a two columned article: \documentclass[10pt, aps, prb, twocolumn]{revtex4-1} I would like to include a table which is as long as 1.\linewidth. The table should consist of three columns, ...
0
votes
1answer
37 views

How to make multi-page table with text wrap and auto-width? [duplicate]

So, as far as I understand, I can use the tabularx package to make auto-width tables with text wrap. Also, there is supertabular which allows me to make tables span across pages. How do I make a ...
2
votes
2answers
68 views

vertically center text in a table

I've got the following table: \documentclass[11pt]{article} \usepackage{rotating} \usepackage[ lmargin=1.0in, rmargin=1.0in, tmargin=2.0cm, bmargin=2.0cm ]{geometry} ...
1
vote
1answer
61 views

Justified text and multicolumn size in tabularx

I'd like to create table with (a lot of) justified text and some multicolumns. My example is below. It works more or less... but I get lots of underfull \hbox notices, which I think it's because ...
2
votes
1answer
74 views

Long tabularx doesn't break rows

My long tabularx doesn't break rows when it runs to a second page. Are there any ways I can break long table? (But doesn't tabularx break long table automatically?) In this case, I'd like Par. 1 in ...
6
votes
2answers
182 views

Fit long sentence into table

I would like the sentence "Why get someone who only pretends to be a doctor when you could get a real one?" to fit into this 430pt table. But the sentence doesn't break after "could" and keeps running ...
0
votes
1answer
40 views

merging cells with tabularx

I'am writing my thesis. I want to create a table. I'm using the tabularx environment My code: \begin{table}[htbp] \centering \caption{Add caption} ...
2
votes
2answers
32 views

When using colortbl, column is still white. What am I doing wrong?

It is probably apparent I'm trying to color the last column green, but for me, it shows up as white still. Also, if I understand correctly '>' is just used by tabularx for demarcating formatting ...
3
votes
2answers
88 views

Remove vertical lines in the table unsuccessfully

I have created this Table: via the LaTex source code: \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,floatfix]{revtex4} \begin{document} \begin{table}[!h] ...
7
votes
1answer
117 views

using tabularx 2.09 in a \newenvironment produces errors

The tabularx package with new version 2014/04/22 v2.09 produces errors with the following code which compiled without errors before: \documentclass{article} \usepackage{array} \usepackage{tabularx} ...
4
votes
2answers
148 views

Fixing a messed table

I am trying to make a table in Latex. Now I have combined most of my Latex experience in making this (I am still new) and I thought I was making good progress until I saw the end result. The problem ...
6
votes
5answers
864 views

How to typeset tabularx with 34 columns? (Error message)

I want/need to typeset a very large table with >30 columns, which I created with Excel2LaTeX. I don't get it to compile, it only works if I really use 20 columns, however when I insert the 21st one, ...
3
votes
1answer
71 views

Left-alignment of table caption. Forced to center

I am trying to get the table caption left aligned (as the first table labeled "parameter estimates" using tabularx), but in tabular* environment (also happens to my tabularx in the original document) ...
2
votes
1answer
52 views

Beamer: tabular out of the boder

I am writing slides under beamer. A tabular is out of the boder of the slides. What shoud I do? Resize? \begin{tabular}{ccc} $\hat{\tmmathbf{v}}^1 = \frac{1}{\sqrt{N}} \left(\begin{array}{c} ...
2
votes
1answer
46 views

Column width table in tabularx environment

This stuff is probably a bit cluttred, but anyways: The problem I am experiencing is that I would like to make a correlation matrix as the one depicted above, but the width of the maturity column ...
4
votes
1answer
177 views

Fancy colored array in LaTeX?

I would like to reproduce these kinds of arrays in Latex (probably with tcolorbox) but I have no idea how to achieve this. So is there a way to make these kinds of tables ? Note : I would like the ...
3
votes
3answers
188 views

Wrap text in table column header AND fit table width to pagewidth

How do I get a table where the header in column 2 is wrapped, while keeping the width of the table = textwidth? As you can see from the attached figure, I have a long title for the 2nd column, which ...
1
vote
0answers
50 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 ...
5
votes
3answers
177 views

How can I improve this table (using tabularx)?

I'm trying to make a table look pretty; more specifically, I want the 1st and 3rd columns to be 6-6.5 cm wide, and I want the second column to be only 1-1.5 cm wide. I also want minimal white space in ...
1
vote
2answers
74 views

Thick Lines on table

I've seen the answer someone posted and I implemented it, I would like to keep this configuration as I already based my word using this answer. Now, the question is, how can I make partial horizontal ...
4
votes
1answer
62 views

Shouldn't this table span the whole page width?

I have this table definition as part of a invoice \begin{tabularx}{\textwidth}[ht]{lXrr}% It worked fine for years until I have a very short word in the X column for the first time. Now my table is ...
2
votes
1answer
54 views

Performance question - Tabularx or manual column width calculation?

I'm using the tabularx package and the provided X column type to get dynamic column widths. Since the pdflatex run takes longer and longer, I'm wondering whether it would be faster to use an ...
1
vote
1answer
28 views

Using tabularx and xcolor

Is tabularx compatible with xcolor? I did the following: \documentclass{memoir} \usepackage[svgnames,hyperref,]{xcolor} % colors for hyperref \begin{document} \begin{tabularx}{1.00\linewidth}{X} ...
8
votes
4answers
203 views

How to merge two tabulars into a single table the width of the column?

I am asking for advice on achieving two separate effects in the table environment. (1) I have two tables with a different number of columns. I need to merge them into a single table. I have this ...