Questions tagged [width]

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

Filter by
Sorted by
Tagged with
1 vote
2 answers
35 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 ...
  • 403
0 votes
1 answer
48 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{...
  • 7,356
0 votes
2 answers
38 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 ...
3 votes
1 answer
46 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, ...
  • 12.7k
3 votes
1 answer
70 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-...
3 votes
1 answer
105 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} ...
5 votes
1 answer
195 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 ...
  • 2,017
0 votes
0 answers
14 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}...
0 votes
1 answer
34 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 \\...
1 vote
2 answers
161 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 ...
0 votes
1 answer
48 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 ...
  • 1
0 votes
1 answer
49 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}\]...
  • 1,176
1 vote
0 answers
24 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 ...
1 vote
2 answers
38 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 ...
5 votes
3 answers
609 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
-1 votes
1 answer
78 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 ...
1 vote
2 answers
53 views

Table contents not in good shape

\usepackage{lipsum,tabularx} \newcolumntype{Y}{>{\centering\arraybackslash}X} % centered version of "X" column type \begin{tabularx}{\textwidth}{|c|Y|} \hline & \multicolumn{4}{c}{...
3 votes
3 answers
257 views

How to change row width?

\documentclass[a4paper]{article} \usepackage{amsmath,amssymb} \usepackage{amsfonts} \begin{document} \[\displaystyle \lim_{x \to+\infty}f(x)=\frac{\lim_{x \to+\infty}1+\lim_{x \to+\infty}\frac{1}{x^2}+...
  • 363
1 vote
1 answer
31 views

pgfplots graph with secondary y-axis not same width as without secondary y-axis

In pgfplots, how can I make a graph with secondary y-axis to be the same width as the graph without secondary y-axis? I am already specifying the same width, but clearly in the output they are of ...
0 votes
2 answers
30 views

How to align node with one node, minimum width from another node?

Suppose I have two nodes (A and B in example) already defined. Suppose I want a third node C to be (e.g.) below node A and stretching so far to line up with node B. \documentclass[tikz]{standalone} \...
0 votes
3 answers
114 views

How to make one page wider to accommodate a long equation on that page

I have an equation (an array with many rows and columns) which is much wider than the text width. Is there a way to make the page as wide as the equation, just for the page that the equation is on?
0 votes
0 answers
20 views

Is there a possibility of writing length or width of measurements in latex as a sum or difference of 2 or more values

I wish to know if there exist a way in latex of writing the length or width of something as a sum or difference of 2 or more measurements e.g \parskip + \baselineskip, and/or \textheight - 5\parskip?
  • 590
1 vote
0 answers
129 views

automatically adjust the width of align environment

I want to make an environment, say myalign, that is similar to align environment, but satisfying the following additional requirements: myalign enables tag, and myalign* disables it If the width of ...
1 vote
3 answers
106 views

Subcaption outside box environment - Align subcaption and table width

I am trying to align the width of my subcaption text below a table to the table width. I use \scalebox and \input to adjust the size of the table. However, my text below the table is wider than the ...
  • 67
0 votes
1 answer
51 views

Size of tikz picture like \textwidth or \pagewidth

I want to make picture with tikz, and then fill background with something. To do it properly, I want to get the size of picture (height and width). Is there a command that will give me whole size of ...
  • 147
0 votes
0 answers
184 views

How to make width to tabularray smaller so it fits text

I want to have this table fit in textwidth, but at the moment, it goes off page. I cannot seem to get it working. EDIT: I am using the following code: \begin{table} \caption{Most used packages ...
0 votes
0 answers
35 views

Shrink font size of cell in longtable when text is bigger than cell width

I have a longtable with a fixed cell width and i need that when the text is bigger than the size of the cell it shrinks and not break line. \begin{longtable}{|p{0.15\textwidth}|p{0.15\textwidth}|p{0.4\...
2 votes
1 answer
79 views

Page-wide figure with sidecaption in two column article

Having some trouble getting my latex document to format this properly. I know there's difficulty using floats in two column documents, but there's got to be a way to make this work properly. I'd like ...
0 votes
0 answers
22 views

Width of images as max to textwidth, but scale down

I'm using images in my master thesis and I want them to be no wider than linewidth, but scale them down to 70%. How can I do this? Current code: \begin{figure}[!htb] \centering \includegraphics[...
1 vote
2 answers
39 views

Increase spacing in table of contents only for specific portion

I have a text with some chapters, then all the indices and afterwards the appendices. When I just print the table of contents in the beginning, the heading of the appendix is too long and it overlaps ...
2 votes
3 answers
197 views

Move too long equation to center and expand the width of text in LaTeX?

I make a formula that is too long so it shows not centred. I hope to move it to the centre and expand the text width only for this formula so after this formula, I hope the width of text return to ...
  • 767
0 votes
0 answers
27 views

Fixed font size for tables with variable columns

I have a problem that similar the this one. Basically I need different tables be with a same text font, align to the center (don't have a problem that the width of the tables be different). My case is ...
2 votes
4 answers
235 views

How to modify the cell dimensions in tikzcd?

Code: \[ \begin{tikzcd}[cells={nodes={draw=gray}}] \text{Math is excellent!} \ar[r, rightarrow] \ar[d, leftarrow] & \text{w} \ar[d, rightarrow]\\ \text{w} \ar[u, rightarrow] \ar[r, ...
  • 335
1 vote
2 answers
80 views

How can I make my image 0.5 cm wider than \textwidth?

A related question to my question is this question, where it is discussed how to scale an object to a certain proportion of textwidth. However, what if I want to make an object 0.5 cm wider than ...
  • 184
2 votes
1 answer
121 views

ConTeXt: Equivalent to \linewidth

I'm thinking about switching from LaTeX to ConTeXt. I'm using LaTeX extensively to create teaching materials with an extended version of xsim. There are a lot of things I would need to port, one of ...
  • 53
0 votes
0 answers
236 views

STATA esttab table not fitting into the page

I am exporting a table from STATA to LaTeX by using the esttab command. However, the output does not fit on a single page. I have tried adjusting the text width, text size, and have tried to rotate ...
0 votes
2 answers
71 views

How to make my table fit the page? How to put some parts on the next page?

The following table needs to fit into the page width and some parts of it should be put onto the next page: ... \begin{tabular}[htb]{|c|l|l|} \hline Parameter & Definition & Value \\ ...
  • 11
0 votes
2 answers
56 views

Fitting table to textwidth without packages and keeping centered text alignment

I am working on a machine where I currently cannot import packages. I want to fit a table into textwidth without the usual package. I managed to do this fixing the column width manually using p{2cm} ...
  • 345
2 votes
1 answer
109 views

how to align and automatically adjust tcolorbox width with tikzpicture inside or title?

I couldn't find a way to make the tcolorbox adjust automatically with the tikzpictures inside or the title (if it's wider). I also want them to appear on the same line. Here's my MWE \documentclass[...
0 votes
0 answers
69 views

Set the width of \TextField to the width of the table width

I want my \textfield width to fill the width of the table. For now I have this: \documentclass[a4paper,2pt]{article} \usepackage{hyperref}% load last unless you know a package should be loaded later \...
1 vote
1 answer
36 views

Why does tabularx give a trailing column - and how can I get rid of that?

So, I am trying to create a table using; \begin{tabularx}{\textwidth}{|c|c|c|} \hline col1 & col2 & col3 \\ \hline item 11 & item 12 & item 13 \\ \hline item 21 & item 22 & ...
0 votes
0 answers
37 views

Limit image width and heigth, if manual scale exceeds page width or height

Objective I have a few images which I would prefer to all have the same scaling, with the exception of images that are too wide or too tall to fit on a single page. Code to Limit Image Width % Auto ...
  • 197
0 votes
1 answer
60 views

Table does offscreen latex [duplicate]

For some reason, as I am trying to increase and add columns, it goes offscreen. Why does this happen exactly: Latex: \documentclass[a4paper,svgnames,11pt]{article} \textheight = 220mm \textwidth = ...
  • 171
0 votes
0 answers
21 views

Use scale if latex image is small enough, center in page otherwise [duplicate]

I automatically generate a bunch of diagrams, and I'd like them to be automatically formatted to fit the page according to the following style: If the diagram (in the form of a .png figure) is ...
  • 197
0 votes
0 answers
40 views

Introduce a table which takes all the width of a current article page (with 2 columns writting text) and continue after to write text on 2 columns

I am writing a scientific article and I neeed help to put a table taking all the width of paper (which is writing on main both text columns). Here is an example of these main both text columns : I ...
2 votes
1 answer
47 views

Fix intercolumn whitespace in tabular

I'm getting too much whitespaces and that makes values not maintain their alignment, spewing out into the margin. What do I need to do to fix this? \documentclass[12pt,notitlepage]{article} \...
  • 331
0 votes
3 answers
67 views

Table is not wide enough, caption is at wrong location, and the top line missed

I want a table like this ignore the content please, what I have is this, can anybody help me? Thanks \begin{table}[!ht] \centering \begin{tabular}{cccc} %\toprule & Item1 &...
1 vote
1 answer
122 views

How to adjust the table size if it is too wide [duplicate]

everyone, I have a question about fixing the width of the table in my paper. The code is shown below. Since there are too many contents in the same row in the table, it looks too large for my paper. ...
3 votes
1 answer
39 views

includegraphics: option for downscaling only

in the scripts for my students, I have a lot of screenshots which I include into the paper via e. g. \includegraphics[width=0.7\linewidth]{"MyScreenshot"} do scale them down which works fine....
  • 33
0 votes
2 answers
609 views

How to reduce table width? [duplicate]

I'm trying to add a table to my IEEE paper but its width is too much. Please help me fix the width to make it fit. \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \usepackage{cite} \...
  • 1

1
2 3 4 5
15