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
2 votes
2 answers
31 views

tikzpicture doesn't fit into table due to "?" symbol inside the object

I'm trying to get a table in a diagram to look decent, but the object\tolabel seems to overflow the radius of the circle, which makes the table look unaligned. If I change the last object for another ...
Javier Castro's user avatar
4 votes
3 answers
194 views

Position of the text within a table

how can I get formulas or texts to be positioned centrally within the cell of a table? Here is my code: \documentclass[10pt,letterpaper]{article} \usepackage[lmargin=1in,rmargin=1in,tmargin=1in,...
wayne's user avatar
  • 685
1 vote
0 answers
22 views

Tabular table too wide for page [duplicate]

My table is to wide and won't fit in the page. Any help making make it sure it fits? Here is what I am working with: \begin{table}[H] \begin{center} \caption{Interaction term coefficients and ...
YouLocalRUser's user avatar
2 votes
1 answer
46 views

draw brace on tabular table without remember overlay

I have found this great post enter lAdd a curved arrow and a bracket to a table, But I want I want is put the tabular into the same tizkpicture environment and remove the remember overly, which need ...
lucky1928's user avatar
  • 4,175
1 vote
1 answer
29 views

Add row split line between cells right on multirow cell

I would like to add horizontal split line between D,E,F,G cells. I have try add \hline at the end, but it will split the whole line. The multrow cell C should not be splited. \documentclass{standalone}...
lucky1928's user avatar
  • 4,175
2 votes
1 answer
51 views

issues with overfull \vbox and tabularx figure arrangement

Hi there I was looking into a clever way to present five figures in LaTex. I found this post which I believe it's quite useful in my case since I can present an enlarged version for one of the ...
Matteo's user avatar
  • 163
1 vote
1 answer
28 views

How to change column width for particular row of table

How can I set this layout? I have made this but it did not work \begin{table}[H] \caption{Current state-of-the-art approaches in UAV fault detection techniques.\label{tab:2}} \begin{tabularx}{\...
Zineb Adaika's user avatar
0 votes
2 answers
61 views

Behaviour of newline in tabularx package

I want a table with two columns; the left column should be left-justified, the right right-justified, but with possible manual line breaks in either column. I am using a tabularx environment \begin{...
SvenForkbeard's user avatar
0 votes
0 answers
23 views

Unknown errors ocuur in front page

I am actually using the template from my University, which you can find it attached at the end. However, I constantly get the errors from the logs. It occure ant the last one \end{minipage} line. ...
Zijin Cheuk's user avatar
0 votes
1 answer
35 views

Is there an option, within tabularx, to add a vertical whitespace both above and below the table?

Is there an option within tabularx to add a vertical whitespace both above and below the table? \documentclass{article} \usepackage{tabularx} \usepackage{lipsum} \begin{document} \lipsum[1] \...
Ommo's user avatar
  • 835
1 vote
2 answers
71 views

Vertically align advanced longtable on only one cell on a specific column and row

I'm trying to develop a bit complex LaTeX longtable I already achieved most of it but I wanted to know besides the help that I want if what I'm doing is the best way or if there isn't a simpler or a ...
biscoito's user avatar
1 vote
1 answer
24 views

Vertical line in table is indented, but only when it is a command

I wanted to set up colored vertical lines in my table, while keeping horizontal lines black. This could easily be done by inserting !{\color{green}\vline} when a vertical line was needed. This worked ...
Fibecker's user avatar
0 votes
1 answer
32 views

How to remove the gap between \underline and overline for the Roman Numbers shown in the below table without changing its font?

\documentclass[12pt]{article} \usepackage{amsmath,amssymb} \usepackage[table]{xcolor} \usepackage{tabularx} \usepackage{makecell} \usepackage{graphicx} \usepackage{accents} \begin{document} \begin{...
Vishakha's user avatar
  • 119
1 vote
2 answers
52 views

How to add vertical row space, when the content in multicol is on more than one line, in tabularx environment?

I am trying to manually add vertical row spacing using the xltabular environment. But when I try to use the multicol to write a paragraph which goes on to 2 or 3 lines, my method of manually adding ...
NamikazeMinato's user avatar
1 vote
3 answers
51 views

multi-column title centering

I know that there are multiple questions regarding similar problems, but I've tried multiple offered solutions and I just can't get anything to work. When using \hskip in my table, the titles (Bitcoin,...
runku's user avatar
  • 11
2 votes
1 answer
16 views

Set automatically the width of a table, based on the column width in which the table appears (in a 2-column document) [duplicate]

I have a document that is split into two columns of different width. In one of the two columns, I would like to add a table that is large exactly as the width of that column. Is there an automatic way ...
Ommo's user avatar
  • 835
-2 votes
2 answers
74 views

Latex table creation with different cells

I would like to create the following table in the Latex How can I create one?
Encipher's user avatar
  • 548
5 votes
6 answers
163 views

How can I center text on a vertical line in a table

I have the following: \documentclass{standalone} \usepackage{tabularx} \begin{document} \renewcommand\tabularxcolumn[1]{m{#1}} \begin{tabularx}{\linewidth}{XcX} I am the first of \newline two ...
Eric's user avatar
  • 679
2 votes
1 answer
82 views

layout issue with tabularx

This is my fsmpic.cls: \NeedsTeXFormat{LaTeX2e} \LoadClass[version=last]{scrlttr2} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage[ngerman]{babel} \usepackage[scaled]{...
Kompetenzfrosch's user avatar
0 votes
1 answer
56 views

My defined macro doesn't work

I don't want to write \end{tabularx} at the end of each table, so I wanted to define a the following macro: \newcommand\et{\endtabularx} This works: \documentclass{article} \usepackage{tabularx} \...
mathboi's user avatar
  • 23
1 vote
2 answers
60 views

Caption inside tabularx causes error (no line to end)

I'm trying to use a caption inside a non floating tabularx. Until now I used \captionof but this causes the counter to increment twice due to the underlying use of longtable as far as I understood. So ...
KevKosDev's user avatar
  • 113
4 votes
1 answer
94 views

How to put a line and a note under a certain column in tables?

There is this table in a textbook I'm reading, I have tried to recreate it and almost succeeded except for this small part where an hline is added below the last column and a note. Here is my attempt ...
Abdulrahman's user avatar
4 votes
3 answers
147 views

Proper multi column spacing

I run into a simple problem but i cant finde a solution to it.. I want to create a matrix where all elements in a row have a equal width. Like this: My approach was 12 columns (+1 initial column) and ...
JonasM's user avatar
  • 43
1 vote
1 answer
60 views

How to have longer (3-4 Pages) and wider tables in Latex

I have following data Shahrawat, R., and Rao, K. D. & 2012& Insured yet vulnerable: Out-of-pocket payments and India’s poor& All ages& 2004-05& 124644& All Diseases&...
siri's user avatar
  • 37
1 vote
1 answer
82 views

Errors in Landscape Table in LaTeX (misplaced noalign and omit)

I tried to use multicolumn to make the first row of the table centered and the rest follows the normal paragraph rule. Here's the code snippet: \documentclass[a4paper,12pt]{report} \usepackage{...
Kenneth Ligutom's user avatar
0 votes
1 answer
43 views

Column designator X with topiclongtable

I want to build a topic table in a LaTeX document, and the package topiclongtable seems to be apropriate for that, except that it does not accept the column designator X from the tabularx package. ...
Romildo's user avatar
  • 4,093
1 vote
1 answer
68 views

Underfull \hbox (badness 10000) in a tabularx table

I'm encountering the Underfull \hbox (badness 10000) error when using the below provided code. By testing the code, I've noticed that the error vanishes when reducing the first column to a single word ...
NewHere's user avatar
  • 13
0 votes
0 answers
36 views

column width inside a tabularx multicolumn

I want to use some appropriate parameter inside a multicolumn command in order to draw a horizontal rule of the width of the column. I tried \linewidthwithout success In the example below, my ...
Henri's user avatar
  • 71
0 votes
0 answers
28 views

2x2 subplot with legend on the side

I have 4 plots in the form of images. I want to have their legend (another image) on the right. I have 2 issues: The legend image is not vertically aligned to the 2x2 of plots to its (right/left). I ...
Abilash's user avatar
  • 33
3 votes
1 answer
64 views

xltabular with enumitem shorten length

I have the following table: Created from the following MWE: \documentclass[12pt]{article} %\usepackage{helvet} \usepackage[a4paper, left=2cm, right=2cm, top=3cm, bottom=3cm]{geometry} \usepackage[...
David Moldes's user avatar
0 votes
0 answers
24 views

Hozirontally centered column in tabularx [duplicate]

I am trying to do centering and text sizing in tabularx environment using the following definitions: \newcolumntype{Y}{>{\centering\arraybackslash}X} I'm then using a tabularx environmment, but ...
Juju's user avatar
  • 41
1 vote
1 answer
41 views

How to Ensure Footnote Width Expansion in Two Side-by-Side Tabulars Spanning the Full Page Width (with table*) of a Two-Column Document?

The footnote within my table appears constrained to the width of the first tabular section, and I'm seeking a way to extend it to occupy the entire width of the table. My document is formatted in two-...
alexyshr's user avatar
1 vote
1 answer
98 views

Centering content in a LaTeX table header and a specific column using TikZ

I'm working on a LaTeX table using TikZ, and I'm facing two challenges. Firstly, I want the content in the table header to be centered. Secondly, I need the content in the third column to be centered ...
Educ's user avatar
  • 4,372
2 votes
2 answers
97 views

Why is the \raisebox necessary here in order to align the equation proberly?

I have just stumbled across the following problem: I would like to align the matrices in the last column so that it starts with the other columns. However, I need an offset for this, which I implement ...
FixFox's user avatar
  • 45
1 vote
1 answer
51 views

How to move TabularX table to top of page?

I've made a column-width table in TabularX and want to position it at the top of the page, but haven't found an answer on how to do it – is there a way? \begin{center} \footnotesize \begin{tabularx}...
Charlotte's user avatar
3 votes
3 answers
206 views

tabularx makes an unwanted line break

As the title says, Tabluarx makes me an unwanted line break when I fill only one page in a table. In the specific context, this is a list of pros and cons. \documentclass[% fontsize=11pt, ...
FloB's user avatar
  • 45
1 vote
1 answer
46 views

Remove the gap between a table heading and row

I want to remove the space between the languages and the proficiency levels. This was generated using a tabular component and I'm having trouble removing the large whitespace between the headings and ...
Mark Pampuch's user avatar
1 vote
1 answer
64 views

Why "shellesc" conflicts with "tabularx" and how to fix?

This is the code that works just fine: \documentclass{article} \usepackage{shellesc} \begin{document} \begin{tabular}{lr} hello! & \ShellEscape{/bin/echo 'hello!' > a.tex} \...
yegor256's user avatar
  • 12.1k
1 vote
1 answer
46 views

Dynamic tabular preamble string

I would like to provide a wrapper around tabularx in way to let users define the overall content alignment without defining tabular border style. Something along lines below. Users can still define ...
Agodie A's user avatar
8 votes
2 answers
230 views

Get rid of extra white space inserted when using \verb with tabularx

I noticed a peculiar behavior of tabularx when using \verb. The following minimal working example illustrates the problem. Note the wicked extra space introduced between test and {123}. \documentclass{...
normanius's user avatar
  • 423
1 vote
2 answers
87 views

Make tabularx wrap text

I'm not sure why the text isn't wrapping in this code \documentclass{article} \usepackage{tabularx} \usepackage{multirow, multicol} \usepackage{array} % column vertical space buffer in tables \def\...
JasonGrace2282's user avatar
1 vote
1 answer
68 views

Vertical alignment of tikzpicture in cell of a table

There is a whitespace in the bottom of cells in column "Results", but no whitespace in the top of cells in that column. Also cells in column "Criteria" are not vertically aligned. ...
kissmemiau's user avatar
1 vote
3 answers
66 views

Multirow in tabularx

I want to replace the buffer column with multirow(), so the value of buffer is exactly in the middle. How should I do it? \begin{table*}[!t] \centering \scriptsize \begin{tabularx}{0.9\linewidth}{@{}...
samsambakster's user avatar
1 vote
0 answers
29 views

A section title immediately preceding a longtblr goes into the lower margin and overlaps the page number (and might even go lower)

Feeding latex or pdflatex with \documentclass{article} \usepackage{tabularray} %\usepackage{tabularx} \begin{document} Text %%% For tabularray: \vspace*{122.63ex}%%% The lengthy section title ...
user avatar
0 votes
1 answer
33 views

Problem with 'already defined' in newenvironment

I have the following environment for using \dotfill in a cases environment \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{...
DavidH's user avatar
  • 79
1 vote
2 answers
58 views

how to align rows after manually forcing a line break in a tabularx environment

I am creating a big table where I manually break lines in the first column to be able to fit my table into the page. However, I face a minor problem. The following columns are aligned based on the ...
whitepanda's user avatar
2 votes
2 answers
160 views

Automatically adjust the width of a table column to the cell content

I would like to create a table and automatically adjust the width of the different columns to fit their content. With the traditional tabular environment, the table exceeds the page borders. tabulary ...
AEW's user avatar
  • 819
2 votes
1 answer
49 views

align both left and right (justify) of tabularx environment

I am using tabularx package and environment to list contents in the text. The codes are as follows. \documentclass[10pt]{book} \usepackage{newpxtext,newpxmath} \linespread{1.05} \usepackage{tabularx} \...
wxwuse's user avatar
  • 149
2 votes
2 answers
86 views

Latex table not showing vertical lines

can someone tell me why my vertical lines are stopping after the 1 and the first part of text this is the code is used: \begin{table}[H] \centering \begin{tabular}{|c|c|c|} \hline ...
Scott van den Kieboom's user avatar
2 votes
2 answers
113 views

Placing four tables next to each other within one big table with a caption on top and small captions below each small table

I need to have a table with a caption on top. Within the table there should be four small tables placed next to each other as they are currently placed. \documentclass[10pt]{article} \textwidth= 5....
Vika's user avatar
  • 405

1
2 3 4 5
46