Skip to content

Commit

Permalink
Add opt-arg to syntax of \Make...case to clsguide
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Nov 27, 2024
1 parent c98ee6b commit d67810e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions base/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ to completeness or accuracy and it contains some references to files that are
not part of the distribution.
================================================================================

2024-11-27 Yukai Chou <[email protected]>
* clsguide.tex:
Add opt-arg to syntax of \Make...case

2024-11-27 Joseph Wright <[email protected]>
* usrguide.tex:
Add syntax of \Make...case
Expand Down
10 changes: 5 additions & 5 deletions base/doc/clsguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
\texttt{clsguide.tex} for full details.}%
}

\date{2024-11-14}
\date{2024-11-27}

\NewDocumentCommand\cs{m}{\texttt{\textbackslash\detokenize{#1}}}
\NewDocumentCommand\marg{m}{\arg{#1}}
Expand Down Expand Up @@ -1147,16 +1147,16 @@ \subsection{Case changing}
\label{sec:case}

\begin{decl}
|\MakeUppercase| \arg{text} \\
|\MakeLowercase| \arg{text} \\
|\MakeTitlecase| \arg{text}
|\MakeUppercase| \oarg{keyvals} \arg{text} \\
|\MakeLowercase| \oarg{keyvals} \arg{text} \\
|\MakeTitlecase| \oarg{keyvals} \arg{text}
\end{decl}

As described in \texttt{usrguide}, case changing for text should be carried out
using the commands |\MakeUppercase|, |\MakeLowercase| and
|\MakeTitlecase|. If you need to change the case of programmatic material, the
team strongly suggest using the L3 programming layer commands in the
\texttt{str} module. If you do not wish to do this, you should use the \TeX{}
\texttt{l3str} module. If you do not wish to do this, you should use the \TeX{}
|\uppercase| and |\lowercase| primitives \emph{in this situation only}.

\subsection{Better user-defined math display environments}
Expand Down

0 comments on commit d67810e

Please sign in to comment.