Questions tagged [column-width]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
44 views

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

I am writtng a text in LaTeX and I need to insert a big table in it. As it is quite wide and I wanted to ajust it to the page width, I used the \begin{adjustbox} command. However, I have a problem ...
0
votes
1answer
28 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
1answer
24 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
1answer
23 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
1answer
21 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 ...
0
votes
0answers
26 views

How to increase the content width (narrow margin) in Springer template?

I am writing a paper and would like to increase the page height (have a narrow margin), something like this: However, I cannot figure out their template. I search "page", "size". ...
2
votes
2answers
48 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} \...
0
votes
1answer
31 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
0answers
32 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
1answer
31 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
5answers
197 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
1answer
38 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
1answer
34 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
1answer
34 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
0answers
49 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
2answers
41 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
3answers
164 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
0answers
282 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
2answers
30 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
1answer
50 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
1answer
96 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
2answers
120 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
3answers
105 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
2answers
363 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
1answer
117 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
2answers
48 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
3answers
196 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 ...
0
votes
1answer
142 views

Table fontsize too small after using \resizebox

Initially, I had the problem of my table not fitting the column width of the page however after a \resizebox that was corrected however at the cost of the font size, is there a way to fix this? Thank ...
0
votes
0answers
40 views

How to create a longtable with specific width and adaptive column widths in it?

I need to create a longtable with fixed average width that contains one adaptive column and two others with derived widths to fit the average table width. I tried this answer but I need a parbox in ...
1
vote
2answers
80 views

width in table column with p style

I have this table and I want to center columns 2, 3 and 4. \begin{table}[h!] \centering \caption{Number of sub-indicators} \begin{tabular}{|l| p{2cm}|p{2cm}|p{2cm}|p{2cm}|} \...
0
votes
1answer
26 views

Table width as wide as that of header

I have a table with 5 columns. I hope the width of the table is as wide as that of header. As shown below, I assigned the width for every column and the horizontal line is beyond the boundary of ...
1
vote
1answer
64 views

Format Longtable with siunitx package

I am using the following script to create my table: \sisetup{parse-numbers = false} \begin{longtable}{ @{} l *{ 9 }{S[table-format = +2.3 ]} @{}} \caption{\label{tab:}Results}\\ \toprule ...
0
votes
0answers
24 views

Use of algorithm within minipage gives error [duplicate]

I would like to adjust column width in algorithm below: \usepackage{amsmath,amssymb} \usepackage[norelsize, linesnumbered, ruled, lined, commentsnumbered]{algorithm2e} \begin{document} %\begin{...
2
votes
2answers
59 views

Latex Table Alignment and Width Issues

So I have this code: \begin{center} \footnotesize \begin{tabular}{| c | c c c |} \hline \multirow{3}{*}{Equipment acquired at start of year} & \multicolumn{3}{c|}{Replacement cost (\...
0
votes
2answers
117 views

Alignment of multi-column headers for pairs of columns

So I would like to produce a table, whereby the heading of each multicolumn represents a certain distance and the sub-columns some numerical measurements associated with it. \begin{tabular}{cccc} \...
0
votes
1answer
967 views

Specify column width using tabularx Table environment

I am working on a complex document in LaTeX and have various types of tables. I'd like the 2nd column wider and the 3rd column rather narrow. I tried different ideas with this code chunk {c *6{>{}X}...
0
votes
1answer
56 views

How to create a table with variable cell widths

I try to recreate the following table in overleaf: What would be a clever solution? I tried to use \columnwidths and the cals package, but that didn't worked well.
2
votes
2answers
140 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 ...
0
votes
1answer
143 views

Adaptive column size based on width of tasks

Problem: This issue is related to the following post: Align enumerate to text and items to numbering for exercises and answers - but it deals with a different aspect of the package tasks, namely how ...
1
vote
1answer
392 views

Wrap Text in Table / Text Extends Past Page Margins

I would like to know who to wrap text in a table, and also to keep text from off the page of the document. Below is the code I have written so far. I am trying to wrap the text under 'Relevant ...
2
votes
2answers
428 views

Column width as necessary in tcolorbox tables

I am trying to make nice looking table with some data. Everything is fine except the width of column is fixed. I have tried many solutions but nothing works. How can the width of the column is change ...
4
votes
1answer
334 views

Longtable overflowing document - how do I define the width of a column?

I found this question that helped me defining a layout for a Liker questionnaire I have to create. The problem is that with very long questions that very same code is not working. Here is an example ...
1
vote
1answer
90 views

Table wider than screen in Lyx when its width set to 100% of page width

When I change width of table's columns in Lyx (for example: 30, 30 and 40% of page width in the case of table with three columns), I get result that I expected in PDF, but in Lyx editor this table is ...
0
votes
2answers
372 views

Change column width of itemize nested in enumerate in paracol

MWE: \documentclass[11pt]{book} \usepackage{paracol} \begin{document} \begin{paracol}{2} \switchcolumn[1]* \section*{Heading in Language 1} \switchcolumn[0] \section*{Heading in Language 2}...
2
votes
1answer
136 views

Is there a global variable that reflects the current preferred table column's width?

I wish to insert a (varwidth) box into a table cell, and I want the size of the box to be limited in width to whatever autosize that column would otherwise have, and for any text that I insert into ...
1
vote
1answer
104 views

Set specified width for column

I am trying to make a table and want to set the first column with specified width, namely 1 inch. I have seen some relevant solutions, but they basically use \textwidth. Therefore I am looking if ...
1
vote
1answer
52 views

Centering a left-justified column within a tabular environment

I know this has to be somewhere, so a link to the right question would be helpful; my google-fu keeps returning the incorrect version of what I want (clarified below). Goal: I want to be able to have ...
1
vote
1answer
229 views

Defining adaptive width of columns in a table

Is there a neat way to define all column widths in a table as the same value and adapted to the page size? For example I would like the following 32 columns to have all equal width of 1/32 of the ...
2
votes
1answer
712 views

How to autofit table based on contents?

I have checked all over the web but I'm trying to autofit column in table based on content. From below: to: The code is: \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \...
1
vote
1answer
90 views

Prevent spreading of words in: Left aligned, automatically wrapped text, in a table

I am trying to get a text left aligned in a table that automatically wraps text at a specified, varying column width. Without: LaTex adding extra spaces between words to reach the other side (right ...