summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bookhands/allrust.sty
blob: 6539bf4ef5a0ac25f325be88b5175fd541e2abff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
%%
%% This is file `allrust.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rustic.dtx  (with options: `uscall')
%% 
%%  Copyright 1999 Peter R. Wilson
%% 
%%  This program is provided under the terms of the
%%  LaTeX Project Public License distributed from CTAN
%%  archives in directory macros/latex/base/lppl.txt.
%% 
%% Author: Peter Wilson (CUA)
%%         now at: peter.r.wilson@boeing.com
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{allrust}[1999/05/01 v1.0 package for all Roman Rustic fonts]
\RequirePackage{rustic}
\providecommand{\Tienc}{T1}
\renewcommand{\rmdefault}{rust}
\renewcommand{\sfdefault}{rust}
\renewcommand{\ttdefault}{rust}
\newcommand{\rustic@baselineskip@table}{%
  <\@vpt>9.5%
  <\@vipt>11.4%
  <\@viipt>13.3%
  <\@viiipt>15.2%
  <\@xpt>19%
  <\@xipt>20.9%
  <\@xiipt>22.8%
  <\@xivpt>27.36%
  <\@xviipt>23.3%
  <\@xxpt>38%
  <\@xxvpt>47.5}
\newcommand{\rustic@new@setfontsize}[3]{%
  \edef\@tempa{\def\noexpand\@tempb####1<#2}%
  \@tempa>##2<##3\@nil{\def\rustic@baselineskip@value{##2}}%
  \edef\@tempa{\noexpand\@tempb\rustic@baselineskip@table<#2}%
  \@tempa><\@nil
  \ifx\rustic@baselineskip@value\@empty
    \def\rustic@baselineskip@value{#3}%
  \fi
  \rustic@old@setfontsize{#1}{#2}\rustic@baselineskip@value}
\ifx\Tienc\encodingdefault
  \providecommand{\cmrfamily}{\usefont{T1}{cmr}{m}{n}}
  \providecommand{\cmssfamily}{\usefont{T1}{cmss}{m}{n}}
  \providecommand{\cmttfamily}{\usefont{T1}{cmtt}{m}{n}}
\else
  \providecommand{\cmrfamily}{\usefont{OT1}{cmr}{m}{n}}
  \providecommand{\cmssfamily}{\usefont{OT1}{cmss}{m}{n}}
  \providecommand{\cmttfamily}{\usefont{OT1}{cmtt}{m}{n}}
\fi
\DeclareTextFontCommand{\textcmr}{\cmrfamily}
\DeclareTextFontCommand{\textcmss}{\cmssfamily}
\DeclareTextFontCommand{\textcmtt}{\cmttfamily}
\AtBeginDocument{%
  \let\rustic@old@setfontsize=\@setfontsize
  \let\@setfontsize=\rustic@new@setfontsize}
\AtBeginDocument{\normalsize}
\endinput
%%
%% End of file `allrust.sty'.