% \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. % %\ProvidesPackage{dmfonts} %\ProvidesFile{T1dmr.fd} %\ProvidesFile{T1odmr.fd} %\ProvidesFile{T1dmfib.fd} %\ProvidesFile{T1dmfr.fd} %\ProvidesFile{T1dmss.fd} %\ProvidesFile{T1dmtt.fd} %\ProvidesFile{dmtest.tex} %<*driver, > \ProvidesFile{dmfonts.fdd} % [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} % % %\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} % % \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 }{} % % \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 }{} % % \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 }{} % % \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 }{} % % \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 }{} % % \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 }{} % % \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} % % \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 \~}