{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
58 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} ...
2
votes
1answer
23 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
14 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} ...
10
votes
3answers
608 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
32 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
34 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
111 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
42 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
2answers
27 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} ...
2
votes
4answers
58 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
55 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
21 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} ...
0
votes
1answer
16 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} ...
3
votes
2answers
62 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} ...
2
votes
3answers
184 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
33 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
34 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
24 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
31 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? ...
1
vote
1answer
50 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
36 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 ...
1
vote
1answer
28 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
22 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} ...
0
votes
1answer
16 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} ...
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 ...
1
vote
0answers
27 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
63 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
83 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
29 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+/~ ...
2
votes
1answer
27 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
44 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
35 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 ...
1
vote
2answers
53 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
68 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
46 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
34 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} ...
2
votes
2answers
48 views

Get two tables with different row length in one line

Code: \begin{table}[htb] \begin{flushleft} \begin{minipage}{.55\textwidth} {\tiny{table1}\newline\newline} \input{"/path/to/table1.txt"} \end{minipage} \hfill \begin{minipage}{.4\textwidth} ...
3
votes
2answers
54 views

tabularx: use empty space between X and r

Want to use the empty space between X and r: \begin{tabularx}{\textwidth}{Xrrrr} \hline & X1 & X2 & X3 & X4 \\ \hline A & 1\% & 2\% & 2\% & 2.0\% \\ B & ...
2
votes
1answer
38 views

Can I insert a table when I'm using overpic?

I want to do something like this: \begin{figure}[H] \centering{ \begin{overpic}[scale=0.3,grid,tics=5]{???}\label{???} \tiny{ \put(80,55){\begin{table} \centering ...
0
votes
0answers
12 views

Is there an example using tabularx, longtable and spreadtab together? [duplicate]

I can't manage to get a working table with: multi page support / page breaks using the whole page width provide a sum at the bottom of the table / last row Is there a simple example on how to do ...
0
votes
0answers
17 views

Remove / delete column of tabularx [duplicate]

I'd like to remove one column of a table created with tabularx (I can not use tabular). With tabular you can do that by adding a r instead e.g. a l. Table: \begin{table}[htb] ...
3
votes
1answer
62 views

How to force newpage on tabularx

I wanted to make a table, but needed to force a couple of rows go to the next page. However, I got a strange error. How can I force a newpage using tabularx? \documentclass{article} ...
2
votes
1answer
38 views

Alternating coloured rows in table - line width of colouring -

I'm creating a table with alternating coloured rows. However, the colour seems to extend the top- bottom rule of the table, which doesn't look quite right. Also, my header row probably should be a ...
2
votes
3answers
78 views

Make a tabularx environment fit inside the text block

My tabularx environment doesn't fit, width-wise, inside the text block. The \hlines do, but the text does not. Excel2latext is used to make the table. Only the 'x' is added to tabular. ...
2
votes
2answers
59 views

How to change column width on each row?

I am trying to create a table layout such that my first row has different column spacing than the rest of the table. It's a header (well, part of a pair of headers) for a table of names. The layout ...
3
votes
1answer
41 views

Customize Committee page in Tabular Form

I want to draw following customize table of committee members in latex. How can I draw this in latex? I am trying to use following code but its not working. ...
1
vote
0answers
39 views

I am trying to make these chemical molecules into a nice table

I am writing a organic chemistry report and would like to create a nice table with these two molecules with captions A and B to fit into a lab report ehtyl acetate toluene Here is my code: ...