{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

2
votes
1answer
149 views

extra alignment tab error

I just started using LaTeX last night, and I was trying to copy a general format I found on wikibooks. I wrote a python script to get 30 different stocks and their quotes, and I made it generate this ...
2
votes
1answer
4k views

Subtables, column separate line draws out of table

I am using subtable environment to put two tables side by side. However, the column separate line between the first two columns draws out of the table. Anyone can help with this issue? Sample code ...
2
votes
1answer
246 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 ...
2
votes
0answers
52 views

breaking a tabular and aligning tabulars throughout the document

I have two questions. How do you break a tabular so that some of it lies on the previous page while the rest is on the next page. See sample tex file provided below. How do you align the tabular ...
2
votes
0answers
154 views

\midrule ->\noalign Known Error but can't resolve it for my tables

I have two tables in the below program. First tables generates error of \midrule -> \noalign etc etc, but second table doesn't. I wonder why, I want the output of first table as like second table. ...
2
votes
1answer
98 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' ...
2
votes
1answer
303 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 ...
2
votes
0answers
188 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 ...
2
votes
0answers
207 views

Table does not fit [closed]

I created a table that does not fit the page. It's not because it's too big, it's because the table starts from the middle of the page when I export it to PDF. So even though I have half the page ...
2
votes
0answers
23 views

How can I create a wrapper environment for a complicated usage of tabularx? [duplicate]

Possible Duplicate: tabularx inside a \newenvironment I know (at least basically) how to create my own environments using \newenvironment, but I recently encountered a problem trying to ...
2
votes
1answer
263 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 ...
1
vote
1answer
6k views

Missing number, treated as zero. What is wrong in here? [closed]

\documentclass[a4paper,12pt]{article} \usepackage[dutch]{babel} % Quotes won't work without babel \usepackage[utf8]{inputenc} % This is very important! \usepackage[T1]{fontenc} \usepackage{graphicx} ...
1
vote
2answers
657 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
62 views

tabularx vs ltablex

I have been working with tables spanned over multiple pages as well as I want "x" functionality as well. I have been successfully working with tabularx (along with threeparttable) for now. It seems to ...
1
vote
2answers
99 views

Centering in tabularx columns

I am trying to do centering and text sizing in tabularx environment using the following definitions: \newcolumntype{b}{>{\centering}X} \newcolumntype{s}{>{\hsize=.25\hsize}X} However, when I ...
1
vote
1answer
70 views

code-like strings with background color, and using tabular environment

I am going to create the following code-like strings with latex, with same background (gray), font, etc. How can I do this? I used listings package but inside \begin{lstlisting}...\end{lstlisting} ...
1
vote
1answer
77 views

Avoid a weird error with ltablex

I'd like to have an table over many pages with the same headline. I use the tabularx package, and the ltablex is required according to link. However if I use ltablex I get sticky errors ! LaTeX Error: ...
1
vote
2answers
52 views

How to fix longtable in right margin

Hello I tried some solutions proposed in other similar questions but I didn't get any solution, my problem is that the longtable don't fix as I want. \documentclass[12pt]{article} ...
1
vote
2answers
195 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 ...
1
vote
2answers
344 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} ...
1
vote
2answers
161 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 ...
1
vote
1answer
506 views

how to split the table heading in booktabs?

how to split the column headings? How do I get newline after some word? When I put \\, it changes the alignment badly. This is my code: \documentclass{article} \usepackage{pgfplots} ...
1
vote
1answer
497 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 ...
1
vote
2answers
228 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 ...
1
vote
1answer
36 views

Wrap word in table cell

I have such table: \begin{tabularx}{\textwidth}{ |p{0.5cm}|X|p{1cm}|p{0.8cm}|p{1.1cm}|p{0.9cm}|p{0.9cm}|p{1.2cm}|p{0.9cm}|p{0.9cm}|p{1.5cm}| } ...
1
vote
1answer
40 views

Whats the problem with the following code?

\begin{table} \caption{Description of the data sets} \newcolumntype{R}{>{\raggedright \arraybackslash} X} \newcolumntype{S}{>{\centering \arraybackslash} X} ...
1
vote
2answers
144 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
2answers
140 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. ...
1
vote
1answer
162 views

classic table footnote with a twist

\documentclass{article} \usepackage{hyperref} \usepackage{tabularx} \usepackage{footnote} \makesavenoteenv{table} \begin{document} \begin{table}[htbp] \begin{tabularx}{\textwidth}{XX} \hline ...
1
vote
1answer
158 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} ...
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} ...
1
vote
1answer
655 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, ...
1
vote
1answer
61 views

tabularx “Missing number, treated as zero” error

error: ! Missing number, treated as zero. } l.16 \begin{tabularx}{\textwidth} {x x x x} MWE: \documentclass[12pt,a4paper,fleqn]{book} % ...
1
vote
1answer
31 views

Problem with setting up a tabularx table

I am trying to set up a tabularx table with very long item descriptions in first column \documentclass[12pt,ngerman]{article} \usepackage[utf8]{inputenc} \usepackage{tabularx} \usepackage{booktabs} ...
1
vote
1answer
79 views

Extra alignment tab error, on Table

I am trying to make a table in LaTeX. However, I get several extra alignment tab errors and I do not know why. I have searched here for similar problems but I only found extra alignment tab error ...
1
vote
2answers
82 views

Thick Lines on table

I've seen the answer someone posted and I implemented it, I would like to keep this configuration as I already based my word using this answer. Now, the question is, how can I make partial horizontal ...
1
vote
1answer
80 views

Trouble creating basic tables

I am currently writing my dissertation in LaTeX, ran into a brick wall creating a simple table. I want it to look similar to this (Quick mockup done in Numbers) The main issues I'm facing resolve ...
1
vote
1answer
45 views

Fitting column headers on one row

I have the following table: \documentclass[12pt,notitlepage]{article} \usepackage{setspace} \usepackage{ifthen} \usepackage{booktabs} \usepackage{array} \usepackage{multirow} \usepackage{tabularx} ...
1
vote
1answer
369 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 ...
1
vote
2answers
3k 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 ...
1
vote
1answer
260 views

Color lines tabularx add padding? [duplicate]

Possible Duplicate: Color changes cell height in tabular The following latex table contains two rows. The rows are identical, except for the greeen color in the first cell in the second ...
1
vote
1answer
175 views

Stacking tables with the geometry package included

I am new to LaTeX. I am trying to stack tables one on top of another but I seem to be having a problem doing that while including the geometry package. I am doing this in order to simulate very ...
1
vote
2answers
579 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 ...
1
vote
1answer
868 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 ...
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} ...
1
vote
1answer
105 views

Really big table troubles

I have a really big problem here. I have to insert a big table in a document. No matter how I tried to make it smaller, my boss does not want it to be changed. He made it using word, and I have to ...
1
vote
1answer
60 views

How to make multi-page table with text wrap and auto-width? [duplicate]

So, as far as I understand, I can use the tabularx package to make auto-width tables with text wrap. Also, there is supertabular which allows me to make tables span across pages. How do I make a ...
1
vote
1answer
86 views

Justified text and multicolumn size in tabularx

I'd like to create table with (a lot of) justified text and some multicolumns. My example is below. It works more or less... but I get lots of underfull \hbox notices, which I think it's because ...
1
vote
1answer
35 views

Using tabularx and xcolor

Is tabularx compatible with xcolor? I did the following: \documentclass{memoir} \usepackage[svgnames,hyperref,]{xcolor} % colors for hyperref \begin{document} \begin{tabularx}{1.00\linewidth}{X} ...
1
vote
1answer
347 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 ...