diff options
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3text.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3text.dtx | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/macros/latex/contrib/l3kernel/l3text.dtx b/macros/latex/contrib/l3kernel/l3text.dtx index 15b6025b4c..45ed617bd7 100644 --- a/macros/latex/contrib/l3kernel/l3text.dtx +++ b/macros/latex/contrib/l3kernel/l3text.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2022-07-01} +% \date{Released 2022-07-04} % % \maketitle % @@ -205,6 +205,29 @@ % character is uppercased, and the rest lowercased, irrespective of the nature % of the character. % +% \begin{function}[added = 2022-07-04] +% { +% \text_declare_case_equivalent:Nn , +% \text_declare_case_equivalent:cn +% } +% \begin{syntax} +% \cs{text_declare_case_equivalent:Nn} \meta{cmd} \Arg{replacement} +% \end{syntax} +% Declares that the \meta{replacement} tokens should be used whenever the +% \meta{cmd} (a single token) is encountered during case changing. +% \end{function} +% +% \begin{function}[EXP, added = 2022-07-04]{\text_case_switch:nnnn} +% \begin{syntax} +% \cs{text_case_switch:nnnn} \Arg{normal} \Arg{upper} \Arg{lower} \Arg{title} +% \end{syntax} +% Context-sensitive function which will expand to one of the \meta{normal}, +% \meta{upper}, \meta{lower} or \meta{title} tokens depending on the current +% case changing operation. Outside of case changing, the \meta{normal} tokens +% are produced. Within case changing, the appropriate mapping tokens are +% inserted. +% \end{function} +% % \section{Removing formatting from text} % % \begin{function}[EXP, added = 2020-03-05, updated = 2020-05-14]{\text_purify:n} @@ -945,6 +968,7 @@ { \exp_not:V \l_text_math_arg_tl \exp_not:V \l_text_expand_exclude_tl + \exp_not:N \text_case_switch:nnnn } #1 } |