{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

4
votes
1answer
37 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
25 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
36 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
30 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
19 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
85 views

Drawing a TiKz Diagram within a Table [on hold]

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.
2
votes
2answers
31 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
68 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
68 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
42 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
76 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
124 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
41 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
135 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
71 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
41 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
48 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
9 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
29 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
101 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
65 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
50 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
71 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 ...
1
vote
0answers
28 views

itemize inside tabularx seems to break exam class gradetable

I'm using the exam class. If I use the itemize environment inside a tabularx, LaTeX gives me warnings when I use the gradetable command: LaTeX Warning: Reference `question@1' on page 1 undefined on ...
3
votes
1answer
56 views

Automatic right justify in table - multiple choice question

My code part \newcommand{\iib}[5]{ \begin{center} \begin{tabu} to 0.42\textwidth {@{}|X[l]@{}|X[l]|} \textbf{A)} #1 & \textbf{B)} #2\\ \textbf{C)} #3 & \textbf{D)} #4\\ ...
4
votes
1answer
49 views

Creating table using tabularx and datatool from csv file

I am trying to create a vocabulary list from a csv file containing the vocabulary using tabularx and datatool. This is what I have tried: \documentclass{article} \usepackage{datatool,tabularx} ...
3
votes
2answers
90 views

Table width bug

I'd like my table to look like it does in the top picture. If I delete either LINE-A, or LINE-B, in the code below, it works. If I leave them both there, however, it results in the wrong width of the ...
1
vote
1answer
43 views

tabu and tabularx compatibility - for htlatex, tex4ht and migration between tabu and tabularx

Is it possible to renew the tabularx environment so that it will take the tabularx style parameters? Or the other way around? \begin{tabularx}{\textwidth}{ ... } % ... \end{tabularx} \begin{tabu} to ...
0
votes
1answer
37 views

Vertical lines within cell

I'm trying to replicate the folowing table in LaTeX with booktabs: However, I have trouble making the vertical lines. Here's what I have so far: \begin{tabularx}{\textwidth}{l | c c c c c c c c c ...
3
votes
3answers
84 views

Conflict between areaset and sidewaystable with tabularx

I have a problem with one large table, and I could finally narrow it down by reducing the preamble and commenting out some lines. The Problem: I have a table defined like that (please see the MWE ...
3
votes
2answers
102 views

how to align tikzpicture and text in a table?

I need to put my tikzpicture and text in the same height. However, I cannot do it. This is my code: \begin{table} \centering \begin{tabularx}{\textwidth}{ |l|X| } \hline \multicolumn{1}{c|}{ ...
5
votes
3answers
104 views

Vertically align multirow in tabularx environment

I'am trying to align the first multirow column vertically centered. Unfortunately multirow does not determine the actual height. Instead it aligns the multirow it based on the height of three single ...
2
votes
2answers
86 views

Vertically center tikzpicture in table

I'm tryin to vertically center a tikzpicture in a table. Here's a not-very-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - danske bogstaver og andet godt fra havet ...
3
votes
1answer
43 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: ...
4
votes
2answers
110 views

Newline linespacing problems within a table cell

I have problems with the linespace inside a longtable environment when forcing a linebreak. Following code should illustrate the problem. ...
2
votes
1answer
32 views

Extra horizontal lines in tabularx package

When I use the tabularx package to generate a table, this happens: \documentclass [12pt]{book} \usepackage{tabularx} % for stretching tables to page width \usepackage{multirow} % for multiple ...
2
votes
2answers
62 views

Vertical spacing options in tables built under the tabularx package

Goals: Add a space above and below the text line containing the Table 1's column headers. Add a space below the second hline. Add a space above the third hline. The code below contains the ...
1
vote
1answer
95 views

Serious table problems - something is wrong the text cell (it just continue?)

TWO MORE QUESTIONS: How do I add analyzes to the left side (so the letter turns into the figure and with a underline?)? And how do I remove "Game"-catogory, if I would like that?? It would be a ...
1
vote
0answers
60 views

How to automatically vertically center text in Lyx?

I have the following table in Lyx: Here is how it looks in Lyx: I want the text "My words" to be automatically vertically centered. I also want the text for the items that are rotated to be ...
1
vote
1answer
111 views

array, table, tabular, tabularx, longtable, supertabular, longtabu [closed]

What is the difference between array , table, tabular, tabularx in terms of syntax , typesetting , ease of use, and appearance after compiling. In short, where will you use each of them and what are ...
0
votes
1answer
99 views

I need this tikz and tabular sketch at the right of my presentation, and an itemize at left, but too much length

I need this tikz and tabular sketch at the right of my presentation, and some text at left. Unfortunatly the text is at left but in the down part of my frame, I need it at the center and starting ...
4
votes
1answer
64 views

This code do not compile, this is figure environments inside tabular environment, adding captions and labels

This code do not compile, this is figure environments inside tabular environmet, adding captions and labels. I havent found the reason and an effective way to organize my graphs. This is the code Im ...
3
votes
2answers
59 views

itemize within tabularx does not work when ltablex is loaded

I need this code to be compilable without errors: \documentclass{article} \usepackage{tabularx} \usepackage{amsmath, mathdots, paralist} \usepackage{ltablex} % uncommenting this line will work ...
2
votes
1answer
29 views

How to I use a longtabu inside \newenvironment?

I have the following newenvironment defined using tabularx \newenvironment{factlist}{% \newdimen\unbaseline \unbaseline=\dimexpr-\baselinestretch\baselineskip\relax ...
1
vote
1answer
38 views

How do I align the table where column going beyond the table

I have table where the column is extending beyond in the table in elsarticle. The MWE is as follows: \documentclass{elsarticle} \usepackage{booktabs} \usepackage{tabularx} ...
1
vote
0answers
80 views

Pgfplotstable multicolumn table with dec sep align and Tabularx

I would like to implement a multicolumn table with Pgfplotstable that aligns on one side the number of the columns by dec sep align and secondly aligns the whole table by Tabularx. A version without ...
4
votes
3answers
122 views

Fit a long table on multiple pages

I have this table that it ok for the width but not for the height. How can I split into two different pages? I tried using longtable but I got so many errors. I put an example of a long table taken ...
2
votes
1answer
25 views

Centered columns with fixed width using tabularx

How do I center the last seven columns in the attached text without dropping the fixed table width or the fixed column width? \documentclass[a4paper,12pt,oneside]{article} ...