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

Will Robertson wspr81 at gmail.com
Wed Jan 16 05:37:39 CET 2019


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

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

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

    document \cs_use:N
    
    (improvements welcome)


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

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

diff --git a/l3kernel/l3basics.dtx b/l3kernel/l3basics.dtx
index 6425310..8344cda 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