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

jimhefferon at gnu.org.ua jimhefferon at gnu.org.ua
Sat Nov 24 16:11:27 CET 2018


Author: jimhefferon
Date: 2018-11-24 17:11:27 +0200 (Sat, 24 Nov 2018)
New Revision: 740

Modified:
   trunk/ChangeLog
   trunk/latex2e.html
   trunk/latex2e.info
   trunk/latex2e.pdf
   trunk/latex2e.texi
Log:
\DeclareTextCommandDefault

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2018-11-24 13:10:48 UTC (rev 739)
+++ trunk/ChangeLog	2018-11-24 15:11:27 UTC (rev 740)
@@ -1,5 +1,9 @@
 2018-11-24  Jim Hefferon  <jhefferon at smcvt.edu>
 
+	* latex2e.texi (\DeclareTextCommandDefault & \ProvideTextCommandDefault): Added.
+
+2018-11-24  Jim Hefferon  <jhefferon at smcvt.edu>
+
 	* latex2e.texi (\DeclareFontEncoding): Added.
         (\DeclareTextCompositeCommand): Added.
         (\LastDeclaredEncoding): Added.

Modified: trunk/latex2e.html
===================================================================
--- trunk/latex2e.html	2018-11-24 13:10:48 UTC (rev 739)
+++ trunk/latex2e.html	2018-11-24 15:11:27 UTC (rev 740)
@@ -188,10 +188,11 @@
       <li><a name="toc-_005cDeclareFontEncoding-1" href="#g_t_005cDeclareFontEncoding">4.1.1 <code>\DeclareFontEncoding</code></a></li>
       <li><a name="toc-_005cDeclareTextAccent-1" href="#g_t_005cDeclareTextAccent">4.1.2 <code>\DeclareTextAccent</code></a></li>
       <li><a name="toc-_005cDeclareTextCommand-_0026-_005cProvideTextCommand-1" href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand">4.1.3 <code>\DeclareTextCommand</code> & <code>\ProvideTextCommand</code></a></li>
-      <li><a name="toc-_005cDeclareTextComposite-1" href="#g_t_005cDeclareTextComposite">4.1.4 <code>\DeclareTextComposite</code></a></li>
-      <li><a name="toc-_005cDeclareTextCompositeCommand-1" href="#g_t_005cDeclareTextCompositeCommand">4.1.5 <code>\DeclareTextCompositeCommand</code></a></li>
-      <li><a name="toc-_005cDeclareTextSymbol-1" href="#g_t_005cDeclareTextSymbol">4.1.6 <code>\DeclareTextSymbol</code></a></li>
-      <li><a name="toc-_005cLastDeclaredEncoding-1" href="#g_t_005cLastDeclaredEncoding">4.1.7 <code>\LastDeclaredEncoding</code></a></li>
+      <li><a name="toc-_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault-" href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault">4.1.4 <code>\DeclareTextCommandDefault</code> & <code>\ProvideTextCommandDefault </code></a></li>
+      <li><a name="toc-_005cDeclareTextComposite-1" href="#g_t_005cDeclareTextComposite">4.1.5 <code>\DeclareTextComposite</code></a></li>
+      <li><a name="toc-_005cDeclareTextCompositeCommand-1" href="#g_t_005cDeclareTextCompositeCommand">4.1.6 <code>\DeclareTextCompositeCommand</code></a></li>
+      <li><a name="toc-_005cDeclareTextSymbol-1" href="#g_t_005cDeclareTextSymbol">4.1.7 <code>\DeclareTextSymbol</code></a></li>
+      <li><a name="toc-_005cLastDeclaredEncoding-1" href="#g_t_005cLastDeclaredEncoding">4.1.8 <code>\LastDeclaredEncoding</code></a></li>
     </ul></li>
     <li><a name="toc-Font-styles-1" href="#Font-styles">4.2 Font styles</a></li>
     <li><a name="toc-Font-sizes-1" href="#Font-sizes">4.3 Font sizes</a></li>
@@ -2143,14 +2144,16 @@
 </td></tr>
 <tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand" accesskey="3">\DeclareTextCommand & \ProvideTextCommand</a>:</td><td>  </td><td align="left" valign="top">New encoding-specific command.
 </td></tr>
-<tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextComposite" accesskey="4">\DeclareTextComposite</a>:</td><td>  </td><td align="left" valign="top">Directly access an accented glyph, in the encoding.
+<tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault" accesskey="4">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a>:</td><td>  </td><td align="left" valign="top">Fallback for encoding-specific commands.
 </td></tr>
-<tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextCompositeCommand" accesskey="5">\DeclareTextCompositeCommand</a>:</td><td>  </td><td align="left" valign="top">Run code in slot, in the encoding.
+<tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextComposite" accesskey="5">\DeclareTextComposite</a>:</td><td>  </td><td align="left" valign="top">Directly access an accented glyph, in the encoding.
 </td></tr>
-<tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextSymbol" accesskey="6">\DeclareTextSymbol</a>:</td><td>  </td><td align="left" valign="top">Define a symbol in the encoding.
+<tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextCompositeCommand" accesskey="6">\DeclareTextCompositeCommand</a>:</td><td>  </td><td align="left" valign="top">Run code in slot, in the encoding.
 </td></tr>
-<tr><td align="left" valign="top">• <a href="#g_t_005cLastDeclaredEncoding" accesskey="7">\LastDeclaredEncoding</a>:</td><td>  </td><td align="left" valign="top">Save most recently declared encoding.
+<tr><td align="left" valign="top">• <a href="#g_t_005cDeclareTextSymbol" accesskey="7">\DeclareTextSymbol</a>:</td><td>  </td><td align="left" valign="top">Define a symbol in the encoding.
 </td></tr>
+<tr><td align="left" valign="top">• <a href="#g_t_005cLastDeclaredEncoding" accesskey="8">\LastDeclaredEncoding</a>:</td><td>  </td><td align="left" valign="top">Save most recently declared encoding.
+</td></tr>
 </table>
 
 
@@ -2196,7 +2199,15 @@
 <p>If you invent an encoding you should pick a two or three letter name
 starting with ‘<samp>L</samp>’ for ‘<samp>local</samp>’, or ‘<samp>E</samp>’ for
 ‘<samp>experimental</samp>’.
-</p> 
+</p>
+<p>Note that output encoding files may be read several times by LaTeX so
+using, e.g., <code>\newcommand</code> may cause an error.  In addition, such
+files should contain <code>\ProvidesFile</code> line (see <a href="#Class-and-package-commands">Class and package commands</a>).
+</p>
+<p>Note also that you should use the <code>\...Default</code> commands only in a
+package, not in the encoding definition files, since those files
+should only contain declarations specific to that encoding.
+</p>
 
 <hr>
 <a name="g_t_005cDeclareTextAccent"></a>
@@ -2240,13 +2251,14 @@
 <a name="g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand"></a>
 <div class="header">
 <p>
-Next: <a href="#g_t_005cDeclareTextComposite" accesskey="n" rel="next">\DeclareTextComposite</a>, Previous: <a href="#g_t_005cDeclareTextAccent" accesskey="p" rel="prev">\DeclareTextAccent</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault" accesskey="n" rel="next">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a>, Previous: <a href="#g_t_005cDeclareTextAccent" accesskey="p" rel="prev">\DeclareTextAccent</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand-1"></a>
 <h4 class="subsection">4.1.3 <code>\DeclareTextCommand</code> & <code>\ProvideTextCommand</code></h4>
 
 <a name="index-Font-encoding-3"></a>
 <a name="index-_005cDeclareTextCommand"></a>
+<a name="index-_005cDeclareTextCommandDefault"></a>
 <a name="index-_005cProvideTextCommand"></a>
 
 <p>Synopsis, one of:
@@ -2307,15 +2319,64 @@
 </p>
 
 <hr>
+<a name="g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault"></a>
+<div class="header">
+<p>
+Next: <a href="#g_t_005cDeclareTextComposite" accesskey="n" rel="next">\DeclareTextComposite</a>, Previous: <a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand" accesskey="p" rel="prev">\DeclareTextCommand & \ProvideTextCommand</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault-"></a>
+<h4 class="subsection">4.1.4 <code>\DeclareTextCommandDefault</code> & <code>\ProvideTextCommandDefault </code></h4>
+<a name="index-Font-encoding-4"></a>
+<a name="index-_005cDeclareTextCommand-1"></a>
+<a name="index-_005cDeclareTextCommandDefault-1"></a>
+<a name="index-_005cProvideTextCommand-1"></a>
+<a name="index-_005cProvideTextCommandDefault"></a>
+
+<p>Synopsis:
+</p>
+<div class="example">
+<pre class="example">\DeclareTextCommandDefault{<var>cmd</var>}{<var>defn</var>}
+</pre></div>
+
+<p>or:
+</p>
+<div class="example">
+<pre class="example">\ProvideTextCommandDefault{<var>cmd</var>}{<var>defn</var>}
+</pre></div>
+
+<p>Give a default definition for <var>cmd</var>, for when that command is not
+defined in the encoding currently in force. This default should only use
+encodings known to be available.
+</p>
+<p>This makes <code>\copyright</code> available.
+</p>
+<div class="example">
+<pre class="example">\DeclareTextCommandDefault{\copyright}{\textcircled{c}}
+</pre></div>
+
+<p>It uses only an encoding (OMS) that is always available.
+</p>
+<p>The <code>\DeclareTextCommandDefault</code> should not occur in the encoding
+definition files since those files should declare only commands for use
+when you select that encoding. It should instead be in a package.
+</p>
+<p>As with the related non-default commands, the
+<code>\ProvideTextCommandDefault</code> has exactly the same behavior as
+<code>\DeclareTextCommandDefault</code> except that it does nothing if
+<var>cmd</var> is already defined (see <a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand">\DeclareTextCommand & \ProvideTextCommand</a>).  So, packages can use it to provide fallbacks
+that other packages can improve upon.
+</p>
+
+<hr>
 <a name="g_t_005cDeclareTextComposite"></a>
 <div class="header">
 <p>
-Next: <a href="#g_t_005cDeclareTextCompositeCommand" accesskey="n" rel="next">\DeclareTextCompositeCommand</a>, Previous: <a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand" accesskey="p" rel="prev">\DeclareTextCommand & \ProvideTextCommand</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="#g_t_005cDeclareTextCompositeCommand" accesskey="n" rel="next">\DeclareTextCompositeCommand</a>, Previous: <a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault" accesskey="p" rel="prev">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cDeclareTextComposite-1"></a>
-<h4 class="subsection">4.1.4 <code>\DeclareTextComposite</code></h4>
+<h4 class="subsection">4.1.5 <code>\DeclareTextComposite</code></h4>
 
-<a name="index-Font-encoding-4"></a>
+<a name="index-Font-encoding-5"></a>
 <a name="index-Accents_002c-defining-2"></a>
 <a name="index-_005cDeclareTextComposite"></a>
 
@@ -2353,9 +2414,9 @@
 Next: <a href="#g_t_005cDeclareTextSymbol" accesskey="n" rel="next">\DeclareTextSymbol</a>, Previous: <a href="#g_t_005cDeclareTextComposite" accesskey="p" rel="prev">\DeclareTextComposite</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cDeclareTextCompositeCommand-1"></a>
-<h4 class="subsection">4.1.5 <code>\DeclareTextCompositeCommand</code></h4>
+<h4 class="subsection">4.1.6 <code>\DeclareTextCompositeCommand</code></h4>
 
-<a name="index-Font-encoding-5"></a>
+<a name="index-Font-encoding-6"></a>
 <a name="index-Accents_002c-defining-3"></a>
 <a name="index-_005cDeclareTextCompositeCommand"></a>
 
@@ -2387,9 +2448,9 @@
 Next: <a href="#g_t_005cLastDeclaredEncoding" accesskey="n" rel="next">\LastDeclaredEncoding</a>, Previous: <a href="#g_t_005cDeclareTextCompositeCommand" accesskey="p" rel="prev">\DeclareTextCompositeCommand</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cDeclareTextSymbol-1"></a>
-<h4 class="subsection">4.1.6 <code>\DeclareTextSymbol</code></h4>
+<h4 class="subsection">4.1.7 <code>\DeclareTextSymbol</code></h4>
 
-<a name="index-Font-encoding-6"></a>
+<a name="index-Font-encoding-7"></a>
 <a name="index-Symbol_002c-defining"></a>
 <a name="index-_005cDeclareTextSymbol"></a>
 
@@ -2430,9 +2491,9 @@
 Previous: <a href="#g_t_005cDeclareTextSymbol" accesskey="p" rel="prev">\DeclareTextSymbol</a>, Up: <a href="#fontenc-package" accesskey="u" rel="up">fontenc package</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cLastDeclaredEncoding-1"></a>
-<h4 class="subsection">4.1.7 <code>\LastDeclaredEncoding</code></h4>
+<h4 class="subsection">4.1.8 <code>\LastDeclaredEncoding</code></h4>
 
-<a name="index-Font-encoding-7"></a>
+<a name="index-Font-encoding-8"></a>
 <a name="index-_005cLastDeclaredEncoding"></a>
 
 <p>Synopsis:
@@ -24293,6 +24354,9 @@
 <tr><td></td><td valign="top"><a href="#index-_005cDeclareRobustCommand_002a"><code>\DeclareRobustCommand*</code></a>:</td><td> </td><td valign="top"><a href="#Class-and-package-commands">Class and package commands</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cDeclareTextAccent"><code>\DeclareTextAccent</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextAccent">\DeclareTextAccent</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cDeclareTextCommand"><code>\DeclareTextCommand</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand">\DeclareTextCommand & \ProvideTextCommand</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-_005cDeclareTextCommand-1"><code>\DeclareTextCommand</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-_005cDeclareTextCommandDefault"><code>\DeclareTextCommandDefault</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand">\DeclareTextCommand & \ProvideTextCommand</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-_005cDeclareTextCommandDefault-1"><code>\DeclareTextCommandDefault</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cDeclareTextComposite"><code>\DeclareTextComposite</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextComposite">\DeclareTextComposite</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cDeclareTextCompositeCommand"><code>\DeclareTextCompositeCommand</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCompositeCommand">\DeclareTextCompositeCommand</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cDeclareTextSymbol"><code>\DeclareTextSymbol</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextSymbol">\DeclareTextSymbol</a></td></tr>
@@ -24710,6 +24774,8 @@
 <tr><td></td><td valign="top"><a href="#index-_005cProvidesFile"><code>\ProvidesFile</code></a>:</td><td> </td><td valign="top"><a href="#Class-and-package-commands">Class and package commands</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cProvidesPackage"><code>\ProvidesPackage</code></a>:</td><td> </td><td valign="top"><a href="#Class-and-package-commands">Class and package commands</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cProvideTextCommand"><code>\ProvideTextCommand</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand">\DeclareTextCommand & \ProvideTextCommand</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-_005cProvideTextCommand-1"><code>\ProvideTextCommand</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-_005cProvideTextCommandDefault"><code>\ProvideTextCommandDefault</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cps"><code>\ps</code></a>:</td><td> </td><td valign="top"><a href="#g_t_005cps">\ps</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cPsi"><code>\Psi</code></a>:</td><td> </td><td valign="top"><a href="#Math-symbols">Math symbols</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-_005cpsi"><code>\psi</code></a>:</td><td> </td><td valign="top"><a href="#Math-symbols">Math symbols</a></td></tr>
@@ -25454,10 +25520,11 @@
 <tr><td></td><td valign="top"><a href="#index-Font-encoding-1">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareFontEncoding">\DeclareFontEncoding</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-Font-encoding-2">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextAccent">\DeclareTextAccent</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-Font-encoding-3">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommand-_0026-_005cProvideTextCommand">\DeclareTextCommand & \ProvideTextCommand</a></td></tr>
-<tr><td></td><td valign="top"><a href="#index-Font-encoding-4">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextComposite">\DeclareTextComposite</a></td></tr>
-<tr><td></td><td valign="top"><a href="#index-Font-encoding-5">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCompositeCommand">\DeclareTextCompositeCommand</a></td></tr>
-<tr><td></td><td valign="top"><a href="#index-Font-encoding-6">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextSymbol">\DeclareTextSymbol</a></td></tr>
-<tr><td></td><td valign="top"><a href="#index-Font-encoding-7">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cLastDeclaredEncoding">\LastDeclaredEncoding</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-Font-encoding-4">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCommandDefault-_0026-_005cProvideTextCommandDefault">\DeclareTextCommandDefault & \ProvideTextCommandDefault</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-Font-encoding-5">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextComposite">\DeclareTextComposite</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-Font-encoding-6">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextCompositeCommand">\DeclareTextCompositeCommand</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-Font-encoding-7">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cDeclareTextSymbol">\DeclareTextSymbol</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-Font-encoding-8">Font encoding</a>:</td><td> </td><td valign="top"><a href="#g_t_005cLastDeclaredEncoding">\LastDeclaredEncoding</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-font-size">font size</a>:</td><td> </td><td valign="top"><a href="#Low_002dlevel-font-commands">Low-level font commands</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-font-sizes">font sizes</a>:</td><td> </td><td valign="top"><a href="#Font-sizes">Font sizes</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-font-styles">font styles</a>:</td><td> </td><td valign="top"><a href="#Font-styles">Font styles</a></td></tr>

Modified: trunk/latex2e.info
===================================================================
--- trunk/latex2e.info	2018-11-24 13:10:48 UTC (rev 739)
+++ trunk/latex2e.info	2018-11-24 15:11:27 UTC (rev 740)
@@ -1149,6 +1149,7 @@
 * \DeclareFontEncoding::    Define an encoding.
 * \DeclareTextAccent::      Define an accent in the encoding.
 * \DeclareTextCommand & \ProvideTextCommand::  New encoding-specific command.
+* \DeclareTextCommandDefault & \ProvideTextCommandDefault::  Fallback for encoding-specific commands.
 * \DeclareTextComposite::   Directly access an accented glyph, in the encoding.
 * \DeclareTextCompositeCommand::   Run code in slot, in the encoding.
 * \DeclareTextSymbol::      Define a symbol in the encoding.
@@ -1182,6 +1183,15 @@
    If you invent an encoding you should pick a two or three letter name
 starting with 'L' for 'local', or 'E' for 'experimental'.
 
+   Note that output encoding files may be read several times by LaTeX so
+using, e.g., '\newcommand' may cause an error.  In addition, such files
+should contain '\ProvidesFile' line (*note Class and package
+commands::).
+
+   Note also that you should use the '\...Default' commands only in a
+package, not in the encoding definition files, since those files should
+only contain declarations specific to that encoding.
+
 
 File: latex2e.info,  Node: \DeclareTextAccent,  Next: \DeclareTextCommand & \ProvideTextCommand,  Prev: \DeclareFontEncoding,  Up: fontenc package
 
@@ -1208,7 +1218,7 @@
 give an error but it does log the redefinition in the transcript file.
 
 
-File: latex2e.info,  Node: \DeclareTextCommand & \ProvideTextCommand,  Next: \DeclareTextComposite,  Prev: \DeclareTextAccent,  Up: fontenc package
+File: latex2e.info,  Node: \DeclareTextCommand & \ProvideTextCommand,  Next: \DeclareTextCommandDefault & \ProvideTextCommandDefault,  Prev: \DeclareTextAccent,  Up: fontenc package
 
 4.1.3 '\DeclareTextCommand' & '\ProvideTextCommand'
 ---------------------------------------------------
@@ -1260,9 +1270,44 @@
 is not present then '\CMD' does not take an optional argument.
 
 
-File: latex2e.info,  Node: \DeclareTextComposite,  Next: \DeclareTextCompositeCommand,  Prev: \DeclareTextCommand & \ProvideTextCommand,  Up: fontenc package
+File: latex2e.info,  Node: \DeclareTextCommandDefault & \ProvideTextCommandDefault,  Next: \DeclareTextComposite,  Prev: \DeclareTextCommand & \ProvideTextCommand,  Up: fontenc package
 
-4.1.4 '\DeclareTextComposite'
+4.1.4 '\DeclareTextCommandDefault' & '\ProvideTextCommandDefault '
+------------------------------------------------------------------
+
+Synopsis:
+
+     \DeclareTextCommandDefault{CMD}{DEFN}
+
+   or:
+
+     \ProvideTextCommandDefault{CMD}{DEFN}
+
+   Give a default definition for CMD, for when that command is not
+defined in the encoding currently in force.  This default should only
+use encodings known to be available.
+
+   This makes '\copyright' available.
+
+     \DeclareTextCommandDefault{\copyright}{\textcircled{c}}
+
+   It uses only an encoding (OMS) that is always available.
+
+   The '\DeclareTextCommandDefault' should not occur in the encoding
+definition files since those files should declare only commands for use
+when you select that encoding.  It should instead be in a package.
+
+   As with the related non-default commands, the
+'\ProvideTextCommandDefault' has exactly the same behavior as
+'\DeclareTextCommandDefault' except that it does nothing if CMD is
+already defined (*note \DeclareTextCommand & \ProvideTextCommand::).
+So, packages can use it to provide fallbacks that other packages can
+improve upon.
+
+
+File: latex2e.info,  Node: \DeclareTextComposite,  Next: \DeclareTextCompositeCommand,  Prev: \DeclareTextCommandDefault & \ProvideTextCommandDefault,  Up: fontenc package
+
+4.1.5 '\DeclareTextComposite'
 -----------------------------
 
 Synopsis:
@@ -1289,7 +1334,7 @@
 
 File: latex2e.info,  Node: \DeclareTextCompositeCommand,  Next: \DeclareTextSymbol,  Prev: \DeclareTextComposite,  Up: fontenc package
 
-4.1.5 '\DeclareTextCompositeCommand'
+4.1.6 '\DeclareTextCompositeCommand'
 ------------------------------------
 
 Synopsis:
@@ -1310,7 +1355,7 @@
 
 File: latex2e.info,  Node: \DeclareTextSymbol,  Next: \LastDeclaredEncoding,  Prev: \DeclareTextCompositeCommand,  Up: fontenc package
 
-4.1.6 '\DeclareTextSymbol'
+4.1.7 '\DeclareTextSymbol'
 --------------------------
 
 Synopsis:
@@ -1340,7 +1385,7 @@
 
 File: latex2e.info,  Node: \LastDeclaredEncoding,  Prev: \DeclareTextSymbol,  Up: fontenc package
 
-4.1.7 '\LastDeclaredEncoding'
+4.1.8 '\LastDeclaredEncoding'
 -----------------------------
 
 Synopsis:
@@ -16600,6 +16645,12 @@
 * \DeclareTextAccent:                    \DeclareTextAccent.  (line   6)
 * \DeclareTextCommand:                   \DeclareTextCommand & \ProvideTextCommand.
                                                               (line   6)
+* \DeclareTextCommand <1>:               \DeclareTextCommandDefault & \ProvideTextCommandDefault.
+                                                              (line   6)
+* \DeclareTextCommandDefault:            \DeclareTextCommand & \ProvideTextCommand.
+                                                              (line   6)
+* \DeclareTextCommandDefault <1>:        \DeclareTextCommandDefault & \ProvideTextCommandDefault.
+                                                              (line   6)
 * \DeclareTextComposite:                 \DeclareTextComposite.
                                                               (line   6)
 * \DeclareTextCompositeCommand:          \DeclareTextCompositeCommand.
@@ -17118,6 +17169,10 @@
                                                               (line 281)
 * \ProvideTextCommand:                   \DeclareTextCommand & \ProvideTextCommand.
                                                               (line   6)
+* \ProvideTextCommand <1>:               \DeclareTextCommandDefault & \ProvideTextCommandDefault.
+                                                              (line   6)
+* \ProvideTextCommandDefault:            \DeclareTextCommandDefault & \ProvideTextCommandDefault.
+                                                              (line   6)
 * \ps:                                   \ps.                 (line   6)
 * \Psi:                                  Math symbols.        (line 554)
 * \psi:                                  Math symbols.        (line 557)
@@ -17959,13 +18014,15 @@
 * Font encoding <2>:                     \DeclareTextAccent.  (line   6)
 * Font encoding <3>:                     \DeclareTextCommand & \ProvideTextCommand.
                                                               (line   6)
-* Font encoding <4>:                     \DeclareTextComposite.
+* Font encoding <4>:                     \DeclareTextCommandDefault & \ProvideTextCommandDefault.
                                                               (line   6)
-* Font encoding <5>:                     \DeclareTextCompositeCommand.
+* Font encoding <5>:                     \DeclareTextComposite.
                                                               (line   6)
-* Font encoding <6>:                     \DeclareTextSymbol.  (line   6)
-* Font encoding <7>:                     \LastDeclaredEncoding.
+* Font encoding <6>:                     \DeclareTextCompositeCommand.
                                                               (line   6)
+* Font encoding <7>:                     \DeclareTextSymbol.  (line   6)
+* Font encoding <8>:                     \LastDeclaredEncoding.
+                                                              (line   6)
 * font size:                             Low-level font commands.
                                                               (line 101)
 * font sizes:                            Font sizes.          (line   6)
@@ -18939,493 +18996,494 @@
 Node: Fonts44491
 Ref: Typefaces44594
 Node: fontenc package46589
-Node: \DeclareFontEncoding50349
-Node: \DeclareTextAccent51351
-Node: \DeclareTextCommand & \ProvideTextCommand52224
-Node: \DeclareTextComposite54417
-Node: \DeclareTextCompositeCommand55489
-Node: \DeclareTextSymbol56163
-Node: \LastDeclaredEncoding57266
-Node: Font styles57841
-Node: Font sizes62130
-Node: Low-level font commands63749
-Ref: low level font commands fontencoding64033
-Ref: low level font commands fontfamily64589
-Ref: low level font commands fontseries65354
-Ref: low level font commands fontshape66506
-Ref: low level font commands fontsize66803
-Ref: low level font commands baselinestretch67328
-Ref: low level font commands linespread68037
-Ref: low level font commands selectfont68287
-Ref: low level font commands usefont68613
-Node: Layout68856
-Node: \onecolumn69354
-Node: \twocolumn69713
-Ref: twocolumn columnsep70336
-Ref: twocolumn columnseprule70585
-Ref: twocolumn columnwidth70881
-Ref: twocolumn dbltopfraction71447
-Ref: twocolumn dblfloatpagefraction72390
-Ref: twocolumn dblfloatsep72637
-Ref: twocolumn dbltextfloatsep72942
-Ref: twocolumn dbltopnumber73125
-Node: \flushbottom74090
-Node: \raggedbottom75190
-Node: Page layout parameters75726
-Ref: page layout parameters columnsep75929
-Ref: page layout parameters columnseprule75929
-Ref: page layout parameters columnwidth75929
-Ref: page layout parameters headheight76183
-Ref: page layout parameters headsep76350
-Ref: page layout parameters footskip76663
-Ref: page layout parameters linewidth76997
-Ref: page layout parameters marginparpush77350
-Ref: page layout parameters marginsep77350
-Ref: page layout parameters marginparwidth77350
-Ref: page layout parameters oddsidemargin78390
-Ref: page layout parameters evensidemargin78390
-Ref: page layout parameters paperheight78927
-Ref: page layout parameters paperwidth79153
-Ref: page layout parameters textheight79377
-Ref: page layout parameters textwidth79766
-Ref: page layout parameters hsize80695
-Ref: page layout parameters topmargin80901
-Ref: page layout parameters topskip81205
-Node: Floats81421
-Ref: floats bottomfraction85789
-Ref: floats floatpagefraction85916
-Ref: floats textfraction86027
-Ref: floats topfraction86229
-Ref: floats floatsep86481
-Ref: floats intextsep86591
-Ref: floats textfloatsep86806
-Ref: floats bottomnumber87070
-Ref: floats dbltopnumber87178
-Ref: floats topnumber87297
-Ref: floats totalnumber87401
-Node: Sectioning87930
-Ref: sectioning secnumdepth91007
-Ref: Sectioning/secnumdepth91007
-Ref: sectioning tocdepth91608
-Ref: Sectioning/tocdepth91608
-Node: \part92653
-Node: \chapter94829
-Node: \section98603
-Node: \subsection101870
-Node: \subsubsection & \paragraph & \subparagraph104584
-Node: \appendix107241
-Node: \frontmatter & \mainmatter & \backmatter108531
-Node: \@startsection109872
-Ref: startsection name111249
-Ref: \@startsection/name111249
-Ref: startsection level111703
-Ref: \@startsection/level111703
-Ref: startsection indent112583
-Ref: \@startsection/indent112583
-Ref: startsection beforeskip112846
-Ref: \@startsection/beforeskip112846
-Ref: startsection afterskip114367
-Ref: \@startsection/afterskip114367
-Ref: startsection style115678
-Ref: \@startsection/style115678
-Node: Cross references119384
-Node: \label121477
-Node: \pageref123297
-Node: \ref124087
-Node: Environments125063
-Node: abstract127065
-Node: array128654
-Node: center131546
-Node: \centering133298
-Node: description134795
-Node: displaymath137010
-Node: document138797
-Node: \AtBeginDocument139227
-Node: \AtEndDocument139851
-Node: enumerate140495
-Ref: enumerate enumi142358
-Ref: enumerate enumii142358
-Ref: enumerate enumiii142358
-Ref: enumerate enumiv142358
-Ref: enumerate labelenumi142756
-Ref: enumerate labelenumii142756
-Ref: enumerate labelenumiii142756
-Ref: enumerate labelenumiv142756
-Node: eqnarray143295
-Node: equation145290
-Node: figure145958
-Node: filecontents148112
-Node: flushleft149811
-Node: \raggedright150828
-Node: flushright152026
-Node: \raggedleft152762
-Node: itemize153552
-Ref: itemize labelitemi154774
-Ref: itemize labelitemii154774
-Ref: itemize labelitemiii154774
-Ref: itemize labelitemiv154774
-Ref: itemize leftmargin155616
-Ref: itemize leftmargini155616
-Ref: itemize leftmarginii155616
-Ref: itemize leftmarginiii155616
-Ref: itemize leftmarginiv155616
-Ref: itemize leftmarginv155616
-Ref: itemize leftmarginvi155616
-Node: letter157020
-Node: list157258
-Ref: list makelabel159705
-Ref: list itemindent161090
-Ref: list itemsep161227
-Ref: list labelsep161880
-Ref: list labelwidth162043
-Ref: list leftmargin163054
-Ref: list listparindent163907
-Ref: list parsep164138
-Ref: list partopsep164606
-Ref: list rightmargin165404
-Ref: list topsep165589
-Ref: list beginparpenalty169164
-Ref: list itempenalty169263
-Ref: list endparpenalty169367
-Node: \item170239
-Node: trivlist171487
-Node: math173015
-Node: minipage173321
-Node: picture178598
-Node: \put185067
-Node: \multiput185632
-Node: \qbezier186371
-Node: \graphpaper187296
-Node: \line188090
-Node: \linethickness190054
-Node: \thinlines190503
-Node: \thicklines190914
-Node: \circle191298
-Node: \oval191838
-Node: \shortstack192814
-Node: \vector194211
-Node: \makebox (picture)195127
-Node: \framebox (picture)196309
-Node: \frame197782
-Node: \dashbox198222
-Node: quotation & quote199357
-Node: tabbing200253
-Node: table206246
-Node: tabular208339
-Ref: tabular arrayrulewidth214668
-Ref: tabular arraystrech214908
-Ref: tabular doublerulesep215129
-Ref: tabular tabcolsep215265
-Node: \multicolumn215786
-Node: \vline219662
-Node: \cline221053
-Node: \hline221763
-Node: thebibliography222445
-Node: \bibitem224855
-Node: \cite227130
-Node: \nocite228885
-Node: Using BibTeX229369
-Node: theorem231524
-Node: titlepage232446
-Node: verbatim233729
-Node: \verb235239
-Node: verse237059
-Node: Line breaking238286
-Node: \\239652
-Node: \obeycr & \restorecr242085
-Node: \newline242879
-Node: \- (hyphenation)243908
-Node: \discretionary245546
-Node: \fussy & \sloppy246434
-Node: sloppypar247217
-Node: \hyphenation248363
-Node: \linebreak & \nolinebreak248957
-Node: Page breaking250104
-Node: \clearpage & \cleardoublepage252133
-Node: \newpage253653
-Node: \enlargethispage254951
-Node: \pagebreak & \nopagebreak255907
-Node: Footnotes257573
-Node: \footnote258719
-Ref: footnote footnoterule259987
-Ref: footnote footnotesep260598
-Node: \footnotemark261664
-Node: \footnotetext264003
-Node: Footnotes in section headings264604
-Node: Footnotes in a table265437
-Node: Footnotes of footnotes268359
-Node: Definitions269063
-Node: \newcommand & \renewcommand270039
-Node: \providecommand275270
-Node: \makeatletter & \makeatother276433
-Node: \@ifstar278581
-Node: \newcounter281400
-Node: \newlength283120
-Node: \newsavebox283942
-Node: \newenvironment & \renewenvironment284921
-Node: \newtheorem290245
-Node: \newfont293817
-Node: \protect295050
-Node: \ignorespaces & \ignorespacesafterend297438
-Node: Counters300176
-Node: \alph \Alph \arabic \roman \Roman \fnsymbol301877
-Node: \usecounter304531
-Node: \value305390
-Node: \setcounter306443
-Node: \addtocounter307039
-Node: \refstepcounter307493
-Node: \stepcounter308162
-Node: \day & \month & \year308708
-Node: Lengths309519
-Node: Units of length313988
-Ref: units of length pt314191
-Ref: units of length pc314314
-Ref: units of length in314337
-Ref: units of length bp314363
-Ref: units of length cm314494
-Ref: units of length mm314516
-Ref: units of length dd314538
-Ref: units of length cc314570
-Ref: units of length sp314595
-Ref: Lengths/em314626
-Ref: Lengths/en314626
-Ref: Lengths/ex314626
-Ref: units of length em314626
-Ref: units of length en314626
-Ref: units of length ex314626
-Node: \setlength315482
-Node: \addtolength316567
-Node: \settodepth317642
-Node: \settoheight318520
-Node: \settowidth319413
-Node: Making paragraphs320281
-Node: \par322052
-Node: \indent & \noindent323999
-Node: \parindent & \parskip325533
-Node: Marginal notes326818
-Ref: marginal notes marginparpush328214
-Ref: marginal notes marginparsep328327
-Ref: marginal notes marginparwidth328459
-Node: Math formulas328808
-Node: Subscripts & superscripts332976
-Node: Math symbols335137
-Node: Arrows360993
-Node: \boldmath & \unboldmath362129
-Node: Blackboard bold363648
-Node: Calligraphic364452
-Node: Delimiters364983
-Node: \left & \right367037
-Node: \bigl & \bigr etc371042
-Node: Dots373793
-Ref: ellipses cdots374224
-Ref: ellipses ddots374371
-Ref: ellipses ldots374460
-Ref: ellipses vdots374881
-Node: Greek letters376067
-Node: Math functions377784
-Node: Math accents379428
-Node: Over- and Underlining380327
-Node: Spacing in math mode382154
-Ref: spacing in math mode thickspace383086
-Ref: spacing in math mode medspace383178
-Ref: Spacing in math mode/\thinspace383274
-Ref: spacing in math mode thinspace383274
-Ref: spacing in math mode negthinspace383755
-Ref: spacing in math mode quad383953
-Ref: spacing in math mode qquad384209
-Node: \smash384487
-Node: \phantom & \vphantom & \hphantom386704
-Node: Math miscellany388741
-Node: Colon character & \colon389247
-Node: \*389940
-Node: \frac390524
-Node: \sqrt390895
-Node: \stackrel391481
-Node: Modes391754
-Ref: modes paragraph mode392204
-Ref: modes lr mode392400
-Ref: modes math mode393006
-Ref: modes vertical mode393341
-Ref: modes internal vertical mode393512
-Ref: modes inner paragraph mode393985
-Ref: modes outer paragraph mode393985
-Node: \ensuremath394399
-Node: Page styles395104
-Node: \maketitle395867
-Node: \pagenumbering398884
-Node: \pagestyle400872
-Node: \thispagestyle404374
-Node: Spaces405328
-Node: \enspace & \quad & \qquad406769
-Node: \hspace407683
-Node: \hfill409521
-Node: \hss410585
-Node: \spacefactor411279
-Node: \@414666
-Ref: \AT414766
-Node: \frenchspacing416706
-Node: \normalsfcodes417541
-Node: \(SPACE)417788
-Node: ~419578
-Node: \thinspace & \negthinspace422048
-Node: \/422991
-Node: \hrulefill & \dotfill424297
-Node: \bigskip & \medskip & \smallskip425653
-Ref: bigskip426471
-Ref: medskip426675
-Ref: smallskip426884
-Node: \bigbreak & \medbreak & \smallbreak427545
-Node: \strut428531
-Node: \vspace431726
-Node: \vfill433289
-Node: \addvspace434217
-Node: Boxes436215
-Node: \mbox & \makebox436921
-Ref: mbox makebox depth438133
-Ref: mbox makebox height438133
-Ref: mbox makebox width438133
-Ref: mbox makebox totalheight438133
-Node: \fbox & \framebox440227
-Ref: fbox framebox fboxrule441540
-Ref: fbox framebox fboxsep441730
-Node: \parbox442819
-Node: \raisebox445123
-Ref: raisebox depth446086
-Ref: raisebox height446086
-Ref: raisebox width446086
-Ref: raisebox totalheight446086
-Node: \sbox & \savebox446800
-Node: lrbox449766
-Node: \usebox450588
-Node: Color450994
-Node: Color package options451793
-Node: Color models453439
-Ref: color models cmyk454236
-Ref: color models gray454599
-Ref: color models rgb454748
-Ref: color models RGB455085
-Ref: color models named455460
-Node: Commands for color455748
-Node: Define colors456163
-Node: Colored text456888
-Node: Colored boxes459286
-Node: Colored pages460675
-Node: Graphics461368
-Node: Graphics package options463495
-Node: Graphics package configuration466248
-Node: \graphicspath467050
-Node: \DeclareGraphicsExtensions469941
-Node: \DeclareGraphicsRule471709
-Node: Commands for graphics474891
-Node: \includegraphics475396
-Ref: includegraphics width480446
-Ref: includegraphics height480977
-Ref: includegraphics totalheght481383
-Ref: includegraphics keepaspectratio481647
-Ref: includegraphics viewport483333
-Ref: includegraphics trim483703
-Ref: includegraphics clip484159
-Ref: includegraphics page484419
-Ref: includegraphics pagebox484510
-Ref: includegraphics interpolate485375
-Ref: includegraphics quiet485580
-Ref: includegraphics draft485741
-Ref: includegraphics bb486546
-Ref: includegraphics bbllx486944
-Ref: includegraphics bblly486944
-Ref: includegraphics bburx486944
-Ref: includegraphics bbury486944
-Ref: includegraphics natwidth487086
-Ref: includegraphics natheight487086
-Ref: includegraphics hiresbb487272
-Ref: includegraphics type488034
-Ref: includegraphics ext488074
-Ref: includegraphics read488177
-Ref: includegraphics command488294
-Node: \rotatebox488539
-Node: \scalebox491393
-Node: \resizebox492449
-Node: Special insertions493641
-Node: Reserved characters494443
-Node: Upper and lower case495645
-Node: Symbols by font position497560
-Node: Text symbols498180
-Node: Accents502181
-Node: \accent504286
-Node: Additional Latin letters506052
-Ref: Non-English characters506223
-Node: \rule507240
-Node: \today508412
-Node: Splitting the input509348
-Node: \endinput511089
-Node: \include & \includeonly512356
-Node: \input516578
-Node: Front/back matter517793
-Node: Table of contents etc.518126
-Node: \addcontentsline521862
-Node: \addtocontents524704
-Node: \nofiles526295
-Node: Indexes527027
-Node: \index528655
-Node: makeindex533764
-Ref: makeindex preamble535432
-Ref: makeindex postamble535572
-Ref: makeindex group skip535657
-Ref: makeindex letheadflag535977
-Ref: makeindex lethead prefix536438
-Ref: makeindex lethead suffix536590
-Ref: makeindex item 0536738
-Ref: makeindex item 1536818
-Ref: makeindex item 2536893
-Ref: makeindex item 01536971
-Ref: makeindex item x1537076
-Ref: makeindex item 12537281
-Ref: makeindex item x2537389
-Ref: makeindex delim 0537549
-Ref: makeindex delim 1537679
-Ref: makeindex delim 2537809
-Ref: makeindex delim n537935
-Ref: makeindex delim r538070
-Ref: makeindex line max538178
-Ref: makeindex indent space538313
-Ref: makeindex indent length538408
-Ref: makeindex page precedence538593
-Node: \printindex539467
-Node: Glossaries539939
-Node: \newglossaryentry541906
-Node: \gls543375
-Node: Letters544169
-Node: \address547787
-Node: \cc548598
-Node: \closing549040
-Node: \encl549354
-Node: \location549768
-Node: \makelabels550032
-Node: \name552349
-Node: \opening552590
-Node: \ps552871
-Node: \signature553160
-Node: \telephone554388
-Node: Input/output554753
-Node: \openin & \openout555473
-Node: \read558209
-Node: \typein559287
-Node: \typeout560541
-Node: \write561591
-Node: \message566673
-Node: \wlog568436
-Node: \write18568939
-Node: Command line571608
-Node: Command line options573657
-Node: Command line input577234
-Node: Recovering from errors579097
-Node: Document templates580443
-Node: beamer template580888
-Node: article template581542
-Node: book template581969
-Node: Larger book template582450
-Node: tugboat template583936
-Node: Index586307
-Ref: Command Index586393
+Node: \DeclareFontEncoding50451
+Node: \DeclareTextAccent51869
+Node: \DeclareTextCommand & \ProvideTextCommand52742
+Node: \DeclareTextCommandDefault & \ProvideTextCommandDefault54969
+Node: \DeclareTextComposite56276
+Node: \DeclareTextCompositeCommand57362
+Node: \DeclareTextSymbol58036
+Node: \LastDeclaredEncoding59139
+Node: Font styles59714
+Node: Font sizes64003
+Node: Low-level font commands65622
+Ref: low level font commands fontencoding65906
+Ref: low level font commands fontfamily66462
+Ref: low level font commands fontseries67227
+Ref: low level font commands fontshape68379
+Ref: low level font commands fontsize68676
+Ref: low level font commands baselinestretch69201
+Ref: low level font commands linespread69910
+Ref: low level font commands selectfont70160
+Ref: low level font commands usefont70486
+Node: Layout70729
+Node: \onecolumn71227
+Node: \twocolumn71586
+Ref: twocolumn columnsep72209
+Ref: twocolumn columnseprule72458
+Ref: twocolumn columnwidth72754
+Ref: twocolumn dbltopfraction73320
+Ref: twocolumn dblfloatpagefraction74263
+Ref: twocolumn dblfloatsep74510
+Ref: twocolumn dbltextfloatsep74815
+Ref: twocolumn dbltopnumber74998
+Node: \flushbottom75963
+Node: \raggedbottom77063
+Node: Page layout parameters77599
+Ref: page layout parameters columnsep77802
+Ref: page layout parameters columnseprule77802
+Ref: page layout parameters columnwidth77802
+Ref: page layout parameters headheight78056
+Ref: page layout parameters headsep78223
+Ref: page layout parameters footskip78536
+Ref: page layout parameters linewidth78870
+Ref: page layout parameters marginparpush79223
+Ref: page layout parameters marginsep79223
+Ref: page layout parameters marginparwidth79223
+Ref: page layout parameters oddsidemargin80263
+Ref: page layout parameters evensidemargin80263
+Ref: page layout parameters paperheight80800
+Ref: page layout parameters paperwidth81026
+Ref: page layout parameters textheight81250
+Ref: page layout parameters textwidth81639
+Ref: page layout parameters hsize82568
+Ref: page layout parameters topmargin82774
+Ref: page layout parameters topskip83078
+Node: Floats83294
+Ref: floats bottomfraction87662
+Ref: floats floatpagefraction87789
+Ref: floats textfraction87900
+Ref: floats topfraction88102
+Ref: floats floatsep88354
+Ref: floats intextsep88464
+Ref: floats textfloatsep88679
+Ref: floats bottomnumber88943
+Ref: floats dbltopnumber89051
+Ref: floats topnumber89170
+Ref: floats totalnumber89274
+Node: Sectioning89803
+Ref: sectioning secnumdepth92880
+Ref: Sectioning/secnumdepth92880
+Ref: sectioning tocdepth93481
+Ref: Sectioning/tocdepth93481
+Node: \part94526
+Node: \chapter96702
+Node: \section100476
+Node: \subsection103743
+Node: \subsubsection & \paragraph & \subparagraph106457
+Node: \appendix109114
+Node: \frontmatter & \mainmatter & \backmatter110404
+Node: \@startsection111745
+Ref: startsection name113122
+Ref: \@startsection/name113122
+Ref: startsection level113576
+Ref: \@startsection/level113576
+Ref: startsection indent114456
+Ref: \@startsection/indent114456
+Ref: startsection beforeskip114719
+Ref: \@startsection/beforeskip114719
+Ref: startsection afterskip116240
+Ref: \@startsection/afterskip116240
+Ref: startsection style117551
+Ref: \@startsection/style117551
+Node: Cross references121257
+Node: \label123350
+Node: \pageref125170
+Node: \ref125960
+Node: Environments126936
+Node: abstract128938
+Node: array130527
+Node: center133419
+Node: \centering135171
+Node: description136668
+Node: displaymath138883
+Node: document140670
+Node: \AtBeginDocument141100
+Node: \AtEndDocument141724
+Node: enumerate142368
+Ref: enumerate enumi144231
+Ref: enumerate enumii144231
+Ref: enumerate enumiii144231
+Ref: enumerate enumiv144231
+Ref: enumerate labelenumi144629
+Ref: enumerate labelenumii144629
+Ref: enumerate labelenumiii144629
+Ref: enumerate labelenumiv144629
+Node: eqnarray145168
+Node: equation147163
+Node: figure147831
+Node: filecontents149985
+Node: flushleft151684
+Node: \raggedright152701
+Node: flushright153899
+Node: \raggedleft154635
+Node: itemize155425
+Ref: itemize labelitemi156647
+Ref: itemize labelitemii156647
+Ref: itemize labelitemiii156647
+Ref: itemize labelitemiv156647
+Ref: itemize leftmargin157489
+Ref: itemize leftmargini157489
+Ref: itemize leftmarginii157489
+Ref: itemize leftmarginiii157489
+Ref: itemize leftmarginiv157489
+Ref: itemize leftmarginv157489
+Ref: itemize leftmarginvi157489
+Node: letter158893
+Node: list159131
+Ref: list makelabel161578
+Ref: list itemindent162963
+Ref: list itemsep163100
+Ref: list labelsep163753
+Ref: list labelwidth163916
+Ref: list leftmargin164927
+Ref: list listparindent165780
+Ref: list parsep166011
+Ref: list partopsep166479
+Ref: list rightmargin167277
+Ref: list topsep167462
+Ref: list beginparpenalty171037
+Ref: list itempenalty171136
+Ref: list endparpenalty171240
+Node: \item172112
+Node: trivlist173360
+Node: math174888
+Node: minipage175194
+Node: picture180471
+Node: \put186940
+Node: \multiput187505
+Node: \qbezier188244
+Node: \graphpaper189169
+Node: \line189963
+Node: \linethickness191927
+Node: \thinlines192376
+Node: \thicklines192787
+Node: \circle193171
+Node: \oval193711
+Node: \shortstack194687
+Node: \vector196084
+Node: \makebox (picture)197000
+Node: \framebox (picture)198182
+Node: \frame199655
+Node: \dashbox200095
+Node: quotation & quote201230
+Node: tabbing202126
+Node: table208119
+Node: tabular210212
+Ref: tabular arrayrulewidth216541
+Ref: tabular arraystrech216781
+Ref: tabular doublerulesep217002
+Ref: tabular tabcolsep217138
+Node: \multicolumn217659
+Node: \vline221535
+Node: \cline222926
+Node: \hline223636
+Node: thebibliography224318
+Node: \bibitem226728
+Node: \cite229003
+Node: \nocite230758
+Node: Using BibTeX231242
+Node: theorem233397
+Node: titlepage234319
+Node: verbatim235602
+Node: \verb237112
+Node: verse238932
+Node: Line breaking240159
+Node: \\241525
+Node: \obeycr & \restorecr243958
+Node: \newline244752
+Node: \- (hyphenation)245781
+Node: \discretionary247419
+Node: \fussy & \sloppy248307
+Node: sloppypar249090
+Node: \hyphenation250236
+Node: \linebreak & \nolinebreak250830
+Node: Page breaking251977
+Node: \clearpage & \cleardoublepage254006
+Node: \newpage255526
+Node: \enlargethispage256824
+Node: \pagebreak & \nopagebreak257780
+Node: Footnotes259446
+Node: \footnote260592
+Ref: footnote footnoterule261860
+Ref: footnote footnotesep262471
+Node: \footnotemark263537
+Node: \footnotetext265876
+Node: Footnotes in section headings266477
+Node: Footnotes in a table267310
+Node: Footnotes of footnotes270232
+Node: Definitions270936
+Node: \newcommand & \renewcommand271912
+Node: \providecommand277143
+Node: \makeatletter & \makeatother278306
+Node: \@ifstar280454
+Node: \newcounter283273
+Node: \newlength284993
+Node: \newsavebox285815
+Node: \newenvironment & \renewenvironment286794
+Node: \newtheorem292118
+Node: \newfont295690
+Node: \protect296923
+Node: \ignorespaces & \ignorespacesafterend299311
+Node: Counters302049
+Node: \alph \Alph \arabic \roman \Roman \fnsymbol303750
+Node: \usecounter306404
+Node: \value307263
+Node: \setcounter308316
+Node: \addtocounter308912
+Node: \refstepcounter309366
+Node: \stepcounter310035
+Node: \day & \month & \year310581
+Node: Lengths311392
+Node: Units of length315861
+Ref: units of length pt316064
+Ref: units of length pc316187
+Ref: units of length in316210
+Ref: units of length bp316236
+Ref: units of length cm316367
+Ref: units of length mm316389
+Ref: units of length dd316411
+Ref: units of length cc316443
+Ref: units of length sp316468
+Ref: Lengths/em316499
+Ref: Lengths/en316499
+Ref: Lengths/ex316499
+Ref: units of length em316499
+Ref: units of length en316499
+Ref: units of length ex316499
+Node: \setlength317355
+Node: \addtolength318440
+Node: \settodepth319515
+Node: \settoheight320393
+Node: \settowidth321286
+Node: Making paragraphs322154
+Node: \par323925
+Node: \indent & \noindent325872
+Node: \parindent & \parskip327406
+Node: Marginal notes328691
+Ref: marginal notes marginparpush330087
+Ref: marginal notes marginparsep330200
+Ref: marginal notes marginparwidth330332
+Node: Math formulas330681
+Node: Subscripts & superscripts334849
+Node: Math symbols337010
+Node: Arrows362866
+Node: \boldmath & \unboldmath364002
+Node: Blackboard bold365521
+Node: Calligraphic366325
+Node: Delimiters366856
+Node: \left & \right368910
+Node: \bigl & \bigr etc372915
+Node: Dots375666
+Ref: ellipses cdots376097
+Ref: ellipses ddots376244
+Ref: ellipses ldots376333
+Ref: ellipses vdots376754
+Node: Greek letters377940
+Node: Math functions379657
+Node: Math accents381301
+Node: Over- and Underlining382200
+Node: Spacing in math mode384027
+Ref: spacing in math mode thickspace384959
+Ref: spacing in math mode medspace385051
+Ref: Spacing in math mode/\thinspace385147
+Ref: spacing in math mode thinspace385147
+Ref: spacing in math mode negthinspace385628
+Ref: spacing in math mode quad385826
+Ref: spacing in math mode qquad386082
+Node: \smash386360
+Node: \phantom & \vphantom & \hphantom388577
+Node: Math miscellany390614
+Node: Colon character & \colon391120
+Node: \*391813
+Node: \frac392397
+Node: \sqrt392768
+Node: \stackrel393354
+Node: Modes393627
+Ref: modes paragraph mode394077
+Ref: modes lr mode394273
+Ref: modes math mode394879
+Ref: modes vertical mode395214
+Ref: modes internal vertical mode395385
+Ref: modes inner paragraph mode395858
+Ref: modes outer paragraph mode395858
+Node: \ensuremath396272
+Node: Page styles396977
+Node: \maketitle397740
+Node: \pagenumbering400757
+Node: \pagestyle402745
+Node: \thispagestyle406247
+Node: Spaces407201
+Node: \enspace & \quad & \qquad408642
+Node: \hspace409556
+Node: \hfill411394
+Node: \hss412458
+Node: \spacefactor413152
+Node: \@416539
+Ref: \AT416639
+Node: \frenchspacing418579
+Node: \normalsfcodes419414
+Node: \(SPACE)419661
+Node: ~421451
+Node: \thinspace & \negthinspace423921
+Node: \/424864
+Node: \hrulefill & \dotfill426170
+Node: \bigskip & \medskip & \smallskip427526
+Ref: bigskip428344
+Ref: medskip428548
+Ref: smallskip428757
+Node: \bigbreak & \medbreak & \smallbreak429418
+Node: \strut430404
+Node: \vspace433599
+Node: \vfill435162
+Node: \addvspace436090
+Node: Boxes438088
+Node: \mbox & \makebox438794
+Ref: mbox makebox depth440006
+Ref: mbox makebox height440006
+Ref: mbox makebox width440006
+Ref: mbox makebox totalheight440006
+Node: \fbox & \framebox442100
+Ref: fbox framebox fboxrule443413
+Ref: fbox framebox fboxsep443603
+Node: \parbox444692
+Node: \raisebox446996
+Ref: raisebox depth447959
+Ref: raisebox height447959
+Ref: raisebox width447959
+Ref: raisebox totalheight447959
+Node: \sbox & \savebox448673
+Node: lrbox451639
+Node: \usebox452461
+Node: Color452867
+Node: Color package options453666
+Node: Color models455312
+Ref: color models cmyk456109
+Ref: color models gray456472
+Ref: color models rgb456621
+Ref: color models RGB456958
+Ref: color models named457333
+Node: Commands for color457621
+Node: Define colors458036
+Node: Colored text458761
+Node: Colored boxes461159
+Node: Colored pages462548
+Node: Graphics463241
+Node: Graphics package options465368
+Node: Graphics package configuration468121
+Node: \graphicspath468923
+Node: \DeclareGraphicsExtensions471814
+Node: \DeclareGraphicsRule473582
+Node: Commands for graphics476764
+Node: \includegraphics477269
+Ref: includegraphics width482319
+Ref: includegraphics height482850
+Ref: includegraphics totalheght483256
+Ref: includegraphics keepaspectratio483520
+Ref: includegraphics viewport485206
+Ref: includegraphics trim485576
+Ref: includegraphics clip486032
+Ref: includegraphics page486292
+Ref: includegraphics pagebox486383
+Ref: includegraphics interpolate487248
+Ref: includegraphics quiet487453
+Ref: includegraphics draft487614
+Ref: includegraphics bb488419
+Ref: includegraphics bbllx488817
+Ref: includegraphics bblly488817
+Ref: includegraphics bburx488817
+Ref: includegraphics bbury488817
+Ref: includegraphics natwidth488959
+Ref: includegraphics natheight488959
+Ref: includegraphics hiresbb489145
+Ref: includegraphics type489907
+Ref: includegraphics ext489947
+Ref: includegraphics read490050
+Ref: includegraphics command490167
+Node: \rotatebox490412
+Node: \scalebox493266
+Node: \resizebox494322
+Node: Special insertions495514
+Node: Reserved characters496316
+Node: Upper and lower case497518
+Node: Symbols by font position499433
+Node: Text symbols500053
+Node: Accents504054
+Node: \accent506159
+Node: Additional Latin letters507925
+Ref: Non-English characters508096
+Node: \rule509113
+Node: \today510285
+Node: Splitting the input511221
+Node: \endinput512962
+Node: \include & \includeonly514229
+Node: \input518451
+Node: Front/back matter519666
+Node: Table of contents etc.519999
+Node: \addcontentsline523735
+Node: \addtocontents526577
+Node: \nofiles528168
+Node: Indexes528900
+Node: \index530528
+Node: makeindex535637
+Ref: makeindex preamble537305
+Ref: makeindex postamble537445
+Ref: makeindex group skip537530
+Ref: makeindex letheadflag537850
+Ref: makeindex lethead prefix538311
+Ref: makeindex lethead suffix538463
+Ref: makeindex item 0538611
+Ref: makeindex item 1538691
+Ref: makeindex item 2538766
+Ref: makeindex item 01538844
+Ref: makeindex item x1538949
+Ref: makeindex item 12539154
+Ref: makeindex item x2539262
+Ref: makeindex delim 0539422
+Ref: makeindex delim 1539552
+Ref: makeindex delim 2539682
+Ref: makeindex delim n539808
+Ref: makeindex delim r539943
+Ref: makeindex line max540051
+Ref: makeindex indent space540186
+Ref: makeindex indent length540281
+Ref: makeindex page precedence540466
+Node: \printindex541340
+Node: Glossaries541812
+Node: \newglossaryentry543779
+Node: \gls545248
+Node: Letters546042
+Node: \address549660
+Node: \cc550471
+Node: \closing550913
+Node: \encl551227
+Node: \location551641
+Node: \makelabels551905
+Node: \name554222
+Node: \opening554463
+Node: \ps554744
+Node: \signature555033
+Node: \telephone556261
+Node: Input/output556626
+Node: \openin & \openout557346
+Node: \read560082
+Node: \typein561160
+Node: \typeout562414
+Node: \write563464
+Node: \message568546
+Node: \wlog570309
+Node: \write18570812
+Node: Command line573481
+Node: Command line options575530
+Node: Command line input579107
+Node: Recovering from errors580970
+Node: Document templates582316
+Node: beamer template582761
+Node: article template583415
+Node: book template583842
+Node: Larger book template584323
+Node: tugboat template585809
+Node: Index588180
+Ref: Command Index588266
 
 End Tag Table

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

Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi	2018-11-24 13:10:48 UTC (rev 739)
+++ trunk/latex2e.texi	2018-11-24 15:11:27 UTC (rev 740)
@@ -1538,6 +1538,7 @@
 * \DeclareFontEncoding::    Define an encoding.
 * \DeclareTextAccent::      Define an accent in the encoding.
 * \DeclareTextCommand & \ProvideTextCommand::  New encoding-specific command.
+* \DeclareTextCommandDefault & \ProvideTextCommandDefault::  Fallback for encoding-specific commands.
 * \DeclareTextComposite::   Directly access an accented glyph, in the encoding.
 * \DeclareTextCompositeCommand::   Run code in slot, in the encoding.
 * \DeclareTextSymbol::      Define a symbol in the encoding.
@@ -1581,8 +1582,17 @@
 If you invent an encoding you should pick a two or three letter name
 starting with @samp{L} for @samp{local}, or @samp{E} for
 @samp{experimental}.
- 
 
+Note that output encoding files may be read several times by @LaTeX{} so
+using, e.g., @code{\newcommand} may cause an error.  In addition, such
+files should contain @code{\ProvidesFile} line (@pxref{Class and package
+commands}).
+
+Note also that you should use the @code{\...Default} commands only in a
+package, not in the encoding definition files, since those files
+should only contain declarations specific to that encoding.
+
+
 @node \DeclareTextAccent
 @subsection @code{\DeclareTextAccent}
 
@@ -1620,6 +1630,7 @@
 
 @cindex Font encoding
 @findex \DeclareTextCommand
+ at findex \DeclareTextCommandDefault
 @findex \ProvideTextCommand
 
 Synopsis, one of:
@@ -1681,6 +1692,50 @@
 an optional argument.
 
 
+ at node \DeclareTextCommandDefault & \ProvideTextCommandDefault
+ at subsection @code{\DeclareTextCommandDefault} & @code{\ProvideTextCommandDefault }
+ at cindex Font encoding
+ at findex \DeclareTextCommand
+ at findex \DeclareTextCommandDefault
+ at findex \ProvideTextCommand
+ at findex \ProvideTextCommandDefault
+
+Synopsis:
+
+ at example
+\DeclareTextCommandDefault@{@var{cmd}@}@{@var{defn}@}
+ at end example
+
+or:
+
+ at example
+\ProvideTextCommandDefault@{@var{cmd}@}@{@var{defn}@}
+ at end example
+
+Give a default definition for @var{cmd}, for when that command is not
+defined in the encoding currently in force. This default should only use
+encodings known to be available.
+
+This makes @code{\copyright} available.
+
+ at example
+\DeclareTextCommandDefault@{\copyright@}@{\textcircled@{c@}@}
+ at end example
+
+It uses only an encoding (OMS) that is always available.
+
+The @code{\DeclareTextCommandDefault} should not occur in the encoding
+definition files since those files should declare only commands for use
+when you select that encoding. It should instead be in a package.
+
+As with the related non-default commands, the
+ at code{\ProvideTextCommandDefault} has exactly the same behavior as
+ at code{\DeclareTextCommandDefault} except that it does nothing if
+ at var{cmd} is already defined (@pxref{\DeclareTextCommand &
+\ProvideTextCommand}).  So, packages can use it to provide fallbacks
+that other packages can improve upon.
+
+
 @node \DeclareTextComposite
 @subsection @code{\DeclareTextComposite}
 



More information about the latexrefman-commits mailing list