The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
1
vote
2answers
72 views

tabularx is breaking page formatting for some reason

I am in the process of writing my PhD thesis in chemistry and I seem to be having a problem with the table/tabularx instances. I have a lot of tables and I also have several longtables (which seem to ...
2
votes
1answer
61 views

Table does not stay in one page

Good morning. I have used the tabularx package to make a table. However, when I put it into my code, the table is half in a page and half in another one, notwithstanding the fact that it is quite ...
0
votes
1answer
23 views

fill multicolumn cell with dotfill

I am trying to fill a multicolumn cell with \dotfill. For some reason I do not understand, the dots stop too early. (In normal cells it works fine, but multicolumn cells are reacting differently) This ...
0
votes
0answers
18 views

tabularx too wide (after using etoolbox's appto?) [duplicate]

After using the solution of another problem (see here), my tabularx table is too wide now. Please see the MWE and its output below. Adding \noindent before the first table doesn't help (as suggested ...
0
votes
1answer
24 views

Setting multiple tables with the same width

I believe that my problem is really straightforward and there must be an really easy way to solve this issue, however as I am quite new with Latex. I have multiple tables, all of them containing ...
1
vote
0answers
29 views

Aligning Text in a Table (various alignments in the column)

I need to set up a table with three columns. The first two columns have a width of 7.2 cm and the last has a width of 1.5 cm. I would like text in the first row of the columns to be centred, but ...
2
votes
2answers
94 views

Adjusting Table in Latex tabularx environment

I am having difficult time with adjusting the following table. I have the code as follows: \documentclass[dissertation,letterpaper,12pt]{utthesis} \usepackage{tabularx} \usepackages{multirow} \begin{...
0
votes
1answer
21 views

Tabularx functionality with small dimensions and embedded logos

I have been trying to learn how to use tabularx for the purpose of creating a simple abstract text table as well as a title table in which I can embed a picture (Logo). I have attached a picture on ...
0
votes
0answers
22 views

Adjust cells width such that rows look balanced

This is continued from this post where I asked how to keep "even spaces between cells". The approach I started from was the one below first rule, that of the answer is just after the first rule. ...
1
vote
1answer
59 views

etoolbox and tabularx — problem with `appto`

I'm trying to print worksheets. I have already implemented an automatic numbering for subtasks. I use tabularx for my subtasks (see the MWE below). Yesterday, I tried to define a new macro called \...
0
votes
0answers
42 views

Why are the spacings between columns so uneven? [duplicate]

I am trying to create a graph in Latex with the given code: \documentclass[11pt]{article} \begin{document} \begin{table}[H] \centering \caption{A table showing the raw data.} \vspace{0.3cm} ...
0
votes
0answers
28 views

Force pagebreak behind hline in longtable

I try to force the pagebreaks only behind \hline and not behind a \hhline{|~|----} The first MWE shows the wrong behavior \documentclass[fontsize=12pt,twoside=false]{scrbook} \usepackage[ngerman]{...
1
vote
2answers
30 views

How to combine 2 column in a table (using \thead and \multicolumn)?

I want to add in 95% Confidence Interval in here as shown below. However, I am using \thead and can i use multicolumn together? & & & & & \multicolumn{2}{>{\centering\...
0
votes
1answer
18 views

How adjust this table with multicolumn in tabularx?

i'm trying to create a rigth table using multicolumns and tabularx. This is my code \documentclass{article} \usepackage{booktabs} \usepackage{tabularx} \begin{document} \begin{table}[!htbp] \...
1
vote
0answers
33 views

Equal spacing for Listings, Tables, Figures and Equations

I'm searching for a MWE to get equal distances between text and all environments in my document. Equal distances mean in this case: Distance between text and the upper border of the environment ...
2
votes
3answers
60 views

Table alignment issue

I am not sure why my second row of sentences go to my first row. I need to create a table (without colour) as below: My MWE: \documentclass[12pt,oneside]{book} % Remove draft option to show ...
0
votes
1answer
29 views

Keeping even spaces between cell, yet raggedarray for the last one

The case below is fine except for the middle cell, I would have wanted it to be centered. \documentclass{minimal} \usepackage{tabularx} \newcolumntype{R}{>{\raggedleft\arraybackslash}X} \...
0
votes
1answer
15 views

How do I correctly multicolumn tabularx?

How do I correctly multicolumn a tabularx while preserving the correct width? When relatively short content is inserted into the \multicolumn, it can be done with l, c, or r. However, if the content ...
3
votes
2answers
81 views

Vertically centered material in fixed height rows in tabular environment

The goal is to obtain a table with fixed height rows, and to place the material inside -certain- cells vertically centered. Looking for a robust and simple way, I have worked on this idea: \...
1
vote
1answer
31 views

Right-justify colorbox slightly to the left of bookcover's edge

I'm looking to place a title in colorbox, in cls bookcover, that is right-justified, and leaving a margin to the left of the edge. I can somewhat get there using tabularx in cls article, but unable to ...
1
vote
2answers
62 views

Split cells vertical and horizontal

I'm an absolute newby in Latex and I try to reproduce a table (see picture above) as an exercise in university. I need to split cells both vertically and horizontally, as can be seen in the picture. ...
0
votes
0answers
19 views

Text fails to wrap inside cells of tabular (even tabularx) possibly due to \multicolumn

\noindent\hspace{3ex}\begin{tabularx}{\textwidth}{X l} \underline{Computational Study on the Vibrational Thermodynamics of Solid Solutions} & 07/2017 - Present\\ \multicolumn{2}{l}{- ...
1
vote
1answer
19 views

How to get a bold horizontal line in a long table using xltabular

I have a long table going over several pages and I need the last horizontal line of this table on each page to be bold. However, I only get the horizontal line on the very last page to be bold. Is ...
1
vote
1answer
34 views

How to style the tabularx inside a tcolorbox?

I want to set the boxrule of a tcolorbox, but when I add a tabularx to it, it is suddenly ignored. \documentclass{article} \usepackage{tcolorbox} \usepackage{tabularx} \usepackage{colortbl} \begin{...
1
vote
0answers
30 views

Multicolumn in tcolorbox+tabularx breaks if on the first line [closed]

I'm using tcolorbox with tabularx and multicol to recreate a form. This works fine but when I try to use a multicolumn in the very first row, I get the following error: ! Misplaced \omit. \multispan -...
0
votes
1answer
26 views

Overfull \hbox in paragraph in tabularx

I am always getting the same error and can't find a solution. I want to create a table in text width. The first and the second column should be centered and the third column is for text until the end ...
1
vote
1answer
44 views

How do I prevent poor formatting when using ltablex package and nesting tabularx environments?

I'm preparing a long table (> 1 page, so I'm using the longtable package) that is set to take up the full \textwidth of a page. I aim to produce both letter- and A4-sized versions of the document, but ...
1
vote
3answers
44 views

How to split existing tabularx table over pages

I'm trying to fit a landscape tabularx table over multiple pages, however with the solutions I've found, I'm not able to do so. I've also picked up the solution for generating the table itself from ...
1
vote
2answers
41 views

How to vertically align and scale images within a tabularx environment

How does one scale the images and also vertically centre align the images. Relevant Research: I have looked at the following links to better understand and try out their recommendations: LaTeX \...
3
votes
2answers
48 views

adjust column width in wide table

I would like to adjust the columns width. My table have 15 columns, I tried tabularx but it sent me an error. Any help or advice please. \documentclass[a4paper,12pt,oneside,french]{book} \usepackage[...
2
votes
2answers
78 views

How to create a table with evently distributed column width, bullet point and automatic line breaks

For my thesis, I need to create a table that look like this: The only thing I would like to be different, is that the bullet point are also horizontally aligned. Meaning that I want the second ...
1
vote
2answers
37 views

Strange alignment behavior of two numbered equations on the same line

Considering my previous question at this link One or more equations (two-by-two on different rows) with an enumerate to the left and the another on the right, I have a strange alignment behavior of ...
1
vote
1answer
33 views

Table width does not fit the textwidth after using \newcolumntype in tabularx environment!

I use the tabularx package and use \newcolumntype command to specify the column width. However, the text width of the table does not fit the text width of the document after I use the specified ...
1
vote
1answer
40 views

Table Alignment (Making the content in multicolumn middle and bold)

Firstly, how to my multicolumn content into middle that looks better? Secondly, I am facing the problem of making the bold of the first row. I using the table format previously. Once I added \textbf{}...
3
votes
0answers
51 views

Scale multiple table rows to fill remainder of page

I am working on a LaTeX class for a schedule planner, and I want to scale a few rows in a table to fill the remainder of the page (evenly distributed), while leaving alone the previous rows of the ...
0
votes
0answers
10 views

Issue with tabularx and pgfplotstable when specifying column type

I am having trouble using a tabularx environment together with the pgfplotstable package. As soon as I specify a column type in tabularx, I recieve a series of errors. When no column type is specified ...
1
vote
1answer
69 views

Table Alignment (Making the word from 1 row into 2 row)

Would like to adjust the table in better looking, tried both methods, not working. Make the first column letter into 2 row. Make all the content to left-hand side All the column around same length \...
2
votes
2answers
50 views

How can i adjust width of the entire table and of columns using tabular package?

I tried using tabular package to make the rigth column wider in respect to the left (that should be 1/3 approximately). In my code something is wrong because it gives the left wider and the total ...
0
votes
0answers
53 views

Missing \endgroup inserted. \end{tabularx}

Good morning, i'm trying to create a table using tabularx package. I get this error: Forbidden control sequence found while scanning use of \NC@find. \end{tabularx} Missing \endgroup inserted. \end{...
1
vote
1answer
45 views

What is tabularx doing with subfig in this example?

This is a simplified version of an environment that I use to hide a figure, showing only the caption. One of the challenges was that I wanted to not only ignore \includegraphics, but ignore the whole ...
0
votes
2answers
32 views

How do i get linebreaks between the numbers 1-5

\documentclass[11pt]{article} \usepackage{multirow} \usepackage{booktabs,array} \usepackage{booktabs, tabularx} \usepackage{floatrow} \renewcommand\tabularxcolumn[1]{m{#1}} \begin{document} \begin{...
0
votes
1answer
35 views

Equally spread cells within rows that have different column numbers

I tried to create something like this using tabular and tabularx but just can't get the cells to equally spread out. I would be very grateful for a short working example! Thank you.
0
votes
2answers
41 views

Label table without table environment

I'd like to label a table without putting it into a table environment. From this I know that this wont work, but the solution offered there does not work either, because, if I put my table (tabularx) ...
1
vote
2answers
53 views

Multi-page one-column tabularx in a two-column document

Problem: I wish to break my one-column table, written in tabularx, over two pages in a two-column environment. I have seen examples where this could be done using supertabular, longtable and xtab but ...
0
votes
2answers
27 views

Shifting and aligning text with a picture in a CV heading

I am trying to adjust the heading portion of this particular CV template according to the picture with arrows for an alignment with dashed lines as well as adding another properly aligned column for ...
1
vote
2answers
44 views

Tabular Formatting Issue

I'm having trouble recreating the following table in LaTeX: (Note that in the first column, "Action" is centered while the rows beneath it are left aligned.) The closest I've gotten is this: \...
4
votes
3answers
121 views

Tabularx with \hline and overrightarrow vertical spacing

I use a \overrightarrow in my tabularx table with \hline. Howover, the vector arrow is mixed with the line. Is there a good way to fix this error other than manually putting spacing ? \documentclass{...
0
votes
1answer
48 views

How to adjust the font size and width of 'tabularx'?

Here is my code, some variable names are quite long: \usepackage{tabularx} \newcolumntype{b}{>{\hsize=0.9\hsize}X} \newcolumntype{s}{>{\hsize=0.8\hsize}X} \begin{table}[htbp] \begin{...
2
votes
2answers
46 views

how to create a boxed table array

I'm trying to replicate the attached image. However, I'm not really sure what type of command or environment to use. I don't think its just a simple tabular or minipage environments. If someone can ...
1
vote
1answer
74 views

One or more equations (two-by-two on different rows) with an enumerate to the left and the another on the right

Starting from these MWE into two links How to place and number 3 short equations in one line? (Stefan Kottwitz's answer) with this MWE: \documentclass[11pt,a4paper]{scrbook} \usepackage{amsmath} \...