summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/smallcap/smallcap.sty
blob: 741839f2891a6e017c27fe744e4fd903e988d252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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