diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-11 22:47:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-11 22:47:33 +0000 |
commit | 770b96ca17434757dd1f8ef5afcb7ec61eb55244 (patch) | |
tree | fcefcf089b0ea6f48e93b0d354a2c0b6ef4c8c05 /Master/texmf-dist/source/latex/l3kernel/l3text.dtx | |
parent | c90b0317da3ad158c3e4e826ec6c3c726da61e1c (diff) |
l3kernel (6apr20)
git-svn-id: svn://tug.org/texlive/trunk@54672 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3text.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3text.dtx | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3text.dtx b/Master/texmf-dist/source/latex/l3kernel/l3text.dtx index 8d06641d956..b8d536b18ae 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3text.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3text.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2020-03-06} +% \date{Released 2020-04-06} % % \maketitle % @@ -178,6 +178,21 @@ % retains two separate letters, thus this transformation \emph{is} % available using \pdfTeX{}. % \end{itemize} +% +% For titlecasing, note that there are two functions available. The +% function \cs{text_titlecase:n} applies (broadly) uppercasing to the first +% letter of the input, then lowercasing to the remainder. In contrast, +% \cs{text_titlecase_first:n} \emph{only} carries out the uppercasing operation, +% and leaves the balance of the input unchanged. Determining whether +% non-letter characters at the start of text should switch from upper- to +% lowercasing is controllable. When \cs{l_text_titlecase_check_letter_bool} is +% \texttt{true}, characters which are not letters (category code~$11$) are +% left unchanged and \enquote{skipped}: the first \emph{letter} is uppercased. +% (With $8$-bit engines, this is extended to active characters which form +% part of a multi-byte letter codepoint.) When +% \cs{l_text_titlecase_check_letter_bool} is \texttt{false}, the first +% character is uppercased, and the rest lowercased, irrespective of the nature +% of the character. % \end{function} % % \subsection{Removing formatting from text} @@ -234,10 +249,20 @@ % content \emph{may} be excluded from processing. % \end{variable} % +% \begin{variable}{\l_text_case_exclude_arg_tl} +% Lists commands which are excluded from case changing. +% \end{variable} +% % \begin{variable}{\l_text_expand_exclude_tl} % Lists commands which are excluded from expansion. % \end{variable} % +% \begin{variable}{\l_text_titlecase_check_letter_bool} +% Controls how the start of titlecasing is handled: when \texttt{true}, the +% first \emph{letter} in text is considered. The standard setting is +% \texttt{true}. +% \end{variable} +% % \end{documentation} % % \begin{implementation} |