summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bookhands/allhmin.sty
blob: 2c7d41dfd60c55a3cb5c9c13bfcfdb2031153986 (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
%%
%% This is file `allhmin.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% humanist.dtx  (with options: `uscall')
%% 
%%  Author: Peter Wilson (CUA) now at peter.r.wilson@boeing.com
%%                             (or pandgwilson@earthlink.net)
%%  Copyright 2002, 2003 Peter R. Wilson
%% 
%%  This work may be distributed and/or modified under the
%%  conditions of the LaTeX Project Public License, either
%%  version 1.3 of this license or (at your option) any
%%  later version.
%%  The latest version of the license is in
%%     http://www.latex-project.org/lppl.txt
%%  and version 1.3 or later is part of all distributions of
%%  LaTeX version 2003/06/01 or later.
%% 
%%  This work has the LPPL maintenance status "author-maintained".
%% 
%%  This work consists of the files listed in the README file.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{allhmin}[2002/12/30 v1.0 package for all Humanist fonts]
\RequirePackage{humanist}
\providecommand{\Tienc}{T1}
\renewcommand{\rmdefault}{hmin}
\renewcommand{\sfdefault}{hmin}
\renewcommand{\ttdefault}{hmin}
\newcommand{\hmin@baselineskip@table}{%
  <\@vpt>7.5%
  <\@vipt>9.0%
  <\@viipt>10.5%
  <\@viiipt>12.0%
  <\@ixpt>13.5%
  <\@xpt>15.0%
  <\@xipt>16.5%
  <\@xiipt>18.0%
  <\@xivpt>21.0%
  <\@xviipt>26.0%
  <\@xxpt>30.5%
  <\@xxvpt>38.5}
\newcommand{\hmin@new@setfontsize}[3]{%
  \edef\@tempa{\def\noexpand\@tempb####1<#2}%
  \@tempa>##2<##3\@nil{\def\hmin@baselineskip@value{##2}}%
  \edef\@tempa{\noexpand\@tempb\hmin@baselineskip@table<#2}%
  \@tempa><\@nil
  \ifx\hmin@baselineskip@value\@empty
    \def\hmin@baselineskip@value{#3}%
  \fi
  \hmin@old@setfontsize{#1}{#2}\hmin@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\hmin@old@setfontsize=\@setfontsize
  \let\@setfontsize=\hmin@new@setfontsize}
\AtBeginDocument{\normalsize}
\endinput
%%
%% End of file `allhmin.sty'.