Automatic title case formatting for LaTeX titles and sectioning commands.
| Before (source) | After (source) |
|---|---|
![]() |
![]() |
Apply to \title and \section:
\usepackage[title,section]{titlecase}Apply to all standard sectioning commands and \title:
\usepackage[all]{titlecase}Manual use anywhere:
\titlecase{an on-the-fly example for the title}- Provides a
\titlecase{...}command for manual use. - Optional automatic title-casing for
\titleand common sectioning commands. - Lowercases common short words (per
mfirstucrules). - Capitalizes each part of hyphenated words (e.g.,
vision-language->Vision-Language).
- Place
titlecase.stynext to your.texfile, or - Install into your local texmf tree (for example,
~/texmf/tex/latex/titlecase/) and runmktexlsrif your TeX distribution requires it.
titlesectionsubsectionsubsubsectionparagraphsubparagraphall(enablestitleand all standard sectioning commands)
If you omit options, no automatic redefinition happens; only \titlecase{...} is provided.
The package adds the following words to the non-capitalization list:
a, an, the, and, but, or, nor, for, so, yet,
as, at, by, from, in, of, on, to, with, via, per, without
To add more words, call \MFUnocap{<word>} after loading the package.
mfirstucxparseletltxmacro
MIT. See LICENSE.

