summaryrefslogtreecommitdiff
path: root/fonts/covfonts/covfonts.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/covfonts/covfonts.dtx
Initial commit
Diffstat (limited to 'fonts/covfonts/covfonts.dtx')
-rw-r--r--fonts/covfonts/covfonts.dtx204
1 files changed, 204 insertions, 0 deletions
diff --git a/fonts/covfonts/covfonts.dtx b/fonts/covfonts/covfonts.dtx
new file mode 100644
index 0000000000..c621955768
--- /dev/null
+++ b/fonts/covfonts/covfonts.dtx
@@ -0,0 +1,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