[latex3-commits] [latex3/latex3] main: Revert "Drop \IfInstanceExist(TF) docs" (0599924d9)

github at latex-project.org github at latex-project.org
Thu Feb 15 14:37:51 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/0599924d92edba4e2b5a8e56860c9fc7daccf6ee

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

commit 0599924d92edba4e2b5a8e56860c9fc7daccf6ee
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Feb 15 13:37:51 2024 +0000

    Revert "Drop \IfInstanceExist(TF) docs"
    
    This reverts commit 839319960c1e9d57952600b81b9bada827d99dfe.


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

0599924d92edba4e2b5a8e56860c9fc7daccf6ee
 l3packages/xtemplate/xtemplate.dtx | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index ee393ef3b..e4a2bf74b 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -450,6 +450,14 @@
 %   the general idea of fixing some settings.
 % \end{function}
 %
+% \begin{function}{\IfInstanceExistT, \IfInstanceExistF, \IfInstanceExistTF}
+%   \begin{syntax}
+%     \cs{IfInstanceExistTF} \Arg{object type} \Arg{instance} \Arg{true code} \Arg{false code}
+%   \end{syntax}
+%   Tests if the named \meta{instance} of a \meta{object type} exists, and
+%   then inserts the appropriate code into the input stream.
+% \end{function}
+%
 % \begin{function}{\DeclareInstanceCopy}
 %   \begin{syntax}
 %     \cs{DeclareInstanceCopy}





More information about the latex3-commits mailing list.