Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tabularx]

{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.

0
votes
0answers
18 views

How to embed a multiple subplots inside another subfigure using grouplots

Could somebody please give me a hint of how can I do this using grouplots and tikz. I have done it using subfigure and \includegraphics, however, I am facing problems to arrange the borders of the ...
0
votes
0answers
22 views

tabularx fill on certain column

I have a reaccuring table which I want to be the same. Currently the width would be different depending how wide the text is in the "Titel" column. How should I do it so it looks the same every time I ...
1
vote
1answer
11 views

Centering table data under right-aligned tabularx header

I'm trying to align the following table so that the "21" is centered under its header. \begin{table}[h] \centering \begin{tabularx}{1.09\textwidth}{|cll>{\raggedleft\arraybackslash}X|} \hline \...
0
votes
1answer
27 views

How to align table contents by decimal point?

I've searched online and on this forum. I haven't found an appropriate solution to my issue. I am trying to align the numbers in my table with their decimal point. I'm not exactly sure how to go about ...
1
vote
1answer
28 views

Baum Welch algorithm description

I am trying to replicate this table, on the Baum Welch algorithm, for Hidden Markov Models. I can not put expressions in the center, I'm trying with \ begin {align *} ... \ end {align *}, but the ...
1
vote
1answer
17 views

How to align horizontally the rows between X type columns?

I have a table with short and long headings. I'm using tha column type X from the tabularx package. The headings are aligned to the top, how can I align the headings horizontally in the middle? \...
1
vote
3answers
25 views

Uneven margins when vertical centering in multiline tabularx-cells

I've read a lot about vertical centering in tabularx-tables and found a general solution. However, when having multiple lines in cells, the margins seem to be off. Your can see that in the right-most ...
1
vote
2answers
33 views

How can I get a table to exceed left and right margin equally without changing its font size?

When I use adjustbox to modify the width of a table, even the font size changes. How can I increase the table width but let it exceed both margins equally? My MWE \documentclass{elsarticle} \...
4
votes
4answers
244 views

How to fix my table, centering of columns

I've been trying to produce a table in which the first two columns has rows merged, the next three columns has columns merged, with three sub-columns, within the same height as the merged rows of cols ...
2
votes
1answer
40 views

Missing vertical line when insert column width in tabularx

This question is a sequel to this question. After column width added (Y{2cm}|Y{5cm}|), vertical line is missing. \documentclass{article} \usepackage[usenames,dvipsnames]{xcolor} \usepackage[skins,...
0
votes
0answers
31 views

How to center tabularx table?

I want to horizontally center a table that is generated with tabularx. But the tabularx table has an offset to the right that I am not able to remove: \begin{table} \small \centering \noindent \begin{...
0
votes
0answers
30 views

Protocol in latex longer then one page?

I used the proposed solution here to make a protocol in latex. This works for me but I noticed two things which are not so nice: The protocol starts on a new page item. If the protocol is longer ...
1
vote
1answer
27 views

How to set vertically center text in tables and add enters when using tabularx?

How do I vertically center text in the tables, such as "Author 1 (Year)" and how do I add enters between words in tables so that the text comes under each other, like with the words War, Revolution ...
1
vote
1answer
21 views

Suppress spaces between column entry and newly defined column separator

As explained in another post I have defined a column separator as follows: \newcolumntype{"}{@{\hskip\tabcolsep\vrule width 1pt\hskip\tabcolsep}} With the normal separator | I used @{} to make ...
2
votes
1answer
28 views

Centering rows in latex

\documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{booktabs} \usepackage{array} \usepackage{tabularx} \usepackage{adjustbox} \renewcommand{\arraystretch}{1.2} \begin{...
0
votes
1answer
10 views

Tabularx Multirow has different border width

I'm creating a table using tabularx package. The problem comes when I add a multirow. The multirow borders are different (the border width is smaller) and I don't know how to fix this issue. \begin{...
1
vote
1answer
30 views

Table column width distribution

I got the following table: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tabularx} \usepackage{pbox} \title{Skills Matrix} \author{Raphael Fritz} \date{February 2019} \begin{...
0
votes
0answers
44 views

Footnotes inside tabularx with hyperref

I want to make my own command to deal with hyperref incompatibility with footnotes inside tabularx. I can't use hyperfootnotes=false option for hyperref. It seems I'm in a half way to get what I want ...
0
votes
0answers
28 views

Tabularx how to have continuous text and not page break?

How can I make the text in my table continue on a new page instead of tabularx page breaking because the next row does not fit on the previous page (resulting in unnecessary whitespace)? So ...
2
votes
2answers
44 views

Misplaced \noalign when centering tabularx cell

I have a minimal LaTeX document like this: \documentclass{article} \usepackage{tabularx} \begin{document} \noindent \begin{tabularx}{\linewidth}{ X | X } \centering A & B \\ \hline 1....
1
vote
0answers
24 views

Math mode in Tabular environment [duplicate]

With tabular or tabularx environment, when dealing with numbers , percentages and other math symbols per se, do we need to use the math mode ( $$ for instance ) with every number/symbol. Is there an ...
0
votes
3answers
39 views

How to get automatic line-breaks using tabularx and makecell?♀

I'm using the tabularx and makecell packages for the aesthetics of my tables. I used the X column type for columns with long texts and \makecell{...} for line-breaks into the cells. But when I try to ...
0
votes
1answer
25 views

How to have underlined text break line in table?

I have a long text in a table which is combined from two commands with a space in between, which has to be underlined. How can I make it wrap while being underlined? The example below shows the ...
1
vote
1answer
47 views

How to Remove Horizontal Lines From Colored Multirow Table [duplicate]

I am having some trouble removing the "white lines" from a colored table (where it says 3 and 4). \documentclass{report} \usepackage{wrapfig} \usepackage{colortbl} \usepackage{booktabs} \usepackage{...
0
votes
1answer
34 views

Spanning tabularx table width to (nearly) full page

I want my tabularx table to span (almost) the full page in width instead of just textwidth. Here's an image of it currently (with \usepackage{showframe}: I want the width of the table to be that of ...
1
vote
1answer
34 views

How to get the same effect of the X column without using tabularx?

I'm having a little problems with tabularx package. So I'd like to make tables with a column that occupies all the remaining withe space, as a X column type does. In the following MWE the last column ...
1
vote
1answer
38 views

Chemscheme in float environment for implementation in tabular

In my dissertation, I am using Chemscheme for the consistent numbering of molecules. I would like to include some of the schemes I create in the headers of reaction tables. I know that I can do so ...
0
votes
2answers
33 views

Automatic counter with sub counter for table row - referencing

I want something like this: a referrable automatic counter and sub counter for each row in a tabularx environment. I could find a solution for a single counter here, but could not adapt it to tabularx....
3
votes
1answer
33 views

Transparent row colours in tabularx environment using XeLaTeX

I'm trying to build a table with alternating row colours, with one of the colours slightly transparent. I have the table layout working as intended, however I cannot figure out a way to get the row ...
1
vote
1answer
32 views

How can I make all columns have same width with tabularX?

I want to make a table that has equal column widths. When I write text I want the text to go vertically, however I can't seem to make my last column behave as the other columns using tabularx package. ...
3
votes
2answers
62 views

Trouble with formatting a tabularx environment

I've been trying to format a table without success. I've followed several suggestions that I found in other answers but never manage to fully adapt it. This is one of the examples I tried: \...
4
votes
2answers
177 views

How to add left arrow between two tables?

How can I add an arrow between two tables? \documentclass[english]{IEEEtran} \usepackage{booktabs} \begin{document} \begin{table*}[!htb] \large\setlength{\tabcolsep}{0.1pt}...
2
votes
1answer
41 views

Sizing article within article

I have an article , the whole bunch is written as \documentclass[12pt,english]{article} %\usepackage[margin=2in]{geometry} %use this later of you need tp specfy margin %\usepackage{microtype} % ...
2
votes
1answer
55 views

Create a multi-page table without tabularx

I have create a multi-page table. Using tabularx, my attempt is as follows: \documentclass[a4paper,preprint,aps,unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm,left=3.5cm,right=2.5cm]{...
0
votes
0answers
33 views

errors =Illegal unit of measure (pt inserted). \end{tabularx} [duplicate]

\documentclass{article} \usepackage[margin=20mm]{geometry} \usepackage[table]{xcolor} \usepackage{rotating} \usepackage{multirow, tabularx} \begin{document} \begin{sidewaystable} \scriptsize \...
0
votes
1answer
33 views

tabular, small detail

Could you please kindly help me to break the blue boxes (see picture) to the next line so that the Table is narrower? Than you very much for your help! \begin{table}[] \centering \caption{...
2
votes
1answer
52 views

Column Width with Tabu Package

How can I set particular column widths in tabu? Here's what I have at the moment {\tabulinesep=1.2mm \begin{tabu}{|X|X|X|X|} \hline \textbf{Question} & \textbf{Solution} & \textbf{...
2
votes
1answer
37 views

Diagonal line through whole table

I am trying to set up an intercorrelation table showing results of two samples. However, for better visuals, I want to split this table into two parts by adding a diagonal line through whole table (...
4
votes
3answers
156 views

Tabularx environment

I have problems translating this table (from Online table generator) to tabularx environment so it would be coherent with the rest of Tables of my document. Could you kindly help me? Thanks! \...
0
votes
0answers
38 views

Rotate Big Table

My rotated table cannot be compiled. I could compile it before but something changed. When I could compile it the columns did not align like they should. I already tried different table environments ...
1
vote
1answer
56 views

Tabularx is increasing the table numeration even without \caption

I'm using ltablex and threeparttablex for my long tables across 2 or 3 pages. However, into the text body I use tabularx without the intention of numbering, but the tabularx environment is increasing ...
12
votes
2answers
198 views

tabularx inside tcolorbox not centered properly

I am trying to put a tabularx inside a tcolorbox but it's not centered properly, it's shifted slightly to the right. Here is the code I am using. I am using figure environment for the caption. Is ...
0
votes
0answers
24 views

Give column its own row if a cell is longer than a given amount

My document was originally composed with monospace unicode output from a Python terminal. The original layout used blank spaces to align results into columns. I specified the width (in characters) of ...
4
votes
1answer
69 views

Workaround for tabularx inside environment when using csquotes

I need an environment that presents data in a table. The number of right-most columns shall be adjusted at compile-time, and the first column is dynamic width. For this reason I am using \usepackage{...
1
vote
2answers
48 views

Horizontal centering in tabularx cells

This is my current code: \newcolumntype{b}{X} \newcolumntype{m}{>{\hsize=.5\hsize}X} \newcolumntype{s}{>{\hsize=.2\hsize}X} \begin{table} \caption{Summary of the Most Common BCI Control ...
0
votes
1answer
21 views

How do I insert an empty line/space inside tabular environment (with empty columns)?

I have a tabular environment, where I want to separate "paragraphs" with empty lines or spaces. The paragraphs have one major title on the left whereas the column on the right has several lines. Here ...
0
votes
0answers
61 views

Problem with tabularx package: Error message “Illegal pream-token (x): `c' used.”

I have a problem with using \usepackage{tabularx}. Would you have any suggestion to overcome the error message of ! Package array Error: Illegal pream-token (x): `c' used.? Thank you in advance for ...
2
votes
3answers
238 views

Multicolumn (Tables) trouble

I am trying to get my table working for last couple of days. But I couldnt fix the problem. The way I want my table to look like is below (figure 1). With my following code \begin{table}[p] \begin{...
1
vote
1answer
41 views

Text exceeding table limit vertically

I'm writing a table but in some rows the text exceeds vertically the limit. How can I fix it? thanks. That is my code: \documentclass[a4paper,12pt]{article}[12pt] \usepackage{amsbsy} \usepackage{...
2
votes
1answer
79 views

Bibliography with citations in tabularx and defernumbers=true only prints [0]

In my document, I need a lot of citations. However, my bibliography stopped working all of a sudden. All the citations in the document and the bibliography are [0] (instead of the excpected [1], [2], ...