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/sample-mfirstuc.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/sample-mfirstuc.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/mfirstuc/sample-mfirstuc.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/mfirstuc/sample-mfirstuc.tex b/Master/texmf-dist/doc/latex/mfirstuc/sample-mfirstuc.tex index 0cdae525b58..5fe9d92b48c 100644 --- a/Master/texmf-dist/doc/latex/mfirstuc/sample-mfirstuc.tex +++ b/Master/texmf-dist/doc/latex/mfirstuc/sample-mfirstuc.tex @@ -20,6 +20,12 @@ \newcommand{\abc}{abc}% \xmakefirstuc{\abc}. +\newcommand*{\mytext}{\protect\textbf{some text}} +Protected formatting: \xmakefirstuc{\mytext}. + +\renewcommand*{\mytext}{\ae\oe{some text}} +Sequential commands: \xmakefirstuc{\mytext}. + \capitalisewords{the wind in the willows} \capitalisewords{a book of rhyme.} @@ -37,4 +43,13 @@ \xcapitalisewords{\mytitle} +Formatting for the entire phrase must go outside +\verb|\capitalisewords| (unlike \verb|\makefirstuc|). Compare: + +\capitalisewords{\textbf{a book of rhyme.}} + +with: + +\textbf{\capitalisewords{a book of rhyme.}} + \end{document} |