diff options
author | Karl Berry <karl@freefriends.org> | 2015-12-08 22:08:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-12-08 22:08:55 +0000 |
commit | 32dfcb4c5c886d97931290e76ed02234e8dbe485 (patch) | |
tree | e39cb3e2be2aa0f0c70f2a2023f2891f932075fe /Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex | |
parent | 5db0950ba6b90723a352862042de9231540decfc (diff) |
mfirstuc (8dec15)
git-svn-id: svn://tug.org/texlive/trunk@39055 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex b/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex index 60d25f80a0f..fd77deed5e9 100644 --- a/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex +++ b/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex @@ -20,13 +20,13 @@ pdfkeywords={LaTeX,package,uppercase}]{hyperref} \begin{document} - \title{mfirstuc.sty v2.0: + \title{mfirstuc.sty v2.01: uppercasing first letter} \author{Nicola L.C. Talbot\\[10pt] Dickimaw Books\\ \url{http://www.dickimaw-books.com/}} - \date{2015-09-09} + \date{2015-12-08} \maketitle \tableofcontents @@ -186,12 +186,30 @@ New to mfirstuc v1.06: \begin{definition}[\DescribeMacro{\capitalisewords}] \cs{capitalisewords}\marg{text} \end{definition} -This command apply \ics{makefirstuc} to each word in \meta{text} +This command applies \ics{makefirstuc} to each word in \meta{text} where the space character is used as the word separator. Note that it has to be a plain space character, not another form of space, such as \verb|~| or \cs{space}. Note that no expansion is performed on \meta{text}. +Formatting for the entire phrase must go outside +\cs{capitalisewords} (unlike \cs{makefirstuc}). Compare: +\begin{verbatim} +\capitalisewords{\textbf{a sample phrase}} +\end{verbatim} +which produces: +\begin{display} +\capitalisewords{\textbf{a sample phrase}} +\end{display} +with: +\begin{verbatim} +\textbf{\capitalisewords{a sample phrase}} +\end{verbatim} +which produces: +\begin{display} +\textbf{\capitalisewords{a sample phrase}} +\end{display} + \begin{definition}[\DescribeMacro{\xcapitalisewords}] \cs{xcapitalisewords}\marg{text} \end{definition} |