Skip to main content

Questions tagged [glue]

The tag has no usage guidance.

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 ...
Alexandre Simard's user avatar
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 “...
AlMa1r's user avatar
  • 541
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 ...
user avatar
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 ...
Y. zeng's user avatar
  • 2,105
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 ...
Vladimir's user avatar
  • 589
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 ...
user avatar
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 ...
Adrik Ivanov's user avatar
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 ...
user avatar
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, ...
atticus's user avatar
  • 587
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 ...
user avatar
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. ...
Raphael's user avatar
  • 564
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 ...
User23456234's user avatar
  • 1,888
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 ...
M0M0's user avatar
  • 423
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. ...
user avatar
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\\ \...
likethevegetable's user avatar

15 30 50 per page
1
2 3 4 5 6