Questions tagged [glue]

80 questions
11
votes
1 answer

Why are the zero stretch and shrink in the definition of \z@skip explicit?

Why do both The TeXbook and latex.ltx define \z@skip=0pt plus0pt minus0pt? Wouldn't \z@skip=0pt or perhaps \z@skip=0pt\relax be shorter and yield the same? I always thought that the stretch and shrink are zero by default.
user224332
3
votes
2 answers

How is glue calculated?

Consider the following example: \tracingonline=1 \hfuzz=10000pt \setbox0=\hbox spread-1pt{a. b} \showbox0 \setbox0=\hbox{a.b} \showthe\wd0 \end The output is: > \box0= \hbox(6.94444+0.0)x16.77782, glue set - 1.0 .\tenrm a .\tenrm . .\glue 4.44444…
Igor Liferenko
  • 7,063
  • 2
  • 14
  • 47
3
votes
1 answer

How to glue center environment to the trailing text?

After getting the solution to my first problem thanks to egreg, I have came across the second one: very often I am in a situation when I want that the center environment is glued (no page break) to the trailing text, something like…
Pygmalion
  • 6,387
  • 4
  • 34
  • 68
3
votes
1 answer

How to glue center environment to the text?

I have very often a situation when I want that the center environment is glued to the preceding text, something like that: Some text % \begin{center} \begin{tikzpicture} some commands \end{tikzpicture} \end{center} Is it possible to make a general…
Pygmalion
  • 6,387
  • 4
  • 34
  • 68
1
vote
2 answers

What does a negative length with "minus" *negative constant* mean?

We continue Semantics of negative glues here, however, with more concrete values instead of fill. I've just discovered an earlier code \vspace{-.56\baselineskip plus.1\baselineskip minus-.1\baselineskip} of myself inside a macro. I left no…
user165772