diff options
author | Karl Berry <karl@freefriends.org> | 2023-05-22 21:23:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-05-22 21:23:21 +0000 |
commit | c78b4fb3450c1ca11913d29f8c5694541d79d508 (patch) | |
tree | 28b8cbf268375e076925245df701c594b06fc1f2 /Master/texmf-dist/doc/latex/textcsc | |
parent | 563c4a6e414ece0c95f705a8914f099772f4fb94 (diff) |
textcsc
git-svn-id: svn://tug.org/texlive/trunk@67193 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/textcsc')
-rw-r--r-- | Master/texmf-dist/doc/latex/textcsc/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.pdf | bin | 49161 -> 52368 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex | 46 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/textcsc/textcsc.pdf | bin | 2827 -> 0 bytes |
4 files changed, 42 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/textcsc/README b/Master/texmf-dist/doc/latex/textcsc/README index 5ff7cb77ecf..908b390cf9d 100644 --- a/Master/texmf-dist/doc/latex/textcsc/README +++ b/Master/texmf-dist/doc/latex/textcsc/README @@ -1,16 +1,17 @@ textcsc - caps-to-small-caps command -version: 1.1.0 +version: 1.2.0 This package provides a simple command for caps-to-small-caps text, to allow for small caps acronyms to be presented as uppercase in text (useful for things like copying and pasting from a PDF). This work may be distributed and/or modified under the conditions of the -LaTeX Project Public License (LPPL), version 1.3 or later. +LaTeX Project Public License (LPPL), version 1.3c or later. For suggestions, feature requests, and bug reports, please use the project's GitHub site: https://github.com/ezgranet/textcsc Version history: +10/05/2023 added support for only caps to small caps 24/04/2023 fixed letterspacing issue 10/09/2022 Package creation
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.pdf b/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.pdf Binary files differindex e18bc2b4238..a054e8b385c 100644 --- a/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.pdf +++ b/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.pdf diff --git a/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex b/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex index 12f1cdd8713..cbda0e7f18c 100644 --- a/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex +++ b/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex @@ -85,10 +85,36 @@ Produces: The \textcsc{CIA} and the \textcsc{FBI} \end{quote} + +If you want to convert only capitals to small capitals (for example, because your style guide, like that of \textit{The Economist} prescribes mixed small-caps and lowercase abbreviations), then you can use the macro \verb!\csconly{#1}! or the switch \verb!\csconlyshape! For example, the commands: +\begin{minted}[ +framesep=2mm, +baselinestretch=1.2, +bgcolor=LightGray, +fontsize=\footnotesize, +breaklines, +firstnumber=last +] +{latex} +She earned first an \csconly{MSc} and then a \csconlyshape PhD +\end{minted} + +Produce: + +\begin{quote} + +She earned first an \csconly{MSc} and then a \csconlyshape PhD +\end{quote} + + +\normalfont + + + \section{Development} -Bugs, feature requests, \textit{etc}, should be submitted to the project's official Githup page: (\url{github.com/ezgranet/textcsc}). +Bugs, feature requests, \textit{etc}, should be submitted to the project's official Github page: (\url{github.com/ezgranet/textcsc}). \section{Licence} - This project is licensed under the Latex Public Project Licence version 1.3\textit{c}. This documentation is copyright of the author but licensed under \textcsc{CC-BY-SA} 3.0. + This project is licensed under the \LaTeX\ Public Project Licence version 1.3\textit{c}. This documentation is copyright of the author but licensed under \textcsc{CC-BY-SA} 3.0. \clearpage \section{Implementation} \begin{minted}[ @@ -103,9 +129,9 @@ firstnumber=last ] {latex} -\def\textcscversionnumber{1.1} -\ProvidesPackage{textcsc-dev} -[2023/04/24\textcscversionnumber\ +\def\textcscversionnumber{1.2} +\ProvidesPackage{textcsc} +[2023/05/10\textcscversionnumber\ Command for caps-to-small-caps-text] % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -156,20 +182,26 @@ firstnumber=last \newcommand{\textcsc}[1]{{\cscshape% #1% }} - +\newcommand{\csconlyshape}{\addfontfeature{RawFeature={+c2sc}}} +\newcommand{\csconly}[1]{{\csconlyshape% +#1% +}} %%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%% % all done %%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%% \end{minted} - \section{Version History} +\subsection{\texttt{1.2.0}} +\ttfamily 24 April 2023: added option for only caps to small caps text. \subsection{\texttt{1.1.0}} + + \ttfamily 24 April 2023: Update to fix issue with LetterSpace property not carrying over. diff --git a/Master/texmf-dist/doc/latex/textcsc/textcsc.pdf b/Master/texmf-dist/doc/latex/textcsc/textcsc.pdf Binary files differdeleted file mode 100644 index b01d83f92ba..00000000000 --- a/Master/texmf-dist/doc/latex/textcsc/textcsc.pdf +++ /dev/null |