summaryrefslogtreecommitdiff
path: root/info/impatient/paras.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-05 03:00:30 +0000
committerNorbert Preining <norbert@preining.info>2020-01-05 03:00:30 +0000
commitd703bc2777b69363e791c0ec50045947b1a399da (patch)
tree518c616bdf53da2c5dccf1bbd0a17ba14d4b7c7a /info/impatient/paras.tex
parent46d85b2b8e0282e241f8a41c6c0cd190c495eab0 (diff)
CTAN sync 202001050300
Diffstat (limited to 'info/impatient/paras.tex')
-rw-r--r--info/impatient/paras.tex52
1 files changed, 27 insertions, 25 deletions
diff --git a/info/impatient/paras.tex b/info/impatient/paras.tex
index 91aad27c98..40f5516d0a 100644
--- a/info/impatient/paras.tex
+++ b/info/impatient/paras.tex
@@ -1,5 +1,6 @@
+% $Id: paras.tex,v 1.4 2020/01/01 19:16:14 karl Exp $
% This is part of the book TeX for the Impatient.
-% Copyright (C) 2003, 2014 Paul W. Abrahams, Kathryn A. Hargreaves, Karl Berry.
+% Copyright (C) 2003-2020 Paul W. Abrahams, Kathryn A. Hargreaves, Karl Berry.
% See file fdl.tex for copying conditions.
\input macros
@@ -1008,14 +1009,8 @@ enters horizontal mode, e.g., when it starts a paragraph.
By default |\everypar| is empty, but you can
take extra actions at the start of every paragraph by putting
the commands for those actions into a token list
-%
-% This \vglue makes the example overwrite the example, but since we are
-% not reprinting this page, it doesn't matter. For reasons I did not
-% attempt to track down, a page break happened before the example,
-% unlike in the first printing.
-%
-\secondprinting{\vglue-48pt}
and assigning that token list to |\everypar|.
+
\example
\everypar = {$\Longrightarrow$\enspace}
Now pay attention!!\par
@@ -1333,39 +1328,45 @@ there, and choose your words to fit the shape.
paragraph.
If you specify |\hangafter| and |\hangindent| as well as |\par!-shape|,
\TeX\ ignores the ^|\hangafter| and ^|\hangindent|.
+
+By the way, the following example saves and restores |\fontdimen| values
+explicitly, using temporary registers, since |\fontdimen| changes are
+always global (see \xref\fontdimen).
+
\ifodd\pageno\vfill\eject\fi % so the wineglass is on a single page.
\example
% A small font and close interline spacing make this work
\smallskip\font\sixrm=cmr6 \sixrm \baselineskip=7pt
-\fontdimen3\font = 1.8pt \fontdimen4\font = 0.9pt
-\noindent \hfuzz 0.1pt
+\dimen0=\fontdimen3\font \dimen2=\fontdimen4\font
+\fontdimen3\font=1.8pt \fontdimen4\font=.9pt
+\noindent \hfuzz=.1pt
\parshape 30 0pt 120pt 1pt 118pt 2pt 116pt 4pt 112pt 6pt
108pt 9pt 102pt 12pt 96pt 15pt 90pt 19pt 84pt 23pt 77pt
27pt 68pt 30.5pt 60pt 35pt 52pt 39pt 45pt 43pt 36pt 48pt
27pt 51.5pt 21pt 53pt 16.75pt 53pt 16.75pt 53pt 16.75pt 53pt
16.75pt 53pt 16.75pt 53pt 16.75pt 53pt 16.75pt 53pt 16.75pt
53pt 14.6pt 48pt 24pt 45pt 30.67pt 36.5pt 51pt 23pt 76.3pt
-The wines of France and California may be the best
-known, but they are not the only fine wines. Spanish
-wines are often underestimated, and quite old ones may
-be available at reasonable prices. For Spanish wines
-the vintage is not so critical, but the climate of the
-Bordeaux region varies greatly from year to year. Some
-vintages are not as good as others,
-so these years ought to be
-s\kern -.1pt p\kern -.1pt e\kern -.1pt c\hfil ially
-n\kern .1pt o\kern .1pt t\kern .1pt e\kern .1pt d\hfil:
-1962, 1964, 1966. 1958, 1959, 1960, 1961, 1964,
-1966 are also good California vintages.
-Good luck finding them!!
+The wines of France and California may be the best known,
+but they are not the only fine wines. Spanish wines are
+often underestimated, and quite old ones may be available at
+reasonable prices. For Spanish wines the vintage is not so
+critical, but the climate of the Bordeaux region varies
+greatly from year to year. Some vintages are not as good as
+others, so these years ought to be s\kern -.1pt p\kern -.1pt
+e\kern -.1pt c\hfil ially n\kern .1pt o\kern .1pt
+t\kern .1pt e\kern .1pt d\hfil: 1962, 1964, 1966. 1958,
+1959, 1960, 1961, 1964, 1966 are also good California
+vintages. Good luck finding them!!
+\fontdimen3\font=\dimen0 \fontdimen4\font=\dimen2
|
%\margin{Wineglass text replaced because of permissions problem.}
\produces
% A small font and close interline spacing make this work
\smallskip\font\sixrm=cmr6 \sixrm \baselineskip=7pt
-\fontdimen3\font = 1.8pt \fontdimen4\font = 0.9pt
-\noindent \hfuzz 0.1pt
+\dimen0=\fontdimen3\font \dimen2=\fontdimen4\font
+\fontdimen3\font=1.8pt \fontdimen4\font=0.9pt
+\noindent \hfuzz=0.1pt % reordered to save a line
\parshape 30 0pt 120pt 1pt 118pt 2pt 116pt 4pt 112pt 6pt 108pt 9pt 102pt
12pt 96pt 15pt 90pt 19pt 84pt 23pt 77pt 27pt 68pt 30.5pt 60pt 35pt 52pt
39pt 45pt 43pt 36pt 48pt 27pt 51.5pt 21pt 53pt 16.75pt 53pt 16.75pt
@@ -1384,6 +1385,7 @@ n\kern .1pt o\kern .1pt t\kern .1pt e\kern .1pt d\hfil:
1962, 1964, 1966. 1958, 1959, 1960, 1961, 1964,
1966 are also good California vintages.
Good luck finding them!
+\fontdimen3\font=\dimen0 \fontdimen4\font=\dimen2
\endexample
\eix^^{indentation}
\enddesc