diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/base/usrguide3.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/base/usrguide3.tex | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/base/usrguide3.tex b/Master/texmf-dist/doc/latex/base/usrguide3.tex index 4c3bde94f6b..c378ac85928 100644 --- a/Master/texmf-dist/doc/latex/base/usrguide3.tex +++ b/Master/texmf-dist/doc/latex/base/usrguide3.tex @@ -1,7 +1,7 @@ % \iffalse meta-comment % -% Copyright (C) 2020 -% The LaTeX3 Project and any individual authors listed elsewhere +% Copyright (C) 2020-2021 +% The LaTeX Project and any individual authors listed elsewhere % in this file. % % This file is part of the LaTeX base system. @@ -32,11 +32,11 @@ \usepackage[T1]{fontenc} % needed for \textbackslash in tt -\title{\LaTeX3 methods for authors} -\author{\copyright~Copyright 2020, \LaTeX\ Project Team.\\ +\title{New \LaTeX\ methods for authors (starting 2020)} +\author{\copyright~Copyright 2020-2021, \LaTeX\ Project Team.\\ All rights reserved.} -\date{Released 2020-12-02} +\date{2021-04-12} \NewDocumentCommand\cs{m}{\texttt{\textbackslash\detokenize{#1}}} \NewDocumentCommand\marg{m}{\arg{#1}} @@ -340,11 +340,11 @@ the nature of the argument received. \begin{decl} |\IfNoValueTF| \arg{arg} \arg{true code} \arg{false code} \\ - |\IfNoValueT| \arg{arg} \arg{true code} \arg{false code} \\ - |\IfNoValueF| \arg{arg} \arg{true code} \arg{false code} + |\IfNoValueT| \arg{arg} \arg{true code} \\ + |\IfNoValueF| \arg{arg} \arg{false code} \end{decl} The \cs{IfNoValue(TF)} tests are used to check if \meta{argument} (|#1|, -|#2|, \emph{etc.}) is the special |-NoValue-| marker For example +|#2|, \emph{etc.}) is the special |-NoValue-| marker. For example \begin{verbatim} \NewDocumentCommand\foo{o m} {% @@ -381,8 +381,8 @@ analogue \cs{ifblank}. \begin{decl} |\IfValueTF| \arg{arg} \arg{true code} \arg{false code} \\ - |\IfValueT| \arg{arg} \arg{true code} \arg{false code} \\ - |\IfValueF| \arg{arg} \arg{true code} \arg{false code} + |\IfValueT| \arg{arg} \arg{true code} \\ + |\IfValueF| \arg{arg} \arg{false code} \end{decl} The reverse form of the \cs{IfNoValue(TF)} tests are also available as \cs{IfValue(TF)}. The context will determine which logical @@ -398,8 +398,8 @@ names which are accessible outside of code blocks. \begin{decl} |\IfBooleanTF| \arg{arg} \arg{true code} \arg{false code} \\ - |\IfBooleanT| \arg{arg} \arg{true code} \arg{false code} \\ - |\IfBooleanF| \arg{arg} \arg{true code} \arg{false code} + |\IfBooleanT| \arg{arg} \arg{true code} \\ + |\IfBooleanF| \arg{arg} \arg{false code} \end{decl} Used to test if \meta{argument} (|#1|, |#2|, \emph{etc.}) is \cs{BooleanTrue} or \cs{BooleanFalse}. For example |