summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/smallcap/smallcap.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/smallcap/smallcap.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/smallcap/smallcap.sty')
-rw-r--r--macros/latex/contrib/smallcap/smallcap.sty20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/latex/contrib/smallcap/smallcap.sty b/macros/latex/contrib/smallcap/smallcap.sty
new file mode 100644
index 0000000000..741839f289
--- /dev/null
+++ b/macros/latex/contrib/smallcap/smallcap.sty
@@ -0,0 +1,20 @@
+% General Small Caps family by Daniel TAUPIN, May 1996, fit for
+% EC fonts
+
+\ifx\scfamily\undefined\else\endinput\fi
+
+\def\Scdefault{cmsc}
+
+\DeclareRobustCommand\scfamily
+ {\not@math@alphabet\scfamily\mathrm
+ \fontfamily\Scdefault\selectfont}
+
+\DeclareTextFontCommand{\textsc}{\scfamily}
+
+%\let\scshape\undefined
+
+\expandafter\def\csname sc \endcsname{\@fontswitch
+ {\normalfont \scfamily}{\mathrm }}
+
+\endinput
+