summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-24 21:52:41 +0000
committerKarl Berry <karl@freefriends.org>2018-01-24 21:52:41 +0000
commitedc1bff0e29e15bb668515373517b5e9710cd142 (patch)
tree9545b44dbd026193dedb84fdcd6993c26903a13d /Master/texmf-dist/tex
parent162519496ac907f55274039075bcb7dc7f75cc8b (diff)
stealcaps (24jan18)
git-svn-id: svn://tug.org/texlive/trunk@46434 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/stealcaps/stealcaps.sty65
1 files changed, 65 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/stealcaps/stealcaps.sty b/Master/texmf-dist/tex/latex/stealcaps/stealcaps.sty
new file mode 100644
index 00000000000..bd5ddc42f21
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/stealcaps/stealcaps.sty
@@ -0,0 +1,65 @@
+%%
+%% This is file `stealcaps.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% stealcaps.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2018 by Ruben Giannotti
+%% <ruben dot giannotti at gmx dot net>
+%% -------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any
+%% later version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions
+%% of LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Enrico Gregorio.
+%%
+%% This work consists of the files
+%% stealcaps.dtx
+%% stealcaps.ins
+%% and the derived file stealcaps.sty.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{stealcaps}
+ [2018/01/21 v1.0 Steal small capitals (RG)]
+\RequirePackage{pgfopts}
+\RequirePackage{iftex}
+\ifPDFTeX\else
+ \RequirePackage{fontspec}
+\fi
+\pgfkeys{
+ /stc/.cd,
+ from/.store in=\font@wildcard@stc
+}
+\ProcessPgfOptions{/stc}
+\def\font@xe@or@lua@stc{\fontspec}
+\def\font@pdf@stc{\fontfamily}
+\def\selectfont@or@relax@stc{\relax}
+\ifPDFTeX
+ \let\font@stc\font@pdf@stc
+ \let\selectfont@or@relax@stc\selectfont
+\else
+ \let\font@stc\font@xe@or@lua@stc
+\fi
+\begingroup
+ \font@stc\font@wildcard@stc\selectfont@or@relax@stc
+ \DeclareFontShape{\f@encoding}{\rmdefault}{m}{sc}{%
+ <-> ssub * \f@family/m/sc
+ }{}
+ \DeclareFontShape{\f@encoding}{\rmdefault}{bx}{sc}{%
+ <-> ssub * \f@family/bx/sc
+ }{}
+\endgroup
+\endinput
+%%
+%% End of file `stealcaps.sty'.