[latex3-commits] [git/LaTeX3-latex3-latex3] master: Document titlecasing (005e3f904)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Mar 16 09:48:55 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/005e3f90432ec6eda11b4b0787807636507d3fae

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

commit 005e3f90432ec6eda11b4b0787807636507d3fae
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Mar 16 08:48:55 2020 +0000

    Document titlecasing


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

005e3f90432ec6eda11b4b0787807636507d3fae
 l3kernel/l3text.dtx | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/l3kernel/l3text.dtx b/l3kernel/l3text.dtx
index 63c5fc94c..06bedb163 100644
--- a/l3kernel/l3text.dtx
+++ b/l3kernel/l3text.dtx
@@ -178,6 +178,12 @@
 %       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.
 % \end{function}
 %
 % \subsection{Removing formatting from text}





More information about the latex3-commits mailing list.