summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/rus/us11.sty
blob: 0f725bfd6554fb7a13725c6b718b9d3df5d2b688 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

%  *****************************************
%  *      FONTS 11pt (rm or sf) OPTION     *
%  *****************************************
%  *          USUS DOCUMENT STYLE          *
%  *    R.Harscheidt, IKE/UNI Stuttgart    *
%  *****************************************
%

\typeout{USUS - Document Style Option 'FONTS 11 pt'. Released 4 September 1987}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This was made from:
%
% BOOK DOCUMENT STYLE -- Released 23 September 1985
%    for LaTeX version 2.09
% Copyright (C) 1985 by Leslie Lamport
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Each size-changing command \SIZE executes the command
%        \@setsize\SIZE{BASELINESKIP}\FONTSIZE\@FONTSIZE
% where:
%   BASELINESKIP = Normal value of \baselineskip for that size.  (Actual
%                  value will be \baselinestretch * BASELINESKIP.)
%
%  \FONTSIZE     = Name of font-size command.  The currently available
%                  (preloaded) font sizes are: \vpt (5pt), \vipt (6pt),
%                  \viipt (etc.), \viiipt, \ixpt, \xpt, \xipt, \xiipt,
%                  \xivpt, \xviipt, \xxpt, \xxvpt.
%  \@FONTSIZE    = The same as the font-size command except with an
%                  '@' in front---e.g., if \FONTSIZE = \xivpt then
%                  \@FONTSIZE = \@xivpt.
%
% For reasons of efficiency that needn't concern the designer,
% the document style defines \@normalsize instead of \normalsize .  This is
% done only for \normalsize, not for any other size-changing commands.

\def\sfload#1#2#3{
    \ifx\@fontstyle\sf
        \sf
        \def\bf{\@getfont\pbf\bffam #1 {#2}}
        \def\it{\@getfont\pit\itfam #1 {#3}}
        \let\em\it
    \fi}

\def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt\@fontstyle}

\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt\@fontstyle}

\def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt\@fontstyle
    \abovedisplayskip 8pt plus 2pt minus 4pt%
    \belowdisplayskip \abovedisplayskip
    \abovedisplayshortskip 4pt plus 2pt minus 2pt%
    \belowdisplayshortskip \abovedisplayshortskip
    \def\@listi{\topsep 4pt plus 2pt minus 2pt
                \parsep 2pt plus 1pt minus 1pt
                \itemsep \parsep}}

\def\small{\@setsize\small{12pt}\xpt\@xpt
    \sfload{\@xpt}
           {cmssbx10 \@magscale0}
           {cmssi10  \@magscale0}
    \abovedisplayskip 10pt plus 2pt minus 5pt%
    \belowdisplayskip \abovedisplayskip
    \abovedisplayshortskip 6pt plus 3pt minus 3pt%
    \belowdisplayshortskip \abovedisplayshortskip
    \def\@listi{\topsep 6pt plus 2pt minus 2pt
                \parsep 3pt plus 2pt minus 1pt
                \itemsep \parsep}}

\def\@normalsize{\@setsize\normalsize{13.6pt}\xipt\@xipt
    \sfload{\@xpt}
           {cmssbx10 \@halfmag}
           {cmssi10  \@halfmag}
    \abovedisplayskip 11pt plus 3pt minus 6pt%
    \belowdisplayskip \abovedisplayskip
    \abovedisplayshortskip 6.5pt plus 3.5pt minus 3pt%
    \belowdisplayshortskip \abovedisplayshortskip}

\def\large{\@setsize\large{14pt}\xiipt\@xiipt
    \sfload{\@xiipt}
           {cmssbx10 \@magscale1}
           {cmssi10  \@magscale1}}

\def\Large{\@setsize\Large{18pt}\xivpt\@xivpt
    \sfload{\@xivpt}
           {cmssbx10 \@magscale2}
           {cmssi10  \@magscale2}}

\def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt
    \sfload{\@xviipt}
           {cmssbx10 \@magscale3}
           {cmssi10  \@magscale3}}

\def\huge{\@setsize\huge{25pt}\xxpt\@xxpt
    \sfload{\@xxpt}
           {cmssbx10 \@magscale4}
           {cmssi10  \@magscale4}}

\def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt
    \sfload{\@xxvpt}
           {cmssbx10 \@magscale5}
           {cmssi10  \@magscale5}}

\normalsize  % Choose the normalsize font.