diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-07 19:54:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-07 19:54:29 +0000 |
commit | 55f179ed21bc5f0b33d07082310b5c6711891fcb (patch) | |
tree | f76dd9e243d189e83560c95b09efbbef5188f66a /Master/texmf-dist/source/latex/l3kernel/l3keys.dtx | |
parent | 874a1c81cef02ef6271a1e6f84e269406ed5c5d1 (diff) |
l3kernel (7may19)
git-svn-id: svn://tug.org/texlive/trunk@51037 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3keys.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3keys.dtx | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx b/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx index 28718aadf04..4a5f702e881 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3keys.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2019-05-05} +% \date{Released 2019-05-07} % % \maketitle % @@ -382,6 +382,16 @@ % Choices are discussed in detail in section~\ref{sec:l3keys:choice}. % \end{function} % +% \begin{function}[added = 2019-05-05] +% {.muskip_set:N, .muskip_set:c, .muskip_gset:N, .muskip_gset:c} +% \begin{syntax} +% \meta{key} .muskip_set:N = \meta{muskip} +% \end{syntax} +% Defines \meta{key} to set \meta{muskip} to \meta{value} (which +% must be a muskip expression). If the variable does not exist, it +% is created globally at the point that the key is set up. +% \end{function} +% % \begin{function}[added = 2019-01-31] % {.prop_put:N, .prop_put:c, .prop_gput:N, .prop_gput:c} % \begin{syntax} @@ -1997,6 +2007,20 @@ % \end{macro} % \end{macro} % +% \begin{macro}{.muskip_set:N, .muskip_set:c, .muskip_gset:N, .muskip_gset:c} +% Setting a variable is very easy: just pass the data along. +% \begin{macrocode} +\cs_new_protected:cpn { \c_@@_props_root_tl .muskip_set:N } #1 + { \@@_variable_set:NnnN #1 { muskip } { } n } +\cs_new_protected:cpn { \c_@@_props_root_tl .muskip_set:c } #1 + { \@@_variable_set:cnnN {#1} { muskip } { } n } +\cs_new_protected:cpn { \c_@@_props_root_tl .muskip_gset:N } #1 + { \@@_variable_set:NnnN #1 { muskip } { g } n } +\cs_new_protected:cpn { \c_@@_props_root_tl .muskip_gset:c } #1 + { \@@_variable_set:cnnN {#1} { muskip } { g } n } +% \end{macrocode} +% \end{macro} +% % \begin{macro}{.prop_put:N, .prop_put:c, .prop_gput:N, .prop_gput:c} % Setting a variable is very easy: just pass the data along. % \begin{macrocode} |