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

How to multirow in tabularx environment?

In my code, I was trying to assign four phrases in first column second row in line with their description... \documentclass[13pt]{book} \usepackage{tabularx,booktabs} \usepackage{multirow} \begin{...
1
vote
1answer
56 views

How to get random-steps decorated tables?

I use tikz's decoration={random steps} a lot in a document for boxes and separator lines. In the same document I have tables set as tabularx, but the cell backgrounds / lines in those tables are ...
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
1answer
35 views

Text wrapping of text in multirow

I want to wrap rotated text which goes out of the lines. The line I want to fix is given below: \parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{Summary of the monthly returns for the ...
3
votes
1answer
34 views

How to center the text in tabularx

I have created a table as given below. I want to center the following part. \gmc{4}{@{}p{0.8\textwidth}@{}}{Summary of monthly cross-portfolio regressions: 25 Fama-French portfolios (constructed on 5 ...
1
vote
1answer
14 views

Addition of ltablex makes tabularx loses formatting

I created a table T, which looked great. I wanted to create another table spanning multiple pages, and hence I add a package called ltablex. Turns out that just the addition of this package makes the ...
1
vote
2answers
32 views

How to wrap long text in a cell within tabularx environment

I am facing problem with automatic text wrapping in a tabularx environment. I am facing problem with \gmc{14}{l}{Characteristic 1: Cross-sectional overlap in month-over-month regional real estate ...
2
votes
1answer
49 views

Centering in Tabularx does not work

I am trying to center columns using \newcolumntype{Y}{>{\centering\arraybackslash}X}. However, it does not work in the following example. \documentclass[11pt]{article} \usepackage{setspace} \...
2
votes
0answers
33 views

Caption outside float in tabularx

I am getting an error, while processing this latex file. Please help me. Thanks. \documentclass{article} \usepackage{tabularx} \usepackage{threeparttable} \usepackage{threeparttablex} \usepackage{...
1
vote
1answer
33 views

Latex can't find tabularx even though it's installed [closed]

Description of Problem When I use latexmk to compile a project to PDF I get the following error: ! LaTeX Error: File `tablularx.sty' not found. I am then prompted to "Enter file name". If I then ...
2
votes
2answers
46 views

Problems with the height and text alignment justification of a \multirow in a tabularx environment

I have a large table fitted to the width of the page, using the tabularx environment, that makes use of multirow. Following the example in table with tabularx and multirow, I used \multirow{n}{\hsize}...
0
votes
1answer
30 views

tabularx column text alignment color

I created a tabularx table with columns specifications. `\setlength\extrarowheight{5pt} %Augmente la taille des lignes du tableau `% \begin{tabularx}{1\linewidth}{| >{\columncolor{...
1
vote
1answer
72 views

Table formatting with tabularx

I'm trying to format the following table: \documentclass[12pt]{report} \usepackage[left=35mm, right=25mm, top=30mm, bottom=30mm]{geometry} \usepackage{tabularx} \usepackage[flushleft]{threeparttable} ...
2
votes
1answer
102 views

Using \CorrectChoice (exam package) inside tabularx Environment

For modelling a list of questions with yes/no answers I wanted to define an environment where I can setup a question with a command: \clO for an option that's not applicable and \clX for those that ...
2
votes
2answers
35 views

Alignment in table depends on length of header

When I delete the header "General variables used in the header" in the code (or any long text), the two columns overlap like this: Current output: Current code: \documentclass[12pt,twoside]{book} ...
1
vote
2answers
47 views

Table going beyond the page width

Why this table expands beyond the page? \begin{table} \caption{Class distribution in the succeeding partitions from $ A_{1} $ and $ A_{2} $} \label{table:ClassDistribution} \newcolumntype{R}{>{\...
3
votes
1answer
30 views

Figure in two-column article

I have a two-column article document in which I want to place a figure spanning both columns above two (independent) tables (using tabularx), one in each column. I've followed the answer here, but it ...
1
vote
1answer
37 views

Table Errors - Misplaced \noalign, Misplaced \omit, extra alignment tabs

I am very new to latex, and as I'm nearing the end of my first thesis, due to submission in two days I'm placing the results which have finally been extracted after several attempts over the past few ...
4
votes
2answers
82 views

How to create a table with fixed-width cells and use cellcolor and multicolumn to create time bars? Or: How to substitute ganttbar with tabular?

Failing to combine a gantt chart with a table I now try to avoid the gantt chart by just using a tabular environment. However I like to keep some neat features of the pgfgantt-package and I'm facing ...
3
votes
3answers
39 views

tabular or tabularx: how to align the first column to the top?

In the example below, I would like the star to be aligned to the very top (as much as possible). Is it possible and if yes how to do it? I'm looking for a generic solution as I could replace the ...
2
votes
1answer
45 views

text alignment with a picture horizontally

I am new to LaTeX and I am working with ShareLaTex. I started writing my Thesis for the University and I want to put some text alligned with the the top of the picture and with a space between the ...
1
vote
0answers
31 views

how to make a table span 2 pages?

i'm not an expert in Latex, Maybe the question seems straightforward for many of you. I'm trying to make a table span 2 pages . this is my code : \usepackage{tabu} \usepackage{longtable} \...
4
votes
2answers
46 views

How to merge the contents of the table cell without using multirow and multicolumn?

\documentclass{article} \usepackage{graphicx} \begin{document} \begin{table} \renewcommand{\arraystretch}{1.2} \centering \setlength\tabcolsep{0.5em} \scalebox{0.84} { \begin{tabular}{|l|l|l|} \hline ...
0
votes
0answers
27 views

how to create long table with multirows?

I'm new with latex and I'm trying to use this table which is long and divided into multiple pages. but I failed to add multirows and multicolumns to make it look like this table this is my code ...
2
votes
1answer
22 views

Table \rowcolor \multicolumn color displacement

I have the following table: \documentclass[a4paper,12pt,twoside]{book} \usepackage[utf8x]{inputenc} \usepackage[table,xcdraw]{xcolor} \usepackage{tabularx, threeparttable} \usepackage{multirow} \...
3
votes
3answers
50 views

Wrap text in tabular and itemize?

I would like to get the following effect without manually using & and \\ to wrap the text (i.e., all the text will be wrapped automatically) \documentclass[11pt,letterpaper]{article} % Make lists ...
2
votes
2answers
52 views

Math mode in table headers (tabularx)

I am editing a document, using a custom class. The author has numbers with a bar over them in a table header, e.g. $0.58\bar3$. However, when I try to compile it I get the following errors: ! Package ...
1
vote
1answer
40 views

Problem with tabularx's vertical spacing

I have a problem with the way tabularx (or is it booktabs?) is handling vertical spacing between horizontal lines and the cell content / background color. MWE: \documentclass[paper=a4,fontsize=12pt]{...
1
vote
1answer
40 views

Error while setting column width in Latex: Package array Error: Illegal pream-token (3cm): `c' used

This is my code to build a simple table. \begin{table} \small \centering \begin{tabular}{ l{3cm}|l|l|l} .... \hline \end{tabular} \end{table} But, I am getting the error Package array Error: ...
1
vote
0answers
26 views

Footnote missing when used with table, tabularx

I'm using fithesis3 class and I'm unable to get to work table + tabularx + footnotes + footnote references. I have tried \tablefootnote - http://tex.stackexchange.com/a/35328 \scrextend (\footref) ...
1
vote
1answer
28 views

Table formation using Multirow, tabularx

I am preparing an article having a table, for a Springer journal. I am using tabularx, multirow. My table code is attached. I am not able to bring the lines 'xxxxxxxxxx xxxxxxxxxxx xxxxxxxxxxxx' and '...
0
votes
0answers
30 views

Missing table borders when using tabularx

I'm using tabularx with this solution: http://tex.stackexchange.com/a/12712 to achieve right alignment in a variable column width based on content size with linebreaks. I would like the result to ...
1
vote
1answer
25 views

Include three images, so that the first one spans over two rows

So I would like to have 3 images; the first image spanning across the two other images (the first one is taller than the other two). Example: [1]|[2] [1]|[3] Here is the code I currently use, keep ...
2
votes
2answers
30 views

Programmatic Table Building Error

I am trying to build a variable size table programmatically. All the logic works separate from the table commands, and the table commands work separate from the programmatic logic, but somehow when I ...
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 ...
1
vote
2answers
24 views

Column alignment and spacing in tabularx

I have a problem with my tables and I am not sure why. I made this table format a long time ago and wanted to use the same style again. Though I cannot seem to get the leftmost column to behave. I ...
7
votes
1answer
51 views

How can I generate precisely one warning within a tabularx environment?

I realise this is an unholy mix of expl3 and LaTeX-2e, but most of my code is like this at the moment, unfortunately. I want to be warned when I fail to set a particular variable. More specifically, ...
1
vote
3answers
74 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 ...
0
votes
1answer
42 views

How to make the table fit in a page?

I have the following table and it doesn't fit in the page. I already tried looking for the threads which were relevant, tried all suggestions but no success. Here is my code: \usepackage{array} \...
3
votes
1answer
27 views

Slightly mispositioned hyperlink to start of tabularx environment

I'm writing a document where I have to put a lot of similar tables (and I have to keep them "similar"). So I'm writing some macros to generate and partially fill the tables automatically. (I generate ...
3
votes
2answers
28 views

Problem with multicolumn

I'm working on a new environment based on tabularx and using some luatex functions. Actually, I have the following code. \documentclass[10pt,oneside]{article} \usepackage{luatextra} \usepackage{...
7
votes
3answers
77 views

How to handle input strings in tables, when the input string has line breaks in it?

I have a document template I've written that has worked well until now. It includes input to define things like the name of the document, doc control numbers, etc. Unfortunately, I have a case of ...
3
votes
1answer
73 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
49 views

Creating a Requirements Traceability Matrix

I am having some trouble creating a traceability matrix similar to the image shown below. How would I be able to create: Rotated column headings Heading row height different to the other rows any ...
2
votes
1answer
36 views

tabularx/siunitx table: column of integers not properly aligned

I have adapted a table format recently suggested on t.SE, which works well except for two issues. MWE is below. \usepackage{array} \usepackage{dcolumn} \usepackage{tabularx} \usepackage{...
3
votes
2answers
37 views

misalignment of column values in a tabular* / dcolumn table

I am using the following code to create a table for a paper I am writing in Overleaf. \usepackage{array} \usepackage{dcolumn} \usepackage{booktabs} \newcolumntype{d}[1]{D{.}{.}{#1}} \begin{...
0
votes
1answer
34 views

Tabularx and decimal alignment with dcolumn

I am trying to implement decimal alignment on a regression table using tabularx. I am using the dcolumn package to do it, but there are two problems: (i) only two out of three columns are decimally ...
4
votes
2answers
54 views

How do I centre a tabularx table?

I have a pretty big data table for an organic chemistry lab and trying to make it look nice as possible. However, not all headers are centred. % Organic Chemistry II Lab Template \documentclass{...
0
votes
0answers
16 views

Alignment problem in tabularx that happens when I change it to non-decimal

I have the following code which aligns when I have decimal figures but fails to do so when I type 0 for instance. The code is as follow \documentclass{article} \usepackage{tabularx} \...
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} % Включаем пакет для поддержки русского \...