| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright (C) 1993-1996, 2000 Frank Mittelbach, LaTeX3 project. |
| 4 |
% Copyright (C) 2017 Frank Mittelbach. |
| 5 |
% All rights reserved. |
| 6 |
% |
| 7 |
% This file is part of the LaTeX `mfnfss Bundle'. |
| 8 |
% ------------------------------------------------------- |
| 9 |
% |
| 10 |
% It may be distributed and/or modified under the |
| 11 |
% conditions of the LaTeX Project Public License, either version 1.3c |
| 12 |
% of this license or (at your option) any later version. |
| 13 |
% The latest version of this license is in |
| 14 |
% https://www.latex-project.org/lppl.txt |
| 15 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 16 |
% version 2005/12/01 or later. |
| 17 |
% |
| 18 |
% The list of all files belonging to the LaTeX `mfnfss Bundle' is |
| 19 |
% given in the file `manifest.txt'. |
| 20 |
% |
| 21 |
% \fi |
| 22 |
% |
| 23 |
% \CheckSum{27} |
| 24 |
% |
| 25 |
% \iffalse |
| 26 |
% File: pandora.dtx |
| 27 |
% |
| 28 |
%<package>\NeedsTeXFormat{LaTeX2e} |
| 29 |
%<package>\ProvidesPackage{pandora} |
| 30 |
%<panr>\ProvidesFile{ot1panr.fd} |
| 31 |
%<pss>\ProvidesFile{ot1pss.fd} |
| 32 |
%<-driver> [1997/12/18 v2.1g |
| 33 |
%<package> Standard LaTeX2e package (Pandora fonts)] |
| 34 |
%<panr> Pandora roman font definitions] |
| 35 |
%<pss> Pandora sans font definitions] |
| 36 |
% |
| 37 |
%<*driver> |
| 38 |
\documentclass{ltxdoc} |
| 39 |
\usepackage{pandora} |
| 40 |
\GetFileInfo{pandora.sty} |
| 41 |
\providecommand\dst{\expandafter{\normalfont\scshape docstrip}} |
| 42 |
\title{The \texttt{pandora} fonts for use with |
| 43 |
\LaTeXe} |
| 44 |
\date{\filedate} |
| 45 |
\author{Frank Mittelbach} |
| 46 |
\begin{document} |
| 47 |
\maketitle |
| 48 |
\DocInput{pandora.dtx} |
| 49 |
\end{document} |
| 50 |
%</driver> |
| 51 |
% |
| 52 |
% \fi |
| 53 |
% |
| 54 |
% \changes{v2.0d}{1993/05/15}{Changed file names} |
| 55 |
% \changes{v2.0c}{1993/04/23}{Changed external font names} |
| 56 |
% \changes{v2.1a}{1993/11/10}{Update for \LaTeXe} |
| 57 |
% \changes{v2.1e}{1994/02/03}{Correct checksum} |
| 58 |
% \changes{v2.1g}{1994/05/27}{Change for new driver format.} |
| 59 |
% |
| 60 |
% |
| 61 |
% \section{Introduction} |
| 62 |
% |
| 63 |
% This file defines the font shape groups for the pandora fonts |
| 64 |
% designed by Nazeen N. Billawala \cite{StanCS:NBi89,Stanford:NBi89} |
| 65 |
% as well as a package file for loading Pandora Roman with the |
| 66 |
% |\rmfamily| command and Pandora Sans with the |\sffamily| command. |
| 67 |
% |
| 68 |
% To make Pandora the main document font specify the \texttt{pandora} |
| 69 |
% package in a |\usepackage| command. |
| 70 |
% |
| 71 |
% \StopEventually{ |
| 72 |
% \begin{thebibliography}{1} |
| 73 |
% |
| 74 |
% \bibitem{StanCS:NBi89} |
| 75 |
% Nazeen~N. Billawala. |
| 76 |
% \newblock Metamarks: Preliminary studies for a pandora's box of |
| 77 |
% shapes. |
| 78 |
% \newblock Technical Report STAN-CS-89-1256, Stanford University, |
| 79 |
% Department of Computer Science, Stanford, California 94305, 1989. |
| 80 |
% |
| 81 |
% \bibitem{Stanford:NBi89} |
| 82 |
% Neenie Billawala. |
| 83 |
% \newblock {{Opening Pandora's Box}}. |
| 84 |
% \newblock In Christina Thiele, editor, {\em 1989 Conference |
| 85 |
% Proceedings}, volume 10\#4 of {TUG}boat, pages 481--489. {\TeX} |
| 86 |
% Users Group, December 1989. |
| 87 |
% |
| 88 |
% \end{thebibliography} |
| 89 |
% |
| 90 |
%^^A \bibliographystyle{plain} |
| 91 |
%^^A \bibliography{string,techrep,proceed} |
| 92 |
% } |
| 93 |
% |
| 94 |
% |
| 95 |
% \section{The \dst{} modules} |
| 96 |
% |
| 97 |
% The following modules are used in the implementation to direct |
| 98 |
% \dst{} in generating the external files: |
| 99 |
% \begin{center} |
| 100 |
% \begin{tabular}{ll} |
| 101 |
% driver & produce a documentation driver file \\ |
| 102 |
% package & produce a package file \\ |
| 103 |
% fd & produce a font definition file \\[2pt] |
| 104 |
% \end{tabular} |
| 105 |
% \end{center} |
| 106 |
% |
| 107 |
% \section{A driver for this document} |
| 108 |
% |
| 109 |
% The next bit of code contains the documentation driver file for |
| 110 |
% \TeX{}, i.e., the file that will produce the documentation you are |
| 111 |
% currently reading. It will be extracted from this file by the |
| 112 |
% \dst{} program. |
| 113 |
% \begin{macrocode} |
| 114 |
%<*driver> |
| 115 |
\documentclass{ltxdoc} |
| 116 |
%\OnlyDescription % comment out for implementation details |
| 117 |
\begin{document} |
| 118 |
\DocInput{pandora.dtx} |
| 119 |
\end{document} |
| 120 |
%</driver> |
| 121 |
% \end{macrocode} |
| 122 |
% |
| 123 |
% |
| 124 |
% \section{The Implementation} |
| 125 |
% |
| 126 |
% \subsection{Identification} |
| 127 |
% |
| 128 |
% We start by writing to the transcript file. |
| 129 |
% \changes{v2.1d}{1994/01/05}{\cs{NeedsFormat} changed to |
| 130 |
% \cs{NeedsTeXFormat}.} |
| 131 |
% \begin{macrocode} |
| 132 |
%<*package> |
| 133 |
% \end{macrocode} |
| 134 |
% |
| 135 |
% \subsection{Options} |
| 136 |
% |
| 137 |
% This package does not support options. |
| 138 |
% |
| 139 |
% \subsection{The Main Package Code} |
| 140 |
% |
| 141 |
% We change the ensure that |OT1| is the default encoding and also |
| 142 |
% change the substitution defaults for the this encoding. If |
| 143 |
% |\familydefault| is not changed directly, then the change to |
| 144 |
% |\rmdefault| will automatically change the main font too. |
| 145 |
% \changes{v2.0b}{1993/03/09}{Added missing backslash} |
| 146 |
% \begin{macrocode} |
| 147 |
\renewcommand{\encodingdefault}{OT1} |
| 148 |
\DeclareFontSubstitution{OT1}{panr}{m}{n} |
| 149 |
% \end{macrocode} |
| 150 |
% Default for |\rmfamily| will be Pandora Roman and for |\sffamily| |
| 151 |
% Pandora Sans. |
| 152 |
% \begin{macrocode} |
| 153 |
\renewcommand{\rmdefault}{panr} |
| 154 |
\renewcommand{\sfdefault}{pss} |
| 155 |
\renewcommand{\bfdefault}{b} |
| 156 |
\renewcommand{\itdefault}{sl} |
| 157 |
%</package> |
| 158 |
% \end{macrocode} |
| 159 |
% |
| 160 |
% We assume that for \LaTeX{} use at least the standard |
| 161 |
% magifications are available. If you don't like that setup copy |
| 162 |
% the corresponding code into your own font shape definition file |
| 163 |
% and make adjustments. |
| 164 |
% |
| 165 |
% \subsection{The Font-Definition Files} |
| 166 |
% |
| 167 |
% The Pandora Roman family exists with in medium and bold series |
| 168 |
% and contains in the medium series a slanted shape beside the |
| 169 |
% normal one. We define a substitution shape for italic to point to |
| 170 |
% the slanted one so that a request for |\itshape| will be partly |
| 171 |
% honored. |
| 172 |
% \begin{macrocode} |
| 173 |
%<*panr> |
| 174 |
\DeclareFontFamily{OT1}{panr}{} |
| 175 |
\DeclareFontShape{OT1}{panr}{m}{n}{ |
| 176 |
<5> <6> <7> <8> <9> <10> <10.95> <12> |
| 177 |
<14.4> <17.28> <20.74> <24.88> pnr10 }{} |
| 178 |
\DeclareFontShape{OT1}{panr}{b}{n}{ |
| 179 |
<5> <6> <7> <8> <9> <10> <10.95> <12> |
| 180 |
<14.4> <17.28> <20.74> <24.88> pnb10 }{} |
| 181 |
\DeclareFontShape{OT1}{panr}{m}{sl}{ |
| 182 |
<5> <6> <7> <8> <9> <10> <10.95> <12> |
| 183 |
<14.4> <17.28> <20.74> <24.88> pnsl10 }{} |
| 184 |
\DeclareFontShape{OT1}{panr}{m}{it}{ <-> sub * panr/m/sl }{} |
| 185 |
%</panr> |
| 186 |
% \end{macrocode} |
| 187 |
% |
| 188 |
% The Pandora Sans family has the same members. |
| 189 |
% \begin{macrocode} |
| 190 |
%<*pss> |
| 191 |
\DeclareFontFamily{OT1}{pss}{} |
| 192 |
\DeclareFontShape{OT1}{pss}{m}{n}{ |
| 193 |
<5> <6> <7> <8> <9> <10> <10.95> <12> |
| 194 |
<14.4> <17.28> <20.74> <24.88> pnss10 }{} |
| 195 |
\DeclareFontShape{OT1}{pss}{b}{n}{ |
| 196 |
<5> <6> <7> <8> <9> <10> <10.95> <12> |
| 197 |
<14.4> <17.28> <20.74> <24.88> pnssb10 }{} |
| 198 |
\DeclareFontShape{OT1}{pss}{m}{sl}{ |
| 199 |
<5> <6> <7> <8> <9> <10> <10.95> <12> |
| 200 |
<14.4> <17.28> <20.74> <24.88> pnssi10 }{} |
| 201 |
\DeclareFontShape{OT1}{pss}{m}{it}{ <-> sub * pss/m/sl }{} |
| 202 |
%</pss> |
| 203 |
% \end{macrocode} |
| 204 |
% |
| 205 |
% |
| 206 |
% The next line goes into all files and in addition prevents \dst{} |
| 207 |
% from adding any further code from the main source file (such as a |
| 208 |
% character table. |
| 209 |
% \begin{macrocode} |
| 210 |
\endinput |
| 211 |
% \end{macrocode} |
| 212 |
% |
| 213 |
% \Finale |
| 214 |
% |
| 215 |
% |
| 216 |
%% \CharacterTable |
| 217 |
%% {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 |
| 218 |
%% 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 |
| 219 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 220 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 221 |
%% Dollar \$ Percent \% Ampersand \& |
| 222 |
%% Acute accent \' Left paren \( Right paren \) |
| 223 |
%% Asterisk \* Plus \+ Comma \, |
| 224 |
%% Minus \- Point \. Solidus \/ |
| 225 |
%% Colon \: Semicolon \; Less than \< |
| 226 |
%% Equals \= Greater than \> Question mark \? |
| 227 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 228 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 229 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 230 |
%% Right brace \} Tilde \~} |