{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

6
votes
2answers
561 views

Hebrew vs. German/English translation side-by-side

I am having the following problem: I have Hebrew texts and want to put translations (and other information) right next to it in a nice way. (Previously I used the old Nisus Writer for Mac which for ...
0
votes
2answers
704 views

How to create a new command with variable numbers of arguments

I am creating one command to define a functional requirement and many non functional requeriment in a table. I wrote the following code: \newcounter{Number} ...
0
votes
1answer
1k views

tabular tabularx automatic linebreak (p/m/b doesn't work as expected)

The following snipped should break at the end of the column \begin{table}[hb] \begin{tabular}{|l|p{.5\textwidth}|} \hline \bfseries Col 1 & \bfseries Col 2\\\hline \hline Line ...
11
votes
2answers
6k views

Whole page table with tabularx

I am trying to make a full page table using tabularx. As far as I can understand, the second parameter specifies the entire size and the "X" columns self-stretch to fill it up. What I run into is a ...
1
vote
1answer
506 views

How to make (nested) tabularx and multirow play nicely together?

I'm trying to make a layout with 3 independent columns. Following answers this question I have tried using tabularx and multirow to make it work. I seem to be nearly there: However I have two ...
4
votes
0answers
190 views

Vertical positioning of content on page [closed]

I've got a document I'm going to generate from some input which basically is a tabularx for each page: \begin{tabularx}{\textwidth}{lXlll} \hline \\[3ex] \commandOne \\ \hline \\[3ex] \commandTwo \\ ...
3
votes
1answer
3k views

How do I use supertabular with my tabular code?

I'm trying to create a list of notation, but I've been unable to use nomencl as I would like so I'm using a table. I'd like the table to split as it goes over to the second column (the working example ...
4
votes
1answer
746 views

How do I center table headings and stretch the table to full column width?

I have the following code for creating a table in the multicols enviroment. I'd like to center the column headings and make it so that the table automatically takes up the entire column from edge to ...
2
votes
1answer
265 views

How to create a document wide table style for border [duplicate]

Possible Duplicate: How to separate table content and table style is it possible to create a document wide table setting for how table border are applied for each table? I want to have the ...
9
votes
2answers
8k views

Automatically stretch table to evenly fill horizontal space?

I want to have my tables fill the entire width of the page (i.e., \textwidth). So far, the only thing I've managed to come up with is: \renewcommand{\tabcolsep}{4.4pt} By manually trying different ...
18
votes
3answers
9k views

Aligning Decimal Points in Table

I want to align two numbers in two different rows the decimal point. I do see a link for that here: Aligning numbers by decimal points in table columns However, I don't understand how to ...
3
votes
2answers
2k views

how to vertically align text in multirow cell with tabularx with renewcommand?

Here I come again, Following the indications on this url I managed to get almost exactly what I want. However the problem is that the first multirow cell (with text "5 and 6") is not vertically ...
6
votes
2answers
809 views

Conflict between tabu and tabularx, when using siunitx

I have many tables set with {tabularx} but for some of the it seems easier to use {tabu} which works. But if I use both packages and gave the last X column in {longtabu} an S and optional argument it ...
2
votes
2answers
2k views

How to create a table that spans over multiple pages, breaking single rows

With the longtable package one can create a table that spans over multiple pages. The problem is that it will never break a row in two: either it stays entirely in the current page or it is moved ...
0
votes
1answer
1k views

Aligning columns in tabularx with multicolumn

I'm trying to set up a table to use in my CV, where by I list my qualifications and the date achieved (two separate columns), and under it the list of grades achieved. I want two separate sets of ...
12
votes
1answer
374 views

Are subcaption and tabularx incompatible?

I know that tex.sx isn't the forum for bug-reporting, but I have a bit of a problem and I'm looking for a technical workaround. The following MWE produces odd labels: \documentclass{article} ...
4
votes
1answer
164 views

Shortcut macro for tabularx environment

I'm trying to define a shortcut using \newcommand for setting up a table using the tabularx environment. The command seems to work fine when beginning the table: \newcommand{\bt}{\begin{tabularx}} ...
1
vote
1answer
905 views

avoiding indentation in tabularx environment with proportionally defined columns

I'm using the tabularx environment (XeTeX, MiKTeX 2.8, TeXnicCenter) with four porportionally defined columns (see below). I cannot figure out how to prevent the resulting table from being slightly ...
3
votes
2answers
615 views

Tabular column and line extend to page-height

I've got a table that splits a page with a vertical line. I'd like the table's total height to be that of the page, and in particular have the vertical line down the center extend from the midline to ...
1
vote
2answers
673 views

Alignment of columns of nested tables (tabularx)

I want to nest 2 tabularx tables: the columns of the "inside" table belong to a column of the "outside" table and therefore shall be indented and have a vertical line on their side. I tried to do ...
1
vote
1answer
3k views

Compactitem in tabular produces extra vertical space after environment

If I use compactitem in a tabular(x), there is a vertical space before and after the listing environment. How can I remove that space? \documentclass[11pt, a4paper]{scrartcl} ...
5
votes
1answer
4k views

Vertical line only in one part of a table

I need some help on putting a vertical line in the second part of the table, I don't know how to do it since the tabularx I declared does need to have that only in the second part. The code I used ...
8
votes
1answer
4k views

Wrapping column text using multicolumn and tabularx

I have two tables I am typesetting above each other as follows. \documentclass[a4paper,11pt]{article} \usepackage{tabularx} \usepackage[left=2cm, right=2cm, bmargin=1.5cm]{geometry} \begin{document} ...
5
votes
1answer
220 views

Table counter increasing by 2 for every table

I'm having some issues when using tabularx within a table environment. The most annoying of these issues is that the table counter seems to be increasing by 2 for every table. So instead of having ...
5
votes
2answers
904 views

Width of nested tabularx environments

I am trying to create a RPG "character sheet" using LaTeX. For those unfamiliar with the madness of nested boxes, underlined whitespace etc. involved, this here gives a good impression (except that I ...
4
votes
1answer
320 views

biblatex and tabular patching: error message

(/localhost/texlive/2011/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (/localhost/texlive/2011/texmf-dist/tex/generic/oberdiek/se-ascii-print.def) (./TikZ-commands.tex) ...
3
votes
3answers
3k 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
936 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
251 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
582 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
893 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
677 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
925 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} ...
3
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
658 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
335 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
3k 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
629 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} ...