{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
3answers
48 views

Gather equations and tables side-by-side

How can I make both the table and the gather be on the same level. Is there a better way than tabularx? \begin{tabularx}{\linewidth}{X|X} {\begin{gather*} C_{g|in} =C_{gn}+C_{gp}\\ ...
3
votes
2answers
79 views

Overfull \hbox when using tabularx

I found a lot of related questions about Overfull \hbox warning and tabularx but none of them have helped me so far. This is a minimal code which reproduces the warning (the real table isn't so ugly ...
3
votes
1answer
68 views

How to fit the content of the cells in this table?

Well, surely this is a duplicate, but I have troubles with the alignment of a huge table. In fact my problem is to determine the width of each column properly, especially when the columns are narrow, ...
3
votes
1answer
59 views

Tabularx \parbox horizontal alignment of columns

For my study I need to put some information in a tabular. I'm using tabularx and to determine to width of my columns I use \parbox. That all works very good, but the text on both columns doesn't start ...
3
votes
1answer
31 views

when using tabularx and X, how to make the text vertically centered? [duplicate]

\documentclass[a4paper]{article} \usepackage[landscape,hmargin=2cm,top=1.5cm,bottom=1.6cm,headsep=1mm,headheight=3cm] {geometry} \usepackage{multirow} \usepackage{tabularx} \usepackage{microtype} \...
3
votes
1answer
552 views

How can I have automatic line breaks in a multirow inside a tabularx?

I want that the table fits the page, but by default the table is too wide. I already tried tabularx, but now the rows that use a multirow aren't high enough. This is my code right now: \begin{table}[...
3
votes
1answer
153 views

Need help starting long, text-heavy table

I am new to LaTex and trying to teach myself. Currently I am trying to write a unit plan for graduate school (MA in Math Ed), which would look something like that provided image. One question, one ...
3
votes
1answer
207 views

hdashline with tabularx together with custom row height is not working

I tried to set up a table with different custom row height and a dashed line. I'm using tabularx for the table and arydshln for the dashed line. When I import arydshline before tabularx it starts ...
3
votes
1answer
380 views

Annotating tables

I'm trying to annotate a table by highlighting and annotating the final column, yet once I use the\tabnode together with coloring I get misalignment. Either the content of the cell marked with \...
3
votes
2answers
216 views

Table of 2x2 tikzpictures defined by my own macro

As a follow-up question from this post I am trying to find out how to arrange multiple tikspictures in a table, where my diagrams are defined by my own macros. Problem: Showing the diagrams ...
3
votes
1answer
1k views

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

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. ...
3
votes
1answer
490 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 ...
3
votes
1answer
6k 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 ...
3
votes
1answer
228 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} {} {% \begin{...
3
votes
1answer
357 views

Making rotated adjustbox fit into cell

I tried \rotatebox, but was unable to make the rotated text vertically fit into one cell so I opted for \adjustbox instead. \documentclass{article} \usepackage{float} \usepackage{multirow} \...
3
votes
1answer
3k views

Fit table in page column also some editing

I want to make the table fit into one column in a two column page. Also, I need it to look like this: Here’s my code \documentclass[twocolumn]{article} \usepackage{adjustbox} \begin{document} \...
3
votes
1answer
5k views

Expand table to use page width

I normally use the table and tabu environment to create my tables. I am new to LaTeX and after I while I realized tables look nicer when they use the whole page width rather than being just centered. ...
3
votes
1answer
12k 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 ...
3
votes
1answer
5k views

How do I use supertabular with my tabular code?

I'm trying to create a list of notation, but I've been unable to use nomencl as I would like so I'm using a table. I'd like the table to split as it goes over to the second column (the working example ...
3
votes
1answer
72 views

Overfull \hbox warning in tabular

I have the following table: \documentclass[border=3mm]{standalone} \usepackage{graphicx} \usepackage{booktabs,multirow} \usepackage{siunitx} \usepackage{stackengine} \begin{document} ...
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} % Включаем пакет для поддержки русского \...
3
votes
1answer
66 views

tabularx automatic line break and aligned over several tables

I found here a solution to the problem of having an automatic line break: \documentclass{article} \usepackage{tabularx} \usepackage{listliketab} \usepackage{lipsum} % only for this example \begin{...
3
votes
1answer
191 views

RTL and LTR columns in ONE table?

Is it possible to set some columns in one table as RTL while other are LTR? I want to do something like this: % !TEX encoding = UTF-8 Unicode % !TEX TS-program = xelatex \documentclass[12pt,a4paper]{...
3
votes
1answer
130 views

List Numbering Through Multiple Tables

I am seeking to create a math workbook that looks similar to the picture below. I have included a selection of code I am attempting to get working - marked as MWE. My issue is that I want to continue ...
3
votes
1answer
753 views

Putting footnotes on same page as table that references them

I've got a \tabularx with two \footnote marks immediately followed by two \footnotetext. I would like them to show up on the same page, but tex is pushing the table to the following page making ...
3
votes
1answer
67 views

How to place footnotes in the caption of a table?

Problem: Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table ...
2
votes
3answers
404 views

How to make a table look nicer

I am currently working on my master thesis and my tables which are used as a type of matrix simply look awful. How can i make them look much better? \begin{table}[H] \centering \begin{tabular}...
2
votes
3answers
177 views

Table not looking good tabularx

I'm trying to make a table in Latex but I'm not expert in it and it's not looking good. Below is what I did but the result is not fitted and not looking good so if anyone could please how I can ...
2
votes
3answers
208 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
2answers
157 views

Aligning the tops of two tabularx environments

I have used the following to place two tabularx environments next to each other \begin{table} \begin{center} \begin{tabularx}{190pt}{l} \toprule ... Content ... \bottomrule \end{tabularx} \quad \...
2
votes
2answers
3k views

Dificult using LTXtable

I have a script in R that build a report in LaTeX. Sometimes, this report has very long and very wide table, so, after some research I decided try ltxtable. My problem is that I didn't get how it ...
2
votes
3answers
111 views

How to fit a table with long header cells in “S”-type columns?

Well fit tables in LaTeX is hard for me, and I don't know if there is a manual with good practices about it. I need to create a table with S columns contending numbers, but the header of those columns ...
2
votes
1answer
3k views

How to apply \raggedright to my table headings?

Can somebody show me how to apply \raggedright to my table headings in this example? \documentclass[a4paper,12pt]{article} \usepackage{tabularx} \usepackage{booktabs} \usepackage{siunitx} \begin{...
2
votes
3answers
111 views

Tabularx environment problem

I am running into a problem while using the following code and I have tried every means to diagnose the problem (ie: commenting the contents out), but I have not been successful at finding the bug. ...
2
votes
2answers
338 views

Table example made in Google Docs - how to make (would one make) this in LaTeX?

edit -> the emphasis on Google Docs might be a bit much, basically it's just a little table thing, it's not something unique to Google Docs thats just what I happened to use to make this. I made ...
2
votes
2answers
283 views

Align the word input of algorithm2e with a tabularx table

I'm referring to this post. I like the idea from 'a different ben' of the tabularx table inside the \Input command. But I would like to have the word Input: at the top, on the same line as the first ...
2
votes
2answers
173 views

How to fit 3 equations in the page with number 2a, 2b and 2C?

I have the following issue. I am trying to fit 3 equations in one line with the label of 2a, 2b and 2c. Up to now (I am using tabularx)I am only able to get the 3 equations on the same line with ...
2
votes
2answers
53 views

Vertical alignment of text based on image height [duplicate]

Problem: Trying to use tabularx to align text to a number of images. I have opened a similar question regarding tabular but decided to open a new specifically for tabularx since the tabular approach ...
2
votes
2answers
7k views

Overfull \hbox (15.0pt too wide)

I have multiple tables which look like this: \begin{tabularx}{\textwidth}{|l|X|l|} \hline \textbf{ID} & \textbf{Description} \\ \hline 336858 & The description \\ \hline \end{tabularx} and ...
2
votes
1answer
307 views

Long tabularx doesn't break rows

My long tabularx doesn't break rows when it runs to a second page. Are there any ways I can break long table? (But doesn't tabularx break long table automatically?) In this case, I'd like Par. 1 in ...
2
votes
2answers
2k 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 ...
2
votes
2answers
226 views

Tabular unwanted padding

I want my document to be a really long (multiple page) list if definitions. I want to do it in a table format. Here is what I have at the moment: \documentclass{article} \usepackage{fancyhdr} \...
2
votes
2answers
122 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
3answers
125 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. \begin{table}...
2
votes
1answer
201 views

How to vertically align the text in table cell?

I am trying to get a table cell with vertical text alignment. My current code is: \begin{tabularx}{\linewidth}{|X|} \hline \cellcolor{gray!20}Hardware\\ \hline \end{tabularx} Is there an easy ...
2
votes
2answers
89 views

Advice for making this tabularx look nicer on a beamer frame

I have the following slide: With the following code: \documentclass{beamer} \usepackage{tabularx} \usepackage{booktabs} \usepackage{array} \newcolumntype{G}{@{}>{\begin{lrbox}{\mybox}}l<{\...
2
votes
4answers
99 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 ...
2
votes
2answers
53 views

fitting text into the tabular and tabular into the page

I've created the following table with help of @Zarko. Now I have some questions about layout. Code: \documentclass[11pt,a4paper]{article} \usepackage[english]{babel} \usepackage[T1]{fontenc} \...
2
votes
1answer
356 views

Color midrule in tabularx [duplicate]

I have created a table using tabularx. Can I color the \midrule instead of having it colored black as default?
2
votes
1answer
365 views

Multipage table using tcolorbox and tabularx

Good day, Sirs and Madams! I am experiencing issues while composing a big table over several pages. I'd like to use tcolorbox in combination with tabularx. Unfortunately, this does not work out as ...