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

Multicolumn and thead problem in tabularx

I am trying to implement a code using tabularx and multicolumn along with head, but I keep on getting an error. The code is as follows: \begindocumnet{article} \usepackage{tabularx} \usepackage{...
1
vote
1answer
34 views

Tabularx Column Settings Take Up Space and Text Align Left

The table below creates a 3 column table, when I use the {l | X | X} column settings it creates the last 2 columns of equal width which Is what I want but I also want the text within to align left. ...
1
vote
1answer
36 views

Tabularx alignment error

I have a question with respect to the tabularx environment and the addition of new columns. Currently I have the code for a 2-column table as [![enter image description here][1]][1] However when I ...
3
votes
2answers
90 views

Alignment Problems in Tabularx

I have a problem a with alignment getting and the tabularx environment with a stretched table. Currently, I have the following table: \documentclass{article} \usepackage{tabularx} \usepackage{...
0
votes
0answers
43 views

Different alignment on columns when the 'X' column wraps in tabularx

On 2013 I did ask this question and was answered, but implementing on another code I've new issues not presented before. I have a three column tabularx in which two of them are l, r or c and the ...
4
votes
2answers
85 views

How can I insert complex regular expressions into tabularx cells?

I'm trying to create a table with two columns, in which the second one is representing lots of regular expression with all the character you could imagine. I tried with \verb|text| command, but it ...
2
votes
2answers
72 views

center alignment of headers in table

I have the following part table: \begin{table}[!h] \centering \begin{adjustbox}{width=1\textwidth} \small \begin{tabular}{|l||l|} \hline \textbf{Element Name} & \textbf{Description} \\ \hline ...
1
vote
1answer
143 views

Table formatting - Best practice to get professional and consistent looking short and long tables

General Understanding Basically, what I'm trying to do is streamline the entire process of creating tables for one or possibly a number of scientif papers. The ultimate objective would be to find ...
0
votes
2answers
32 views

How to center the wrapped cells

It might have been asked in certain questions, but none of them worked for me as I would like to center the wrapped columns in latex table and couldn't come with a clean and easy solution. I.e. here ...
3
votes
1answer
41 views

How to avoid border breaks in the table?

I have a table, and in some pages I have border breaks, how to fix that? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % Включаем пакет для поддержки русского \...
2
votes
2answers
127 views

Longtable doesn't fit page size

I have a longtable and it doesn't fit the page size. How to fix it? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % Включаем пакет для поддержки русского \...
2
votes
1answer
124 views

Header and text overlapping

How to avoid overlapping of the header and text? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{multirow,tabularx} \usepackage[a4paper,...
2
votes
1answer
48 views

Numbering of the rows in the table (tabularx) [duplicate]

How to make a numeration of the rows in the table(tabularx) automatically? I have a table, and in the first column I have numbers of the rows, right now I just type this numbers manually, but is ...
0
votes
1answer
58 views

Text overlapping in tabularx

I have a tabularx table, and it's an overlapping of the text there. How to fix that? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{multirow,tabularx} \...
14
votes
3answers
839 views

How to produce this table in latex with inconsistent lists/items?

I want to produce the first two rows of this 5-column table in LaTeX: As you can see it is a special type of tables where we see: itemized lists inside but inconsistently, ie. column 4 all rows ...
1
vote
3answers
79 views

ltablex caption text formatting issue

I'm using the ltablex package for creating long tables over multiple pages. For my other small tables I use the tabularx package and I noticed a formatting mistake or maybe a bug? The table caption ...
1
vote
1answer
135 views

How to change font color of a row in tabularx?

I have a table and I want a font color of 5th and 6th row be red. What I'm doing right now is changing the color of each cell in these rows, is there any command which can change font color in a row, ...
3
votes
2answers
134 views

How to make text and table in the same level?

I have a text and a table and it should be on the same level. Right now I have a table and a text below it. How to make it correctly? create a table and than hide borders of the left column? \...
4
votes
1answer
65 views

How can I insert vertical text spanning multiple rows into a table?

I would like to add a column to my table that looks like the right most column in the included picture. As of now, I am using tabularx to create the table \begin{tabularx}{\textwidth}{|X|c|} \...
0
votes
1answer
38 views

How to set column width in tabularx?

I have a table, how to set width of 6th row, so the widths of columns be 25%|25%|25%|25% ? right now my code of it looks like this: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
2
votes
4answers
104 views

minipage wrapping tabularx overfull box

The line Zur Erläuterung der... should introduce the following list. This produces an underfull hbox and I just can't get rid of it. To keep the content together on one page I found the solution in ...
1
vote
2answers
69 views

tabularx with dynamic columns and much text ends up in under- and overfull boxes

I wrote two tabulars which faces kind of the same problem. They end up in a mess of under- and overfull boxes. I noticed many under- and overfull boxes threads here, but I wasn able to fix it yet. ...
2
votes
1answer
28 views

Multicolumn and multirow (tabularx)

I have a table, and it should be also border betwen C and D in the second row and border between 12 and 13. How to do that? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
0
votes
1answer
49 views

Cells merging (tabularx)

I have a table and I need to merge cells there, but I don't know how exactly do it. My code looks like this right now: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
3
votes
2answers
171 views

Table on paper (A4) gets cut off

I used tabular to create a wide table. Even-though it appears fine on pdf, when I print it on A4 the right side of the table is cut off. Any idea why this is happening? I know I can simply reduce the ...
0
votes
0answers
9 views

Automatic linebreaks in table created with csvautoimport [duplicate]

I'm using csvautolongtable to import a csv file. Now the text in some cells is running over the edge of the page. How can I prevent this? \documentclass{article} \usepackage[T1]{fontenc} \usepackage[...
2
votes
3answers
222 views

Tables and tabularx

I have the following code: \begin{tabularx}{1\textwidth}{|c||p{4cm}||p{3cm}|} \hline \textsc{\textbf{Nombre}} & \textsc{\textbf{Ancho de banda con compresión}} & \textsc{\textbf{Ancho de ...
2
votes
1answer
47 views

Table is not centering

I'm having some problems creating the following table: \begin{table}[h] \begin{tabularx}{\textwidth}{X X} \textbf{Advantages} & \textbf{Disadvantages} \\ \begin{itemize} \item ...
1
vote
1answer
59 views

Positioning of a table (tabularx)

I need to put a table in the right side of the page, how can I do it? (it should looks like in the picture). Here is code which I have right now. \documentclass{article} \usepackage{ucs} \...
0
votes
1answer
49 views

Default low row height of table and tabular environments [duplicate]

Suppose that we have this code: \begin{table} \caption{xxxx.} \centering \begin{tabular}{|c|c|} \hline \rowcolor{Gray} % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ... 1 & ...
1
vote
2answers
48 views

Add an image in the table (tabularx)

I'm new to LaTeX, I have a table and I want to add an image in the first column of my table and I want that it fits a column. Can you give me some advice how to do it correctly? \documentclass{...
1
vote
1answer
56 views

TabularX Adjustments

I'm trying to make a table in TabularX to help kids understand fraction and decimal conversions. Questions: (1) How do I fix the vertical alignment of the bottom right merged cell? (2) Is there an ...
0
votes
1answer
52 views

How to change font type in tabularx

How to change one table column in other font type, I need to change all left column. For example from normal to Consolas font. My tabularx: \begin{table}[ht] \centering \begin{tabularx}{\...
1
vote
1answer
37 views

How to vertically center cells (tabular) without altering the automatic column width?

In the following file I have a table with insertion of figures. I want to vertically center the cell contents. Only the cells in the second and third rows. But I do not want to leave intact the ...
3
votes
1answer
27 views

tabularx and pmatrix alignment issue

Why are the following entries in the table not vertically aligned? I see that the first column is too low and the second column is too high. Here is my code: \documentclass{article} \usepackage{...
0
votes
1answer
31 views

tabularx spread without ltablex but not with

I don't understand with when using ltablex tabularx do not spread the width pass in argument : code without ltablex : \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{...
2
votes
0answers
42 views

Tabular into a .png when compile TeX document? [duplicate]

Do some of you know, whether it is possible or not to make a tabular into a .png when compile into a pdf TeX document? Best,
1
vote
0answers
22 views

Using tabularx increases the tab counter by two [duplicate]

In my document I use some tabularx tables. Now I found out, that every time I use it the table counter in the caption increases by two. \begin{table}[ht] \centering \begin{tabularx}{\linewidth}{...
1
vote
0answers
33 views

Table with greek words into columns or rows

I have a problem with a table layout and greek words. I use the code \begin{center} \begin{tabular}{ *{4}{>{\centering\arraybackslash}p{1.5cm}} } \toprule I & \g πλήθος παλμών\e &...
4
votes
2answers
73 views

Command form of tabularx (compilation problems)

I want to change from environment form of tabularx to the command form but it does not compile. I need the command form because I want to use the tabularx inside my self defined environments later. \...
8
votes
2answers
98 views

Changing tabularx column alignment partway through table

I have some very large and very small numbers being displayed in decimal notation (for a non-scientific audience). Normally—for small magnitude ranges—I would align on the decimal point ...
2
votes
1answer
31 views

Tabularx printing regex incorrectly

When printing regex in a tabularx environment, spaces get inserted after each character class. Is there any way to fix this? MWE: \usepackage{tabularx} Outside table: \verb~/\d+/~ \begin{tabularx}{...
2
votes
1answer
68 views

Vertical/Horizontal Rules in TabularX

I am trying to help kids identify whole numbers vs mixed numbers vs proper fractions vs improper fractions. I am having them practice using this table which needs two fixes. Vertical rules between ...
1
vote
1answer
51 views

Custom align specific part of tabularx

I have a tabularx environment with 3 columns and 5 rows. How can I align first row and first column right to left, while the rest of the table are aligned left to right? P.S. that currently my ...
0
votes
1answer
41 views

aligning header in table without affecting decimal alignment in the corresponding column

I have problems aligning the headers to their corresponding column without affecting the alignment of the decimals. How can I do this more automatically? \begin{table}[h!] \centering \begin{tabular}{...
1
vote
2answers
73 views

Problems with TikZ overlay in table with varios subfigures

I am trying to overlay a TikZpicture over my table and would like it to look like this: My code is the following \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...
0
votes
1answer
116 views

Nice tables in beamer presentation

I liked the approach shown here. beautiful tables in latex. But when I use it in beamer class, tabularx conflicts with xcolor. What is the solution?
2
votes
1answer
54 views

Image position related to table position

How can it be that an image and a table, that are places incide of the same mdframe are positioned differently? And how can it be resolved. This screen dump shows the problem: I would have expected ...
1
vote
1answer
39 views

Strange output with tabularx

This code is part of a larger file: \documentclass[11pt,BCOR8mm,final,linktocpage,twoside,open=right,headsepline,a4paper]{scrbook} \usepackage[ngerman]{babel} \usepackage[latin1]{inputenc} \...
0
votes
0answers
15 views

Get two tables without extra caption with different row length in one line [duplicate]

Code procuding "problem" (tables not in one line): .... \usepackage{tabularx} \newcolumntype{R}{>{\raggedleft\arraybackslash}X} .... \begin{document} .... \begin{table}[htb] \begin{flushleft} \...