summaryrefslogtreecommitdiff
path: root/info/impatient/usingtex.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/usingtex.tex
parent46d85b2b8e0282e241f8a41c6c0cd190c495eab0 (diff)
CTAN sync 202001050300
Diffstat (limited to 'info/impatient/usingtex.tex')
-rw-r--r--info/impatient/usingtex.tex17
1 files changed, 11 insertions, 6 deletions
diff --git a/info/impatient/usingtex.tex b/info/impatient/usingtex.tex
index 35ec5310d2..b23c9e2a9e 100644
--- a/info/impatient/usingtex.tex
+++ b/info/impatient/usingtex.tex
@@ -1,5 +1,6 @@
+% $Id: usingtex.tex,v 1.5 2020/01/01 23:29:59 karl Exp $
% This is part of the book TeX for the Impatient.
-% Copyright (C) 2003 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
@@ -352,7 +353,7 @@ you must not run a control word together with a following letter.
If you are defining your own macros, you need to be particularly careful about
where you put ends of line in their definitions.
It's all too easy to define a macro that produces an
-^{unwanted space} in addition to whatever else it's supposed to produce.
+^{unwanted space} in addition to whatever else it's supposed to do.
We discuss this problem elsewhere since it's somewhat
technical; see \xrefpg{unwantedspace}.
@@ -463,13 +464,11 @@ many fonts, but the two right single quotes
are the preferred \TeX\ style.
For example:
-\vbox{%
\csdisplay
There is no `q' in this sentence.
``Talk, child,'' said the Unicorn.
She said, ``\thinspace`Enough!!', he said.''
|
-}%
These three lines yield:
\display{\par\restoreplainTeX
There is no `q' in this sentence.
@@ -484,11 +483,14 @@ Without it, you'd just see three
nearly equally spaced quotation marks in a row.
\TeX\ has three kinds of ^{dashes}:
-\ulist\compact
+\ulist
\li Short ones (hyphens) like this ( - ). You get them by typing~`^|-|'.
\li Medium ones (en-dashes) like this ( -- ). You get them by typing~`^|--|'.
\li Long ones (em-dashes) like this ( --- ). You get them by typing~`^|---|'.
\endulist
+\vskip0pt plus2pt % this page is spacey, just live with it
+\eject
+
\noindent
Typically you'd use hyphens to indicate compound words like
``will-o'-the-wisp'',
@@ -614,7 +616,10 @@ If $a<b$, then the relation $$e^a < e^b$$ holds.
\display{\centereddisplays
If $a<b$, then the relation $$e^a < e^b$$ holds.}
\smallskip
-\noindent \chapterref{math} describes the commands that are useful
+\noindent \TeX\ does its own spacing inside math, ignoring any spaces in
+the input.
+
+\chapterref{math} describes the commands that are useful
in math formulas.
\eix^^{math}