{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

1
vote
1answer
25 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 ...
1
vote
2answers
40 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
18 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
40 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
30 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
42 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
28 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} ...
4
votes
1answer
80 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
2answers
61 views

organize columns in table

I made a table with this code: \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} ...
2
votes
1answer
23 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: ...
1
vote
1answer
96 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 ...
3
votes
2answers
48 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 ...
8
votes
4answers
149 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
42 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
75 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
37 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
32 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
65 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} ...
0
votes
1answer
36 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; ...
1
vote
1answer
53 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
65 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
172 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
37 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
31 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
86 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] ...
4
votes
2answers
145 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 ...
1
vote
1answer
69 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 ...
3
votes
1answer
59 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
50 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} ...
7
votes
1answer
116 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} ...
2
votes
1answer
43 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
160 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
157 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
176 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
71 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
57 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
51 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
27 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
201 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 ...
10
votes
3answers
523 views

How to create vertical and horizontal dotted lines in a matrix?

Similar to this question, I am trying to output a similar matrix with dotted line instead of dashed line. Is there anyway to do this? I also try to use these three packages: ...
9
votes
2answers
146 views

easylist in tabular

I'd like to build this table: As I have a very long list to itemize, I'd like to use easylist. Obviously the easylist-group causes problems in the tabularx-environment. That's what I coded so far: ...
5
votes
2answers
137 views

How to put numbers in parenthesis in the S column using siunitx package

In the following minimal code, when I replace the l columns by S I get an error message saying invalid-number!! Invalid numerical input '(4.36)'.!! See the siunitx documentation for further ...
2
votes
1answer
95 views

Table exceeds page width (tabularx and tabulary)

I'm trying to fit this table to the page width but I can't. I tried the tabularx environment and the contents got mixed. I tried also the tabulary environment: it's better, the contents are not mixed ...
0
votes
1answer
31 views

table - text centering

I made a table in my thesis with this code: \begin{table}[htbp] \centering \caption{Add caption} \begin{tabularx}{\hsize}{cc} \toprule & Folhosas \\ \midrule Celulose ...
4
votes
2answers
69 views

Anchoring Table (Tabularx) from the Bottom of Table

Can you anchor a table at the bottom, inline with text? I have another question posted which I seemed to have solved myself - List Numbering Through Multiple Tables - but I have since found my way ...
3
votes
1answer
80 views

List Numbering Through Multiple Tables

I am seeking to create a math workbook that looks similar to the picture below. I have included a selection of code I am attempting to get working - marked as MWE. My issue is that I want to continue ...
2
votes
0answers
47 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 ...
9
votes
2answers
165 views

Framing cells vertically in a table

I want to add a box in a tabularx table that would frame several cells vertically. There is this post that shows how to frame cells horizontally (Framing cells in a table), but I cannot figure out how ...
1
vote
1answer
66 views

code-like strings with background color, and using tabular environment

I am going to create the following code-like strings with latex, with same background (gray), font, etc. How can I do this? I used listings package but inside \begin{lstlisting}...\end{lstlisting} ...