diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-13 19:56:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-13 19:56:33 +0000 |
commit | 6c42279a36bed48049930270e967663e428a2975 (patch) | |
tree | 401d637d03883603a654466b7a44266338248851 /Master/texmf-dist/doc/latex/titlecaps | |
parent | e11fc6bc7f2507fbcb14bf0150079879bcd0906f (diff) |
titlecaps (13apr22)
git-svn-id: svn://tug.org/texlive/trunk@63020 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/titlecaps')
-rw-r--r-- | Master/texmf-dist/doc/latex/titlecaps/README | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/titlecaps/titlecaps.pdf | bin | 272789 -> 292018 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/titlecaps/titlecaps.tex | 29 |
3 files changed, 19 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/titlecaps/README b/Master/texmf-dist/doc/latex/titlecaps/README index 05bd3a320ad..8f8e886bcc3 100644 --- a/Master/texmf-dist/doc/latex/titlecaps/README +++ b/Master/texmf-dist/doc/latex/titlecaps/README @@ -1,7 +1,7 @@ -The titlecaps package is intended for setting rich text into titling -capitals (in which the first character of words are capitalized). It -automatically accounts for diacritical marks (like umlauts), national -symbols (like "ae"), punctuation, and font changing commands that alter -the appearance or size of the text. It allows a list of predesignated -words to be protected as lower-cased, and also allows for titling +The titlecaps package is intended for setting rich text into titling +capitals (in which the first character of words are capitalized). It +automatically accounts for diacritical marks (like umlauts), national +symbols (like "ae"), punctuation, and font changing commands that alter +the appearance or size of the text. It allows a list of predesignated +words to be protected as lower-cased, and also allows for titling exceptions of various sorts. diff --git a/Master/texmf-dist/doc/latex/titlecaps/titlecaps.pdf b/Master/texmf-dist/doc/latex/titlecaps/titlecaps.pdf Binary files differindex eb54eccbf11..13e9b497cbe 100644 --- a/Master/texmf-dist/doc/latex/titlecaps/titlecaps.pdf +++ b/Master/texmf-dist/doc/latex/titlecaps/titlecaps.pdf diff --git a/Master/texmf-dist/doc/latex/titlecaps/titlecaps.tex b/Master/texmf-dist/doc/latex/titlecaps/titlecaps.tex index 01124a08308..6019f7e588f 100644 --- a/Master/texmf-dist/doc/latex/titlecaps/titlecaps.tex +++ b/Master/texmf-dist/doc/latex/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 |