Questions tagged [glue]
The glue tag has no usage guidance.
80
questions
3
votes
2
answers
89
views
Vertical leaders with changing line numbers
I'm currently using a command (adapted from https://tex.stackexchange.com/a/241139) to make horizontal lines repeat for my exams, and I am having trouble adding incrementing numbers to each line. I ...
2
votes
1
answer
45
views
Are the space and the control space different with respect to stretch and shrink?
Feeding
\documentclass{article}
\showoutput
\begin{document}\noindent
A B\\
A\ B\\
A\hskip\fontdimen2\font plus\fontdimen3\font minus\fontdimen4\font B
\end{document}
to latex yields thrice the same “...
0
votes
0
answers
42
views
Vertical alignment of text phrases of different font size
(With 2. and 3. "line 001", "line 002" etc at the left are only to show that the baselines of the lines at the right have vertical distances that are multiples of \baselineskip of ...
4
votes
4
answers
472
views
How to know shrink limit of "glue" in TeX?
On page 69 of The TeXbook, there is a figure:
On page 70 of The TeXbook, is says
Glue will never shrink more than its stated shrinkability. For example, the first glob of glue in our illustration ...
0
votes
2
answers
63
views
How does TeX fills a broken line
I am studying boxes and glue in LaTeX and I try such a sample:
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
Algebra began with\\ computations similar to those of ...
0
votes
0
answers
30
views
How to apply glue in addition to the standard kern of the font?
Continuing How to add or remove space in math mode with 50% stretching and shrinking? and feeding
\documentclass{article}
\pagestyle{empty}
%% Math skips with glue being half of the modulus of the ...
3
votes
0
answers
82
views
How do you learn to read package documentation and LaTeX typesetting concepts like glue and boxes (primitives)?
I'm having trouble reading documentation from packages. It seems like there's something wrong with the way I'm reading them. How should I read them, in order to learn how to use the packages correctly ...
4
votes
1
answer
184
views
How to get the width of the gap actually produced in the output-file due to \hskip?
How to get the width of the gap actually produced in the output-file due to \hskip?
I wonder if there is a way in Knuthian TeX of getting the width of the gap actually produced in the output-file due ...
1
vote
1
answer
23
views
Weird result afterskip with koma skript glue quesion
I'm currently playing around with the RedeclareSectionCommand of the koma-Skript classes. While doing so I stumbled over this:
\RedeclareSectionCommand
[
beforeskip=3.5ex plus -1ex minus -.2ex,
...
0
votes
0
answers
51
views
How to undo the extra vertical gap at the start of an enumitem enumerate but maintain elasticity?
Let's say we have a piece of text that introduces some vertical spacing of its own at the end (say, the head of some environment). After that space, an enumeration comes, which also introduces a ...
0
votes
1
answer
48
views
parskip glue doesn't stretch
I was thinking that \setlength\parskip{2ex plus 5ex} was supposed to set the default paragraph spacing to 2ex and to a maximum value of 7ex in cases where it helps fill the vertical space of the page.
...
0
votes
1
answer
83
views
Ragged2e Parfillskip Stretch
The ragged2e package uses the default length 0pt plus 1fil for the parameter \RaggedRightParfillskip I've tested replacing this value with 0pt plus \textwidth and I've observed that LaTeX will ...
2
votes
1
answer
93
views
negative glue and hbox of same size do not cancel each other out
This code:
\hskip-1cm \hbox to 1cm{\hfil}\hbox to \hsize{\hfil Hello World}
\bye
yields
Overfull \hbox (20.0pt too wide) in paragraph at lines 1--2
Why is that? I would assume that applying negative ...
0
votes
3
answers
91
views
a macro for mskip with half stretch and shrink?
We often find ourselves using nonzero stretch and shrink parts in \hskip and \mskip, typically 50% of the natural space value, e.g., \hskip.1em plus.05em minus.05em or \mskip1mu plus.5mu minus.5mu. ...
3
votes
2
answers
163
views
Difference between \skipeval and \dimeval
What is the difference between \skipeval and \dimeval? They appear to produce the same result, but perhaps \dimeval removes the glue?
\rule{\dimeval{ \linewidth plus 1cm minus 1cm - 1cm}}{1pt} a\\
\...