summaryrefslogtreecommitdiff
path: root/fonts/covfonts/covfonts.dtx
blob: c6219557681ce2a9299300f1c8f796d0afbde7e7 (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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
% \iffalse meta-comment
%
% Copyright (C) 2003 by Scott Pakin <pakin@uiuc.edu>
% --------------------------------------------------
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
% of this license or (at your option) any later version.
% The latest version of this license is in:
%
%    http://www.latex-project.org/lppl.txt
%
% and version 1.2 or later is part of all distributions of LaTeX
% version 1999/12/01 or later.
%
% \fi
%
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{covfonts}
%<package>   [2003/01/21 v1.0a makes Covington the default body font]
%
%<*driver>
\documentclass{ltxdoc}
\usepackage{url}
\usepackage{varioref}
\usepackage{covfonts}
\EnableCrossrefs
\CodelineIndex
\RecordChanges
\begin{document}
  \DocInput{covfonts.dtx}
\end{document}
%</driver>
% \fi
%
% \CheckSum{2}
%
% \CharacterTable
%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%   Digits        \0\1\2\3\4\5\6\7\8\9
%   Exclamation   \!     Double quote  \"     Hash (number) \#
%   Dollar        \$     Percent       \%     Ampersand     \&
%   Acute accent  \'     Left paren    \(     Right paren   \)
%   Asterisk      \*     Plus          \+     Comma         \,
%   Minus         \-     Point         \.     Solidus       \/
%   Colon         \:     Semicolon     \;     Less than     \<
%   Equals        \=     Greater than  \>     Question mark \?
%   Commercial at \@     Left bracket  \[     Backslash     \\
%   Right bracket \]     Circumflex    \^     Underscore    \_
%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%   Right brace   \}     Tilde         \~}
%
%
% \changes{v1.0}{2003/01/15}{Initial version}
% \changes{v1.0a}{2003/01/21}{Renamed from \textsf{covington} to
%   \textsf{covfonts}}
%
% \GetFileInfo{covfonts.sty}
%
% \DoNotIndex{\renewcommand}
%
%
% \title{The \textsf{covfonts} package\thanks{This document
%   corresponds to \textsf{covfonts}~\fileversion, dated \filedate.}}
% \author{Scott Pakin \\ \texttt{pakin@uiuc.edu}}
%
% \def\UrlBreaks{}
% \def\UrlBigBreaks{\do/}
%
% \maketitle
%
% \section{Description}
% 
% The \textsf{covfonts} package sets the default text font to
% Covington.  Covington is freely downloadable from Apostrophic
% Laboratories (\url{http://www.apostrophiclab.com/}) under the
% following license conditions:
% 
% \begin{quotation}
% \usefont{OT1}{fkt}{mc}{n}
% The fonts on this site are freeware and can be used as they are in
% any context without permission from Apostrophic Laboratories, except
% to produce material that is racist, criminal and/or illegal in
% nature. It is prohibited to modify any Apostrophic Laboratories
% font(s) for repackaging and/or re-release without an express written
% authorization by the designer(s) of the font(s) or Apostrophic
% Laboratories. Under no circumstance shall any Apostrophic
% Laboratories design or font design be sold or purchased. Email
% info@apostrophiclab.com if you want more information.
% \end{quotation}
% 
% 
% \textsf{covfonts} makes the Covington font available only in text
% mode; mathematical typesetting with Covington is not currently
% supported.  The package provides access to the variants shown in
% Table~\vref{tbl:font-variants}.  It does not currently provide access
% to the expanded, shadowed, or reverse-italic variants, even though
% there do exist Covington fonts with those characteristics.  Also,
% non-ASCII characters don't always show up properly; this may be fixed
% in a later release of \textsf{covfonts}.
% 
% \begin{table}[htbp]
% \centering
% \caption{Variants of Covington provided by the \textsf{covfonts} package}
% \label{tbl:font-variants}
% \newcommand{\pangram}{Squdgy fez, blank jimp crwth vox.}
% \newsavebox{\tablebox}
% \begin{lrbox}{\tablebox}
% \begin{tabular}{@{}lll@{}}
%   \hline
%   Variant & Code & Sample \\
%   \hline
% 
%   Normal &
%   \dots &
%   \pangram \\
% 
%   Bold &
%   |\textbf{|\dots|}| &
%   \textbf{\pangram} \\
% 
%   Italic &
%   |\textit{|\dots|}| &
%   \textit{\pangram} \\
% 
%   Slanted &
%   |\textsl{|\dots|}| &
%   \textsl{\pangram} \\
% 
%   Bold italic &
%   |\textbf{\textit{|\dots|}}| &
%   \textbf{\textit{\pangram}} \\
% 
%   Bold slanted &
%   |\textbf{\textsl{|\dots|}}| &
%   \textbf{\textsl{\pangram}} \\
% 
%   Small caps &
%   |\textsc{|\dots|}| &
%   \textsc{\pangram} \\
% 
%   Bold small caps &
%   |\textbf{\textsc{|\dots|}}| &
%   \textbf{\textsc{\pangram}} \\
% 
%   Condensed &
%   |{\usefont{OT1}{fkt}{mc}{n}|\dots|}| &
%   {\usefont{OT1}{fkt}{mc}{n}\pangram} \\
% 
%   Bold condensed &
%   |{\usefont{OT1}{fkt}{bc}{n}|\dots|}| &
%   {\usefont{OT1}{fkt}{bc}{n}\pangram} \\
% 
%   Italic condensed &
%   |{\usefont{OT1}{fkt}{mc}{it}|\dots|}| &
%   {\usefont{OT1}{fkt}{mc}{it}\pangram} \\
% 
%   Slanted condensed &
%   |{\usefont{OT1}{fkt}{mc}{sl}|\dots|}| &
%   {\usefont{OT1}{fkt}{mc}{sl}\pangram} \\
% 
%   Bold italic condensed &
%   |{\usefont{OT1}{fkt}{bc}{it}|\dots|}| &
%   {\usefont{OT1}{fkt}{bc}{it}\pangram} \\
% 
%   Bold slanted condensed &
%   |{\usefont{OT1}{fkt}{bc}{sl}|\dots|}| &
%   {\usefont{OT1}{fkt}{bc}{sl}\pangram} \\
% 
%   Condensed small caps &
%   |{\usefont{OT1}{fkt}{mc}{sc}|\dots|}| &
%   {\usefont{OT1}{fkt}{mc}{sc}\pangram} \\
% 
%   Bold condensed small caps &
%   |{\usefont{OT1}{fkt}{bc}{sc}|\dots|}| &
%   {\usefont{OT1}{fkt}{bc}{sc}\pangram} \\
% 
%   \hline
% \end{tabular}
% \end{lrbox}
% \makebox[0pt]{\usebox{\tablebox}}
% \end{table}
%
% \StopEventually{}
%
% \section{Implementation}
%
% \begin{macro}{\rmdefault}
% The implementation of \textsf{covfonts} is embarrassingly simple.
% All we do is set the default font family to Covington.  Maybe I'll
% add some options in the future, e.g., for making ``\LaTeX2e''
% typeset properly or for providing easier access to the condensed
% font variants.  The real ``value added'' of the \textsf{covfonts}
% package is the included |texmf| tree containing pregenerated |.tfm|,
% |.vf|, and |.map| files.
%    \begin{macrocode}
\renewcommand{\rmdefault}{fkt}
%    \end{macrocode}
% \end{macro}
%
% \Finale
\endinput