{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

14
votes
1answer
1k views

Table looking like a block

The goal is to create a table that has the same style than a block of the used theme in order to have a consequent style trough the document. this can be done by the following two methodes shown in ...
5
votes
1answer
337 views

Table with shaded transitition, rounded corners and shadow (like a block of the theme)

this is my first question here. I want to make my table look like the block to have a consequent style. Questions: How to create that shaded transition from the table headline to the body (like the ...
4
votes
1answer
332 views

How to set the row height to equal to the column width of X in the tabularx environment?

Within the tabularx environment, X is a particular width which allows the table to fit the width of the specified horizontal space. I want to create a table which has square cells. How can I set the ...
2
votes
1answer
193 views

How to obtain the width of a column within the APA document class?

I am using the APA document class. My document has some tables: \documentclass[jou]{apa} \usepackage{tabularx} \title{This is the title} \author{This is the author} \begin{document} \maketitle ...
4
votes
1answer
175 views

How not to repeat info for each tabularx cell in row?

This produces a 2x2 table whose first row is blue with white text and whose second row is white with black text. Although it works fine it does repeat \textcolor{white} in each cell of the row where ...
0
votes
1answer
293 views

How can I get TikZ to work within a \tabularx environment?

I'm putting together a poster for a conference using beamer. In one column, the poster has some text next to which I want to put a neuron diagram-style figure next to some text. Pictures embed in this ...
1
vote
1answer
142 views

lstlisting-environment not available within tabularx-environment

Please consider the following example. Does anyone has an idea why I cannot use the listings-environment within the tabularx-environment? \documentclass{article} \usepackage[ngerman]{babel} ...
5
votes
1answer
967 views

siunitx: How to get bold, aligned entries and how to align when units differ in length?

I tried my first steps with siunitx, but I have trouble achieving the following in the minimal example below: 1) aligning the entries in the first column with respect to the decimal dot 2) getting a ...
2
votes
2answers
139 views

Aligning the tops of two tabularx environments

I have used the following to place two tabularx environments next to each other \begin{table} \begin{center} \begin{tabularx}{190pt}{l} \toprule ... Content ... \bottomrule \end{tabularx} \quad ...
3
votes
1answer
1k views

Differences between tabular and tabularx

What is the difference between the tabular and the tabularx environements? Which one should I use for placing a row of pictures?
5
votes
2answers
167 views

Table align in description environment

Why table doesn't align as a text in description environment? I want it has same left indent and width as text. Is that possible? \documentclass[a4paper,oneside]{book} \usepackage[paper=a4paper, ...
1
vote
2answers
533 views

Center vertically in tabularx with multiple font size and arraystretch

I would like to find a way to make boxes with a colored background, that take the whole width available, with variable text size and variable arraystretch. For the moment, the best solution I've ...
3
votes
1answer
606 views

Align cell height of the tabularx rows

The following latex code prints rows one at a time. However all the cells of the rows don't come out aligned. How can I fix it. \documentclass{beamer} \usepackage{tabularx} \begin{document} ...
2
votes
2answers
951 views

Wrapping a table both rowwise and pagewise

I just discovered the tabularx package which allows me to introduce a table column which has line wrapping, and I also know that packages that allow automatic table splitting across pages do exists ...
4
votes
1answer
4k views

Divide the page into 2 parts

I have text, formulas and an enumeration. I tried to use multicols, but it divides the text where it wants. I used tabular, but it don't allow to have an enumeration or I don't know how to do it. In ...
2
votes
1answer
1k views

Problem with vspace around table environment

I recently decided I wanted a caption for the top table, so I placed it in a table environment. When I did this, the \vspace*{-2.5cm} before the second table seemed to be ignored for some reason. Does ...
4
votes
2answers
672 views

How to define a table in documentclass?

Consider a simple table in the document: \begin{tabular}{ l c r } 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ \end{tabular} How we can define this table within the ...
3
votes
1answer
3k views

Multirow and tabularx

I'm trying to make a table that should be pretty straight forward. But somehow, the text in the two first cells seems to "forget" that it's using the X-alignment command in tabularx: ...
0
votes
1answer
402 views

Tabular output from Excel2latex going off the page

I've used excel2Latex to convert a table into tabular format. The code generated is this % Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add caption} ...
6
votes
2answers
503 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
643 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 ...
10
votes
2answers
5k 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
488 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
182 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
2k 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
655 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
240 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
6k 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 ...
14
votes
3answers
6k 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
689 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
347 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
156 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
715 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
559 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
558 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
2k 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} ...
4
votes
1answer
2k 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 ...
7
votes
1answer
3k 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
188 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
726 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
311 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 ...
5
votes
5answers
743 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
1k 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
235 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 ...
8
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 ...