Questions tagged [width]

{width} is the measurement of the extent of something from side to side.

Filter by
Sorted by
Tagged with
2 votes
1 answer
67 views

Width of tcolorbox and resizebox. Prevent boxes to appear in line [duplicate]

As soon as I use resizebox around a few tcolorbox, they all appear in the same line. I want to create a nice layout, with linebreaks, between some of these tcolorboxes, and then just shrink it to fit ...
Albercoc's user avatar
  • 161
1 vote
1 answer
23 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
2 votes
1 answer
15 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
0 votes
1 answer
40 views

Adjusting Table Widths

Quick question: how do I make sure that all three tables have the same width? Ideally the entire page with, without modifying the content of the input files: \begin{table}[!tbp] \begin{center} \...
James_'s user avatar
  • 3
1 vote
1 answer
111 views

How to add the shadow effect like the image shown below?

From this code: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{tikzpagenodes} \usetikzlibrary{arrows, shapes, positioning, shadows.blur} \usepackage[most]{tcolorbox} ...
Vishakha's user avatar
  • 119
0 votes
0 answers
16 views

How to make sure a wide table using hvfloat and hv0box is on the correct page

I have several big tables which I am splitting up over multiple pages for a book width-wise using hvfloat and hvObox. In order for this to work the table needs to be placed on pages that are next to ...
zilverdael's user avatar
0 votes
1 answer
35 views

Image in footnote too wide, although set width=textwidth

If I put a graphic in a footnote and apply width=\textwidth to it, it will be wider than the actual text width (see MWE below). (The same holds true for \linewidth.) Apparently includegraphics ...
dia's user avatar
  • 143
3 votes
2 answers
114 views

Set column width with word wrapping and centered text

My objective was to write latex code for the following table created in Word. However, I am unable to format the first column. I would like to define a certain measurement for the column width and ...
Math's user avatar
  • 459
1 vote
1 answer
39 views

How to create multiple big tables using HVObox in HVFloat

I have a several wide tables which I need to split over multiple pages for a book. The idea being that the left page shows the left half of the table, the right page the right half. For example ...
zilverdael's user avatar
0 votes
1 answer
53 views

how to specify line width and line color in longtable environment

In longtable environment (as i need to span the table over multiple pages). How to change specific table line color and line width ? for example, i am using this code, but the green line is exeeding ...
ssyakajam's user avatar
4 votes
1 answer
184 views

Negative `\widthof` doesn't work?

I am basically reasking the same question as here, which hasn't had any definitive answer even yet. I restate the problem. The MWE \documentclass{book} \usepackage{calc} \begin{document} \hspace{...
Atom's user avatar
  • 665
0 votes
0 answers
49 views

Latex Page Width Increase [duplicate]

I am currently working on a paper using the IEEE Access template in LaTeX. I have a wide table that exceeds the default page width (I have used * to make the table full-size), and I would like to ...
Mak Raiaan's user avatar
0 votes
0 answers
243 views

ICLR template for lots of authors

I'm using the ICLR 2024 template and we have lots of authors on our submission. I would have expected the authors to "wrap" and have multiple lines but it's just overflowing. Can someone ...
Anonymous Scientist's user avatar
4 votes
2 answers
158 views

Setting row width in tabular according to the text written inside

So I am making a formula sheet to provide it to students in the pre-cal exam. But it doesn't look good. It looks conjusted. The output is as follows: As one can see in the picture, that the first ...
Badshah Khan's user avatar
0 votes
1 answer
117 views

How to compare aspect ratios?

I have a box whose side lengths are recorded as lengths as in \newlength{\imageWidth} \setlength{\imageWidth}{300mm} \newlength{\imageHeight} \setlength{\imageHeight}{200mm} I am trying to create a ...
Julian's user avatar
  • 751
2 votes
1 answer
80 views

How to make wrapfigure-width adjust to image?

In my report, I am using a lot of figures that wrap around text using the package wrapfig. \begin{wrapfigure}{L}{0.30\textwidth} \centering \includegraphics{Image.pdf} \end{wrapfigure} For ...
Chiron's user avatar
  • 103
0 votes
0 answers
39 views

Automatically calculate epigraph width

I was looking into automaticallly calculating the epigraph width while keeping the epigraph quote left-aligned and non-italic. The following code, copied from a nice solution provided on the page ...
Jansenzoon's user avatar
1 vote
1 answer
86 views

how to fit the table width with rotating table

I am new to overleaf and trying to finish a manuscript using an overleaf template "Template for INFORMS Journal on Data Science" I am trying to rotate a table with 15 columns but the ...
lcwu's user avatar
  • 13
1 vote
3 answers
122 views

I don't get my table width fixed

I doesn't get my code fixed by the width. Latex says that I use illegal character in the array. This is my code: \begin{table}[ht!] \centering \begin{tabular}{|| c{5cm} | c{5cm} | c{5cm} | c{5cm} | c{...
Koen van Dijken's user avatar
3 votes
1 answer
125 views

center and adapt width in tcolorbox

PROBLEM So I'm finishing my tcolorbox styles for my writings, but I can't manage to center the text correctly if it is shorter than the \linewidth. One solution would be to add \centering every time, ...
Agente 156's user avatar
1 vote
1 answer
45 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
0 votes
1 answer
37 views

figure could not be the expected height

I am using latex to write a document, and I need to insert a figure in a whole single page, the code is as follows. \documentclass[10pt]{book} \usepackage{pgfplotstable} \begin{document} \par text 1 \...
wxwuse's user avatar
  • 139
1 vote
2 answers
83 views

Side by side minipage and varwidth

I'm looking for a way to combine the minipage and varwidth environments side by side, so that the width of minipage automatically adapts to that of varwidth, to fill the entire line. \begin{minipage}{\...
MB4E's user avatar
  • 1,084
0 votes
1 answer
25 views

Make contents of several tabularx environments' corresponding columns flush

I am in a situation in which it seems desirable to use multiple tabularx environments to feign a single one. But I would like for the contents of their right-most columns to be flush left with each ...
Noah J's user avatar
  • 515
3 votes
1 answer
71 views

tcolorbox: Dynamic width and breakable

I'm trying to implement a kind of chat inside my document using tcolorbox. But I either can set the width dynamically or allow a pagebreak inside a "chat-message". \documentclass[11pt, ...
Tony's user avatar
  • 41
3 votes
2 answers
272 views

Undefined control sequence setting PDF geometry

Page 8 of the unofficial latex2e manual says One way to do that is to put \pdfpagewidth=\paperwidth and \pdfpageheight=\paperheight in your document’s preamble. However, I get ! Undefined control ...
shmuel's user avatar
  • 1,449
1 vote
1 answer
52 views

Bar Chart offsets with multiple plots

I want to create some histograms and need to represent a few bar charts. However, I am facing two issues with this MWE: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{...
lurgold's user avatar
  • 13
1 vote
0 answers
8 views

itemize environment in tabularx with \hsize adjustment doesn't fill the whole width [duplicate]

I wanted to have a small itemize environment for tabulars, with small spaces to the top and bottom. I found a good example, but not fully understand the mbox setting: \newenvironment{tabitem}{ \...
dendrit's user avatar
  • 11
0 votes
1 answer
42 views

How to get a few paragraphs framed such that the frame is exactly as wide at the surrounding text and stays completely on the one page?

Let's say we want to get one or two paragraphs of text into a visible framed such that: the total width of the frame (including its borders) is the exactly same as the width of the surrounding text (...
user avatar
1 vote
3 answers
105 views

Longtable won't fit page width

I have this table that I want to fit over multiple pages, therefore longtable. Now it won't fit to the page width. The table is pretty big... The second and third column are coordinates and can't be ...
Signe S's user avatar
  • 11
1 vote
2 answers
107 views

How to horizontally center p type columns in tabular?

I have this latex code: \begin{tabular}{|c|*{26}{p{0.1cm}|}} \hline \multirow {2}{*}{Activities} & \multicolumn{4}{c|}{June} & \multicolumn{5}{c|}{July} & \multicolumn{4}{c|}{August} &...
Philipp's user avatar
  • 13
1 vote
1 answer
41 views

Reduce the width of cells in a table using talltblr

Does anybody know how to reduce the width of cells? I couldn't find it. Here is a preview of the problem. The width is too important for the datas. Here is my MWE: \documentclass{article} \...
Guillaume's user avatar
2 votes
1 answer
76 views

Standalone document of a fixed width

My publisher wants my images to be able to be loaded at 100% scale so that font sizes aren't scaled, but requires widths to be one of 20mm, 44mm, 68mm, 82mm or 140mm to correspond to the column widths ...
Cam Lumsden's user avatar
0 votes
1 answer
51 views

How can I fit my longtable within the page limit [closed]

I have the following table code: \begin{longtable}{lllllll} \toprule Monitoring & Thickness & \makecell[c]{Channel\\ Dimensions\\ (W\texttimes{} L) \textmu m}...
kieran m's user avatar
1 vote
2 answers
127 views

Latex Exam Class: custom Line width for exam class "solutionorlines" environment

I am using "solutionorlines" environment of latex exam class for short questions (with solution) which provide lines for answers. The following code codes gives me lines for answers which ...
Tash's user avatar
  • 433
0 votes
1 answer
67 views

Specifying the Length of a Bclogo without Enclosing It in a Minipage

Consider the code \documentclass[12pt]{book} \usepackage{xcolor} \usepackage[tikz]{bclogo} %\usepackage{lipsum} \definecolor{bulgarianrose}{rgb}{0.28, 0.02, 0.03} \begin{document} \thispagestyle{...
DDS's user avatar
  • 8,816
1 vote
2 answers
223 views

Force table width to text column width

seems like an easy problem, but I'm really a newbie to LaTeX and cannot come up with solution even with some QAs on this forum I found. Can you please help? As the picture shows, the table is wider ...
MadyDollar's user avatar
3 votes
1 answer
58 views

Width and height of something to be used in a TikZ graph

In the code below, I would like to calculate the shifts using the width and the height of {\tiny any integer}. My need is to automatically adjust the width and the height of the decorating red box, ...
projetmbc's user avatar
  • 13.3k
3 votes
2 answers
158 views

Control position of footnote block with reledmac footnotes

I've got sample code that produces the following two-column footnote apparatus using the reledmac package. What I'm wondering is how I would manage to shift the entire footnote block over by a pre-...
Jeff Dodson's user avatar
3 votes
1 answer
197 views

How to make the width of the columns in the table equal?

I want to be able to reproduce this table exactly: This is my Tex: \documentclass{article} \usepackage{amsmath} \usepackage{makecell} \usepackage{siunitx} \begin{document} \begin{tabular}{ccccc} ...
Zhao Dazhuang's user avatar
5 votes
1 answer
453 views

How to calculate the total width of a (tabularray) table and pass this length to other packages such tikz or tcolorbox?

Please consider the following code. It produces a table using tabularray which has fixed width columns, so its total width is smaller than \textwidth. How can find out what the total width of the ...
miltos's user avatar
  • 2,625
0 votes
0 answers
23 views

I would like to increase the description width of this acronyms list

\usepackage[acronym,toc,shortcuts]{glossaries} \makeglossaries \input{Glosario} \renewcommand*{\glspostdescription}{} % remove trailing dot \renewcommand{\glsnamefont}[1]{\textbf{#1}} \begin{document}...
René Alba's user avatar
0 votes
1 answer
40 views

Tabular contents shifting to left. How do I center it?

When I make the table \columnwidth, everything shifts to the left. \begin{table} \caption{caption} \begin{tabularx}{\columnwidth}{|c||c|c|c|c|} \hline & 1 & 2 & 3 & 4 \\...
user288168's user avatar
1 vote
2 answers
393 views

How to fit the table width to the page width (please not scale the table)

Is there a way to get page-width tables by slightly revising the code below generated from Stargazer? The table generated from the code is longer than the page-width. Is there a way to make the table ...
Qianlong Liu's user avatar
0 votes
1 answer
68 views

Using adjustbox withouth changing fontsize

I am trying to adjust the table to the \textwidth but it changes the size of the font and becomes too big. Is there any way to fix the width of the table to the margins (1\textwidth) without changing ...
Carlos's user avatar
  • 1
0 votes
1 answer
119 views

Array with 2 centred, math-mode columns of width `\textwidth/2`

I'd like to have an array with 2 columns, each of which is centred, has width \textwidth/2, and is in math mode. \documentclass{article} \begin{document} \[\begin{array}{cc} c_1 & c_2 \end{array}\]...
LSpice's user avatar
  • 1,458
1 vote
0 answers
63 views

How to change the width of minitoc rule

I want to change the width of my minitoc rule as it exceeds my page margin. I found this Change colors of the rules in minitoc and this can be used to change the bottom rule. But how to change the top ...
user248960's user avatar
1 vote
2 answers
64 views

How to fix the content of a table to page?

I have the next code to make a table in LaTeX, but the result is a table that fits the width, but what is inside it is unreadable. I was wondering if it is possible to keep the width and make the rows ...
AnxoDoTea's user avatar
5 votes
3 answers
653 views

Are the widths of 𝐿, 𝑌, and 𝑍 in TeX Gyre Termes Math really equal?

It was a surprise to me when feeding lualatex with \documentclass{standalone} \usepackage{unicode-math} \setmathfont{TeX Gyre Termes Math}% or \setmathfont{texgyretermes-math.otf} \begin{document} ...
user avatar
0 votes
1 answer
180 views

tabularray: \linewidth does not consider colsep in multi-column cells

Maybe I am overlooking something, but it seems that in a tblr environment, \linewidth behaves differently depending on whether it is used in a cell that spans multiple columns or not. Consider the ...
Jasper Habicht's user avatar

1
2 3 4 5
15