summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/titlecaps/titlecaps.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/titlecaps/titlecaps.tex')
-rw-r--r--macros/latex/contrib/titlecaps/titlecaps.tex29
1 files changed, 13 insertions, 16 deletions
diff --git a/macros/latex/contrib/titlecaps/titlecaps.tex b/macros/latex/contrib/titlecaps/titlecaps.tex
index 01124a0830..6019f7e588 100644
--- a/macros/latex/contrib/titlecaps/titlecaps.tex
+++ b/macros/latex/contrib/titlecaps/titlecaps.tex
@@ -1,6 +1,4 @@
\documentclass{article}
-\def\version{1.2}
-%% Copyright 2013 Steven B. Segletes
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -14,13 +12,6 @@
%
% The Current Maintainer of this work is Steven B. Segletes.
%
-% V1.1 -Typographical corrections to docs.
-% -Missing % added on line 356
-% V1.2 -Now works with \l and \aa national symbols.
-% -Replaced all occurrences of \roman with \romannumeral\value
-% -Found two lines needing a trailing %
-% -Added a trailing space following invocations of \catcode
-%
\usepackage{titlecaps}
\usepackage{needspace}
\parskip 1em
@@ -41,9 +32,9 @@
\rule{0em}{.7em}\small Routines for setting rich-text input into
Titling Caps\\
\rule{0em}{2.7em}\large Steven B. Segletes\\
-steven.b.segletes.civ@mail.mil\\
-\rule{0em}{1.7em}\today\\
-v\version
+SSegletes@verizon.net\\
+\rule{0em}{1.7em}\titlecapsVersionDate\\
+v\titlecapsVersionNumber
\end{center}
\Addlcwords{for a is but and with of in as the etc on to if}
@@ -156,7 +147,7 @@ the lower-cased word flag that has previously been set. The {\tcp}
package can notably handle the titling of strings containing both
diacritical marks found in various languages (such as \`o, \'o, \^o,
\"o, \~o, \=o, \.o, \u o, \v o, \H o, \t{oo}, \c o, \d o, and \b o), as
-well as national symbols (such as \oe, \ae, \aa, \l, and \o).
+well as national symbols (such as \oe, \ae, and \o~[see {\QL}]).
While punctuation had been earlier screened out in order to search for
predefined lower-cased words, that is a slightly different problem from
@@ -177,6 +168,12 @@ While {\tcp} has been set up to run with certain embedded size and
font-changing commands, it will not, in general, work with macros in the
argument, unless the macros expand directly to a text string.
+The {\tcp} package is designed to work with diacritical marks (for
+example, umlauts) as well as national symbols (symbols like \ae, \oe,
+\textit{etc.}). There remain, however, two national symbols which are
+not handled properly by this package. They are {\aa} and {\l}. They
+will not be capitalized, even if found at the beginning of a word.
+
The {\tcp} package is designed to screen out punctuation when searching
for words that are pre-designated as lower-cased. So, for example, the
word (\textit{if}) or \textit{``if''} or [\textit{if} or \textit{if,}
@@ -374,14 +371,14 @@ but if you want the argument of that command to not be titled, you
either need, in this example, to add \textit{xx} to the lowercase word
list, which you can see i did not. instead, i put ``\bs relax~xx'' as
the argument, so that, in essence, the \bs relax was capitalized, not
-the x. Or you could use \texttt{\bs textnc}. here i demonstrate that
+the x. Or you could use \texttt{\bs textnc} . here i demonstrate that
text boldface, \textbf{as in the \bs textbf command}, also works fine,
as do \texttt{texttt}, \textsl{textsl}, \textsc{textsc},
\textsf{textsf}, \textit{etc}. titlecap will work on diacritical marks,
such as \"apfel, \c cacao \textit{etc.}, \scriptsize fontsize \LARGE
changing commands\normalsize\unskip, as well as national symbols such as
-\o laf, \ae gis, \oe dipus, \aa ngstrom, and \l ucky.
-the method will work with some
+\o laf, \ae gis, and \oe dipus. unfortunately, i could not get it to
+work on the \aa~nor the \l~symbols. the method will work with some
things in math mode, capitalizing symbols if there is a leading space,
$x^2$ can become $ x^2$, and it can process but it will not capitalize
the greek symbols, such as $\alpha$, and will choke on most macros, if