{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

2
votes
1answer
14 views

Centered columns with fixed width using tabularx

How do I center the last seven columns in the attached text without dropping the fixed table width or the fixed column width? \documentclass[a4paper,12pt,oneside]{article} ...
1
vote
2answers
15 views

Page-breaking of long tables with tabularx and booktabs in scrreprt documentclass

within my thesis I want to have a page break within tables that are very long, and which are created with tabularx and booktabs packages. Surprisingly I could not find any applicable solution for my ...
2
votes
1answer
29 views

Finding the width of \bf text for sizing a paragraph in a table

I have this structure, which builds a table exactly the width of the text, split into two columns. I want the left column to be exactly the width of the longest words in the column, but to still be a ...
2
votes
1answer
29 views

Facing problem with tabularx

I am trying to create a table. However, I am facing problems with rules and formatting. Please have a look at the latex code. \documentclass{article} \usepackage{tabularx,booktabs} ...
2
votes
0answers
41 views

RTL and LTR columns in ONE table?

Is it possible to set some columns in one table as RTL while other are LTR? I want to do something like this: % !TEX encoding = UTF-8 Unicode % !TEX TS-program = xelatex ...
4
votes
2answers
76 views

List in a multicolumn in tabularx

I'm trying to insert a list in a multicolumn of a table defined through tabularx: \documentclass[11pt, a4paper]{standalone} \usepackage{tabularx} \usepackage[left=25mm, right=25mm, top=25mm, ...
1
vote
1answer
53 views

Alignment problems with table using tabularx

I have a problem with a table which I am using for a publication. The code is as follows: \begin{table}[htbp] \centering \captionof{table}{Summary} % \begin{tabularx}{0.5\textwidth}{| c | ...
1
vote
1answer
56 views

Problems for coloring tables using booktabs and xcolor

Well, recently I posted a question related here. Thanks to the solution suggested by Harish Kumar I could fix the two tables posted at first. Later I tried to apply the solution to a new third table. ...
3
votes
1answer
79 views

Problems with \rowcolors and booktabs

I'vegot few tables created with few packages included booktabs where I use the command \rowcolors from the xcolor package. But in the last I notice that the colour is wider that the lines of the same ...
2
votes
1answer
40 views

Align numeric values from knitr command \Sexpr{} by decimal in table created with booktabs and tabularx

I am writing my thesis as dynamic document using .Rnw, knitr and R. I ran my statistical analyses in an external R-script, which I sourced into my main .Rnw-file. I also want to create some tables ...
2
votes
1answer
96 views

Decimal alignment in tables with tabularx and multicolumn

in my masterthesis I want to create regression tables the numbers in the table are aligned by the decimal point. Here is a MWE to get an impression what I'm talking about: ...
1
vote
1answer
35 views

Table formatting problem with multiple multi-rows

I am trying to complete the formatting of this table. I cannot get the text in the final column to wrap and remain in the cell. The "stuff stuff stuff" text just keeps going off the edge of the ...
3
votes
1answer
122 views

How to draw some lines between figures in LaTex

I want to draw the following figure. How do I do this? Some lines between figures, and Can you give me this lines some color? Some color lines in figure, as following:
0
votes
0answers
30 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 ...
4
votes
1answer
50 views

aligned-environment in tabularx - fail to align vertically

I try to have a simple tabularx-table in which the cell content is vertically aligned to the top. While this works as expected for text, two aligned-environments in adjacent cells are vertically ...
4
votes
3answers
94 views

Enlarge table/tabular without using tabularx

I have the following table and I want to enlarge this. The width of the table has not to be big as the \textwidth but it should be a little bit larger as it usually is: \documentclass{article} ...
2
votes
1answer
37 views

Tabularx + multicolumn + 1 fixed column size

I made a table with tabularx which has a multicolumn row first followed by 2 rows, which have 2 columns, the first column should have a fixed size (p{7mm}) the second should be X. If I set the size of ...
2
votes
1answer
51 views

Set column width to point

I currently have a tabularx table with four columns. I initialize the environment like this: \begin{tabularx}{\linewidth}{l p{0.4\linewidth} | l X l X} How could I change this so that the second ...
0
votes
1answer
56 views

Multirow: column borders missing

I'm not getting column borders correctly in the following table. I'm using multirow package. Also, I want the '123' in the big cell to be centered, but it is misaligned. I'm not sure how to fix this. ...
3
votes
3answers
147 views

What does mean the code in this table?

After see the Andrew Swann solution to my previous question: How to fit this table in a page? I tried to fit it to another table: \documentclass[11pt]{book} \usepackage[utf8]{inputenc} ...
5
votes
3answers
62 views

Align text at the bottom of the table cell

I need to create table of content in a table format with text wrapping in the subject titles. The page number is currently at the top of each cell. In the rows where the title is wrapped, I need the ...
4
votes
1answer
68 views

Tabularx: columns with different widths

My code can be found below. \documentclass[fleqn,10pt]{SelfArx} % Document font size and equations flushed left \usepackage[font=small]{caption} % New commands ...
0
votes
1answer
39 views

Two tables side by side placed ; need to to align vertical top

I've two table placed next to each other as mentioned HERE Brief copy of code is mentioned below: \parbox{.2\textwidth}{ \begin{tabular}{|c|c|c|c|c|} \hline $\textbf{Q\#}$&$ ...
4
votes
1answer
82 views

Are tabls and tabularx not compatible?

The following MWE does not compile: \documentclass{article} \usepackage{tabularx,tabls} \begin{document} \begin{tabular}{ccc>{arraybackslash}c} 1&2&3&4\\ 1&2&3&4\\ ...
4
votes
1answer
49 views

table (\tabular + \shortstack) gives weird result

I am using a template from this journal. When I am placing table in covering 2 columns (textwidth) using table* I get the following error. MWE: \documentclass[USenglish,twocolumn]{article} ...
2
votes
1answer
59 views

\newenvironment behaviour with \begin{landscape}

I would like to use landscape mode for a \newenvironment{lessonPlanner} in which I have a table. but I get an error when I embed \begin{landscape} and \end{landscape} in the begin and end statments of ...
2
votes
3answers
339 views

How to make a table look nicer

I am currently working on my master thesis and my tables which are used as a type of matrix simply look awful. How can i make them look much better? \begin{table}[H] \centering ...
2
votes
1answer
62 views

Vertical aligment of dinglist inside table cell with `parskip`

Why is the list text so close to the top line of the cell in some lists? I know it's a problem with the parskip package. I can solve this by adding this strut in every cell before the text ...
2
votes
2answers
56 views

Table used to place text and symbols

I want to place some text and a line created with rule. It should look like the example you can see as image. The table shall be textwidth. \documentclass[a4paper, 11pt]{memoir} ...
4
votes
3answers
88 views

What is the correct way to stretch the cell keeping it vertically centred in tabularX

I have this table, in which the text is touching the horizontal lines above and below, I tried some of the solutions to stretch the cells I found in the web. I managed to stretch the cell but I can't ...
3
votes
1answer
77 views

Need help starting long, text-heavy table

I am new to LaTex and trying to teach myself. Currently I am trying to write a unit plan for graduate school (MA in Math Ed), which would look something like that provided image. One question, one ...
4
votes
1answer
27 views

Erroneous vertical spacing in tabular in combination with makeindex

I'm having some trouble with vertical whitespace appearing in a tabularx environment where I really don't expect it to. Consider the following MWE: \documentclass{article} \usepackage{tabularx} ...
6
votes
1answer
80 views

Dynamically calculated Row height in Tables

I am trying to dynamically allocate the height of rows in a table based upon a number, specifically the number of minutes that are devoted to a specific activity in a class lesson. The table ...
5
votes
3answers
111 views

Long list of tabular figures inside minipage goes off page

Using the follow MWE, I'm able to create a beautiful lists of photos on the left and a caption on the right (similarly, I could also use the sidecaption package or floats directly). MWE [LuaLaTeX]: ...
1
vote
1answer
49 views

Wrap word in table cell

I have such table: \begin{tabularx}{\textwidth}{ |p{0.5cm}|X|p{1cm}|p{0.8cm}|p{1.1cm}|p{0.9cm}|p{0.9cm}|p{1.2cm}|p{0.9cm}|p{0.9cm}|p{1.5cm}| } ...
3
votes
1answer
57 views

hdashline with tabularx together with custom row height is not working

I tried to set up a table with different custom row height and a dashed line. I'm using tabularx for the table and arydshln for the dashed line. When I import arydshline before tabularx it starts ...
4
votes
2answers
93 views

Tabular cells with exact same width and multicolumn

I tried to design a table with some very specific preferences: The table should span across the whole width Each cell can have a different alignment Each cell has exactly the same width Some cells ...
2
votes
2answers
643 views

Overfull \hbox (15.0pt too wide)

I have multiple tables which look like this: \begin{tabularx}{\textwidth}{|l|X|l|} \hline \textbf{ID} & \textbf{Description} \\ \hline 336858 & The description \\ \hline \end{tabularx} and ...
6
votes
0answers
50 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 ...
4
votes
2answers
47 views

ltablex inside environment throws \end -error

I wanted to use a tabularx (ltablex package) inside an environment, but there is an error (but it still builds okay). I'm using ltablex, because I want a longtable spanning several pages with the ...
1
vote
1answer
133 views

tabularx “Missing number, treated as zero” error

error: ! Missing number, treated as zero. } l.16 \begin{tabularx}{\textwidth} {x x x x} MWE: \documentclass[12pt,a4paper,fleqn]{book} % ...
6
votes
1answer
78 views

Unwanted padding in tabular columns when cells contain multiple rows

Whenever I need to create a cell with multiple rows in a tabular environment, I usually create enclose the contents of the cell within a tabular environment within the cell. This has been a great fix ...
5
votes
1answer
139 views

Automatic cell colouring using cellcolor: Undefined Control Sequence

I am trying to produce a table, using tabularx, where the cells are coloured automatically depending upon their value. I want to use the \cellcolor command as it will fill the whole cell, rather than ...
5
votes
2answers
96 views

Problem with subcaptions in subtables

I am trying to implement a table with several subtables, but working with subcaption does not work neither when I try tabularx. This subtables have different number of columns. with the following code ...
5
votes
2answers
88 views

Redefinition of tabularx column not applying to all columns

I obeserve a strange behaviour when trying to get text vertically centered in tabularx cells. According to a suggestion, I tried \renewcommand{\tabularxcolumn}[1]{m{#1}} which works so far as it goes. ...
3
votes
2answers
127 views

table with many columns

I have some questions about the below table: If I omit the margins, the table will completely get disordered. I want to have the two 4 columns in the middle to have a slight distance with each other ...
0
votes
1answer
59 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
106 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 ...
5
votes
2answers
92 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 ...
4
votes
3answers
106 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} ...