[latex3-commits] [git/LaTeX3-latex3-latex3] morechk: document \cs_use:N (f6a5731)

Will Robertson wspr81 at gmail.com
Mon Apr 15 13:44:45 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : morechk
Link       : https://github.com/latex3/latex3/commit/f6a5731c05410404bb326dcaca79d6f85c4ac21e

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

commit f6a5731c05410404bb326dcaca79d6f85c4ac21e
Author: Will Robertson <wspr81 at gmail.com>
Date:   Mon Jan 14 15:07:10 2019 +0800

    document \cs_use:N
    
    (improvements welcome)


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

f6a5731c05410404bb326dcaca79d6f85c4ac21e
 l3kernel/l3basics.dtx |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/l3kernel/l3basics.dtx b/l3kernel/l3basics.dtx
index 1351b64..7f51e80 100644
--- a/l3kernel/l3basics.dtx
+++ b/l3kernel/l3basics.dtx
@@ -739,6 +739,20 @@
 %   \end{verbatim}
 %   after two expansions of \cs{use:c}.
 %
+% \begin{function}[EXP]{\cs_use:N, \cs_use:c, added = 2019-01-14}
+%   \begin{syntax}
+%     \cs{cs_use:N} \meta{control sequence}
+%     \cs{cs_use:c} \Arg{control sequence name}
+%   \end{syntax}
+%   The \texttt{N} variant places the \meta{control sequence} directly
+%   into the input stream.
+%   The \texttt{c} variant constructs the control sequence name as described for \cs{use:c}
+%   and does the same.
+%   Unlike \cs{use:c}, these functions check for the existence of the control sequence
+%   when the \texttt{check-declarations} option is in effect.
+%   This affords a level of safety when testing.
+% \end{function}
+%
 % \begin{function}[noTF, EXP, added = 2012-11-10]
 %   {\cs_if_exist_use:N, \cs_if_exist_use:c}
 %   \begin{syntax}





More information about the latex3-commits mailing list