[latexrefman-commits] [SCM] latexrefman updated: r920 - trunk

jimhefferon at gnu.org.ua jimhefferon at gnu.org.ua
Mon May 31 13:15:50 CEST 2021


Author: jimhefferon
Date: 2021-05-31 11:15:50 +0000 (Mon, 31 May 2021)
New Revision: 920

Modified:
   trunk/latex2e.html
   trunk/latex2e.info
   trunk/latex2e.pdf
   trunk/latex2e.texi
Log:
Add example of \phantom, adjust wording

Modified: trunk/latex2e.html
===================================================================
--- trunk/latex2e.html	2021-05-30 21:28:12 UTC (rev 919)
+++ trunk/latex2e.html	2021-05-31 11:15:50 UTC (rev 920)
@@ -16007,28 +16007,35 @@
 
 <p>The <code>\phantom</code> command creates a box with the same height, depth,
 and width as <var>subformula</var>, but empty.  That is, this command causes
-LaTeX to typeset the box but not its ink.  The <code>\vphantom</code>
-variant also produces an invisible box with the same height and depth as
-<var>subformula</var>, but it has width zero.  And <code>\hphantom</code> makes a
-box with the same width as <var>subformula</var> but with height and depth
-zero.
+LaTeX to typeset the space but not fill it with the material.  Here
+LaTeX will put a box of the right size for the quotation, but empty.
 </p>
-<p>In this example, in the summand expression on the left the tower of
-exponents is so tall that TeX places this expression further down
-than its default.  Without adjustment, that would have the two summand
-expressions at different levels.  The <code>\phantom</code> in the expression
-on the left tells TeX to leave as much vertical room as it does for
-the ‘<samp>3^{3^{3^j}}}</samp>’, so the two expressions come out at the
-same level.
+<div class="example">
+<pre class="example">\fbox{\phantom{Conservatism is the fear-filled worship of dead radicals.
+               --- Mark Twain}}
+</pre></div>
+
+<p>The <code>\vphantom</code> variant produces an invisible box with the same
+vertical size as <var>subformula</var>, the same height and depth, but having
+zero width.  And <code>\hphantom</code> makes a box with the same width as
+<var>subformula</var> but with zero height and depth.
 </p>
+<p>In this example, the tower of exponents in the second summand expression
+is so tall that TeX places this expression further down than its
+default.  Without adjustment, the two summand expressions would be at
+different levels.  The <code>\vphantom</code> in the first expression tells
+TeX to leave as much vertical room as it does for the tower, so the
+two expressions come out at the same level.
+</p>
 <div class="example">
 <pre class="example">\begin{displaymath}
-    \sum_{j\in\{0,\ldots\, 10\}\phantom{3^{3^{3^j}}}} \sum_{i\in\{0,\ldots\, 3^{3^{3^j}}\}} i\cdot j
+    \sum_{j\in\{0,\ldots\, 10\}\vphantom{3^{3^{3^j}}}}
+      \sum_{i\in\{0,\ldots\, 3^{3^{3^j}}\}} i\cdot j
 \end{displaymath}
 </pre></div>
 
-<p>These commands often are combined with <code>\smash</code>.  See <a href="#g_t_005csmash">\smash</a>,
-for another example of the use of <code>\vphantom</code>.
+<p>These commands are often used in conjunction with <code>\smash</code>.
+See <a href="#g_t_005csmash">\smash</a>, which includes another example of <code>\vphantom</code>.
 </p>
 <span id="index-package_002c-mathtools-5"></span>
 <span id="index-mathtools-package-5"></span>
@@ -16078,16 +16085,16 @@
 <p>The analogue of <code>\strut</code> for mathematics.  See <a href="#g_t_005cstrut">\strut</a>.
 </p>
 <p>The input <code>$\sqrt{x} + \sqrt{x^i}$</code> gives output where the
-second radical is taller than the first, which is ugly.  To add extra
-vertical space without any horizontal space, so that the two have the
-same height, use <code>$\sqrt{x\mathstrut} + \sqrt{x^i\mathstrut}$</code>.
+second radical is taller than the first.  To add extra vertical space
+without any horizontal space, so that the two have the same height, use
+<code>$\sqrt{x\mathstrut} + \sqrt{x^i\mathstrut}$</code>.
 </p>
 <p>The <code>\mathstrut</code> command adds the vertical height of an open
-parenthesis, <code>(</code>, but no horizontal space.  In fact, it is defined
-as <code>\vphantom{(}</code>. (See <a href="#g_t_005cphantom-_0026-_005cvphantom-_0026-_005chphantom">\phantom & \vphantom & \hphantom</a>.)
-An advantage over <code>\strut</code> is that <code>\mathstrut</code> adds no depth,
-which is often the right thing for formulas.  Using the height of an
-open parenthesis is just a convention; for complete control over the
+parenthesis, <code>(</code> but no horizontal space.  It is defined as
+<code>\vphantom{(}</code>, so see <a href="#g_t_005cphantom-_0026-_005cvphantom-_0026-_005chphantom">\phantom & \vphantom & \hphantom</a> for
+more.  An advantage over <code>\strut</code> is that <code>\mathstrut</code> adds no
+depth, which is often the right thing for formulas.  Using the height of
+an open parenthesis is just a convention; for complete control over the
 amount of space, use <code>\rule</code> with a width of zero.  See <a href="#g_t_005crule">\rule</a>.
 </p>
 

Modified: trunk/latex2e.info
===================================================================
--- trunk/latex2e.info	2021-05-30 21:28:12 UTC (rev 919)
+++ trunk/latex2e.info	2021-05-31 11:15:50 UTC (rev 920)
@@ -10925,24 +10925,31 @@
 
    The '\phantom' command creates a box with the same height, depth, and
 width as SUBFORMULA, but empty.  That is, this command causes LaTeX to
-typeset the box but not its ink.  The '\vphantom' variant also produces
-an invisible box with the same height and depth as SUBFORMULA, but it
-has width zero.  And '\hphantom' makes a box with the same width as
-SUBFORMULA but with height and depth zero.
+typeset the space but not fill it with the material.  Here LaTeX will
+put a box of the right size for the quotation, but empty.
 
-   In this example, in the summand expression on the left the tower of
-exponents is so tall that TeX places this expression further down than
-its default.  Without adjustment, that would have the two summand
-expressions at different levels.  The '\phantom' in the expression on
-the left tells TeX to leave as much vertical room as it does for the
-'3^{3^{3^j}}}', so the two expressions come out at the same level.
+     \fbox{\phantom{Conservatism is the fear-filled worship of dead radicals.
+                    --- Mark Twain}}
 
+   The '\vphantom' variant produces an invisible box with the same
+vertical size as SUBFORMULA, the same height and depth, but having zero
+width.  And '\hphantom' makes a box with the same width as SUBFORMULA
+but with zero height and depth.
+
+   In this example, the tower of exponents in the second summand
+expression is so tall that TeX places this expression further down than
+its default.  Without adjustment, the two summand expressions would be
+at different levels.  The '\vphantom' in the first expression tells TeX
+to leave as much vertical room as it does for the tower, so the two
+expressions come out at the same level.
+
      \begin{displaymath}
-         \sum_{j\in\{0,\ldots\, 10\}\phantom{3^{3^{3^j}}}} \sum_{i\in\{0,\ldots\, 3^{3^{3^j}}\}} i\cdot j
+         \sum_{j\in\{0,\ldots\, 10\}\vphantom{3^{3^{3^j}}}}
+           \sum_{i\in\{0,\ldots\, 3^{3^{3^j}}\}} i\cdot j
      \end{displaymath}
 
-   These commands often are combined with '\smash'.  *Note \smash::, for
-another example of the use of '\vphantom'.
+   These commands are often used in conjunction with '\smash'.  *Note
+\smash::, which includes another example of '\vphantom'.
 
    The three phantom commands appear often but note that LaTeX provides
 a suite of other commands to work with box sizes that may be more
@@ -10975,17 +10982,17 @@
    The analogue of '\strut' for mathematics.  *Note \strut::.
 
    The input '$\sqrt{x} + \sqrt{x^i}$' gives output where the second
-radical is taller than the first, which is ugly.  To add extra vertical
-space without any horizontal space, so that the two have the same
-height, use '$\sqrt{x\mathstrut} + \sqrt{x^i\mathstrut}$'.
+radical is taller than the first.  To add extra vertical space without
+any horizontal space, so that the two have the same height, use
+'$\sqrt{x\mathstrut} + \sqrt{x^i\mathstrut}$'.
 
    The '\mathstrut' command adds the vertical height of an open
-parenthesis, '(', but no horizontal space.  In fact, it is defined as
-'\vphantom{(}'.  (*Note \phantom & \vphantom & \hphantom::.)  An
-advantage over '\strut' is that '\mathstrut' adds no depth, which is
-often the right thing for formulas.  Using the height of an open
-parenthesis is just a convention; for complete control over the amount
-of space, use '\rule' with a width of zero.  *Note \rule::.
+parenthesis, '(' but no horizontal space.  It is defined as
+'\vphantom{(}', so see *note \phantom & \vphantom & \hphantom:: for
+more.  An advantage over '\strut' is that '\mathstrut' adds no depth,
+which is often the right thing for formulas.  Using the height of an
+open parenthesis is just a convention; for complete control over the
+amount of space, use '\rule' with a width of zero.  *Note \rule::.
 
 
 File: latex2e.info,  Node: Math miscellany,  Prev: Spacing in math mode,  Up: Math formulas
@@ -18100,7 +18107,7 @@
 * amsmath package <8>:                   Dots.                (line  36)
 * amsmath package <9>:                   Math functions.      (line 111)
 * amsmath package <10>:                  \phantom & \vphantom & \hphantom.
-                                                              (line  47)
+                                                              (line  54)
 * amsmath package <11>:                  Colon character & \colon.
                                                               (line  15)
 * amsmath package <12>:                  Colon character & \colon.
@@ -18919,7 +18926,7 @@
                                                               (line  45)
 * mathtools package <4>:                 \smash.              (line  61)
 * mathtools package <5>:                 \phantom & \vphantom & \hphantom.
-                                                              (line  39)
+                                                              (line  46)
 * MetaPost package:                      \line.               (line  36)
 * mfirstuc package:                      Upper and lower case.
                                                               (line  46)
@@ -19048,7 +19055,7 @@
 * package, amsmath <8>:                  Dots.                (line  36)
 * package, amsmath <9>:                  Math functions.      (line 111)
 * package, amsmath <10>:                 \phantom & \vphantom & \hphantom.
-                                                              (line  47)
+                                                              (line  54)
 * package, amsmath <11>:                 Colon character & \colon.
                                                               (line  15)
 * package, amsmath <12>:                 Colon character & \colon.
@@ -19134,7 +19141,7 @@
                                                               (line  45)
 * package, mathtools <4>:                \smash.              (line  61)
 * package, mathtools <5>:                \phantom & \vphantom & \hphantom.
-                                                              (line  39)
+                                                              (line  46)
 * package, MetaPost:                     \line.               (line  36)
 * package, mfirstuc:                     Upper and lower case.
                                                               (line  46)
@@ -19961,204 +19968,204 @@
 Ref: spacing in math mode qquad397011
 Node: \smash397349
 Node: \phantom & \vphantom & \hphantom399566
-Node: \mathstrut401883
-Node: Math miscellany402856
-Node: Colon character & \colon403362
-Node: \*404055
-Node: \frac404635
-Node: \sqrt405006
-Node: \stackrel405592
-Node: Modes405865
-Ref: modes paragraph mode406315
-Ref: modes lr mode406511
-Ref: modes math mode407117
-Ref: modes vertical mode407452
-Ref: modes internal vertical mode407623
-Ref: modes inner paragraph mode408096
-Ref: modes outer paragraph mode408096
-Node: \ensuremath408510
-Node: Page styles409215
-Node: \maketitle409978
-Node: \pagenumbering412996
-Node: \pagestyle414984
-Node: \thispagestyle418486
-Node: Spaces419440
-Node: \enspace & \quad & \qquad420881
-Node: \hspace421796
-Node: \hfill423634
-Node: \hss424698
-Node: \spacefactor425392
-Node: \@428779
-Ref: \AT428879
-Node: \frenchspacing430819
-Node: \normalsfcodes431654
-Node: \(SPACE)431901
-Node: ~433691
-Node: \thinspace & \negthinspace436268
-Node: \/437439
-Node: \hrulefill & \dotfill439395
-Node: \bigskip & \medskip & \smallskip440751
-Ref: bigskip441569
-Ref: medskip441773
-Ref: smallskip441982
-Node: \bigbreak & \medbreak & \smallbreak442643
-Node: \strut443629
-Node: \vspace446824
-Node: \vfill448388
-Node: \addvspace449316
-Node: Boxes451312
-Node: \mbox & \makebox452018
-Ref: mbox makebox depth453286
-Ref: mbox makebox height453286
-Ref: mbox makebox width453286
-Ref: mbox makebox totalheight453286
-Node: \fbox & \framebox455381
-Ref: fbox framebox fboxrule456695
-Ref: fbox framebox fboxsep456885
-Node: \parbox457975
-Node: \raisebox460281
-Ref: raisebox depth461254
-Ref: raisebox height461254
-Ref: raisebox width461254
-Ref: raisebox totalheight461254
-Node: \sbox & \savebox461955
-Node: lrbox465017
-Node: \usebox465903
-Node: Color466342
-Node: Color package options467141
-Node: Color models468787
-Ref: color models cmyk469584
-Ref: color models gray469947
-Ref: color models rgb470096
-Ref: color models RGB470433
-Ref: color models named470808
-Node: Commands for color471096
-Node: Define colors471511
-Node: Colored text472236
-Node: Colored boxes474633
-Node: Colored pages476022
-Node: Graphics476715
-Node: Graphics package options478842
-Node: Graphics package configuration481595
-Node: \graphicspath482397
-Node: \DeclareGraphicsExtensions485355
-Node: \DeclareGraphicsRule487173
-Node: Commands for graphics490354
-Node: \includegraphics490859
-Ref: includegraphics width495913
-Ref: includegraphics height496446
-Ref: includegraphics totalheight496852
-Ref: includegraphics keepaspectratio497116
-Ref: includegraphics viewport498802
-Ref: includegraphics trim499197
-Ref: includegraphics clip499653
-Ref: includegraphics page499913
-Ref: includegraphics pagebox500004
-Ref: includegraphics interpolate500869
-Ref: includegraphics quiet501074
-Ref: includegraphics draft501235
-Ref: includegraphics bb502040
-Ref: includegraphics bbllx502438
-Ref: includegraphics bblly502438
-Ref: includegraphics bburx502438
-Ref: includegraphics bbury502438
-Ref: includegraphics natwidth502580
-Ref: includegraphics natheight502580
-Ref: includegraphics hiresbb502766
-Ref: includegraphics type503528
-Ref: includegraphics ext503568
-Ref: includegraphics read503671
-Ref: includegraphics command503788
-Node: \rotatebox504034
-Node: \scalebox506888
-Node: \resizebox507944
-Node: Special insertions509136
-Node: Reserved characters510004
-Node: Upper and lower case511264
-Node: Symbols by font position513650
-Node: Text symbols514329
-Node: Accents519313
-Node: \accent521466
-Node: Additional Latin letters523228
-Ref: Non-English characters523410
-Node: inputenc package524429
-Node: \rule526858
-Node: \today528023
-Node: Splitting the input528959
-Node: \endinput530701
-Node: \include & \includeonly532004
-Node: \input536301
-Node: Front/back matter537516
-Node: Table of contents etc.537849
-Node: \addcontentsline541674
-Node: \addtocontents544516
-Node: \nofiles546107
-Node: Indexes546839
-Node: \index548447
-Node: makeindex553552
-Ref: makeindex preamble555220
-Ref: makeindex postamble555360
-Ref: makeindex group skip555445
-Ref: makeindex letheadflag555778
-Ref: makeindex lethead prefix556239
-Ref: makeindex lethead suffix556391
-Ref: makeindex item 0556539
-Ref: makeindex item 1556619
-Ref: makeindex item 2556694
-Ref: makeindex item 01556772
-Ref: makeindex item x1556877
-Ref: makeindex item 12557082
-Ref: makeindex item x2557190
-Ref: makeindex delim 0557350
-Ref: makeindex delim 1557480
-Ref: makeindex delim 2557610
-Ref: makeindex delim n557736
-Ref: makeindex delim r557871
-Ref: makeindex line max557979
-Ref: makeindex indent space558114
-Ref: makeindex indent length558209
-Ref: makeindex page precedence558394
-Node: \printindex559268
-Node: Glossaries559741
-Node: \newglossaryentry561708
-Node: \gls563175
-Node: Letters563969
-Node: \address567587
-Node: \cc568398
-Node: \closing568840
-Node: \encl569154
-Node: \location569568
-Node: \makelabels569832
-Node: \name572149
-Node: \opening572390
-Node: \ps572671
-Node: \signature572960
-Node: \telephone574188
-Node: Input/output574553
-Node: \openin & \openout575283
-Node: \read578026
-Node: \typein579213
-Node: \typeout580473
-Node: \write581523
-Node: \write and security586250
-Node: \message587194
-Node: \wlog589023
-Node: \write18589524
-Node: Command line interface593015
-Ref: Command line593179
-Node: Command line options595262
-Ref: interaction modes596258
-Ref: output directory597212
-Node: Command line input598911
-Node: Jobname600740
-Node: Recovering from errors604021
-Node: Document templates605366
-Node: beamer template605800
-Node: article template606442
-Node: book template606905
-Node: Larger book template607384
-Node: Index608926
-Ref: Command Index609012
+Node: \mathstrut402113
+Node: Math miscellany403074
+Node: Colon character & \colon403580
+Node: \*404273
+Node: \frac404853
+Node: \sqrt405224
+Node: \stackrel405810
+Node: Modes406083
+Ref: modes paragraph mode406533
+Ref: modes lr mode406729
+Ref: modes math mode407335
+Ref: modes vertical mode407670
+Ref: modes internal vertical mode407841
+Ref: modes inner paragraph mode408314
+Ref: modes outer paragraph mode408314
+Node: \ensuremath408728
+Node: Page styles409433
+Node: \maketitle410196
+Node: \pagenumbering413214
+Node: \pagestyle415202
+Node: \thispagestyle418704
+Node: Spaces419658
+Node: \enspace & \quad & \qquad421099
+Node: \hspace422014
+Node: \hfill423852
+Node: \hss424916
+Node: \spacefactor425610
+Node: \@428997
+Ref: \AT429097
+Node: \frenchspacing431037
+Node: \normalsfcodes431872
+Node: \(SPACE)432119
+Node: ~433909
+Node: \thinspace & \negthinspace436486
+Node: \/437657
+Node: \hrulefill & \dotfill439613
+Node: \bigskip & \medskip & \smallskip440969
+Ref: bigskip441787
+Ref: medskip441991
+Ref: smallskip442200
+Node: \bigbreak & \medbreak & \smallbreak442861
+Node: \strut443847
+Node: \vspace447042
+Node: \vfill448606
+Node: \addvspace449534
+Node: Boxes451530
+Node: \mbox & \makebox452236
+Ref: mbox makebox depth453504
+Ref: mbox makebox height453504
+Ref: mbox makebox width453504
+Ref: mbox makebox totalheight453504
+Node: \fbox & \framebox455599
+Ref: fbox framebox fboxrule456913
+Ref: fbox framebox fboxsep457103
+Node: \parbox458193
+Node: \raisebox460499
+Ref: raisebox depth461472
+Ref: raisebox height461472
+Ref: raisebox width461472
+Ref: raisebox totalheight461472
+Node: \sbox & \savebox462173
+Node: lrbox465235
+Node: \usebox466121
+Node: Color466560
+Node: Color package options467359
+Node: Color models469005
+Ref: color models cmyk469802
+Ref: color models gray470165
+Ref: color models rgb470314
+Ref: color models RGB470651
+Ref: color models named471026
+Node: Commands for color471314
+Node: Define colors471729
+Node: Colored text472454
+Node: Colored boxes474851
+Node: Colored pages476240
+Node: Graphics476933
+Node: Graphics package options479060
+Node: Graphics package configuration481813
+Node: \graphicspath482615
+Node: \DeclareGraphicsExtensions485573
+Node: \DeclareGraphicsRule487391
+Node: Commands for graphics490572
+Node: \includegraphics491077
+Ref: includegraphics width496131
+Ref: includegraphics height496664
+Ref: includegraphics totalheight497070
+Ref: includegraphics keepaspectratio497334
+Ref: includegraphics viewport499020
+Ref: includegraphics trim499415
+Ref: includegraphics clip499871
+Ref: includegraphics page500131
+Ref: includegraphics pagebox500222
+Ref: includegraphics interpolate501087
+Ref: includegraphics quiet501292
+Ref: includegraphics draft501453
+Ref: includegraphics bb502258
+Ref: includegraphics bbllx502656
+Ref: includegraphics bblly502656
+Ref: includegraphics bburx502656
+Ref: includegraphics bbury502656
+Ref: includegraphics natwidth502798
+Ref: includegraphics natheight502798
+Ref: includegraphics hiresbb502984
+Ref: includegraphics type503746
+Ref: includegraphics ext503786
+Ref: includegraphics read503889
+Ref: includegraphics command504006
+Node: \rotatebox504252
+Node: \scalebox507106
+Node: \resizebox508162
+Node: Special insertions509354
+Node: Reserved characters510222
+Node: Upper and lower case511482
+Node: Symbols by font position513868
+Node: Text symbols514547
+Node: Accents519531
+Node: \accent521684
+Node: Additional Latin letters523446
+Ref: Non-English characters523628
+Node: inputenc package524647
+Node: \rule527076
+Node: \today528241
+Node: Splitting the input529177
+Node: \endinput530919
+Node: \include & \includeonly532222
+Node: \input536519
+Node: Front/back matter537734
+Node: Table of contents etc.538067
+Node: \addcontentsline541892
+Node: \addtocontents544734
+Node: \nofiles546325
+Node: Indexes547057
+Node: \index548665
+Node: makeindex553770
+Ref: makeindex preamble555438
+Ref: makeindex postamble555578
+Ref: makeindex group skip555663
+Ref: makeindex letheadflag555996
+Ref: makeindex lethead prefix556457
+Ref: makeindex lethead suffix556609
+Ref: makeindex item 0556757
+Ref: makeindex item 1556837
+Ref: makeindex item 2556912
+Ref: makeindex item 01556990
+Ref: makeindex item x1557095
+Ref: makeindex item 12557300
+Ref: makeindex item x2557408
+Ref: makeindex delim 0557568
+Ref: makeindex delim 1557698
+Ref: makeindex delim 2557828
+Ref: makeindex delim n557954
+Ref: makeindex delim r558089
+Ref: makeindex line max558197
+Ref: makeindex indent space558332
+Ref: makeindex indent length558427
+Ref: makeindex page precedence558612
+Node: \printindex559486
+Node: Glossaries559959
+Node: \newglossaryentry561926
+Node: \gls563393
+Node: Letters564187
+Node: \address567805
+Node: \cc568616
+Node: \closing569058
+Node: \encl569372
+Node: \location569786
+Node: \makelabels570050
+Node: \name572367
+Node: \opening572608
+Node: \ps572889
+Node: \signature573178
+Node: \telephone574406
+Node: Input/output574771
+Node: \openin & \openout575501
+Node: \read578244
+Node: \typein579431
+Node: \typeout580691
+Node: \write581741
+Node: \write and security586468
+Node: \message587412
+Node: \wlog589241
+Node: \write18589742
+Node: Command line interface593233
+Ref: Command line593397
+Node: Command line options595480
+Ref: interaction modes596476
+Ref: output directory597430
+Node: Command line input599129
+Node: Jobname600958
+Node: Recovering from errors604239
+Node: Document templates605584
+Node: beamer template606018
+Node: article template606660
+Node: book template607123
+Node: Larger book template607602
+Node: Index609144
+Ref: Command Index609230
 
 End Tag Table
 

Modified: trunk/latex2e.pdf
===================================================================
(Binary files differ)

Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi	2021-05-30 21:28:12 UTC (rev 919)
+++ trunk/latex2e.texi	2021-05-31 11:15:50 UTC (rev 920)
@@ -26,8 +26,6 @@
 @c xx JH something on code listings
 @c xx JH ligatures
 @c xx JH \stretch
- at c xx JH \mathstrut
- at c xx JH \phantom https://tex.stackexchange.com/questions/4519/how-do-i-create-an-invisible-character
 @c xx JH \baselineskip https://texfaq.org/FAQ-baselinepar
 @c xx JH \contentsline, \@@dottedtocline?
 @c xx JH \numexpr, \dimexpr, \glueexpr, \muexpr
@@ -13791,28 +13789,35 @@
 
 The @code{\phantom} command creates a box with the same height, depth,
 and width as @var{subformula}, but empty.  That is, this command causes
- at LaTeX{} to typeset the box but not its ink.  The @code{\vphantom}
-variant also produces an invisible box with the same height and depth as
- at var{subformula}, but it has width zero.  And @code{\hphantom} makes a
-box with the same width as @var{subformula} but with height and depth
-zero.
+ at LaTeX{} to typeset the space but not fill it with the material.  Here
+ at LaTeX{} will put a box of the right size for the quotation, but empty.
 
-In this example, in the summand expression on the left the tower of
-exponents is so tall that @TeX{} places this expression further down
-than its default.  Without adjustment, that would have the two summand
-expressions at different levels.  The @code{\phantom} in the expression
-on the left tells @TeX{} to leave as much vertical room as it does for
-the @samp{3^@{3^@{3^j@}@}@}}, so the two expressions come out at the
-same level.
+ at example
+\fbox@{\phantom@{Conservatism is the fear-filled worship of dead radicals.
+               --- Mark Twain@}@}
+ at end example
 
+The @code{\vphantom} variant produces an invisible box with the same
+vertical size as @var{subformula}, the same height and depth, but having
+zero width.  And @code{\hphantom} makes a box with the same width as
+ at var{subformula} but with zero height and depth.
+
+In this example, the tower of exponents in the second summand expression
+is so tall that @TeX{} places this expression further down than its
+default.  Without adjustment, the two summand expressions would be at
+different levels.  The @code{\vphantom} in the first expression tells
+ at TeX{} to leave as much vertical room as it does for the tower, so the
+two expressions come out at the same level.
+
 @example
 \begin@{displaymath@}
-    \sum_@{j\in\@{0,\ldots\, 10\@}\phantom@{3^@{3^@{3^j@}@}@}@} \sum_@{i\in\@{0,\ldots\, 3^@{3^@{3^j@}@}\@}@} i\cdot j
+    \sum_@{j\in\@{0,\ldots\, 10\@}\vphantom@{3^@{3^@{3^j@}@}@}@}
+      \sum_@{i\in\@{0,\ldots\, 3^@{3^@{3^j@}@}\@}@} i\cdot j
 \end@{displaymath@}
 @end example
 
-These commands often are combined with @code{\smash}.  @xref{\smash},
-for another example of the use of @code{\vphantom}.
+These commands are often used in conjunction with @code{\smash}.
+ at xref{\smash}, which includes another example of @code{\vphantom}.
 
 @PkgIndex{mathtools}
 The three phantom commands appear often but note that @LaTeX{} provides
@@ -13854,16 +13859,16 @@
 The analogue of @code{\strut} for mathematics.  @xref{\strut}.
 
 The input @code{$\sqrt@{x@} + \sqrt@{x^i@}$} gives output where the
-second radical is taller than the first, which is ugly.  To add extra
-vertical space without any horizontal space, so that the two have the
-same height, use @code{$\sqrt@{x\mathstrut@} + \sqrt@{x^i\mathstrut@}$}.
+second radical is taller than the first.  To add extra vertical space
+without any horizontal space, so that the two have the same height, use
+ at code{$\sqrt@{x\mathstrut@} + \sqrt@{x^i\mathstrut@}$}.
 
 The @code{\mathstrut} command adds the vertical height of an open
-parenthesis, @code{(}, but no horizontal space.  In fact, it is defined
-as @code{\vphantom@{(@}}. (@xref{ \phantom & \vphantom & \hphantom}.)
-An advantage over @code{\strut} is that @code{\mathstrut} adds no depth,
-which is often the right thing for formulas.  Using the height of an
-open parenthesis is just a convention; for complete control over the
+parenthesis, @code{(} but no horizontal space.  It is defined as
+ at code{\vphantom@{(@}}, so see @ref{ \phantom & \vphantom & \hphantom} for
+more.  An advantage over @code{\strut} is that @code{\mathstrut} adds no
+depth, which is often the right thing for formulas.  Using the height of
+an open parenthesis is just a convention; for complete control over the
 amount of space, use @code{\rule} with a width of zero.  @xref{\rule}.
 
 



More information about the latexrefman-commits mailing list.