{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
227 views

Border alignment issue using tabularx in LaTeX

I'm writing a program to parse wikimarkup to LaTeX, and I've run into a bit of an issue when it comes to creating tables. For some reason, the right vertical edge of the table is getting pushed way ...
2
votes
1answer
241 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 ...
2
votes
1answer
24 views

Extra horizontal lines in tabularx package

When I use the tabularx package to generate a table, this happens: \documentclass [12pt]{book} \usepackage{tabularx} % for stretching tables to page width \usepackage{multirow} % for multiple ...
2
votes
1answer
34 views

Finding the width of \bf text for sizing a paragraph in a table

I have this structure, which builds a table exactly the width of the text, split into two columns. I want the left column to be exactly the width of the longest words in the column, but to still be a ...
2
votes
1answer
34 views

Facing problem with tabularx

I am trying to create a table. However, I am facing problems with rules and formatting. Please have a look at the latex code. \documentclass{article} \usepackage{tabularx,booktabs} ...
2
votes
2answers
58 views

Table used to place text and symbols

I want to place some text and a line created with rule. It should look like the example you can see as image. The table shall be textwidth. \documentclass[a4paper, 11pt]{memoir} ...
2
votes
1answer
31 views

How can I place dot2tex graphs next to each other?

I have two dot2tex graphs that have a relatively large height and small width. The combined width of the graphs is considerably smaller than the text width. For example: ...
2
votes
2answers
104 views

vertically center text in a table

I've got the following table: \documentclass[11pt]{article} \usepackage{rotating} \usepackage[ lmargin=1.0in, rmargin=1.0in, tmargin=2.0cm, bmargin=2.0cm ]{geometry} ...
2
votes
1answer
87 views

Beamer: tabular out of the boder

I am writing slides under beamer. A tabular is out of the boder of the slides. What shoud I do? Resize? \begin{tabular}{ccc} $\hat{\tmmathbf{v}}^1 = \frac{1}{\sqrt{N}} \left(\begin{array}{c} ...
2
votes
1answer
30 views

\the\thislevelcount is available inside a ForEachX loop, but \thislevelitem is not (the forarray package)

I'm trying to loop though a comma delimited list and print out the elements in a table. Here is the code that works half-way for doing this: \documentclass[10pt,a4paper]{article} % ...
2
votes
1answer
51 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} ...
2
votes
1answer
108 views

LaTeX and Table formatting

\documentclass{article} \usepackage[english]{babel} \begin{document} Without specifying width for last column: \begin{center} \begin{tabular}{| l | l | l | l |} \hline Day & Min Temp ...
2
votes
1answer
114 views

How can fit a large table vertical with a picture?

I use column package to split sile to 2 column. one for picture and one for table. But my table was broken. Please help me fix it. Here is my code: \RequirePackage[demo]{graphicx} ...
2
votes
1answer
222 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
1answer
120 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
2k 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 ...
2
votes
1answer
174 views

text grouped style in sidewaystable

I have a problem with my sidewaystable. I have quite a lot text in one of my columns. I have used tabularx so that the text doesn't run out of the page at the right side. Now the text is in grouped ...
2
votes
1answer
579 views

newenvironment tabularx and begin center

I try to create a custom env, based on a tabular. I try to make a \begin{center} before my tabular to remove identation at the beginning of the tabular, but he tells me "File ended while scanning ...
2
votes
1answer
644 views

How to left align footnotes under tabularx in a minipage

I am new to LaTeX, trying to create a table using a tabularx in a two column format. I am creating the table in a minipage so that footnotes can appear at the bottom. Everything works out fine, but ...
2
votes
1answer
2k 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 ...
2
votes
1answer
59 views

Set column width to point

I currently have a tabularx table with four columns. I initialize the environment like this: \begin{tabularx}{\linewidth}{l p{0.4\linewidth} | l X l X} How could I change this so that the second ...
2
votes
1answer
574 views

Table spreaded over multiple pages . Tabularx [duplicate]

To spread the table over multiple pages I know the utility islongtable But it seems that it doesn't work for tabularx . what is the solution. there may be duplication of question but couldn't find ...
2
votes
2answers
75 views

organize columns in table

I made a table with this code: \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} ...
2
votes
1answer
62 views

Column width table in tabularx environment

This stuff is probably a bit cluttred, but anyways: The problem I am experiencing is that I would like to make a correlation matrix as the one depicted above, but the width of the maturity column ...
2
votes
1answer
384 views

Table exceeds page width (tabularx and tabulary)

I'm trying to fit this table to the page width but I can't. I tried the tabularx environment and the contents got mixed. I tried also the tabulary environment: it's better, the contents are not mixed ...
2
votes
1answer
93 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}. ...
2
votes
1answer
165 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
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 ...
2
votes
1answer
39 views

Tabularx + multicolumn + 1 fixed column size

I made a table with tabularx which has a multicolumn row first followed by 2 rows, which have 2 columns, the first column should have a fixed size (p{7mm}) the second should be X. If I set the size of ...
2
votes
1answer
71 views

Vertical aligment of dinglist inside table cell with `parskip`

Why is the list text so close to the top line of the cell in some lists? I know it's a problem with the parskip package. I can solve this by adding this strut in every cell before the text ...
2
votes
0answers
60 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
1answer
236 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
115 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
419 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
246 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
216 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
273 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
7k 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
1answer
87 views

Serious table problems - something is wrong the text cell (it just continue?)

TWO MORE QUESTIONS: How do I add analyzes to the left side (so the letter turns into the figure and with a underline?)? And how do I remove "Game"-catogory, if I would like that?? It would be a ...
1
vote
2answers
241 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
692 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
63 views

array, table, tabular, tabularx, longtable, supertabular, longtabu [closed]

What is the difference between array , table, tabular, tabularx in terms of syntax , typesetting , ease of use, and appearance after compiling. In short, where will you use each of them and what are ...
1
vote
1answer
101 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
139 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
71 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
110 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
55 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
432 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} ...