Questions tagged [width]

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

735 questions
9
votes
2 answers

How to do \widthof with a symbol

I have the following code: \begin{align*} c_s &\equiv b_s^2\\ &\equiv (c_{s-1}^{(2^{k_{s-1}-k_s-1})})^2 \\ &\equiv c_{s-1}^{(2^{k_{s-1}-k_s})} \\ &\equiv c_{s-2}^{(2^{k_{s-2}-k_{s-1}} \cdot…
b_pcakes
  • 237
6
votes
1 answer

tikz: how to define a flowchart (hexagon) loop shape that keep its width fixed but adapts its height to the text inside it?

I am using following (hexagon) loop definition I found in Stackexchange in my flowchart. When the number of text lines in it increases, the width of the whole shape also increases. I want the width of the shape itself to be fixed. Can you help in…
ozi
  • 529
3
votes
3 answers

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}+\lim_{x \to+\infty}\frac{3}{x^3}+\lim_{x…
manh3
  • 363
3
votes
1 answer

Getting the width of the current container

I'm trying to create a generic command to write a solid heading. The width of the heading should fit into the containing environment in which the heading it rendered. In the example below, the orange heading flows outside the table. What command…
Jack
  • 1,025
3
votes
1 answer

Minor difference in width of column and text

Below is an MWE. %--------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT…
sherlock
  • 1,463
  • 2
  • 15
  • 21
3
votes
2 answers

How I can create a command that can be treated as a number?

I need to put a symbol over some text, I want to use \hspace{#1} where #1 is the width of the #1 text used. For example, write \mycommand{p}{b} and the result to be shown like the b over the p, just like the symbol \th, but allowing me to write more…
hkviktor
  • 662
2
votes
1 answer

Error Overfull \hbox (6.79999pt too wide) in paragraph

\documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{mathtools} \let\cleardoublepage=\clearpage \begin{document} \noindent\fbox{% \parbox{\textwidth}{% {PGDM2018: Microeconomics} …
2
votes
2 answers

Width of the content inside `\begin{center} ... \end{center}`

Is there a way to know the width used by a paragraph ? In the following code, I would like to adjust the line to be a little bigger than the text "Location: Somewhere over the…
projetmbc
  • 13,315
2
votes
1 answer

Need to make "initial-here" underscores of a uniform width

I need to have a list on which each entry has a number; an underscore line that is only long enough to accommodate a person's initials; and these are both followed by text. The text needs to have varying lengths, of course, because each line has…
andrew
  • 131
2
votes
0 answers

Creating a line that goes until the margin

I understand that I can use the command \underline{\textwdith}} to get a line that stretches from one side of the page to the other, but what if I want to have some text first and then have the line continue from where the words stop to the edge of…
ryan
  • 381
1
vote
2 answers

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 textwidth? I tried using length = \textwidth + 0.5…
J. Doe
  • 176
1
vote
1 answer

minipage that fills space to right margin

I often use a minipage to fill up some space, for example in "beamer" presentations. This might look as follows: \includegraphics[totalheight=.35\paperheight]{figure} \begin{minipage}[b][.35\paperheight][t]{.55\linewidth} Minipage…
user52366
  • 655
1
vote
1 answer

URL reference width continues after margin

does anyone has this problem or can solve it, please? I added the references through Mendeley application desktop. Everything is fine except the URL width size. If it is too big it continues across the page size and margin…
AMB
  • 11
1
vote
1 answer

How to change \textwidth between section and subsections

MWE: \documentclass[12pt,english,a4paper]{report} \usepackage{lipsum} \begin{document} \section{first section} \lipsum[1-1]% in section, \textwidth = x \subsection{first subsection} \lipsum[1-1]% in subsection, \textwidth =…
Dr.PB
  • 767
1
vote
0 answers

how to set sidebar color width

I encountered another problem. I am trying to set the hight of the header and the width of the sidebar. I am…
Dario
  • 1,340
1
2