{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

4
votes
1answer
187 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
183 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
426 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 ...
1
vote
0answers
26 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
108 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
367 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
75 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
110 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
286 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
109 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
209 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
336 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
214 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
196 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
128 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
185 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
380 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
2k 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
357 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
811 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
151 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
151 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
248 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
380 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
185 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
209 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
478 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
876 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
174 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
145 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
1k 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
231 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
506 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 ...
2
votes
1answer
379 views

TabularX vertical alignment

Since the enumiten Package (and therefore leftmargin=*) doesnt work in custom environments, I was trying to trick a bit, doing the items in a table like this (don't ask..) : ...
2
votes
1answer
113 views

Non-Uniform Inter-Row Spacing in tabularx with p Cells

Take a look at the following picture: The Namespace column is typeset using a p cell. The page layout is in landscape mode. I've set the inter-row spacing explicitly to 20pt. However, since the p ...
2
votes
1answer
88 views

Problem with aligning using compactlist in tabularx

I've created a table with the tabularx package. Within the cells I use compactitem to create a list. First I had a problem with the leftmargin. To solve this I've used \setlength{\leftmargini}{0pt}. ...
3
votes
1answer
405 views

how to use fancyvrb Verbatim in tabularx?

When using tabular and p it is possible to insert Verbatim block in a table using minipage \documentclass[]{article}% \usepackage{fancyvrb} \begin{document} \begin{tabular}{|p{2in}|p{3in}|} ...
1
vote
0answers
106 views

Removing overfull and underfull box warnings [closed]

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here I have two ...
2
votes
1answer
121 views

Multicolumn cells in tabularx overfill into margin

I have this table in my MWE. In the 2nd table, the cell colors seem to bleed over into the margin. I have tried to set various parameters with the tabularx and in the multicol to reduce this but it ...
3
votes
1answer
212 views

tabularx \hline introduces blank line above

I am using tabularx and I successfully created some tables with it so far (not too nice ones, but thats another problem). One Table freaks me out, as the "header" is separated from the next lines not ...
2
votes
1answer
1k views

multicolumn command with tabularx environment

Apologies if I am posting to the wrong thread - I'm not a regular user of boards and I know you guys can get pretty annoyed when the answer to my question is already out there. I've been searching ...
1
vote
2answers
175 views

Oversize table with nested tabularx->minipage->tabular* has columns that are too narrow (Memoir)

I am trying to lay out a table heading that looks something like this: TITLE --------------------- subtitle Name Value description Name A value of Name Value ...
7
votes
2answers
568 views

table rescaling and subcaption package

I am placing tables side-by-side using the subcaption package in the following way: \documentclass{article} \usepackage{siunitx} \usepackage{booktabs} \usepackage{subcaption} \usepackage{tabularx} ...
3
votes
1answer
171 views

Making rotated adjustbox fit into cell

I tried \rotatebox, but was unable to make the rotated text vertically fit into one cell so I opted for \adjustbox instead. \documentclass{article} \usepackage{float} \usepackage{multirow} ...
6
votes
1answer
298 views

\bfseries and alignment in table

I'm trying to highlight some decimal-point aligned entries in two large tables which are arranged in two columns. I'm using \bfseries to do this and unfortunately this seems to be affecting the ...
3
votes
1answer
256 views

Package minted: \mint Command Not Working Inside tabularx Environment

The question, How to embed a minted environment inside a tabular environment?, addresses a similar issue, but I am using: the tabularx package, and the inline \mint command Is there a workaround ...
5
votes
2answers
107 views

Use a nested enumeration as a column of a table

I am creating a list of requirements in a table in which the first column should be an enumeration, such that each requirement is identified by a unique number. Some requirements also have sub ...
1
vote
2answers
4k views

Wrapping text in \multicolumn

I would like to wrap (and center) text within \multicolumn. Tabularx and tabilary only wrap the text outside of the \multicolumn{} columns. I would also like to define the column width as defined by ...