{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

5
votes
1answer
311 views

Colored diagonal divided table cell

How can I fill a table cell with different colors? I have tried the diagbox package but it doesn't work as you can see. I am not so much interested in the diagonal line. I only want to separate the ...
4
votes
1answer
133 views

Serious problems with tabularx table layout

I have some issues when creating my tables in LaTeX and really hope, that some of you could help me. My table looks like this: Here is my coding: \documentclass[a4paper,12pt,oneside]{article} ...
2
votes
2answers
105 views

Align equations inside tabular

How can I align equations inside tabular? I want to place few lines of equation by side of the picture. But it turns out that I cannot use \& in order to shift equals signs to be one under ...
5
votes
1answer
77 views

Bottom hline in a tabularx wrapper environment

I want to define a wrapper environment for a table where one of the columns stretches to fill the available width. I'm using the tabularx package and its X column for that. As mentioned here and in ...
1
vote
2answers
133 views

In multiple tables, how to align columns again after variable-width columns?

There are multiple (e.g., 2) tables that contain similar information. Between them is one table row of white space. All tables have 3 columns. The first two columns belong together, which is why the ...
1
vote
0answers
52 views

Labels in table rows [closed]

I want to use labels for single table rows: \begin{table}[h] \begingroup \fontsize{8pt}{9pt} \selectfont %\begin{adjustwidth}{}{-2cm} \begin{tabularx}{\textwidth}{ | s | m | b | s | s | } ...
4
votes
1answer
130 views

How to reduce font size automatically to prevent new line in cell

I use tabularx environment, where \begin{tabularx}{\linewidth}{XXXXXXXXXXXXXXX}. When I inserted in every tabulars long numbers, cell splits for two lines and my table looks like very ugly. This long ...
5
votes
1answer
205 views

How to print acronyms of glossaries into a table?

for now I am using a tabularx table to print acronyms manually. But I want to use the style of my table with glossaries and acronyms: \printglossary[type=\acronymtype,style=mystyle] The table so far: ...
4
votes
2answers
235 views

Simpler Way In Creating My Chart In LaTeX

Below is the code for a chart that I created using LaTeX. I am creating use cases for my program, and there are 117 use cases that I need to create. It would be possible to use the below code, but it ...
1
vote
0answers
25 views

Different outputs with/ without \newenvironment [duplicate]

I'm trying to setup my own CV without Curve. To do so, I intend to separate sections the same way with a \newenvironment. %[...] \newlength{\margin} \setlength{\margin}{.3\textwidth} ...
4
votes
1answer
85 views

Create tabs in tabularx environment

I just have a question if it's possible to insert tabs into one cell in tabularx. For a better illustration of this problem I will include pictures. This is what I have in textbox in my program. So ...
0
votes
1answer
73 views

Centering texts in tabularx

It is my first question on this site. I am not sure my LaTeX code will be well written here. Here is my table code. The problem is that the text in the first four columns are not centered in respect ...
3
votes
1answer
49 views

Height of tabularx containing a multicol

I would like to have a vertical label to the left of a multicolumn block of text. The easiest way to do this I have found is using a multicol environment as one of the cells in a tabularx table. The ...
4
votes
2answers
152 views

dcolumn and tabularx, part 2

This is a follow-up on another question I asked. I am trying to combine the dcolumn package with tabularx (or tabular*for that matter) so the table spans the width I specify, columns are evenly ...
7
votes
2answers
399 views

Combine column types defined in dcolumn with tabularx

I'm looking for a way to define a column type which "mixes" the 'D' column defined in the dcolumnpackage and the 'X' column defined by the tabularx package. In other words, I want a column type that ...
4
votes
1answer
141 views

table in LaTeX giving error

I'm trying to create the table using the below script and its giving this error "! Missing $ inserted.<inserted text> $ l.689 \end{tabularx}" \begin{table*}[t] ...
4
votes
3answers
152 views

Vertical cell alignment in tables?

This problem drives me crazy right now. How can I draw a table with the following properties in Latex? width = \textwidth 1 column: horizontal alignment = left, vertical alignment = bottom 2 column: ...
2
votes
2answers
238 views

Align position of decimal point within tabularx

I have made a table with 5 columns, of which I'd like the last 4 to be of the same width. Therefore I was told I should use tabluarx. Using this package my output looks fine, but I have also numbers ...
0
votes
0answers
23 views

Text color changes height of tabular row [duplicate]

Why is it so? My MWE: \documentclass{article} \usepackage{tabularx} \usepackage[table]{xcolor} \begin{document} \begin{table}[H] \caption{Title.}\label{title} ...
2
votes
1answer
95 views

Citing problem in tabularx with endfloat

Guys I'm hoping you can help me with this one. I'm trying to compile a document with the apa6 class using apacite/natbibapa. I run in to trouble when I want to use '\citet' in the table. '\citep' ...
4
votes
2answers
273 views

How to draw circles around multiple row cells and column cells

How to draw circles around multiple row cells and column cells as shown in attached figures. I am using Professional lay out tables... i.e. Tables in tabular environment, Table below I am also ...
2
votes
1answer
70 views

My Table Adds Page Breaks

I am making a table and have two problems. Here is the start of the TeX file: \documentclass[12pt]{article} \usepackage{tabularx} \usepackage{afterpage} \usepackage{pdflscape} \usepackage{amsmath} ...
6
votes
3answers
98 views

How do I stop a table where the margin falls, rather than using the textwidth command?

I've been having some problems with nesting tables in the tabularx environment. Basically, I would like each table to stop at the margin. Ordinarily, I would achieve this with \textwidth as the width ...
4
votes
2answers
229 views

How to make different font size for each row in tabularx?

\begin{landscape} \begin{table}[!h]\renewcommand{\arraystretch}{1}\addtolength{\tabcolsep}{0 pt} \centering \caption{Diagnostic test statistics for all models \& Emerging markets.} \label{T.55} ...
6
votes
1answer
97 views

Column alignment in ltablex

I tried to apply the method proposed in How to get column alignment in tabularx? to right align cells in a ltablex. However I have a problem when the size of the table is just enough for my columns: ...
5
votes
3answers
193 views

How to tell LaTeX what I write should stay as it is, and not as a mathematical expression

I'm trying to write my thesis on LaTeX and I don't have much experience with it. I try to put an information about some arrays I used as a table one like looks like this: column names: FileName, ...
4
votes
1answer
276 views

Underfull \hbox when creating table containing much text

I am completely new to LaTeX and how to create tables in this environment. Currently, I am trying to create a table that contains much text in each cell using tabularx. The output does not look too ...
1
vote
2answers
166 views

Why won't my \otoprule command work in table formatting?

Primer: I'm very new to LaTeX. I am creating a table with the following code. Here is part of the table: \usepackage{tabularx, multirow, booktabs} \begin{table}[tp] \caption{Rain garden site ...
2
votes
1answer
171 views

Table Numbering And Caption in Same location

My table and caption are located on the same line and this started happening after I used a different class file for the conference I am applying towards. Here is a picture of what I mean: (Normally ...
2
votes
2answers
123 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
153 views

Align columns, last vertical line bug and add row height

This is my table: I have a few problems: I want both columns to take each 50% of the page width (excl margin), but the second column's text needs to be aligned right. The last vertical line is ...
1
vote
2answers
306 views

Insert the table environment into the tcolorbox environment

Is possible insert the table environment into the tcolorbox environment, made available by the package tcolorbox? % !TEX program = pdflatex % arara: pdflatex: {synctex: yes} ...
3
votes
1answer
1k views

Fix column width with tabularx

I want to create a table with 100% width? The first two columns should have a minimum width and the last column should have the rest width. The text in the last column (except the first cell) should ...
2
votes
1answer
247 views

tabularx with rotatebox and top-alignment

I would like to write a table with column name in a rotatebox. The problem is that I can't make the row title in 2 lines and rotated and then, the content in itemize is not top-aligned. Can you help ...
11
votes
3answers
778 views

Horrible table layout

I have a table which gives an overview of some theory. It includes a lot of words or combination of words. The layout is horrible and not LaTeX quality. Some guidance as to how to improve would be ...
1
vote
2answers
131 views

Can't add fixed column types to tabularx columns with different widths

Trying to introduce a ratio between the X-column types of tabularx not 1:1. I now encountered the problem that my third column type p{11ex} is no longer accepted. I don't know why. ...
3
votes
1answer
140 views

Using tabu/tabularx inside xparse NewDocumentEnvironment

My question seems very similar to this, but with tabu instead of tabular*. In fact, switching the options in that example causes the failure I see here. \NewDocumentEnvironment {trace} {} {% ...
3
votes
1answer
193 views

How to create a table where one cell spans all the columns and the text wraps properly?

I need to create a table like this: table with two columns and width equal to width of the page; border around whole table; first row spanning two columns; with background color, bold font and ...
1
vote
1answer
298 views

tabularx and tablefootnote multiple footnotes from one \tablefootnote

In my tablularx environment I have a footnote that I'd like to have placed at the bottom of the page. Using both the tabularx and tablefootnote packages all is well. However I get served a bit too ...
0
votes
1answer
2k views

Increase row height of tabularx [duplicate]

I'm using the tabularx package from within memoir for creating a table. I'm trying to set the row height and found for tabular the command \setlength{\extrarowheight}{40pt} However, with my ...
4
votes
1answer
155 views

tabularx within the enumerate environment

does someone know how to set the width of the tabularx table to the width of the text inside \item in the enumerate environment? \textwidth doesn't account for the environment
2
votes
0answers
172 views

Defining the position of a tabularx environment [closed]

In my report, I use a tabularx environment within a mdframed environment. I don't know why but I have to delete the table environment surrouding my tabularx environment when I want a table in my ...
4
votes
1answer
357 views

Table and \hlines too short or wide

Here is a MWE of what I am trying to do. \documentclass[a4paper]{article} \usepackage{tabularx,booktabs} \usepackage{color,colortbl} \begin{document} \begin{table}[htb] \centering ...
4
votes
1answer
577 views

Whitespaces in tabularx added after \extracolsep

I'm quite new to Tex, but I did some tutorials and I'm stuck now, after googling didn't help anymore. My code: \bgroup \def\arraystretch{1.75} \begin{tabularx}{\textwidth}{ | l | ...
4
votes
1answer
155 views

List of definitions

I have a plain-text document that I would convert to LaTeX. The document is not a typical text document but a list of definitions including some short prefaces and optionally "post-faces". Example ...
2
votes
2answers
139 views

How to *disable* Lua's Microtype for a given tabular column?

I'm looking for a way to disable Lua's Microtype (note the capital M - to distinguish from the lower case microtype package) in the first tabular column of the MWE given below: ...
3
votes
1answer
770 views

Question about \multicolumn in Tabularx

I have a table with two columns like this: \begin{tabularx}{\textwidth}{XX} test & test \\ \multicolumn{2}{l}{test} \\ \end{tabularx} However the multicolumn line does not function good ...
0
votes
0answers
22 views

Tabularx textwidth tables jump to last page [duplicate]

I am using tabularx to get a table that automatically stretches to the full width of the paper. However, my tables seem to be put at the last page when I apply this code (see below). How can I avoid ...
0
votes
1answer
206 views

Automatic table width doesn't work anymore

I got an odd problem since yesterday. I'm writing my thesis with Lyx. I'm using a template based on the KOMA-Script. Well, yesterday I've deleted a number of tables from my document. After compiling ...
1
vote
1answer
301 views

vertical alignment using tabularx / arraystretch

I am using the tabularx package to customize my tables. I changed the definition of tabularxcolumn to vertically center the text. As I am using arraystretch, the bold 'titles' of my table are aligned ...