blob: 05220324c0335cdd1df16ba8bfed997e0029badf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
LaTeX Package : mfirstuc v2.05
Last Modified : 2017-11-10
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/
|