summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/mfirstuc-manual.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/mfirstuc-manual.html')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries/mfirstuc-manual.html359
1 files changed, 173 insertions, 186 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/mfirstuc-manual.html b/Master/texmf-dist/doc/latex/glossaries/mfirstuc-manual.html
index 3082292be54..de875b993c6 100644
--- a/Master/texmf-dist/doc/latex/glossaries/mfirstuc-manual.html
+++ b/Master/texmf-dist/doc/latex/glossaries/mfirstuc-manual.html
@@ -1,5 +1,4 @@
-<a
- id="top"></a><?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
@@ -11,68 +10,30 @@
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)" />
<!-- xhtml,fn-in,css-in,uni-html4,utf8 -->
<meta name="src" content="mfirstuc-manual.tex" />
-<meta name="date" content="2014-01-20 17:23:00" />
+<meta name="date" content="2014-03-07 17:43:00" />
<style type="text/css">
<!--
/* start css.sty */
-.ecrm-1728{font-size:170%;}
-.ecrm-1200{font-size:120%;}
-.ectt-1200{font-size:120%; font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ectt-1200{ font-family: monospace;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ecss-1000{ font-family: sans-serif;}
-.ectt-0900{font-size:90%; font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-0900{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ectt-1000{ font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecit-1000{ font-style: italic; font-family: monospace;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
-.ecti-1000{ font-style: italic;}
+.cmmi-10{font-style: italic;}
+.cmr-17{font-size:170%;}
+.cmr-12{font-size:120%;}
+.cmtt-12{font-size:120%;font-family: monospace;}
+.cmtt-12{font-family: monospace;}
+.cmtt-12{font-family: monospace;}
+.cmtt-12{font-family: monospace;}
+.cmss-10{ font-family: sans-serif;}
+.cmtt-9{font-size:90%;font-family: monospace;}
+.cmtt-9{font-family: monospace;}
+.cmtt-9{font-family: monospace;}
+.cmtt-9{font-family: monospace;}
+.cmtt-10{font-family: monospace;}
+.cmtt-10{font-family: monospace;}
+.cmtt-10{font-family: monospace;}
+.cmtt-10{font-family: monospace;}
+.cmitt-10{font-family: monospace; font-style: italic;}
+.cmti-10{ font-style: italic;}
p.noindent { text-indent: 0em }
td p.noindent { text-indent: 0em; margin-top:0em; }
p.nopar { text-indent: 0em; }
@@ -184,6 +145,7 @@ div.abstract {width:100%;}
.alltt P { margin-bottom : 0em; margin-top : 0em; }
.alltt { margin-bottom : 1em; margin-top : 1em; }
div.important { border : solid red; }
+div.verbatim { font-family: monospace; white-space: nowrap; text-align:left; clear:both; padding-top: 2ex; padding-bottom: 2ex;}
/* end css.sty */
@@ -191,7 +153,8 @@ div.important { border : solid red; }
</style>
</head><body
>
- <div class="maketitle">
+ <div class="maketitle"><a
+ id="top"></a>
@@ -201,56 +164,62 @@ div.important { border : solid red; }
<h2 class="titleHead">mfirstuc.sty v1.08: uppercasing first letter</h2>
<div class="author" ><span
-class="ecrm-1200">Nicola L.C. Talbot</span>
+class="cmr-12">Nicola L.C. Talbot</span>
<br /> <span
-class="ecrm-1200">Dickimaw Books</span>
+class="cmr-12">Dickimaw Books</span>
<br /><a
href="http://www.dickimaw-books.com/" class="url" ><span
-class="ectt-1200">http://www.dickimaw-_books.com/</span></a></div><br />
+class="cmtt-12">http://www.dickimaw-_books.com/</span></a></div><br />
<div class="date" ><span
-class="ecrm-1200">2013-11-04</span></div>
+class="cmr-12">2013-11-04</span></div>
</div>
-<!--l. 24--><p class="indent" > The <span
-class="ecss-1000">glossaries </span>bundle is supplied with the package <span
-class="ecss-1000">mfirstuc</span><a
+<!--l. 27--><p class="indent" > The <span
+class="cmss-10">glossaries </span>bundle is supplied with the package <span
+class="cmss-10">mfirstuc</span><a
id="dx1-2"></a> which provides the
command:
-</p><!--l. 26--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
-class="ectt-0900">\makefirstuc</span><span
-class="ectt-0900">&#x00A0;</span></span><a
+</p><!--l. 29--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\makefirstuc</span><span
+class="cmtt-9">&#x00A0;</span></span><a
id="dx1-3"></a> <span
-class="ectt-1000">\makefirstuc{</span><span
-class="ecit-1000">&#x003C;stuff&#x003E;</span><span
-class="ectt-1000">} </span></div><hr>
-</p><!--l. 28--><p class="noindent" >
+class="cmtt-10">\makefirstuc{</span><span
+class="cmmi-10">&#x003C;</span><span
+class="cmitt-10">stuff</span><span
+class="cmmi-10">&#x003E;</span><span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 31--><p class="noindent" >
This makes the first object of <span
-class="ecti-1000">&#x003C;stuff&#x003E; </span>uppercase unless <span
-class="ecti-1000">&#x003C;stuff&#x003E; </span>starts with a control
+class="cmmi-10">&#x003C;</span><span
+class="cmti-10">stuff</span><span
+class="cmmi-10">&#x003E; </span>uppercase unless <span
+class="cmmi-10">&#x003C;</span><span
+class="cmti-10">stuff</span><span
+class="cmmi-10">&#x003E; </span>starts with a control
sequence followed by a non-empty group, in which case the first object in the group is
converted to uppercase. Examples: </p>
<ul class="itemize1">
<li class="itemize"><span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\makefirstuc{abc}</span></span></span> produces Abc.
+class="cmtt-10">\makefirstuc{abc}</span></span></span> produces Abc.
</li>
<li class="itemize"><span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\makefirstuc{\emph{abc}}</span></span></span> produces <span
-class="ecti-1000">Abc </span>(<span
-class="ectt-1000">\MakeUppercase</span><a
+class="cmtt-10">\makefirstuc{\emph{abc}}</span></span></span> produces <span
+class="cmti-10">Abc </span>(<span
+class="cmtt-10">\MakeUppercase</span><a
id="dx1-4"></a> has been applied to
the letter &#8220;a&#8221; rather than <span
-class="ectt-1000">\emph</span>). Note however that
+class="cmtt-10">\emph</span>). Note however that
<div class="verbatim" id="verbatim-1">
\makefirstuc{{\em&#x00A0;abc}}
</div>
- <!--l. 41--><p class="nopar" > produces <span
-class="ecti-1000">ABC </span>(first object is <span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">{\em</span><span
-class="ectt-1000">&#x00A0;abc}</span></span></span> so equivalent to <span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\MakeUppercase{\em</span><span
-class="ectt-1000">&#x00A0;abc}</span></span></span>),
+ <!--l. 44--><p class="nopar" > produces <span
+class="cmti-10">ABC </span>(first object is <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">{\em</span><span
+class="cmtt-10">&#x00A0;abc}</span></span></span> so equivalent to <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">\MakeUppercase{\em</span><span
+class="cmtt-10">&#x00A0;abc}</span></span></span>),
and
@@ -259,40 +228,40 @@ class="ectt-1000">&#x00A0;abc}</span></span></span>),
<div class="verbatim" id="verbatim-2">
{\makefirstuc{\em&#x00A0;abc}}
</div>
- <!--l. 46--><p class="nopar" > produces abc (<span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\em</span></span></span> doesn&#8217;t have an argument therefore first object is <span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\em</span></span></span> so
+ <!--l. 49--><p class="nopar" > produces abc (<span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">\em</span></span></span> doesn&#8217;t have an argument therefore first object is <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">\em</span></span></span> so
equivalent to <span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">{\MakeUppercase{\em}abc}</span></span></span>).
+class="cmtt-10">{\MakeUppercase{\em}abc}</span></span></span>).
</p></li>
<li class="itemize"><span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\makefirstuc{{\&#8217;a}bc}</span></span></span> produces Ábc.
+class="cmtt-10">\makefirstuc{{\&#8217;a}bc}</span></span></span> produces &Aacute;bc.
</li>
<li class="itemize"><span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\makefirstuc{\ae</span><span
-class="ectt-1000">&#x00A0;bc}</span></span></span> produces Æbc.
+class="cmtt-10">\makefirstuc{\ae</span><span
+class="cmtt-10">&#x00A0;bc}</span></span></span> produces &AElig;bc.
</li>
<li class="itemize"><span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\makefirstuc{{\ae}bc}</span></span></span> produces Æbc.
+class="cmtt-10">\makefirstuc{{\ae}bc}</span></span></span> produces &AElig;bc.
</li>
<li class="itemize"><span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\makefirstuc{{</span><span
-class="ectt-1000">ä</span><span
-class="ectt-1000">}bc}</span></span></span> produces Äbc.
+class="cmtt-10">\makefirstuc{{</span><span
+class="cmtt-10">&auml;</span><span
+class="cmtt-10">}bc}</span></span></span> produces &Auml;bc.
</li></ul>
-<!--l. 60--><p class="noindent" >Note that non-Latin or accented characters appearing at the start of the text must be
+<!--l. 63--><p class="noindent" >Note that non-Latin or accented characters appearing at the start of the text must be
placed in a group (even if you are using the <span
-class="ecss-1000">inputenc</span><a
+class="cmss-10">inputenc</span><a
id="dx1-5"></a> package) due to expansion
issues.
-</p><!--l. 64--><p class="indent" > <div class="important" title="Important Note"> In version 1.02 of <span
-class="ecss-1000">mfirstuc</span>, a bug fix resulted in a change in output if the first
+</p><!--l. 67--><p class="indent" > <div class="important" title="Important Note"> In version 1.02 of <span
+class="cmss-10">mfirstuc</span>, a bug fix resulted in a change in output if the first
object is a control sequence followed by an empty group. Prior to version 1.02,
<span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\makefirstuc{\ae{}bc}</span></span></span> produced æBc. However as from version 1.02, it now produces
-Æbc. </div>
-</p><!--l. 70--><p class="noindent" >
-</p><!--l. 72--><p class="indent" > Note also that
+class="cmtt-10">\makefirstuc{\ae{}bc}</span></span></span> produced &aelig;Bc. However as from version 1.02, it now produces
+&AElig;bc. </div>
+</p><!--l. 73--><p class="noindent" >
+</p><!--l. 75--><p class="indent" > Note also that
@@ -301,11 +270,11 @@ class="ectt-1000">\makefirstuc{\ae{}bc}</span></span></span> produced æBc. Howev
\newcommand{\abc}{abc}
&#x00A0;<br />\makefirstuc{\abc}
</div>
-<!--l. 76--><p class="nopar" > produces: ABC. This is because the first object in the argument of <span
-class="ectt-1000">\makefirstuc </span>is
+<!--l. 79--><p class="nopar" > produces: ABC. This is because the first object in the argument of <span
+class="cmtt-10">\makefirstuc </span>is
<span
-class="ectt-1000">\abc</span>, so it does <span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">\MakeUppercase{\abc}</span></span></span>. Whereas:
+class="cmtt-10">\abc</span>, so it does <span class="obeylines-h"><span class="verb"><span
+class="cmtt-10">\MakeUppercase{\abc}</span></span></span>. Whereas:
@@ -314,19 +283,23 @@ class="ectt-1000">\MakeUppercase{\abc}</span></span></span>. Whereas:
\newcommand{\abc}{abc}
&#x00A0;<br />\expandafter\makefirstuc\expandafter{\abc}
</div>
-<!--l. 83--><p class="nopar" > produces: Abc. There is a short cut command which will do this:
-</p><!--l. 85--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
-class="ectt-0900">\xmakefirstuc</span><span
-class="ectt-0900">&#x00A0;</span></span><a
+<!--l. 86--><p class="nopar" > produces: Abc. There is a short cut command which will do this:
+</p><!--l. 88--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\xmakefirstuc</span><span
+class="cmtt-9">&#x00A0;</span></span><a
id="dx1-6"></a> <span
-class="ectt-1000">\xmakefirstuc{</span><span
-class="ecit-1000">&#x003C;stuff&#x003E;</span><span
-class="ectt-1000">} </span></div><hr>
-</p><!--l. 87--><p class="noindent" >
+class="cmtt-10">\xmakefirstuc{</span><span
+class="cmmi-10">&#x003C;</span><span
+class="cmitt-10">stuff</span><span
+class="cmmi-10">&#x003E;</span><span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 90--><p class="noindent" >
This is equivalent to <span
-class="ectt-1000">\expandafter\makefirstuc\expandafter{</span><span
-class="ecti-1000">&#x003C;stuff&#x003E;</span><span
-class="ectt-1000">}</span>.
+class="cmtt-10">\expandafter\makefirstuc\expandafter{</span><span
+class="cmmi-10">&#x003C;</span><span
+class="cmti-10">stuff</span><span
+class="cmmi-10">&#x003E;</span><span
+class="cmtt-10">}</span>.
So
@@ -336,37 +309,39 @@ So
\newcommand{\abc}{abc}
&#x00A0;<br />\xmakefirstuc{\abc}
</div>
-<!--l. 92--><p class="nopar" > produces: Abc.
-</p><!--l. 97--><p class="indent" > <div class="important" title="Important Note"> <span
-class="ectt-1000">\xmakefirstuc </span>only performs one level expansion on the first object in its
+<!--l. 95--><p class="nopar" > produces: Abc.
+</p><!--l. 100--><p class="indent" > <div class="important" title="Important Note"> <span
+class="cmtt-10">\xmakefirstuc </span>only performs one level expansion on the first object in its
argument. It does not fully expand the entire argument. </div>
-</p><!--l. 101--><p class="noindent" >
-</p><!--l. 103--><p class="indent" > If you use <span
-class="ecss-1000">mfirstuc </span>without the <span
-class="ecss-1000">glossaries</span><a
+</p><!--l. 104--><p class="noindent" >
+</p><!--l. 106--><p class="indent" > If you use <span
+class="cmss-10">mfirstuc </span>without the <span
+class="cmss-10">glossaries</span><a
id="dx1-7"></a> package, the standard <span
-class="ectt-1000">\MakeUppercase</span>
+class="cmtt-10">\MakeUppercase</span>
command is used. If used with <span
-class="ecss-1000">glossaries</span><a
+class="cmss-10">glossaries</span><a
id="dx1-8"></a>, <span
-class="ectt-1000">\MakeTextUppercase</span><a
+class="cmtt-10">\MakeTextUppercase</span><a
id="dx1-9"></a> (defined by <span
-class="ecss-1000">textcase</span><a
+class="cmss-10">textcase</span><a
id="dx1-10"></a> the
package) is used instead. If you are using <span
-class="ecss-1000">mfirstuc </span>without the <span
-class="ecss-1000">glossaries </span>package and
+class="cmss-10">mfirstuc </span>without the <span
+class="cmss-10">glossaries </span>package and
want to use <span
-class="ectt-1000">\MakeTextUppercase</span><a
+class="cmtt-10">\MakeTextUppercase</span><a
id="dx1-11"></a> instead, you can redefine
-</p><!--l. 109--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
-class="ectt-0900">\glsmakefirstuc</span><span
-class="ectt-0900">&#x00A0;</span></span><a
+</p><!--l. 112--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\glsmakefirstuc</span><span
+class="cmtt-9">&#x00A0;</span></span><a
id="dx1-12"></a> <span
-class="ectt-1000">\glsmakefirstuc{</span><span
-class="ecit-1000">&#x003C;text&#x003E;</span><span
-class="ectt-1000">} </span></div><hr>
-</p><!--l. 111--><p class="noindent" >
+class="cmtt-10">\glsmakefirstuc{</span><span
+class="cmmi-10">&#x003C;</span><span
+class="cmitt-10">text</span><span
+class="cmmi-10">&#x003E;</span><span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 114--><p class="noindent" >
For example:
@@ -375,50 +350,60 @@ For example:
<div class="verbatim" id="verbatim-6">
\renewcommand{\glsmakefirstuc}[1]{\MakeTextUppercase&#x00A0;#1}
</div>
-<!--l. 115--><p class="nopar" > Remember to also load <span
-class="ecss-1000">textcase</span><a
+<!--l. 118--><p class="nopar" > Remember to also load <span
+class="cmss-10">textcase</span><a
id="dx1-13"></a> (<span
-class="ecss-1000">glossaries </span>loads this automatically).
-</p><!--l. 119--><p class="indent" > New to mfirstuc v1.06:
-</p><!--l. 120--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
-class="ectt-0900">\capitalisewords</span><span
-class="ectt-0900">&#x00A0;</span></span><a
+class="cmss-10">glossaries </span>loads this automatically).
+</p><!--l. 122--><p class="indent" > New to mfirstuc v1.06:
+</p><!--l. 123--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\capitalisewords</span><span
+class="cmtt-9">&#x00A0;</span></span><a
id="dx1-14"></a> <span
-class="ectt-1000">\capitalisewords{</span><span
-class="ecit-1000">&#x003C;text&#x003E;</span><span
-class="ectt-1000">} </span></div><hr>
-</p><!--l. 122--><p class="noindent" >
+class="cmtt-10">\capitalisewords{</span><span
+class="cmmi-10">&#x003C;</span><span
+class="cmitt-10">text</span><span
+class="cmmi-10">&#x003E;</span><span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 125--><p class="noindent" >
This command apply <span
-class="ectt-1000">\makefirstuc</span><a
+class="cmtt-10">\makefirstuc</span><a
id="dx1-15"></a> to each word in <span
-class="ecti-1000">&#x003C;text&#x003E; </span>where the space character
+class="cmmi-10">&#x003C;</span><span
+class="cmti-10">text</span><span
+class="cmmi-10">&#x003E; </span>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 <span class="obeylines-h"><span class="verb"><span
-class="ectt-1000">~</span></span></span> or <span
-class="ectt-1000">\space</span>. Note that no expansion is performed on
+class="cmtt-10">~</span></span></span> or <span
+class="cmtt-10">\space</span>. Note that no expansion is performed on
<span
-class="ecti-1000">&#x003C;text&#x003E;</span>.
-</p><!--l. 129--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
-class="ectt-0900">\xcapitalisewords</span><span
-class="ectt-0900">&#x00A0;</span></span><a
+class="cmmi-10">&#x003C;</span><span
+class="cmti-10">text</span><span
+class="cmmi-10">&#x003E;</span>.
+</p><!--l. 132--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span
+class="cmtt-9">\xcapitalisewords</span><span
+class="cmtt-9">&#x00A0;</span></span><a
id="dx1-16"></a> <span
-class="ectt-1000">\xcapitalisewords{</span><span
-class="ecit-1000">&#x003C;text&#x003E;</span><span
-class="ectt-1000">} </span></div><hr>
-</p><!--l. 131--><p class="noindent" >
+class="cmtt-10">\xcapitalisewords{</span><span
+class="cmmi-10">&#x003C;</span><span
+class="cmitt-10">text</span><span
+class="cmmi-10">&#x003E;</span><span
+class="cmtt-10">} </span></div><hr>
+</p><!--l. 134--><p class="noindent" >
This is a short cut for <span
-class="ectt-1000">\expandafter\capitalisewords\expandafter{</span><span
-class="ecti-1000">&#x003C;text&#x003E;</span><span
-class="ectt-1000">}</span>.
-</p><!--l. 135--><p class="indent" > <div class="important" title="Important Note"> If you are using <span
-class="ecss-1000">hyperref</span><a
+class="cmtt-10">\expandafter\capitalisewords\expandafter{</span><span
+class="cmmi-10">&#x003C;</span><span
+class="cmti-10">text</span><span
+class="cmmi-10">&#x003E;</span><span
+class="cmtt-10">}</span>.
+</p><!--l. 138--><p class="indent" > <div class="important" title="Important Note"> If you are using <span
+class="cmss-10">hyperref</span><a
id="dx1-17"></a> and want to use <span
-class="ectt-1000">\capitalisewords </span>or <span
-class="ectt-1000">\makefirstuc</span><a
+class="cmtt-10">\capitalisewords </span>or <span
+class="cmtt-10">\makefirstuc</span><a
id="dx1-18"></a> (or
<span
-class="ectt-1000">\xcapitalisewords</span>/<span
-class="ectt-1000">\xmakefirstuc</span>) in a section heading, the PDF bookmarks won&#8217;t
+class="cmtt-10">\xcapitalisewords</span>/<span
+class="cmtt-10">\xmakefirstuc</span>) in a section heading, the PDF bookmarks won&#8217;t
be able to use the command as it&#8217;s not expandable, so you will get a warning that looks
like:
@@ -429,17 +414,17 @@ like:
Package&#x00A0;hyperref&#x00A0;Warning:&#x00A0;Token&#x00A0;not&#x00A0;allowed&#x00A0;in&#x00A0;a&#x00A0;PDF&#x00A0;string&#x00A0;(PDFDocEncoding):
&#x00A0;<br />(hyperref)&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;removing&#x00A0;&#8216;\capitalisewords&#8217;
</div>
-<!--l. 143--><p class="nopar" > If you want to provide an alternative for the PDF bookmark, you can use
+<!--l. 146--><p class="nopar" > If you want to provide an alternative for the PDF bookmark, you can use
<span
-class="ecss-1000">hyperref</span><a
+class="cmss-10">hyperref</span><a
id="dx1-19"></a>&#8217;s <span
-class="ectt-1000">\texorpdfstring</span><a
+class="cmtt-10">\texorpdfstring</span><a
id="dx1-20"></a> command. See the <span
-class="ecss-1000">hyperref</span><a
+class="cmss-10">hyperref</span><a
id="dx1-21"></a> manual for further details.
</div>
-</p><!--l. 147--><p class="noindent" >
-</p><!--l. 149--><p class="indent" > Examples:
+</p><!--l. 150--><p class="noindent" >
+</p><!--l. 152--><p class="indent" > Examples:
</p><ol class="enumerate1" >
<li
class="enumerate" id="x1-23x1">
@@ -449,7 +434,7 @@ class="ecss-1000">hyperref</span><a
<div class="verbatim" id="verbatim-8">
\capitalisewords{a&#x00A0;book&#x00A0;of&#x00A0;rhyme.}
</div>
- <!--l. 154--><p class="nopar" > produces: A Book Of Rhyme.
+ <!--l. 157--><p class="nopar" > produces: A Book Of Rhyme.
</p></li>
<li
class="enumerate" id="x1-25x2">
@@ -459,7 +444,7 @@ class="ecss-1000">hyperref</span><a
<div class="verbatim" id="verbatim-9">
\capitalisewords{a&#x00A0;book\space&#x00A0;of&#x00A0;rhyme.}
</div>
- <!--l. 161--><p class="nopar" > produces: A Book of Rhyme.
+ <!--l. 164--><p class="nopar" > produces: A Book of Rhyme.
</p></li>
<li
class="enumerate" id="x1-27x3">
@@ -470,10 +455,12 @@ class="ecss-1000">hyperref</span><a
\newcommand{\mytitle}{a&#x00A0;book\space&#x00A0;of&#x00A0;rhyme.}
&#x00A0;<br />\capitalisewords{\mytitle}
</div>
- <!--l. 169--><p class="nopar" > produces: A BOOK OF RHYME. (No expansion is performed on <span
-class="ectt-1000">\mytitle</span>, so
+ <!--l. 172--><p class="nopar" > produces: A BOOK OF RHYME. (No expansion is performed on <span
+class="cmtt-10">\mytitle</span>, so
<span
-class="ecti-1000">&#x003C;text&#x003E; </span>consists of just one &#8220;word&#8221;.) Compare with next example:
+class="cmmi-10">&#x003C;</span><span
+class="cmti-10">text</span><span
+class="cmmi-10">&#x003E; </span>consists of just one &#8220;word&#8221;.) Compare with next example:
</p></li>
<li
class="enumerate" id="x1-29x4">
@@ -484,7 +471,7 @@ class="ecti-1000">&#x003C;text&#x003E; </span>consists of just one &#8220;word&#
\newcommand{\mytitle}{a&#x00A0;book\space&#x00A0;of&#x00A0;rhyme.}
&#x00A0;<br />\xcapitalisewords{\mytitle}
</div>
- <!--l. 180--><p class="nopar" > produces: A Book of Rhyme.
+ <!--l. 183--><p class="nopar" > produces: A Book of Rhyme.
</p>
</li></ol>