texlive[67193] Master/texmf-dist: textcsc

commits+karl at tug.org commits+karl at tug.org
Mon May 22 23:23:21 CEST 2023


Revision: 67193
          http://tug.org/svn/texlive?view=revision&revision=67193
Author:   karl
Date:     2023-05-22 23:23:21 +0200 (Mon, 22 May 2023)
Log Message:
-----------
textcsc

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/textcsc/README
    trunk/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.pdf
    trunk/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex
    trunk/Master/texmf-dist/tex/latex/textcsc/textcsc.sty

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/textcsc/textcsc.pdf

Modified: trunk/Master/texmf-dist/doc/latex/textcsc/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/textcsc/README	2023-05-22 21:15:08 UTC (rev 67192)
+++ trunk/Master/texmf-dist/doc/latex/textcsc/README	2023-05-22 21:23:21 UTC (rev 67193)
@@ -1,11 +1,11 @@
 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
@@ -12,5 +12,6 @@
 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

Modified: trunk/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex	2023-05-22 21:15:08 UTC (rev 67192)
+++ trunk/Master/texmf-dist/doc/latex/textcsc/textcsc-documentation.tex	2023-05-22 21:23:21 UTC (rev 67193)
@@ -85,10 +85,36 @@
 	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 @@
 ]
 {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,7 +182,10 @@
 \newcommand{\textcsc}[1]{{\cscshape%
 #1%
 }}
-
+\newcommand{\csconlyshape}{\addfontfeature{RawFeature={+c2sc}}}
+\newcommand{\csconly}[1]{{\csconlyshape%
+#1%
+}}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 % all done
@@ -163,13 +192,16 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 \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.
 
 

Deleted: trunk/Master/texmf-dist/doc/latex/textcsc/textcsc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/textcsc/textcsc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/textcsc/textcsc.sty	2023-05-22 21:15:08 UTC (rev 67192)
+++ trunk/Master/texmf-dist/tex/latex/textcsc/textcsc.sty	2023-05-22 21:23:21 UTC (rev 67193)
@@ -1,6 +1,6 @@
-\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 
@@ -51,7 +51,10 @@
 \newcommand{\textcsc}[1]{{\cscshape%
 #1%
 }}
-
+\newcommand{\csconlyshape}{\addfontfeature{RawFeature={+c2sc}}}
+\newcommand{\csconly}[1]{{\csconlyshape%
+#1%
+}}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 % all done



More information about the tex-live-commits mailing list.