diff options
Diffstat (limited to 'Master/texmf-dist/doc/plain/impatient/usingtex.tex')
-rw-r--r-- | Master/texmf-dist/doc/plain/impatient/usingtex.tex | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/plain/impatient/usingtex.tex b/Master/texmf-dist/doc/plain/impatient/usingtex.tex index 35ec5310d23..b23c9e2a9e5 100644 --- a/Master/texmf-dist/doc/plain/impatient/usingtex.tex +++ b/Master/texmf-dist/doc/plain/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} |