[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: [doc] Fix signatures of `\IfNoValue(TF)`, `\IfValue(TF)` and `\IfBoolean(TF)` (227665ac)
Eisuke Kawashima
e-kwsm at users.noreply.github.com.org
Sun Apr 11 09:19:10 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/227665ac4343918855c81d801d0f234be51455bc
>---------------------------------------------------------------
commit 227665ac4343918855c81d801d0f234be51455bc
Author: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Date: Sun Apr 11 05:33:49 2021 +0900
[doc] Fix signatures of `\IfNoValue(TF)`, `\IfValue(TF)` and `\IfBoolean(TF)`
>---------------------------------------------------------------
227665ac4343918855c81d801d0f234be51455bc
base/doc/usrguide3.tex | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/base/doc/usrguide3.tex b/base/doc/usrguide3.tex
index b14e753e..da78a15b 100644
--- a/base/doc/usrguide3.tex
+++ b/base/doc/usrguide3.tex
@@ -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
More information about the latex3-commits
mailing list.