{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
2answers
114 views

tabularx doesn't break rows correctly

I've got some problems with tabularx. I need a table with 4 columns and the last one should contain a lot of text so I need it to break rows automaticly. And from my reasearch I thought that it should ...
6
votes
2answers
132 views

What is the correct way to calculate \multicolumn size when using tabularx?

What is the correct way to determine the correct size for use with p{} needed by \multicolumn to get the size correct? The problem is this: I want to use tabularx and also use \multicolumn. To do ...
2
votes
2answers
153 views

How to make width of an inner table use full column width of an outer table?

When making tabularx one need to give a table width. For the outermost table, one can use \textwidth. When making one or more inner table(s) inside outer table(s), the inner table(s) also need a ...
5
votes
1answer
132 views

How to put tabularx inside tabularx

I am trying to make a complicated table, where each cell itself can be a table. I found I can include tabularx inside tabular*, but unable to figure out why I get an error with the outer table is ...
4
votes
1answer
161 views

How to use table in multicols env. with paragraphs p{} and \multicolumn as well?

updated question I am going to start all over. Will make the question very simple and direct. Will leave the original question below. I simply want to see an example of using \multicolumn in a table ...
2
votes
2answers
1k views

Big Table in latex

Could you please helping me to draw a nice big tables like this one , I don't know how to mange the big table in LateX Many thanks
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 ...
4
votes
1answer
60 views

Problem with column widths

I'm trying to create a table that has 2 rows: 25% and 75% of the \textwidth I also want the left column to be bold and right aligned by default. The second column is also right aligned. Now I want ...
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} ...
3
votes
1answer
90 views

Long landscaped table

I've created a table with http://www.tablesgenerator.com/ and wrapped it with \afterpage{ \begin{landscape} \begin{longtabu}{X} to rotate the table and fit it to as many pages it needs. My code ...
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} ...
5
votes
1answer
474 views

Colored diagonal divided table cell

How can I fill a table cell with different colors? I have tried the diagbox package but it doesn't work as you can see. I am not so much interested in the diagonal line. I only want to separate the ...
4
votes
1answer
162 views

Serious problems with tabularx table layout

I have some issues when creating my tables in LaTeX and really hope, that some of you could help me. My table looks like this: Here is my coding: \documentclass[a4paper,12pt,oneside]{article} ...
2
votes
2answers
177 views

Align equations inside tabular

How can I align equations inside tabular? I want to place few lines of equation by side of the picture. But it turns out that I cannot use \& in order to shift equals signs to be one under ...
5
votes
1answer
91 views

Bottom hline in a tabularx wrapper environment

I want to define a wrapper environment for a table where one of the columns stretches to fill the available width. I'm using the tabularx package and its X column for that. As mentioned here and in ...
1
vote
2answers
165 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
0answers
55 views

Labels in table rows [closed]

I want to use labels for single table rows: \begin{table}[h] \begingroup \fontsize{8pt}{9pt} \selectfont %\begin{adjustwidth}{}{-2cm} \begin{tabularx}{\textwidth}{ | s | m | b | s | s | } ...
4
votes
1answer
134 views

How to reduce font size automatically to prevent new line in cell

I use tabularx environment, where \begin{tabularx}{\linewidth}{XXXXXXXXXXXXXXX}. When I inserted in every tabulars long numbers, cell splits for two lines and my table looks like very ugly. This long ...
5
votes
1answer
368 views

How to print acronyms of glossaries into a table?

for now I am using a tabularx table to print acronyms manually. But I want to use the style of my table with glossaries and acronyms: \printglossary[type=\acronymtype,style=mystyle] The table so far: ...
4
votes
2answers
241 views

Simpler Way In Creating My Chart In LaTeX

Below is the code for a chart that I created using LaTeX. I am creating use cases for my program, and there are 117 use cases that I need to create. It would be possible to use the below code, but it ...
1
vote
0answers
26 views

Different outputs with/ without \newenvironment [duplicate]

I'm trying to setup my own CV without Curve. To do so, I intend to separate sections the same way with a \newenvironment. %[...] \newlength{\margin} \setlength{\margin}{.3\textwidth} ...
4
votes
1answer
106 views

Create tabs in tabularx environment

I just have a question if it's possible to insert tabs into one cell in tabularx. For a better illustration of this problem I will include pictures. This is what I have in textbox in my program. So ...
0
votes
1answer
94 views

Centering texts in tabularx

It is my first question on this site. I am not sure my LaTeX code will be well written here. Here is my table code. The problem is that the text in the first four columns are not centered in respect ...
3
votes
1answer
55 views

Height of tabularx containing a multicol

I would like to have a vertical label to the left of a multicolumn block of text. The easiest way to do this I have found is using a multicol environment as one of the cells in a tabularx table. The ...
4
votes
2answers
262 views

dcolumn and tabularx, part 2

This is a follow-up on another question I asked. I am trying to combine the dcolumn package with tabularx (or tabular*for that matter) so the table spans the width I specify, columns are evenly ...
8
votes
2answers
894 views

Combine column types defined in dcolumn with tabularx

I'm looking for a way to define a column type which "mixes" the 'D' column defined in the dcolumnpackage and the 'X' column defined by the tabularx package. In other words, I want a column type that ...
4
votes
1answer
234 views

table in LaTeX giving error

I'm trying to create the table using the below script and its giving this error "! Missing $ inserted.<inserted text> $ l.689 \end{tabularx}" \begin{table*}[t] ...
4
votes
3answers
202 views

Vertical cell alignment in tables?

This problem drives me crazy right now. How can I draw a table with the following properties in Latex? width = \textwidth 1 column: horizontal alignment = left, vertical alignment = bottom 2 column: ...
2
votes
2answers
692 views

Align position of decimal point within tabularx

I have made a table with 5 columns, of which I'd like the last 4 to be of the same width. Therefore I was told I should use tabluarx. Using this package my output looks fine, but I have also numbers ...
1
vote
0answers
27 views

Text color changes height of tabular row [duplicate]

Why is it so? My MWE: \documentclass{article} \usepackage{tabularx} \usepackage[table]{xcolor} \begin{document} \begin{table}[H] \caption{Title.}\label{title} ...
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' ...
4
votes
2answers
451 views

How to draw circles around multiple row cells and column cells

How to draw circles around multiple row cells and column cells as shown in attached figures. I am using Professional lay out tables... i.e. Tables in tabular environment, Table below I am also ...
2
votes
1answer
77 views

My Table Adds Page Breaks

I am making a table and have two problems. Here is the start of the TeX file: \documentclass[12pt]{article} \usepackage{tabularx} \usepackage{afterpage} \usepackage{pdflscape} \usepackage{amsmath} ...
6
votes
3answers
116 views

How do I stop a table where the margin falls, rather than using the textwidth command?

I've been having some problems with nesting tables in the tabularx environment. Basically, I would like each table to stop at the margin. Ordinarily, I would achieve this with \textwidth as the width ...
4
votes
2answers
309 views

How to make different font size for each row in tabularx?

\begin{landscape} \begin{table}[!h]\renewcommand{\arraystretch}{1}\addtolength{\tabcolsep}{0 pt} \centering \caption{Diagnostic test statistics for all models \& Emerging markets.} \label{T.55} ...
6
votes
1answer
115 views

Column alignment in ltablex

I tried to apply the method proposed in How to get column alignment in tabularx? to right align cells in a ltablex. However I have a problem when the size of the table is just enough for my columns: ...
5
votes
3answers
218 views

How to tell LaTeX what I write should stay as it is, and not as a mathematical expression

I'm trying to write my thesis on LaTeX and I don't have much experience with it. I try to put an information about some arrays I used as a table one like looks like this: column names: FileName, ...
4
votes
1answer
381 views

Underfull \hbox when creating table containing much text

I am completely new to LaTeX and how to create tables in this environment. Currently, I am trying to create a table that contains much text in each cell using tabularx. The output does not look too ...
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 ...
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
2answers
129 views

Need help with long and wide table; tried longtabu, longtable, sidewaystable and nothing seems to fit!

I've literally been spending hours, trying to fit this long and wide table with a series of packages: tabu, longtabu, tabularx, sidewaystable, but nothing seems to fit. This is for a thesis so I ...
3
votes
1answer
209 views

Align columns, last vertical line bug and add row height

This is my table: I have a few problems: I want both columns to take each 50% of the page width (excl margin), but the second column's text needs to be aligned right. The last vertical line is ...
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} ...
3
votes
1answer
2k views

Fix column width with tabularx

I want to create a table with 100% width? The first two columns should have a minimum width and the last column should have the rest width. The text in the last column (except the first cell) should ...
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 ...
11
votes
3answers
831 views

Horrible table layout

I have a table which gives an overview of some theory. It includes a lot of words or combination of words. The layout is horrible and not LaTeX quality. Some guidance as to how to improve would be ...
1
vote
2answers
175 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. ...
3
votes
1answer
159 views

Using tabu/tabularx inside xparse NewDocumentEnvironment

My question seems very similar to this, but with tabu instead of tabular*. In fact, switching the options in that example causes the failure I see here. \NewDocumentEnvironment {trace} {} {% ...
3
votes
1answer
267 views

How to create a table where one cell spans all the columns and the text wraps properly?

I need to create a table like this: table with two columns and width equal to width of the page; border around whole table; first row spanning two columns; with background color, bold font and ...
1
vote
1answer
433 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 ...