CTAN
Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/mfirstuc

README
LaTeX Package : mfirstuc v2.06

Last Modified : 2017-11-14

Author        : Nicola Talbot

This package provides \makefirstuc{<stuff>} which makes the first object of
<stuff> upper case unless <stuff> starts with a control
sequence followed by a non-empty group, in which case the first
object in the group is converted to upper case. Examples:

     \makefirstuc{abc}        -> Abc
     \makefirstuc{\emph{abc}} -> \emph{Abc}
     \makefirstuc{{\'a}bc}    -> \'Abc
     \makefirstuc{\ae bc}     -> \AE bc
     \makefirstuc{{\ae}bc}    -> \AE bc
     \makefirstuc{\ae{}bc}    -> \AE{}bc

The package also provides \capitalisewords{<phrase>} which applies
\makefirstuc to each word in the <phrase>, where the words are
separated by regular spaces. (Exceptions can be made for words that
shouldn't be converted.)

The mfirstuc package was originally bundled with the glossaries
package.

LaTeX2HTML

This package comes with a LaTeX2HTML style file mfirstuc.perl which
should be placed in the relevant LaTeX2HTML styles directory, but
note that some commands may not be implemented or may be implemented
in a different way.

LICENCE

This material is subject to the LaTeX Project Public License. 
See http://www.ctan.org/license/lppl1.3 
for the details of that license.

Author's home page: http://www.dickimaw-books.com/

Down­load the con­tents of this pack­age in one zip archive (680.5k).

mfirstuc – Up­per­case the first let­ter of a word

The pack­age pro­vides com­mands \make­firstuc that up­per­cases the first let­ter in its ar­gu­ment (with a check for a se­man­tic markup com­mand at the start of the ar­gu­ment), and \xmake­firstuc which ex­pands the ar­gu­ment be­fore up­per­cas­ing. It also pro­vides \cap­i­talise­words{phrase} which ap­plies \make­firstuc to each word in the phrase , where the words are sep­a­rated by reg­u­lar spaces. (Ex­cep­tions can be made for words that shouldn't be con­verted.)

Pack­agemfirstuc
Ver­sion2.06 2017-11-14
Li­cense The Project Public Li­cense 1.3
Main­tainer Ni­cola Tal­bot
TDS archivemfirstuc.tds.zip
Con­tained inTeX Live as mfirstuc
MiKTeX as mfirstuc
Topics ma­nip­u­late strings (typ­i­cally in to­ken lists)
sup­port for de­vel­op­ment of macros
...
Guest Book Sitemap Contact Contact Author