diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/smallcap |
Initial commit
Diffstat (limited to 'macros/latex/contrib/smallcap')
-rw-r--r-- | macros/latex/contrib/smallcap/README | 20 | ||||
-rw-r--r-- | macros/latex/contrib/smallcap/smallcap.sty | 20 | ||||
-rw-r--r-- | macros/latex/contrib/smallcap/t1cmsc.fd | 34 |
3 files changed, 74 insertions, 0 deletions
diff --git a/macros/latex/contrib/smallcap/README b/macros/latex/contrib/smallcap/README new file mode 100644 index 0000000000..b841727af3 --- /dev/null +++ b/macros/latex/contrib/smallcap/README @@ -0,0 +1,20 @@ +From: taupin@lps.u-psud.fr +Subject: Using small caps & bold & slanted +To: metafont@ens.fr (liste metafont), gut@ens.fr (gut@ens.fr) +Date: Fri, 24 May 96 18:00:23 METDST + +In prevision of the future release of DC1.3 fonts I have built an option +file and a definition file to have all 4 shapes of Small caps. + This is "smallcap.sty" (none exists in the archies) + and "T1cmsc.fd" (none exists in the archies) + +\scshape => \undefined and replaced by \scfamily (SC becomes a family, +rather than a shape). Thus you can write: + +\bf\scfamily\slshape + +to get small caps bold slanted... + +Available at ftp://ftp.lps.u-psud.fr/pub/latex/*.* + +D. Taupin 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 + diff --git a/macros/latex/contrib/smallcap/t1cmsc.fd b/macros/latex/contrib/smallcap/t1cmsc.fd new file mode 100644 index 0000000000..5a5afaf018 --- /dev/null +++ b/macros/latex/contrib/smallcap/t1cmsc.fd @@ -0,0 +1,34 @@ +%% +%% This is file `t1cmsc.fd', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% [private version of] cmfonts.fdd (with options: `fd,T1cmsc,new') +%% +%% Author Daniel Taupin (1996) +%% Licence statement tidied Robin Fairbairns (2003-09-09) +%% +%% This file is distributed under the conditions of the LaTeX Project +%% Public Licence, either version 1.2 of the licence or any later +%% version, at your convenience. +%% +%% The latest version of the licence is available from +%% http://www.latex-project.org/lppl.txt +%% +%% +\ProvidesFile{t1cmsc.fd} + [1995/12/20 v2.4f Non-standard LaTeX font definitions] +\providecommand{\EC@family}[5]{% + \DeclareFontShape{#1}{#2}{#3}{#4} + {<5><6><7><8><9><10><10.95><12><14.4> + <17.28><20.74><24.88><29.86><35.83><43.00><51.60><61.92> genb * #5}{}} +\DeclareFontFamily{T1}{cmsc}{} +\EC@family{T1}{cmsc}{m}{n} {eccc} +\EC@family{T1}{cmsc}{m}{sl} {ecsc} +\EC@family{T1}{cmsc}{m}{it} {ecvi} +\EC@family{T1}{cmsc}{bx}{n} {ecxc} +\EC@family{T1}{cmsc}{bx}{sl} {ecoc} +\endinput +%% +%% End of file `T1cmsc.fd'. |