[latex3-commits] [latex3/latex3] gh1232-titlecase: Extend documentation (8f5f7e28c)
github at latex-project.org
github at latex-project.org
Thu Jun 29 08:35:40 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : gh1232-titlecase
Link : https://github.com/latex3/latex3/commit/8f5f7e28ca15ec4de0a5c7646eebe37af40a83b9
>---------------------------------------------------------------
commit 8f5f7e28ca15ec4de0a5c7646eebe37af40a83b9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Jun 29 07:35:40 2023 +0100
Extend documentation
>---------------------------------------------------------------
8f5f7e28ca15ec4de0a5c7646eebe37af40a83b9
l3kernel/l3text.dtx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/l3kernel/l3text.dtx b/l3kernel/l3text.dtx
index 7ad2c06eb..30b56358b 100644
--- a/l3kernel/l3text.dtx
+++ b/l3kernel/l3text.dtx
@@ -209,6 +209,12 @@
% character is uppercased, and the rest lowercased, irrespective of the nature
% of the character.
%
+% Sentence casing applies titlecasing to the first word of input. As such,
+% it will use the \meta{title} branch of \cs{text_case_switch:nnnn} if this
+% occurs at the start of the first word, and the \meta{lower} branch
+% otherwise. Case changing suppression via \cs{l_text_case_exclude_arg_tl}
+% works as for other case functions.
+%
% Currently, word boundary detection is based on the start and end of input,
% spaces and brace groups (which are treated as word boundaries).
% This may in future be refined to extend to detect more Unicode word boundary
More information about the latex3-commits
mailing list.