[latex3-commits] [latex3/latex2e] develop: Documentation Refinement (#1050) (4e4b8085)

github at latex-project.org github at latex-project.org
Wed May 17 14:10:30 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/4e4b8085e19eb55f8a69a6ba26d48e5039761167

>---------------------------------------------------------------

commit 4e4b8085e19eb55f8a69a6ba26d48e5039761167
Author: SwitWu <2401336502 at qq.com>
Date:   Wed May 17 20:10:30 2023 +0800

    Documentation Refinement (#1050)
    
    * Update ltlists.dtx
    
    * Update classes.dtx
    
    * Update base/ltlists.dtx
    
    Co-authored-by: Yukai Chou <muzimuzhi at gmail.com>
    
    ---------
    
    Co-authored-by: Yukai Chou <muzimuzhi at gmail.com>


>---------------------------------------------------------------

4e4b8085e19eb55f8a69a6ba26d48e5039761167
 base/classes.dtx | 7 +++----
 base/ltlists.dtx | 5 ++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/base/classes.dtx b/base/classes.dtx
index e16dc657..ff8b9fc6 100644
--- a/base/classes.dtx
+++ b/base/classes.dtx
@@ -3688,9 +3688,8 @@
 %
 %     A |\caption| command in a `figure' environment writes
 %
-%     |\contentsline{figure}{\numberline{|\meta{num}|}{|%
+%     |\contentsline{figure}{\numberline{|\meta{num}|}{|^^A
 %                    \meta{caption}|}}{|\meta{page}|}|
-%
 %     on the .\file{lof} file, where \meta{num} is the number produced
 %     by |\thefigure| and \meta{caption} is the figure caption.  It
 %     works similarly for a `table' environment.
@@ -3707,8 +3706,8 @@
 %                      \meta{title}|}{|\meta{page}|}|
 %
 %    \begin{description}
-%    \item[\meta{level}] An entry is produced only if\meta{ level}
-%        $<=$ value of the \Lcount{tocdepth} counter.  Note,
+%    \item[\meta{level}] An entry is produced only if \meta{level}
+%        $\leq$ value of the \Lcount{tocdepth} counter.  Note,
 %        |\chapter| is level 0, |\section| is level 1, etc.
 %    \item[\meta{indent}] The indentation from the outer left margin
 %        of the start   of the contents line.
diff --git a/base/ltlists.dtx b/base/ltlists.dtx
index afde14e0..2082ca0c 100644
--- a/base/ltlists.dtx
+++ b/base/ltlists.dtx
@@ -68,7 +68,6 @@
 % \begin{quote}
 %        |\list|\marg{LABEL}\marg{COMMANDS} ... |\endlist|
 % \end{quote}
-%
 % which can be invoked by the user as the list environment.  The LABEL
 % argument specifies item labeling.  COMMANDS contains commands for
 % changing the horizontal and vertical spacing parameters.
@@ -187,7 +186,7 @@
 % |\hsize|.
 %
 % Here are the parameters of a list that can be set by commands in
-% the |\list|'s COMMANDS argument.  These parameters are all TeX
+% the |\list|'s COMMANDS argument.  These parameters are all \TeX{}
 % skips or dimensions (defined by |\newskip| or |\newdimen|), so the
 % usual \TeX\ or \LaTeX\ commands can be used to set them.  The
 % commands will be executed in vmode if and only if the |\list| was
@@ -228,7 +227,7 @@
 %                      label.
 %  \item[\cs{labelwidth}:] nominal width of box that contains the label.
 %                      If the natural width of the
-%                         label $< =$ \cs{labelwidth},
+%                         label $\leq$ \cs{labelwidth},
 %                      then the label is flushed right inside a box
 %                      of width \cs{labelwidth} (with an \cs{hfil}).
 %                      Otherwise,





More information about the latex3-commits mailing list.