Questions tagged [column-width]
The column-width tag has no usage guidance.
88
questions
1
vote
2
answers
56
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' ...
0
votes
2
answers
45
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[...
1
vote
1
answer
76
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 ...
1
vote
1
answer
74
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 ...
1
vote
1
answer
57
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 ...
0
votes
1
answer
26
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}...
6
votes
1
answer
165
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 ...
1
vote
1
answer
52
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 ...
1
vote
0
answers
51
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 ...
0
votes
1
answer
38
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 ...
3
votes
1
answer
908
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{...
1
vote
1
answer
36
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 ...
1
vote
1
answer
139
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 ...
0
votes
1
answer
91
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.
...
3
votes
3
answers
249
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 ...
1
vote
1
answer
26
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{...
0
votes
1
answer
38
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 ...
0
votes
0
answers
243
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 ...
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}
\...
3
votes
1
answer
95
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}
...
0
votes
0
answers
154
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]{...
2
votes
1
answer
88
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....
0
votes
1
answer
88
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} ...
0
votes
0
answers
29
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.
1
vote
1
answer
205
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 ...
0
votes
1
answer
48
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\...
1
vote
1
answer
40
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 ...
1
vote
1
answer
39
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 ...
0
votes
1
answer
1k
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 ...
2
votes
2
answers
128
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}
\...
3
votes
1
answer
299
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 ("...
0
votes
0
answers
279
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 ...
0
votes
1
answer
98
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 ...
2
votes
5
answers
281
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 &...
0
votes
1
answer
539
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}...
1
vote
1
answer
327
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[
% -- ...
1
vote
1
answer
45
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}
\...
0
votes
0
answers
140
views
How to control the width of equations?
I have a long width of equations.
Could I get the ideas to control the equations for matching the width?
\begin{equation}
\footnotesize{\varepsilon(L) = \sum_{ij} \eta_i_j ||L(\vec{x_i} - \vec{...
1
vote
2
answers
224
views
How to fix the width of the table?
I want to control the width of my table, but the width is so long.
Could I get some ideas to fix this problem?
\begin{table}
\centering
\caption{The examples of DTW distance for the Weizmann datasets....
1
vote
3
answers
574
views
Regression output using siunitx - alignment / column width problems
My goal is to have a regression table with columns aligned by the decimal separator.
I produced a regression output (using Stata) and exported it using the user-written package esttab. In LaTeX, I use ...
1
vote
1
answer
944
views
How to set 12 pt font size, 10 pt line spacing, and 20 pica column width in IEEEtran document class?
I am trying to edit a manuscript of IEEEtran journal class by using Times Roman font, 12 pt font size, 10 pt line spacing, and 20 pica column width. I have been able to set the 12 pt font size with ...
1
vote
2
answers
48
views
Fix the width of columns in several multicolum commands in one table
I am creating a table that contains more than one multicolumn command. How can I specify the width of the columns for the whole table collectively?
\begin{tabular}{rrrrr} \toprule
\multicolumn{1}{l}{...
0
votes
1
answer
168
views
Define width of last column in order that table fits text width
Consider this example:
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\begin{tabular}{lcp{5cm}}
Category & Data & Explanation \\
AA & 1.2 & \lipsum[1][1-...
0
votes
1
answer
299
views
Width of column for lyrics, songbook
I am trying to write a songbook for a friend of mine. But I am struggling to set the width of the column with lyrics (e.g. for Country Roads). I want one song on each page or in other words I want &...
1
vote
2
answers
2k
views
How to fix the width of columns in tabularx table?
I am working on Springer template, I want to create a tabularx table and I to fix the width of the columns. I work on landscape page and I want create a table like that table which contains 34 columns:...
1
vote
3
answers
295
views
How to make a tabular list of formulas with fixed width?
I want to type a well known list of famous formulas.
So far I did
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{table}[h]
\begin{tabular}{llll}
1. & Teorema de ...
3
votes
2
answers
2k
views
Tabular - columns wider than \textwidth
I am trying to have table exactly between margins using \textwidth. Unfortunately, when I am using \textwidth my table is too large and I do not know why. (my code is for django template, but I was ...
1
vote
1
answer
772
views
Automatic column width in tabularx (to minimise blank space)
I have a text table (where the text is often long enough to need to break lines) plus each cell contains several items. However, the number of items in each cell of a row is not the same and, ...
1
vote
2
answers
243
views
Wide long table in landscape mode in longtable environment with long column headers
I am trying to make a longtable in two column article, that will need to continue to the next page in a single column manner. Thus I am using longtable environment. since the table is wider too, I ...
2
votes
3
answers
421
views
spread across a line (minus indent)
I have a sentence I wanted to spread across a line like the following:
\makebox[\linewidth][s]{XXX XXXXX XXXXX XXXXX XXXXX XXXXX XX XXX XXX XX XXXXX XXXXX}\par
What really happens is because it's a ...