{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

3
votes
3answers
4k views

Table row with white text on black background

I am trying to reproduce a table like those in this picture So far I have \noindent \begin{tabularx}{\textwidth}{| l | X | l | l | } \hline & Does the proposed research involve processing of ...
6
votes
5answers
967 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, ...
2
votes
1answer
2k views

How to apply \raggedright to my table headings?

Can somebody show me how to apply \raggedright to my table headings in this example? \documentclass[a4paper,12pt]{article} \usepackage{tabularx} \usepackage{booktabs} \usepackage{siunitx} ...
2
votes
1answer
255 views

Hyperref problem with enumerated tabularx rows

I was trying to do an enumeration with columns, which references one item from another one in the same list. I figured out that the best way is to make a table with enumerated rows. I had a working ...
9
votes
2answers
1k views

How to include tabularx/y in a new environment?

I am looking for a way to define a customizable environment for tables in my latex documents. This means: caption and label width of table customized column format (tabular preamble) While this ...
6
votes
1answer
4k views

Producing a column with rotated text in all cells

I would like to set the first and the second column of the shown tabularx table to automatically rotate any text inside a single cell of one row or a single cell consisting of cells joined by ...
4
votes
3answers
615 views

Reproducing a tabular form

I am trying to reproduce the following tabular form layout: Fig. 1: Desired output (found on the internet). First question: I can merge multiple cells into a single one both horizontally and ...
4
votes
3answers
1k views

How to create equally spaced columns in a table with centered number blocks, which themselves are aligned on the decimal marker?

I've searched around this site and also alot with Google, but did not find exactly a solution to my problem: I want to create a table width equally (and automatically) spaced columns. These columns ...
4
votes
3answers
932 views

Extra line of vertical separator using itemize in tabular

I'm creating a resume based off of the example tutorial HERE. It's fairly simple, actually -- just a two columned table with dates on the left and job on the right. I prefer bullets vs. a paragraph ...
1
vote
2answers
232 views

I need a List environment with other indent and hang

I would like to make for formulas a listing, in which I can explain the meaning of the letters. The following code shows how should it look like: {\renewcommand{\arraystretch}{1.3}\tabcolsep0pt ...
3
votes
1answer
698 views

Create environment inside another environment?

Why can't I define an environment, that encloses another tabularx environment inside it? For example, why can't I do this: \newenvironment{customTabular}{ % This is the begin code ...
12
votes
3answers
2k views

How to use siunitx and tabularx together?

I'm using the tabular features of siunitx (for what it is worth: v1.3 since I'm on TexLive 2009) to align numbers in tables, eg. \begin{tabular}{ p{1.5cm} S S S } bla & 1.23 & 4.5 & 67.89 ...
3
votes
1answer
979 views

Table cell overflow

Consider this document example: \documentclass[a4paper,draft]{article} \usepackage{calc} \usepackage[demo]{graphicx} \usepackage{tabularx,multirow} \usepackage{geometry} \geometry{hmargin=0cm} ...
3
votes
2answers
2k views

Listing inside tabularx?

I have a tabularx environment where I want to put an lstlisting into. But Latex fails to compile it. Testcase: \documentclass[a4paper,12pt]{scrreprt} \usepackage[utf8x]{inputenc} ...
4
votes
1answer
4k views

Right-aligned columns using the tabularx environment

I'm trying to typeset a matrix which has entries of differing widths. However, for aesthetic reasons, I would like each of the columns of the matrix to be the same width, and I'd furthermore like ...
1
vote
1answer
670 views

ltablex + \caption[]{…} = error or bug?

I'm writing my thesis with the document class scrbook from koma-script and want to use the package ltablex (= longtable + tabularx) for setting long tables with automatic page break calculation. Now, ...
4
votes
2answers
338 views

Insert tokens where TeX would put a linebreak?

Given a TeX paragraph, is there any way to insert tokens at places where TeX would automatically insert line breaks (similar to \everypar?) To give some context, I am writing a LaTeX package for ...
1
vote
1answer
1k views

bottomrule not working in a self-made environment

I have this environment for consistent tables in my LaTeX documents: \newenvironment{defaultTable}[2] { \@float{table}[h] \noindent \tabularx{\textwidth}{#1} \specialrule{0.5pt}{10pt}{0pt} ...
16
votes
1answer
4k views

Preventing itemize environment to insert initial vertical space

I'm using itemize and tables like the following \begin{tabularx}{\textwidth}{>{\ttfamily}llX} \toprule \textbf{\rmfamily Operator} & \textbf{Typen} & \textbf{Regel} \\ \midrule = & ...
4
votes
3answers
637 views

Always a space before embedded figures in table - how do I get rid of it?

I am placing figures in a tabularx and I am having trouble getting them to embed properly. I keep getting an annoying spacer before the figure... Now if only this space could be split evenly before ...
10
votes
2answers
3k views

tabularx inside a \newenvironment

There's something wrong with this code: \newenvironment{Tbl} {\begin{tabularx}{\textwidth}{|l|X|} \hline} {\end{tabularx}} but this is fine: \newenvironment{Tbl} {\begin{tabular}{|l|l|} \hline} ...