summaryrefslogtreecommitdiff
path: root/obsolete/fonts/dmfonts/dmfonts.fdd
blob: 27cb06b41f3d39c3bf22b897b75df2a44c4b9da9 (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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
% \iffalse meta-comment
% $Id: dmfonts.fdd,v 1.13 1995/03/14 18:27:57 volker Exp $
% Copyright (c) 1995 Volker Kunert
% All rights reserved.
% This file is a derived from cmfonts.fdd which is part of the LaTeX2e system.
% ----------------------------------------
% 
%  This system is distributed in the hope that it will be useful,
%  but WITHOUT ANY WARRANTY; without even the implied warranty of
%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% 
% 
% \fi
% \CheckSum{140}
%
%\iffalse        This is a META comment
%
% File `dmfonts.fdd'.
% Copyright (C) 1994/1995 by Volker Kunert.
% This font definition file is based on cmrfonts.fdd.
% All rights reserved.
%
%<dmfonts,  >\ProvidesPackage{dmfonts}
%<T1dmr,    >\ProvidesFile{T1dmr.fd}
%<T1odmr,   >\ProvidesFile{T1odmr.fd}
%<T1dmfib,  >\ProvidesFile{T1dmfib.fd}
%<T1dmfr,   >\ProvidesFile{T1dmfr.fd}
%<T1dmss,   >\ProvidesFile{T1dmss.fd}
%<T1dmtt,   >\ProvidesFile{T1dmtt.fd}
%<dmtest,   >\ProvidesFile{dmtest.tex}
%<*driver,  >
             \ProvidesFile{dmfonts.fdd}
%</driver,  >
        [1995/03/13  Version 0.3 DM LaTeX font definitions]
%
%<*driver>
\documentclass{ltxdoc}
\GetFileInfo{dmfonts.fdd}
\providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
\title{The file \texttt{dmfonts.fdd} for use with 
      \LaTeXe.\thanks{This file has version
           number \fileversion, dated \filedate.
         Derived from cmfonts.fdd of Frank Mittelbach
         and Rainer Sch\"opf }}
\date{\filedate}
\author{Volker Kunert}
\begin{document}
\maketitle
 \DocInput{dmfonts.fdd}
\end{document}
%</driver>
%
%\fi
%
% \section{Using virtual DM fonts as replacement for dc}
% If you don't have enough space to install the DC Fonts you could
% try to use Wayne Sullivan's  DM-fonts from
% |/ftp.ibp.fr:/pub/TeX/GUTenberg/PC/fr_tex.d08:| as a replacement.
% You should install the TFM and VF files in their resp. directories and
% include a |\usepackage{dmfonts}| in your \LaTeX-file.
% Then you should have a fairly good approximation of the DC fonts with
% the exception of such exotic things as the Thorn.
% Install the style files with |latex dmfonts.ins|, and move the resulting
% |.fd| and |.sty| files into the tex input directory.
%
% \subsection{Dmfonts}
% Now follows the code of |dmfonts.sty|.
% With the option |[oldnumbers]| you can select oldstyle numbers for the roman
% font-family.
%
%    \begin{macrocode}
%<*dmfonts>
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{oldnumbers}{\renewcommand{\rmdefault}{odmr}} % Oldstyle numbers
\renewcommand{\rmdefault}{dmr}
\renewcommand{\sfdefault}{dmss}
\renewcommand{\ttdefault}{dmtt}
\ProcessOptions
\fontfamily{\rmdefault}
\RequirePackage[T1]{fontenc}
\DeclareTextSymbol{\ss}{T1}{25} % I should'nt call this a T1 encoding...
\DeclareTextCommand{\SS}{T1}{SS}
%</dmfonts>
%    \end{macrocode}
% \subsection{DM Font definitions}
% Now follows the code for the font definitions, adapted from cmrfonts.fdd.
%    \begin{macrocode}
%<*T1dmr>
\DeclareFontFamily{T1}{dmr}{}
\DeclareFontShape{T1}{dmr}{m}{n}{%
      <5> <6> <7> <8> <9> gen * dmr
      <10> <10.95>dmr10
      <12> <14.4>dmr12
      <17.28> <20.74> <24.88>dmr17}{}
\DeclareFontShape{T1}{dmr}{m}{sl}{%
      <5> <6> <7> <8>dmsl8
      <9>dmsl9
      <10> <10.95>dmsl10
      <12> <14.4>dmsl12
      <17.28> <20.74> <24.88>dmsl17
      }{}
\DeclareFontShape{T1}{dmr}{m}{it}{%
      <5> <6> dmti7
      <7> <8> <9> gen * dmti
      <10> <10.95>dmti10
      <12> <14.4>dmti10
      <17.28> <20.74> <24.88>dmti10
      }{}
\DeclareFontShape{T1}{dmr}{m}{sc}{%
      <5> <6> <7> <8> <9> <10> <10.95>dmcsc10
      <12> <14.4>dmcsc10
      <17.28> <20.74> <24.88>dmcsc10
      }{}
\DeclareFontShape{T1}{dmr}{m}{ui}{%
      <5> <6> dmu10
      <7> <8> <9>  dmu10
      <10> <10.95>dmu10
      <12> <14.4>dmu10
      <17.28> <20.74> <24.88>dmu10
      }{}
%    \end{macrocode}
%    There is a bold `|b|' series, but unfortunately only the normal
%    shape is available in this series.
%    \begin{macrocode}
%<+T1dmr>%%%%%%% bold series
\DeclareFontShape{T1}{dmr}{b}{n}{
      <5> <6> <7> <8> <9> dmb10
      <10> <10.95>dmb10
      <12> <14.4>dmb10
      <17.28> <20.74> <24.88>dmb10
      }{}
%    \end{macrocode}
%    Finally there is a bold extended series `|bx|' with the shapes
%    |n|, |sl|, and |it|.
%    \begin{macrocode}
%<+T1dmr>%%%%%%%% bold extended series
\DeclareFontShape{T1}{dmr}{bx}{n}{
      <5> <6> <7> <8> <9> gen * dmbx
      <10> <10.95>dmbx10
      <12> <14.4> <17.28> <20.74> <24.88>dmbx12
      }{}
\DeclareFontShape{T1}{dmr}{bx}{sl}{
      <5> <6> <7> <8> <9> dmbxsl10
      <10> <10.95>dmbxsl10
      <12> <14.4> <17.28> <20.74> <24.88>dmbxsl10
      }{}
\DeclareFontShape{T1}{dmr}{bx}{it}{
      <5> <6> <7> <8> <9> <10> <10.95> dmbxti10
      <12> <14.4> dmbxti10
      <17.28> <20.74> <24.88> dmbxti10
      }{}
%</T1dmr>
%    \end{macrocode}
% \subsection{ODM Font definitions}
% Now follows the code for the font definitions for fonts with oldstyle
% numbers. 
%    \begin{macrocode}
%<*T1odmr>
\DeclareFontFamily{T1}{odmr}{}
\DeclareFontShape{T1}{odmr}{m}{n}{%
      <5> <6> <7> <8> <9> gen * odmr
      <10> <10.95>odmr10
      <12> <14.4>odmr12
      <17.28> <20.74> <24.88>odmr17}{}
\DeclareFontShape{T1}{odmr}{m}{sl}{
      <5> <6> <7> <8>odmsl8
      <9>odmsl9
      <10> <10.95>odmsl10
      <12> <14.4>odmsl12
      <17.28> <20.74> <24.88>odmsl17
      }{}
\DeclareFontShape{T1}{odmr}{m}{it}{
      <5> <6> odmti7
      <7> <8> <9> gen * odmti
      <10> <10.95>odmti10
      <12> <14.4>odmti10
      <17.28> <20.74> <24.88>odmti10
      }{}
\DeclareFontShape{T1}{odmr}{m}{sc}{
      <5> <6> <7> <8> <9> <10> <10.95>odmcsc10
      <12> <14.4>odmcsc10
      <17.28> <20.74> <24.88>odmcsc10
      }{}
\DeclareFontShape{T1}{odmr}{m}{ui}{
      <5> <6> odmu10
      <7> <8> <9>  odmu10
      <10> <10.95>odmu10
      <12> <14.4>odmu10
      <17.28> <20.74> <24.88>odmu10
      }{}
%    \end{macrocode}
%    There is a bold `|b|' series, but unfortunately only the normal
%    shape is available in this series.
%    \begin{macrocode}
%<+T1odmr>%%%%%%% bold series
\DeclareFontShape{T1}{odmr}{b}{n}{
      <5> <6> <7> <8> <9> odmb10
      <10> <10.95>odmb10
      <12> <14.4>odmb10
      <17.28> <20.74> <24.88>odmb10
      }{}
%    \end{macrocode}
%    Finally there is a bold extended series `|bx|' with the shapes
%    |n|, |sl|, and |it|.
%    \begin{macrocode}
%<+T1odmr>%%%%%%%% bold extended series
\DeclareFontShape{T1}{odmr}{bx}{n}{
      <5> <6> <7> <8> <9> gen * odmbx
      <10> <10.95>odmbx10
      <12> <14.4> <17.28> <20.74> <24.88>odmbx12
      }{}
\DeclareFontShape{T1}{odmr}{bx}{sl}{
      <5> <6> <7> <8> <9> odmbxsl10
      <10> <10.95>odmbxsl10
      <12> <14.4> <17.28> <20.74> <24.88>odmbxsl10
      }{}
\DeclareFontShape{T1}{odmr}{bx}{it}{
      <5> <6> <7> <8> <9> <10> <10.95> odmbxti10
      <12> <14.4> odmbxti10
      <17.28> <20.74> <24.88> odmbxti10
      }{}
%</T1odmr>
%    \end{macrocode}
%    
% \subsubsection{Computer Modern Fibonacci}
%
%    This family was created by Don Knuth as an experiment, supplying
%    only Fibonacci numbers to the parameters of the Metafont sources
%    of the Computer Modern Meta family.
%    \begin{macrocode}
%<*T1dmfib>
\DeclareFontFamily{T1}{dmfib}{}
\DeclareFontShape{T1}{dmfib}{m}{n}{%
      <8>  <9>  dmfib8
      <10> <12> dmfib10
      }{}
%</T1dmfib>
%    \end{macrocode}
%    
% \subsubsection{Computer Modern Funny (Roman)}
%
%    This family was created by Don Knuth as another experiment.
%    \begin{macrocode}
%<*T1dmfr>
\DeclareFontFamily{T1}{dmfr}{}
\DeclareFontShape{T1}{dmfr}{m}{n}{%
      <10> dmff10
    }{}
\DeclareFontShape{T1}{dmfr}{m}{it}{%
      <10> dmfi10
    }{}
%</T1dmfr>
%    \end{macrocode}
%    
% \subsubsection{Computer Modern Sans}
%
%    \begin{macrocode}
%<*T1dmss>
\DeclareFontFamily{T1}{dmss}{}
\DeclareFontShape{T1}{dmss}{m}{n}{%
      <5> <6> <7> <8>dmss8
      <9>dmss9
      <10> <10.95>dmss10
      <12> <14.4>dmss12
      <17.28> <20.74> <24.88>dmss17
      }{}
\DeclareFontShape{T1}{dmss}{m}{it}
      {<->sub*dmss/m/sl}{}
\DeclareFontShape{T1}{dmss}{m}{sl}{
      <5> <6> <7> <8>dmssi8
      <9>dmssi9
      <10> <10.95>dmssi10
      <12> <14.4>dmssi12
      <17.28> <20.74> <24.88>dmssi17
      }{}
%    \end{macrocode}
%    The next substitution is very questionable.
%    \begin{macrocode}
%<+T1dmss>%%%%%% Font/shape undefined, therefore substituted
\DeclareFontShape{T1}{dmss}{m}{sc}
       {<->sub*dmr/m/sc}{}
%    \end{macrocode}
%    The next font group is quite attractive for display.
%    \begin{macrocode}
%<+T1dmss>%%%%%%% semibold condensed series
\DeclareFontShape{T1}{dmss}{sbc}{n}{
      <5> <6> <7> <8> <9> <10> <10.95> <12> <14.4> <17.28> 
      <20.74> <24.88> dmssdc10
       }{}
%    \end{macrocode}
%    And here the ones usually in headings.
%    \begin{macrocode}
%<+T1dmss>%%%%%%%% bold extended series
\DeclareFontShape{T1}{dmss}{bx}{n}{
      <5> <6> <7> <8> <9> <10> <10.95> <12> <14.4> <17.28> 
      <20.74> <24.88> dmssbx10
      }{}
%</T1dmss>
%    \end{macrocode}
%    
% \subsubsection{Computer Modern Typewriter}
%
%    Perhaps the best font in the Computer Modern suite.
%    \begin{macrocode}
%<*T1dmtt>
\DeclareFontFamily{T1}{dmtt}{\hyphenchar \font\m@ne}
\DeclareFontShape{T1}{dmtt}{m}{n}{
      <8> <9> gen * dmtt
      <10> <10.95>dmtt10
      <12> <14.4> <17.28> <20.74> <24.88>dmtt12
      }{}
\DeclareFontShape{T1}{dmtt}{m}{it}{
      <8> <9> gen  * dmitt
      <10> <10.95>dmitt10
      <12> <14.4>dmitt12
      <17.28> <20.74> <24.88>dmitt17
      }{}
\DeclareFontShape{T1}{dmtt}{m}{sl}{
      <8> <9> gen * dmsltt
      <10> <10.95>dmsltt10
      <12> <14.4> <17.28> <20.74> <24.88>dmsltt12
      }{}
\DeclareFontShape{T1}{dmtt}{m}{sc}{
      <10> <10.95>dmtcsc10
      <12> <14.4>dmtcsc12
      <17.28> <20.74> <24.88>dmtcsc17
      }{}
%</T1dmtt>
%    \end{macrocode}
%
% \subsection{Bugs and limitations}
% At the moment not all sizes of the fonts are supported.
% This is \textbf{unsupported} software, you can send me bug messages,
% but don't expect a quick answer.
% My email address is |volker.kunert@na-net.ornl.gov|.
%
% \subsubsection{A little Test}
%
%    \begin{macrocode}
%<*dmtest>
\documentclass{article}
\usepackage[german]{babel}
\usepackage[oldnumbers]{dmfonts} 
%\textwidth=0.5cm % make the linewidth small to test the hyphenation
\begin{document}
\author{Volker Kunert}
\title{Testing the DM Fonts}
\maketitle

After installing the style and font definition files, and
the tfm- and vf-files you should be able to \LaTeX\ this file.

If you work with em\TeX\, don't forget to change the configuration
files for the dvi-drivers to enable virtual fonts, see dvidrv.doc
for details.

\hyphenation{Hil-bert-r\"au-me}
Testing \verb+dmfonts.sty+.

Hilbertr{\"a}ume Hilbertr{\"a}ume Hilbertr{\"a}ume Hilbertr{\"a}ume
Hilbertr{\"a}ume Hilbertr{\"a}ume Hilbertr{\"a}ume Hilbertr{\"a}ume

ein Text{\"u}berlauf
der Oberf{\"o}rster
der Fu{\ss}abtreter

aeiou{\"o}{\"a}{\"u}{\ss} {\"A}{\"O}{\"U} Kapitel 1234567890 (69)

\aa \"a \"o \"u \ss \AA \"A \"O \"U \SS

"a  "o "u  "s "A  "O "U  "S

roman 1234567890 (69)
\textbf{bold 1234567890 (69)} \textsf{sans serif 1234567890 (69)}
\textit{italic 1234567890 (69)}

Das war's.
\end{document}
%</dmtest>
%    \end{macrocode}
%    
%    The next line goes into all files and in addition prevents \dst{}
%    from adding any further code from the main source file (such as a
%    character table.
%    \begin{macrocode}
\endinput
%    \end{macrocode}
%
% \Finale
%
%% \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         \~}