Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [column-width]

The tag has no usage guidance.

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

Columns not equally spaced in tabular*

I am using \tabular* and my columns are not equally spaced. Also, the last column does not reach the border of the table. I don't want to use \multicolumn for all rows as it's so messy. But I had to ...
nadeem's user avatar
  • 53
0 votes
0 answers
15 views

How Can I Adjust Column Width in a TikZ Vertical Bar Graph?

I've created a vertical bar graph using TikZ. Below is the code: \begin{figure}[!htbp] \centering \begin{tikzpicture} \begin{axis}[ ybar=0pt, % enlargelimits=0.15, width=\columnwidth, %...
Tien's user avatar
  • 135
2 votes
1 answer
17 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
  • 827
0 votes
1 answer
35 views

multiple box per 5 line

I think I've reached my solution on how to have 3 box each line, for 5 lines. this is an example. \begin{document} \tcbset{colback=red!10!white,colframe=red!75!black,size=small, fonttitle=\bfseries,...
RenatoP's user avatar
  • 851
0 votes
0 answers
31 views

Geting to have the appendix on all page widht just after the end of bibliography which is only on one column, all on the same page

I have the end of document with bibliography with 2 columns formatting. Now, I would like to get, just after the end of left column bibliography, the appendix which covers the full width of page and ...
foutou_10's user avatar
1 vote
1 answer
65 views

How to fit a multiple lined equation to column width

I have an equation with multiple lines that exceeds the column width. I want to modify the equation to fit column width without splitting lines. I've looked at the question How to fit a math equation ...
Shelley's user avatar
  • 103
3 votes
1 answer
82 views

Same column width

I would like to use the same column width, how could I achieve that? \documentclass[12pt]{report} \usepackage[margin=2.5cm,headsep=7.5mm,footskip=7.5mm,bindingoffset=0in,headheight=8mm,showframe=...
taiwan12's user avatar
  • 187
2 votes
2 answers
82 views

tabular intercolumn whitespace

Any suggestion to fix tabular intercolumn whitespace and improve its margins Here are my code and output code: \documentclass[a4paper, 12pt]{article} \usepackage{booktabs,tabularx} ...
haithem's user avatar
  • 1,165
1 vote
1 answer
48 views

adjust the width of table column

I'm trying to make the third column of this table wider, so any suggestions to adjust the third column for a better look? \documentclass{article} \usepackage[margin=2cm,a4paper]{geometry} % set page ...
haithem's user avatar
  • 1,165
2 votes
3 answers
76 views

Specifying the column width and centered vertical alignment of latex table

I have a table with multi-rows and columns. I need to specify the column width of some of the columns because the table is too wide for the page. But I can't find a way to do so and vertically center ...
Devin Dalton's user avatar
1 vote
3 answers
51 views

How to force a multilayered math environment to column width

I have a multilayered math environment in a two column article. The equations go past the column width. How do I avoid that? Below is my MWE. P.S. I've loaded the breqn package, but I don't know how ...
Shelley's user avatar
  • 103
0 votes
0 answers
31 views

How to auto-size longtable columns

I'm using longtable to break a table across multiple pages of my document. In HTML, I can do something like this to simplify the formatting of my table: <table style="width: 100%"> ...
Ben Zelnick's user avatar
1 vote
1 answer
257 views

Change default column type in tabularray

Is it possible to set all tblr in the document to be \linewidth wide specifying the X column type by default?. This requires not mentioning the number of columns like it happens in colspec, as it ...
Polizi8's user avatar
  • 311
1 vote
2 answers
722 views

tabular - how to set column separator

Two questions about my table (MWE below). How do I make the widths of the column 'A' and 'B' the same? And how do I create some space between the \cline and the column names 'A' and 'B' so that 'True' ...
Shomu Banerjee's user avatar
0 votes
2 answers
49 views

How to get the fixed column width and to break the long table titles?

I want to produce a table with a consistent format. However, since the lengths of my column names are different(a few of them are longer than the others), my table looks very weird... \documentclass[...
Snow 's user avatar
  • 57
1 vote
1 answer
208 views

Width border problem tabularray environment

after I got great help the last time, I´m new to latex and already tried to figure it out for some time... I hope you can help me with my problem. I try to design a table in a style like that (white ...
Sam R's user avatar
  • 45
1 vote
1 answer
210 views

One column is wider than the rest using multicolumn

I want the all the 3 columns under метод Ньютона and метод секущих to have the same width. Right now, the third coulumn is wider than the first and second columns It is funny because the table was ...
Maroon Racoon's user avatar
1 vote
1 answer
126 views

Merge columns in Tabularx Environment

I have the following tabularx environment. \begin{tabularx}{\columnwidth}{@{}r@{\hskip 1mm}l@{\hskip 5mm}l@{}} \end{tabularx} My problem is that for some rows I don't have 3 columns but 2, so I need ...
Berstigma's user avatar
  • 113
0 votes
1 answer
51 views

How to make column width adaptive to slanted texts in a table?

In the table below, I have tried to make my long texts, in the third row of the table, slanted by Werner's answer here: \documentclass[border = 2mm]{standalone} \usepackage{booktabs} \usepackage{array}...
user avatar
6 votes
1 answer
167 views

I can't understand why the third column (N) has different width from the rest

I tried using \! or \hspace{-1em}. Here is a minimum working example: \documentclass[]{article} \usepackage{multirow} \usepackage{booktabs} \usepackage{xcolor,colortbl} \newcolumntype{?}[1]{!{\vrule ...
Pedro Fontanarrosa's user avatar
1 vote
1 answer
90 views

Changing Column Width for betterposter template [closed]

I'm trying to change the middle column width on the betterposter template, so that the left and right columns are wider and that the middle section is a bit more narrow. I'm using the standard A0 ...
Maddie's user avatar
  • 11
1 vote
0 answers
158 views

xltabular \centering\arraybackslash}X alignment breaks with 20 or more columns

I am generating dynamicaly big tables (hundreds of rows and dozens of columns) from python/jinja. I found some solution to make 'subcolumns' widths even: Evenly distributing column widths So I defined ...
Pilchu's user avatar
  • 11
0 votes
1 answer
49 views

How to fix text size for all tables within a section?

I have several tables in my article. Unfortunately, the text size in the tables differ quite substantially. I would like to have all the tables with exactly the same text size but also with the same ...
TFT's user avatar
  • 195
4 votes
1 answer
2k views

Set column width for Q-column in tabularray

I have some Q-column but using a \TblrNote seems to break the auto-width of those columns... How can I re-adjust the width so columns 3-8 are of equal width? \documentclass{scrartcl} \usepackage{...
lukascbossert's user avatar
1 vote
1 answer
37 views

Longtable witdh setting ( multicolumn )

I am trying to make the follwing longtable shown in the picture below I have however two questions ? How can I center the items of the 1st,2nd,3rd and 5th column ( Rotation, Material etc..) How can ...
Anis Ferjani's user avatar
1 vote
1 answer
232 views

How to make lstlisting work with tex4ht in table with fixed column width?

I am generating a table with fixed width with p specifications. In one column I need to put some text which is meant to be verbatim and can be few lines long so it will have to also automatically wrap ...
Nasser's user avatar
  • 20.3k
0 votes
1 answer
284 views

Modify tabular to Stretch First Column Instead of Last Column if Needed

It appears that if the total widths of the columns is insufficient, tabular stretches the last column. In the following image note that the last column is stretched due to the heading being wide. ...
Peter Grill's user avatar
3 votes
3 answers
331 views

Uniform cell spacing in 'tabular'

I need a very simple table with all the cells (except the first) of the same width. The first row has two characters in the first few cells and only one character in the last three. I am not able to ...
Fabio Campanile's user avatar
1 vote
1 answer
35 views

how do I add text around a figure?

I have the following simple code: \documentclass[11pt,letterpaper]{article} \usepackage{fullpage} \usepackage{floatrow} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum \begin{...
jerrro's user avatar
  • 23
0 votes
1 answer
49 views

Save position information of all existing floats

The question is a follow-up to this one. Background color for all existing floats I hope to save the generated yellow background box location information to a new TXT file, as the floating element ...
happy's user avatar
  • 149
1 vote
0 answers
307 views

Elegant way to auto-adjust column width

I am asking myself if there is not a more convenient, elegant way to automatically adjust every column in a table to fit into the page and to have perfect enough way for the containing text without ...
jeiglsperger's user avatar
0 votes
0 answers
21 views

Overfull \hbox when \textwidth exceeds \columnwidth while using \includegraphics in a 2 column template [duplicate]

I have a 2 column template in Overleaf. I would like the figure to span both the columns (otherwise the text in the figure becomes too small). I tried the following script: \begin{figure} \...
Ritesh Singh's user avatar
3 votes
1 answer
137 views

Preventing Content of Tabular Environment from Running Off the Page

Consider the right content of the 2-column tabular environment generated by the code \documentclass{book} \begin{document} \thispagestyle{empty} \Large \begin{tabular}{l l} ...
DDS's user avatar
  • 8,986
0 votes
0 answers
216 views

Table in Two Column - Linewidth

I would like to set the width of this table to textwidth or linewidth. Ho would I do that in this two column template? Any idea? \documentclass[11pt,twocolumn,conference]{IEEEtran} \usepackage[T1]{...
Paul's user avatar
  • 47
2 votes
1 answer
100 views

Align numbers in siunitx Table with defined Column Width

I have an issue in correctly changing the column width of a table. I want the columns to be formatted using the siunitx package. In my data, I have a mix of values that should be printed as is (e.g. 0....
Philipp P's user avatar
0 votes
1 answer
100 views

Was trying to import csv table to Texmaker, the last column gives error when I try to fix the width

I was trying to import a csv table to my Tex, with csvsimple. The idea was to fix every column width and make the text wrapped around. However, whenever I change the last column identifier l to p{2cm} ...
Chengmeng's user avatar
0 votes
0 answers
31 views

Image inserting issue in Article writing

Hey guys, I am writing an article using documentclass{ieeeaccess} document in two columns. But I want this image to appear in two columns width instead of in one column. Kindly help me with this.
Ch Qasim's user avatar
1 vote
1 answer
309 views

Adjusting the table width with the page width and defining cell width at the same time

I am writing a text in LaTeX and I need to insert a big table in it. As it is quite wide and I wanted to adjust it to the page width, I used the \begin{adjustbox} command. However, I have a problem ...
Germán's user avatar
  • 11
0 votes
1 answer
58 views

Where am I going wrong in the column width?

I'm trying to create a table that has different column widths. This is what I have so far. \usepackage{graphicx} %to scale table \usepackage{tabularx,ragged2e} \newcolumntype{C}{>{\Centering\...
user42's user avatar
  • 125
1 vote
1 answer
61 views

Why does the mdframed-box not adhere to the columnwidth in a multicol-environment?

Since it is impossible, or at least really hacky, to split a command over two arguments, I'd rather use a macro with a new environment to achieve a faster typesetting experience and consistent look. I ...
henry's user avatar
  • 6,596
1 vote
1 answer
62 views

Changing Col. Width in tabularx environment and difficulty making table appear where I want

I am trying to widen the column titled "application" so the table overall is less tall, and I also have been experiencing trouble changing where the table appears (now it always appears at ...
Winston Yau's user avatar
0 votes
1 answer
3k views

How to change the width of one column in a table

This is my table: \documentclass{scrbook} \usepackage{tabularx} \begin{document} \renewcommand{\arraystretch}{1.8} %Presets from my institute \newcolumntype{M}{X<{\vspace{4pt}}} %Presets from my ...
Matthias's user avatar
2 votes
2 answers
153 views

Column width in tabularx environment

I have this table: \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \usepackage{tabularx,booktabs,newtxmath} \newcolumntype{Z}{>{\centering\arraybackslash}X} \begin{document} \...
nicope13's user avatar
  • 313
3 votes
1 answer
383 views

Getting rid of white space due to too wide column content in Tabularx

My following MWE works in general but it returns a white space after the second column in the light grey head row. I can avoid this if I don't apply the \mcxcommand on the column content ("...
Benson_G's user avatar
0 votes
0 answers
521 views

text not fitting to column width

I have used a template for a 4 page double column format. It works for all the other pages up to the point shown on the screenshot (end of page 3 to page 4) , and I have no idea what has triggered ...
Sara Ismail-Sutton's user avatar
0 votes
1 answer
161 views

Reducing the width of table cells

does anybody know if tabular has any properties where we are able to adjust the width of individual columns? I'm specifically wanting to reduce the space around the arrows and also around the text on ...
trieasyboid's user avatar
2 votes
5 answers
307 views

Tabularx: Column smaller than text

So here is the minimal-code: \documentclass[a4paper, 12pt]{scrartcl} \usepackage{tabularx} \usepackage{chemfig} \begin{tabularx}{\textwidth}{|X|c|c|X|} Name & Monomer & Polymermolekül &...
TornaxO7's user avatar
  • 248
0 votes
1 answer
978 views

Reduce width of a column in my xltabular

what I have is this: whose code is: \begingroup \setcellgapes{2pt} \makegapedcells \def\arraystretch{1.2} %\newcommand\mcl[1]{\multicolumn{3}{l|}{#1}} \begin{xltabular}{\linewidth}...
user225381's user avatar
1 vote
1 answer
386 views

How to fit the text into a large table? [duplicate]

I'm working on a large table and I use some tools to fit it into the default width text. However, one of its columns doesn't fit into the table's measures. How can I do this? \documentclass[ % -- ...
Jhon Heider's user avatar
1 vote
1 answer
50 views

How to control the width of my table

I want to control the width of my table. Could I get some ideas to solve this problem? \begin{table}[b] \centering \caption{The results of Human motion recognition [$\%$].} \arrayrulecolor{black} \...
byoungdoo kong's user avatar