{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

0
votes
0answers
51 views

Which rating symbols are recommended? [on hold]

I have to evaluate several types. The first evaluation is on features these types have. There are only two answers possible: Yes the feature is existent in the type or No the feature isn't present. I ...
5
votes
3answers
62 views

Own counter starts at 3 in tabularx environment

the following example shows that the self defined counter in the tabularx environment does not start with "1". Can't figure out how to define the command to always start with "1". Ideas? ...
3
votes
2answers
66 views

Table issues — off page, \newline not working

I'm new to LaTeX and am having problems with this compiling in LaTeX the above, desired table. Here is the code I'm working with: \documentclass{article} \usepackage{amsmath} \title{Latex File} ...
3
votes
1answer
139 views

What options are there to globally format tables also allowing local overrides?

Tables are the final frontier of my documents. So far I have managed to standardized over 20 documents (hundreds of pages) using a single, shared preamble. Issue Abstracting format from content in ...
1
vote
1answer
20 views

Increasing table width and centering word within column using longtable package

Problems: Increasing table width to 100% Centering table header word (i.e. criteria) Repeating table captions on every page Questions: How do I increase table width to 100%? How do I center the ...
1
vote
0answers
30 views

Continuing table on multiple pages with tabularx

Problem: Continuing table on multiple pages using the tabularx package. Questions: What is the appropriate way to include "continued ..." caption at the end and beginning of the table when ...
2
votes
2answers
56 views

Draw vertical line on top of horizontal table lines

I'm using two \hline for horizontal line and \begin{tabular}{c | c c c c c} option for vertical line. This is some part of my table: I want vertical line on top of double horizontal lines. How can ...
0
votes
1answer
30 views

How to break the column in a table

You see in row 1. I want to break the row after the last column 1 just like the 2nd row. How can I do that ?
4
votes
3answers
55 views

Vertical alignment of a tabularx cell

I have a tabularx table with: a variable width column X on the left a cell with a nested tabular table on the right Like so: \begin{tabularx}{\textwidth}{ | X | c | } \lipsum[1-1] & ...
1
vote
0answers
29 views

Fixed column width with tabularx and exclude Total column

I would like to fix column width for the first column because there are other tables with different width due to different length of categories. How can that be done? Also, is there a way to exclude ...
2
votes
1answer
43 views

Tabularx ou Tabulary environement populated by csvsimple information

I am currently using csvsimple to import table data. Some of the cells information is too long and I would like to dynamically manage the column width. I have been trying to add the tabularx or ...
1
vote
3answers
69 views

How can I improve the style of this table in latex?

I would like to center all the elements of the table and improve the style of this one. \begin{table}[h] \begin{tabular}{|l|r|l|l|} \hline \multicolumn{1}{|c|}{text} & ...
4
votes
3answers
34 views

Multicolumn within tabularx: how to get p{'lengths'} right

I am trying to have the lipsum text fill the two cells to the right of the vertical ruler, without exceeding the table. My code is now: \documentclass[a4paper,11pt]{article} \usepackage{lipsum} ...
3
votes
2answers
92 views

Insert text in-between rows in a table

I'm trying to achieve the following effect: +------------+---------+ | Col1 Col2 | | +------------+---------+ | Value 1 | Value 2 | | Value 3 | Value 4 | Text goes here... | Value 5 ...
1
vote
2answers
46 views

Create a table with specified column widths and centre spacing in tabularx

I would like to create a table where I can adjust the overall width of the table, hence the tabularx environment. However I am having difficulty in configuring my tables such that I can control: The ...
3
votes
1answer
20 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
2answers
41 views

tabularx column width not behaving as expected

I'm trying to reproduce the following tabular design as close as possible: This is what I have right now: \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{tabularx} ...
0
votes
1answer
43 views

mutilrow:how to deal with the text higher than the row height

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

Last column in a table is too wide

I have been trying to create a table detailing the changes in speed over time, and have noticed that the last column (22 seconds) is disproportionately wide. Is there any way I can reduce the size of ...
4
votes
3answers
67 views

tabular: vertical align minipage in table (top)

I have a poster consisting of two columns. In one of the columns I have placed two figures next to each other. To get a nice tikz-frame around each figure I had to put them into minipages each (I did ...
2
votes
2answers
34 views

tabular array error in the width

I would like to create a matrix with index (left and top position) and a sum columns and rows (bottom and rigth position). I have tried that : \documentclass{article} \usepackage{amsmath} ...
2
votes
1answer
37 views

Remove top indent of itemize without using minipage in tabular(x)

I am using minipage in my tabularx because it was the only way I found to remove the top space of the itemize environment. However, since minipage cannot break at when the page does, I have a very ...
4
votes
3answers
71 views

Tabularx adding unnecessary pages

My document is creating a {blank rest of page + empty page} before a tabularx table. Checked this thread with no dice - I couldn't solve with typical figure/table placement controls. This is my ...
4
votes
1answer
34 views

Colored Cells and Cell Contents Aren't Aligned As Expected

I'm trying to color some cells in a table, with the cell contents being centered vertically as well as horizontally. I can't seem to get the numbers - which seem to align with the header fine - to ...
3
votes
2answers
69 views

Unexpected behaviour of multicolumn/minipage in tabularx

Please take the following MWE into account : \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{array} \usepackage{booktabs} \begin{document} \textbf{Array A :} ...
4
votes
1answer
45 views

LaTeX alignment in tables

I'm trying to create a custom environment that uses tables to align some stuff. I want the first column to be left-aligned, so I used the command \tabularx{\textwidth}{ l X c X }. This produces the ...
3
votes
1answer
56 views

Commands not recognized and missing $ error message

I have an equation and added a legend beneath it to explain the variables (the syntax is copied from another duscussion here somewhere). MWE below: ...
0
votes
1answer
39 views

Pagebreaking in longtable with math column

I'm trying to write some step-by-step math proof of a formula in my electronics notes. The idea is to have two columns (side by side), the 1st has some text explaining the math, the 2nd one has the ...
1
vote
1answer
37 views

Tabularx table with many columns malformatted

In our software we have a module, that generates PDFs via Latex. Some of them contain tables and I want them to span the whole page. Since the number of columns varies, I use tabularx with all X ...
0
votes
0answers
20 views

How to change tabularx 'X' command to raggedRight [duplicate]

I want to use the X command from tabular X to evenly space a tables columns. However, the individual comulns are quite narrow, and this makes the justified spacing look really bad. Is there anyway ...
1
vote
0answers
98 views

Drawing a TiKz Diagram within a Table [closed]

Any ideas on how to draw a TiKz diagram within a table? I made this example of what I need to typeset in Word: I'd love to hear any suggestions, even if it requires reformatting.
3
votes
3answers
53 views

how to use \selectlanguage in ltablex?

Using ltablex.sty I need a multipage-table with columns in (polutoniko)greek, so I use >{\selectlanguage{greek}}X in the preamble of the column (I tried it with ...
1
vote
1answer
104 views

How to define potential page breaks in a long table?

I have a huge table that covers multiple pages: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} ...
0
votes
0answers
22 views

Include tabular in list of tables [duplicate]

I am currently having issues with a very long tabular which I had to divide across several pages (for my purposes \table did not work) and which I now want to show up in the list of tables. Is there a ...
6
votes
1answer
81 views

Save table using savebox

I want to save a tabularx using a savebox, such that I can define it in one place and print it in another. While the code below worked for a listing, I could not make it work for a table. Is there any ...
0
votes
0answers
56 views

Alias normalbaselineskip to \\ in a tabularx environment

I'm still on my way to my key:value table, and this time, I'm trying to alias [\normalbaselineskip] to \\. I still want to use the standard \\. What I want is to consider \\ as [\normalbaselineskip] ...
6
votes
1answer
78 views

tabularx processes its body multiple times; how do I know which cycle I am in?

Assume that I enjoy setting my tables using an \itemized or list-like coding structure: \begin{mytabular}[.5\textwidth] \item head1 & head2% <-- header row \item abc & def \item ghi ...
5
votes
2answers
146 views

Baselineskip not interpreted in a tabularx keyvalue environment

I'm trying to write a key:value environment which would allow me to create a dual columns tables where the columns are separated by colons. Typically, I've implemented this using parbox in my own ...
1
vote
1answer
66 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 ...
2
votes
2answers
171 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 ...
0
votes
2answers
113 views

How to import CSV files into my own style of tables?

I've been using LaTeX to write lab reports for a year now, which includes manually entering data into tables. However, now I am performing experiments that have way more datapoints that manually ...
0
votes
0answers
78 views

Allow breaking long words in table cell automatically

Is it possible to break long words (note, not lines) in table cell without adding \- or \allowbreak? Current code is: \begin{tabularx}{\textwidth}{|p{3.5cm}|p{3.5cm}|X|p{3cm}|p{3cm}|p{4cm}|} \hline ...
3
votes
1answer
58 views

hline not filling up in tabularx

I created a table with the following code: \begin{tabularx}{14cm}{|X|X|X|X|} \hline \multicolumn{4}{|c|}{\textbf{\cellcolor{gray!20}contentcontent}} \\ \hline ...
0
votes
0answers
10 views

How to have a table span the entire page width [duplicate]

So I'm trying to type up my resume in Latex. I have two addresses I want to list and I would like to have one on the right of the page and one on the left. I'm assuming I can do this with a table but ...
2
votes
1answer
38 views

Last column vertical rule missing

I'm dealing with the powerful tabularx environment. I was able to obtain a nice table, except for the last column. I need seven columns in total, but at the end I got another half column. I can't ...
2
votes
3answers
108 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
1answer
72 views

Place circuit figures side by side in tabularx environment

My MWE, \documentclass[a4paper,11pt]{book} \usepackage{tabularx} \usepackage{tikz} \begin{document} \begin{enumerate} \newcommand{\OOO}[4]{% \begin{tabularx}{\linewidth}{@{}X@{}l@{}} \textbf{A)} #1 ...
2
votes
1answer
73 views

Long (two-page) table in twocolumn document

I'm trying to include a not too lengthy table of mathematical notation definitions in a paper I'm writing. The paper is in twocolumn mode, the definition table has to span both columns, because ...
1
vote
1answer
22 views

Footnote including \tabularx results vertically wrong alignment of footnote number

Using the \tabularx inside a footnote with the code: \footnote{\label{statistik1}\begin{tabularx}{\textwidth-3em}{lrrrr} \noindent Jahr~& Eheschließungen~& Ehescheidungen~& ...
4
votes
1answer
85 views

Vertically center column separator in tabular

I'd like to vertically center a custom column separator in tabular. I have tried \begin{tabular}{c @{ $\vcenter{\rightarrow}$ } c @{ $\vcenter{\rightarrow}$ } c}...\end{tabular} to no avail. Other ...