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

jimhefferon at gnu.org.ua jimhefferon at gnu.org.ua
Wed Jul 26 22:32:20 CEST 2017


Author: jimhefferon
Date: 2017-07-26 23:32:20 +0300 (Wed, 26 Jul 2017)
New Revision: 564

Modified:
   trunk/ChangeLog
   trunk/latex2e.html
   trunk/latex2e.info
   trunk/latex2e.texi
Log:
Put example in \makeatletter replacing the one that moved from there

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2017-07-26 11:26:09 UTC (rev 563)
+++ trunk/ChangeLog	2017-07-26 20:32:20 UTC (rev 564)
@@ -1,5 +1,10 @@
 2017-07-26  Jim Hefferon  <jhefferon at smcvt.edu>
 
+	* latex2e.texi: (\makeatletter and \makeatother) Give an example
+	replacing the \@startsection one that migrated from there.
+
+2017-07-26  Jim Hefferon  <jhefferon at smcvt.edu>
+
 	* latex2e.texi: (\@startsection) Translate from French.  Add text
 	and examples, including example of inventing new sectioning type.
 

Modified: trunk/latex2e.html
===================================================================
--- trunk/latex2e.html	2017-07-26 11:26:09 UTC (rev 563)
+++ trunk/latex2e.html	2017-07-26 20:32:20 UTC (rev 564)
@@ -992,16 +992,21 @@
 have the character code of a letter.
 </p>
 <a name="index-package_002c-macros2e"></a>
-<a name="index-macros2e-package-For-a-comprehensive-list-of-macros-with-an-at_002dsign"></a>
-<p>in their names, see document
-<a href="http://ctan.org/pkg/macros2e">http://ctan.org/pkg/macros2e</a>. These macros are mainly useful
-to package or class authors; examples that may be useful to document
-authors are provided hereinafter.
+<a name="index-macros2e-package"></a>
+<p>For a comprehensive list of macros with an at-sign
+in their names see <a href="http://ctan.org/pkg/macros2e">http://ctan.org/pkg/macros2e</a>. These macros are
+mainly intended to package or class authors.
 </p>
-<p>The example code below, if put in the preamble, redefines the
-section command to center the section title, put it in bold type,
-and adjust the spacing.
+<p>The example below is typical.  In the user’s class file is a command
+<code>\thesis at universityname</code>.  The user wants to change the
+definition.  These three lines should go in the preamble, before the
+<code>begin{document}</code>.
 </p>
+<div class="example">
+<pre class="example">\makeatletter
+\renewcommand{\thesis at universityname}{Saint Michael's College}
+\makeatother
+</pre></div>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">• <a href="#g_t_005c_0040startsection" accesskey="1">\@startsection</a>:</td><td>  </td><td align="left" valign="top">Redefine layout of start of sections, subsections, etc.
@@ -1104,7 +1109,7 @@
 header is that it is the sum of the <code>\parskip</code> of the text font,
 the <code>\baselineskip</code> of the heading font, and the absolute value of
 the <var>beforeskip</var>.  This space is rubber so it may stretch or shrink.
-(if the sectioning unit starts on a fresh page so that the vertical
+(If the sectioning unit starts on a fresh page so that the vertical
 space is discarded then the baseline of the header text will be where
 LaTeX would put the baseline of the first text line on that page.)
 </p>
@@ -1130,8 +1135,8 @@
 <code>\baselineskip</code> of the text font, and the value of <var>after</var>.
 That space is rubber so it may stretch or shrink.  (Note that because
 the sign of <code>afterskip</code> changes the sectioning unit header’s from
-standalone to run-in, you cannot use a negative <code>after</code> to cancel
-part of the <code>\parskip</code>.)
+standalone to run-in, you cannot use a negative <code>afterskip</code> to
+cancel part of the <code>\parskip</code>.)
 </p>
 </dd>
 <dt><var>style</var></dt>
@@ -14603,7 +14608,7 @@
 <tr><td></td><td valign="top"><a href="#index-macro-package_002c-LaTeX-as">macro package, LaTeX as</a>:</td><td> </td><td valign="top"><a href="#Overview">Overview</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-macron-accent">macron accent</a>:</td><td> </td><td valign="top"><a href="#Accents">Accents</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-macron-accent_002c-math">macron accent, math</a>:</td><td> </td><td valign="top"><a href="#Math-accents">Math accents</a></td></tr>
-<tr><td></td><td valign="top"><a href="#index-macros2e-package-For-a-comprehensive-list-of-macros-with-an-at_002dsign"><code>macros2e</code> <span class="roman">package</span> For a comprehensive list of macros with an at-sign</a>:</td><td> </td><td valign="top"><a href="#g_t_005cmakeatletter-and-_005cmakeatother">\makeatletter and \makeatother</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-macros2e-package"><code>macros2e</code> <span class="roman">package</span></a>:</td><td> </td><td valign="top"><a href="#g_t_005cmakeatletter-and-_005cmakeatother">\makeatletter and \makeatother</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-Madsen_002c-Lars">Madsen, Lars</a>:</td><td> </td><td valign="top"><a href="#eqnarray">eqnarray</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-makeidx-package"><code>makeidx</code> <span class="roman">package</span></a>:</td><td> </td><td valign="top"><a href="#Indexes">Indexes</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-makeindex-program"><code>makeindex</code> program</a>:</td><td> </td><td valign="top"><a href="#Indexes">Indexes</a></td></tr>

Modified: trunk/latex2e.info
===================================================================
--- trunk/latex2e.info	2017-07-26 11:26:09 UTC (rev 563)
+++ trunk/latex2e.info	2017-07-26 20:32:20 UTC (rev 564)
@@ -407,14 +407,19 @@
 '\documentclass' commands set the at sign to have the character code of
 a letter.
 
-   in their names, see document <http://ctan.org/pkg/macros2e>.  These
-macros are mainly useful to package or class authors; examples that may
-be useful to document authors are provided hereinafter.
+   For a comprehensive list of macros with an at-sign in their names see
+<http://ctan.org/pkg/macros2e>.  These macros are mainly intended to
+package or class authors.
 
-   The example code below, if put in the preamble, redefines the section
-command to center the section title, put it in bold type, and adjust the
-spacing.
+   The example below is typical.  In the user's class file is a command
+'\thesis at universityname'.  The user wants to change the definition.
+These three lines should go in the preamble, before the
+'begin{document}'.
 
+     \makeatletter
+     \renewcommand{\thesis at universityname}{Saint Michael's College}
+     \makeatother
+
 * Menu:
 
 * \@startsection:: Redefine layout of start of sections, subsections, etc.
@@ -499,7 +504,7 @@
      the header is that it is the sum of the '\parskip' of the text
      font, the '\baselineskip' of the heading font, and the absolute
      value of the BEFORESKIP.  This space is rubber so it may stretch or
-     shrink.  (if the sectioning unit starts on a fresh page so that the
+     shrink.  (If the sectioning unit starts on a fresh page so that the
      vertical space is discarded then the baseline of the header text
      will be where LaTeX would put the baseline of the first text line
      on that page.)
@@ -525,8 +530,8 @@
      '\baselineskip' of the text font, and the value of AFTER.  That
      space is rubber so it may stretch or shrink.  (Note that because
      the sign of 'afterskip' changes the sectioning unit header's from
-     standalone to run-in, you cannot use a negative 'after' to cancel
-     part of the '\parskip'.)
+     standalone to run-in, you cannot use a negative 'afterskip' to
+     cancel part of the '\parskip'.)
 
 STYLE
      Controls the styling of the title.  See the examples below.
@@ -9346,7 +9351,7 @@
 * macro package, LaTeX as:               Overview.            (line  11)
 * macron accent:                         Accents.             (line  29)
 * macron accent, math:                   Math accents.        (line  14)
-* macros2e package For a comprehensive list of macros with an at-sign: \makeatletter and \makeatother.
+* macros2e package:                      \makeatletter and \makeatother.
                                                               (line  36)
 * Madsen, Lars:                          eqnarray.            (line   6)
 * makeidx package:                       Indexes.             (line  28)
@@ -10886,229 +10891,229 @@
 Node: Environment14367
 Node: Declaration15401
 Node: \makeatletter and \makeatother15732
-Node: \@startsection17726
-Ref: \@startsection/name18701
-Ref: \@startsection/level19134
-Ref: \@startsection/indent20150
-Ref: \@startsection/beforeskip20412
-Ref: \@startsection/afterskip21898
-Ref: \@startsection/style23193
-Node: Document classes26187
-Node: Document class options27510
-Node: Additional packages30606
-Node: Class and package construction31237
-Node: Class and package structure32669
-Node: Class and package commands34878
-Node: Fonts49607
-Ref: Typefaces49710
-Node: Font styles50038
-Node: Font sizes54467
-Node: Low-level font commands55698
-Node: Layout60931
-Node: \onecolumn61429
-Node: \twocolumn61760
-Node: \flushbottom66155
-Node: \raggedbottom67255
-Node: Page layout parameters67791
-Node: Floats73489
-Node: Sectioning79954
-Node: Cross references81499
-Node: \label83365
-Node: \pageref84912
-Node: \ref85582
-Node: Environments86271
-Node: abstract88274
-Node: array89863
-Node: center92121
-Node: \centering93762
-Node: description95134
-Node: displaymath96748
-Node: document98606
-Node: \AtBeginDocument99036
-Node: \AtEndDocument99609
-Node: enumerate100206
-Node: eqnarray102480
-Node: equation104534
-Node: figure105052
-Node: filecontents106864
-Node: flushleft108617
-Node: \raggedright109110
-Node: flushright109669
-Node: \raggedleft110167
-Node: itemize110724
-Node: letter114357
-Node: list114595
-Node: \item115581
-Node: math116712
-Node: minipage117013
-Node: picture118205
-Node: \circle122500
-Node: \makebox (picture)122843
-Node: \framebox (picture)123549
-Node: \dashbox124039
-Node: \frame124562
-Node: \line124888
-Node: \linethickness125346
-Node: \thicklines125767
-Node: \thinlines126077
-Node: \multiput126379
-Node: \oval126746
-Node: \put127467
-Node: \shortstack127758
-Node: \vector128232
-Node: quotation and quote128546
-Node: tabbing129753
-Node: table132934
-Node: tabular134361
-Node: \multicolumn141569
-Node: \vline145454
-Node: \cline146799
-Node: \hline147483
-Node: thebibliography148166
-Node: \bibitem149308
-Node: \cite150066
-Node: \nocite150585
-Node: Using BibTeX150873
-Node: theorem152382
-Node: titlepage152768
-Node: verbatim154058
-Node: \verb154685
-Node: verse155235
-Node: Line breaking155729
-Node: \\156826
-Node: \obeycr & \restorecr157864
-Node: \newline158266
-Node: \- (hyphenation)159100
-Node: \discretionary159715
-Node: \fussy160007
-Node: \sloppy160397
-Node: \hyphenation160724
-Node: \linebreak & \nolinebreak161349
-Node: Page breaking162001
-Node: \cleardoublepage162609
-Node: \clearpage163038
-Node: \newpage163335
-Node: \enlargethispage163566
-Node: \pagebreak & \nopagebreak164093
-Node: Footnotes164787
-Node: \footnote166041
-Node: \footnotemark167837
-Node: \footnotetext169081
-Node: Footnotes in a table169571
-Node: Footnotes in section headings171428
-Node: Footnotes of footnotes172284
-Node: Multiple reference to footnotes173051
-Node: Footnote parameters173909
-Node: Definitions174659
-Node: \newcommand & \renewcommand175472
-Node: \providecommand179308
-Node: \newcounter179969
-Node: \newlength180940
-Node: \newsavebox181587
-Node: \newenvironment & \renewenvironment182198
-Node: \newtheorem186558
-Node: \newfont190047
-Node: \protect191612
-Node: Counters193746
-Node: \alph \Alph \arabic \roman \Roman \fnsymbol195346
-Node: \usecounter197418
-Node: \value198250
-Node: \setcounter199193
-Node: \addtocounter199679
-Node: \refstepcounter200144
-Node: \stepcounter200802
-Node: \day \month \year201144
-Node: Lengths201689
-Node: Units of length203479
-Node: \setlength204973
-Node: \addtolength205377
-Node: \settodepth205695
-Node: \settoheight205986
-Node: \settowidth206283
-Node: Predefined lengths206591
-Node: Making paragraphs207106
-Node: \indent207678
-Node: \noindent208140
-Node: \parskip208649
-Node: Marginal notes208907
-Node: Math formulas210719
-Node: Subscripts & superscripts212503
-Node: Math symbols213841
-Node: Math functions239171
-Node: Math accents240114
-Node: Spacing in math mode241086
-Node: Math miscellany242553
-Node: Modes245103
-Node: \ensuremath246943
-Node: Page styles247859
-Node: \maketitle248353
-Node: \pagenumbering249423
-Node: \pagestyle249919
-Node: \thispagestyle251060
-Node: Spaces251366
-Node: \hspace252291
-Node: \hfill253246
-Node: \(SPACE) and \@253641
-Ref: \AT253802
-Node: \(SPACE) after control sequence255339
-Node: \frenchspacing256257
-Node: \thinspace256875
-Node: \/257178
-Node: \hrulefill \dotfill258360
-Node: \addvspace259353
-Node: \bigskip \medskip \smallskip260399
-Node: \vfill261293
-Node: \vspace262162
-Node: Boxes263155
-Node: \mbox263880
-Node: \fbox and \framebox264167
-Node: lrbox264970
-Node: \makebox265329
-Node: \parbox266049
-Node: \raisebox267617
-Node: \savebox268214
-Node: \sbox268629
-Node: \usebox269078
-Node: Special insertions269339
-Node: Reserved characters270077
-Node: Symbols by font position271282
-Node: Text symbols271901
-Node: Accents275349
-Node: Additional Latin letters277891
-Ref: Non-English characters278062
-Node: \rule279079
-Node: \today279508
-Node: Splitting the input280262
-Node: \include281026
-Node: \includeonly281617
-Node: \input282130
-Node: Front/back matter282625
-Node: Tables of contents282830
-Node: \addcontentsline283891
-Node: \addtocontents284900
-Node: Glossaries285433
-Node: Indexes285952
-Node: Letters287585
-Node: \address291263
-Node: \cc292133
-Node: \closing292551
-Node: \encl292862
-Node: \location293277
-Node: \makelabels293546
-Node: \name294547
-Node: \opening294777
-Node: \ps295117
-Node: \signature295406
-Node: \telephone296498
-Node: Terminal input/output296863
-Node: \typein297128
-Node: \typeout297713
-Node: Command line298336
-Node: Document templates299288
-Node: beamer template299695
-Node: book template300346
-Node: tugboat template300714
-Node: Concept Index303078
-Node: Command Index356967
+Node: \@startsection17861
+Ref: \@startsection/name18836
+Ref: \@startsection/level19269
+Ref: \@startsection/indent20285
+Ref: \@startsection/beforeskip20547
+Ref: \@startsection/afterskip22033
+Ref: \@startsection/style23332
+Node: Document classes26326
+Node: Document class options27649
+Node: Additional packages30745
+Node: Class and package construction31376
+Node: Class and package structure32808
+Node: Class and package commands35017
+Node: Fonts49746
+Ref: Typefaces49849
+Node: Font styles50177
+Node: Font sizes54606
+Node: Low-level font commands55837
+Node: Layout61070
+Node: \onecolumn61568
+Node: \twocolumn61899
+Node: \flushbottom66294
+Node: \raggedbottom67394
+Node: Page layout parameters67930
+Node: Floats73628
+Node: Sectioning80093
+Node: Cross references81638
+Node: \label83504
+Node: \pageref85051
+Node: \ref85721
+Node: Environments86410
+Node: abstract88413
+Node: array90002
+Node: center92260
+Node: \centering93901
+Node: description95273
+Node: displaymath96887
+Node: document98745
+Node: \AtBeginDocument99175
+Node: \AtEndDocument99748
+Node: enumerate100345
+Node: eqnarray102619
+Node: equation104673
+Node: figure105191
+Node: filecontents107003
+Node: flushleft108756
+Node: \raggedright109249
+Node: flushright109808
+Node: \raggedleft110306
+Node: itemize110863
+Node: letter114496
+Node: list114734
+Node: \item115720
+Node: math116851
+Node: minipage117152
+Node: picture118344
+Node: \circle122639
+Node: \makebox (picture)122982
+Node: \framebox (picture)123688
+Node: \dashbox124178
+Node: \frame124701
+Node: \line125027
+Node: \linethickness125485
+Node: \thicklines125906
+Node: \thinlines126216
+Node: \multiput126518
+Node: \oval126885
+Node: \put127606
+Node: \shortstack127897
+Node: \vector128371
+Node: quotation and quote128685
+Node: tabbing129892
+Node: table133073
+Node: tabular134500
+Node: \multicolumn141708
+Node: \vline145593
+Node: \cline146938
+Node: \hline147622
+Node: thebibliography148305
+Node: \bibitem149447
+Node: \cite150205
+Node: \nocite150724
+Node: Using BibTeX151012
+Node: theorem152521
+Node: titlepage152907
+Node: verbatim154197
+Node: \verb154824
+Node: verse155374
+Node: Line breaking155868
+Node: \\156965
+Node: \obeycr & \restorecr158003
+Node: \newline158405
+Node: \- (hyphenation)159239
+Node: \discretionary159854
+Node: \fussy160146
+Node: \sloppy160536
+Node: \hyphenation160863
+Node: \linebreak & \nolinebreak161488
+Node: Page breaking162140
+Node: \cleardoublepage162748
+Node: \clearpage163177
+Node: \newpage163474
+Node: \enlargethispage163705
+Node: \pagebreak & \nopagebreak164232
+Node: Footnotes164926
+Node: \footnote166180
+Node: \footnotemark167976
+Node: \footnotetext169220
+Node: Footnotes in a table169710
+Node: Footnotes in section headings171567
+Node: Footnotes of footnotes172423
+Node: Multiple reference to footnotes173190
+Node: Footnote parameters174048
+Node: Definitions174798
+Node: \newcommand & \renewcommand175611
+Node: \providecommand179447
+Node: \newcounter180108
+Node: \newlength181079
+Node: \newsavebox181726
+Node: \newenvironment & \renewenvironment182337
+Node: \newtheorem186697
+Node: \newfont190186
+Node: \protect191751
+Node: Counters193885
+Node: \alph \Alph \arabic \roman \Roman \fnsymbol195485
+Node: \usecounter197557
+Node: \value198389
+Node: \setcounter199332
+Node: \addtocounter199818
+Node: \refstepcounter200283
+Node: \stepcounter200941
+Node: \day \month \year201283
+Node: Lengths201828
+Node: Units of length203618
+Node: \setlength205112
+Node: \addtolength205516
+Node: \settodepth205834
+Node: \settoheight206125
+Node: \settowidth206422
+Node: Predefined lengths206730
+Node: Making paragraphs207245
+Node: \indent207817
+Node: \noindent208279
+Node: \parskip208788
+Node: Marginal notes209046
+Node: Math formulas210858
+Node: Subscripts & superscripts212642
+Node: Math symbols213980
+Node: Math functions239310
+Node: Math accents240253
+Node: Spacing in math mode241225
+Node: Math miscellany242692
+Node: Modes245242
+Node: \ensuremath247082
+Node: Page styles247998
+Node: \maketitle248492
+Node: \pagenumbering249562
+Node: \pagestyle250058
+Node: \thispagestyle251199
+Node: Spaces251505
+Node: \hspace252430
+Node: \hfill253385
+Node: \(SPACE) and \@253780
+Ref: \AT253941
+Node: \(SPACE) after control sequence255478
+Node: \frenchspacing256396
+Node: \thinspace257014
+Node: \/257317
+Node: \hrulefill \dotfill258499
+Node: \addvspace259492
+Node: \bigskip \medskip \smallskip260538
+Node: \vfill261432
+Node: \vspace262301
+Node: Boxes263294
+Node: \mbox264019
+Node: \fbox and \framebox264306
+Node: lrbox265109
+Node: \makebox265468
+Node: \parbox266188
+Node: \raisebox267756
+Node: \savebox268353
+Node: \sbox268768
+Node: \usebox269217
+Node: Special insertions269478
+Node: Reserved characters270216
+Node: Symbols by font position271421
+Node: Text symbols272040
+Node: Accents275488
+Node: Additional Latin letters278030
+Ref: Non-English characters278201
+Node: \rule279218
+Node: \today279647
+Node: Splitting the input280401
+Node: \include281165
+Node: \includeonly281756
+Node: \input282269
+Node: Front/back matter282764
+Node: Tables of contents282969
+Node: \addcontentsline284030
+Node: \addtocontents285039
+Node: Glossaries285572
+Node: Indexes286091
+Node: Letters287724
+Node: \address291402
+Node: \cc292272
+Node: \closing292690
+Node: \encl293001
+Node: \location293416
+Node: \makelabels293685
+Node: \name294686
+Node: \opening294916
+Node: \ps295256
+Node: \signature295545
+Node: \telephone296637
+Node: Terminal input/output297002
+Node: \typein297267
+Node: \typeout297852
+Node: Command line298475
+Node: Document templates299427
+Node: beamer template299834
+Node: book template300485
+Node: tugboat template300853
+Node: Concept Index303217
+Node: Command Index357076
 
 End Tag Table

Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi	2017-07-26 11:26:09 UTC (rev 563)
+++ trunk/latex2e.texi	2017-07-26 20:32:20 UTC (rev 564)
@@ -595,16 +595,21 @@
 @code{\usepackage} and @code{\documentclass} commands set the at sign to
 have the character code of a letter.
 
- at PkgIndex{macros2e} For a comprehensive list of macros with an at-sign
-in their names, see document
- at url{http://ctan.org/pkg/macros2e}. These macros are mainly useful
-to package or class authors; examples that may be useful to document
-authors are provided hereinafter.
+ at PkgIndex{macros2e}
+For a comprehensive list of macros with an at-sign
+in their names see @url{http://ctan.org/pkg/macros2e}. These macros are
+mainly intended to package or class authors.
 
-The example code below, if put in the preamble, redefines the
-section command to center the section title, put it in bold type,
-and adjust the spacing.
+The example below is typical.  In the user's class file is a command
+ at code{\thesis@@universityname}.  The user wants to change the
+definition.  These three lines should go in the preamble, before the
+ at code{begin@{document@}}.
 
+ at example
+\makeatletter
+\renewcommand@{\thesis@@universityname@}@{Saint Michael's College@}
+\makeatother
+ at end example
 
 @menu
 * \@@startsection:: Redefine layout of start of sections, subsections, etc.



More information about the latexrefman-commits mailing list