Debian Codegraph @

texmf-dist/doc/fonts/oldlatin/oldlatin.tex

raw
1 \documentclass[a4paper]{article}
2
3 \title{``Old Latin''\\
4 --- Computer Modern like font with ``long s'' ---}
5 \author{Taro \textsc{Terashita}
6 \thanks{Ehime University, Japan.
7 Email: \texttt{tarotera @ agr.ehime-u.ac.jp}
8 }
9 }
10 \date{Version 1.00 (18. Apr. 2010)}
11 \begin{document}
12 \maketitle
13 \tableofcontents
14
15 \section{Introduction}
16
17 As hobby and research,
18 I copy from old German text on real paper into digital \LaTeX\ file.
19 There are already fine fonts for the purpose:
20 \texttt{yfrak}, \texttt{ygoth} and \texttt{yswab}.
21 These fonts have not only fine graphic but also academic correctness.
22 You learn how to typeset in ancient days if you master them.
23 There is a package \texttt{oldgerm} for such old German fonts.
24 I used be with it when the idea of ``Old Latin Font'' occurred,
25 while I use the package \texttt{yfonts} with \texttt{german} today.
26
27 Even in such happy time with these old German fonts,
28 I find also some words with Latin font in original old book.
29 In such case, normal Latin font is available, of course.
30 Computer Modern is default of \TeX\ and suitable enough,
31 but there is a problem with modern Latin fonts, i.~e.\ ``long s''
32 (in German, ``langes s''):
33 It looks like ``f'' but lacks right half of side bar.
34
35 There is also Latin font with ``long s''
36 in \LaTeX\ Font Catalogue, like ``Day Roman S''.
37 But I love Computer Modern
38 because of its shape and its philosophy.
39 That is more than a design, that is a system.
40 And it looked not so difficult to modify long s from ``f'';
41 just bite off a little bit short side bar, wouldn't it?
42 Additionally,
43 I found some ligatures with ``t'' in old text,
44 for example ``(long)st'' in ``Forst'' or ``ct'' in ``Inspector'',
45 and tried to design them, too.
46
47 Actually, it was not as easy as I've thought.
48 The problems occur not direct by designing new fonts but
49 mainly by setting new rules of ligature.
50 However, I did somehow.
51
52 You see not only practical ``long s'' in Roman as result,
53 but also some fun fonts
54 in Bold, Dunhil, Slanted, Sans Serif, Typewriter Text,
55 which are generated through one common body, \texttt{roman.mf}.
56 (You see then why the font in Italic
57 was not redesigned.
58 The font is generated through \texttt{textit.mf}.)
59
60 I wish you enjoying this variation named ``Old Latin''.
61 Your corrections and comments are always welcome.
62 Especially, I let all combinations of ligatures allowed
63 \uppercase{without} any knowledge in Germanistik or in history of Typesetting.
64 So, some ligatures may be not allowed or not possible in real text.
65 I am happy to hear about such information.
66
67 \section{Lists of ``Old Latin''}
68
69 \subsection{Parameter files}
70
71 \texttt{%
72 olb10.mf
73 olbx5.mf olbx6.mf olbx7.mf olbx8.mf olbx9.mf olbx10.mf olbx12.mf
74 olbxsl10.mf
75 oldunh10.mf
76 olff10.mf
77 olfib8.mf
78 olr5.mf olr6.mf olr7.mf olr8.mf olr9.mf olr10.mf olr10s.mf olr12.mf olr17.mf
79 olsl8.mf olsl9.mf olsl10.mf olsl12.mf
80 olsltt10.mf
81 olss8.mf olss9.mf olss10.mf olss12.mf olss17.mf
82 olssbx10.mf
83 olssdc10.mf
84 olssi8.mf olssi9.mf olssi10.mf olssi12.mf olssi17.mf
85 olssq8.mf olssqi8.mf
86 oltt8.mf oltt9.mf oltt10.mf oltt12.mf
87 olvtt10.mf
88 }
89
90 \subsection{Common body files}
91
92 \texttt{%
93 oroman.mf
94 oromanl.mf
95 oromlig.mf
96 oromligs.mf
97 }
98
99 \subsection{\LaTeX\ files}
100 Your \LaTeX\ and dvi-viewer generates \texttt{tfm} and \texttt{pk} files
101 with these files:\\
102 \texttt{%
103 test\_alphabet.tex
104 test\_ol\_all.tex
105 test\_ol\_bf.tex
106 test\_ol\_rm.tex
107 test\_ol\_sl.tex
108 test\_ol\_ss.tex
109 test\_ol\_tt.tex
110 }
111
112 And also sample files in same names with suffix \texttt{.pdf}
113
114 \subsection{Required files of Computer Modern}
115
116 These are not inclusive in this contribution.
117 There must be somewhere in your \TeX\ system:\\
118 \texttt{%
119 romanu.mf
120 greeku.mf
121 romand.mf
122 romanp.mf
123 romspl.mf
124 romspu.mf
125 punct.mf
126 accent.mf
127 comlig.mf
128 romsub.mf
129 }
130
131 \section{My Environment}
132
133 You have all files above and it depends on you how cook them.
134 As a example, I will show you how I did.
135 I worked with following softwares:
136 \begin{itemize}
137 \item Microsoft Windows XP, Version 5.1.2600
138 \item pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
139 \item dviout for Windows, Version 3.18.1
140 \item dvipdfmx, Version 20090919
141 \end{itemize}
142 I hope you understand or infer what the following explanation means,
143 even if you use Mac OS or UNIX.
144
145 \section{How to install ``Old Latin''}
146
147 \begin{itemize}
148 \item
149 Check if all above listed files
150 (\texttt{ol*.mf, orom*.mf} and \texttt{test\_*.tex})
151 are in your current work directory.
152 \item
153 Tip the command \texttt{latex test\_ol\_all},
154 then \texttt{latex} stops because there is no \texttt{tfm} files.
155 Just tip \texttt{r} for run further,
156 then \texttt{latex} generates \texttt{tfm} files automatically.
157 Try \texttt{latex} again after that,
158 then it generates \texttt{dvi} file smoothly
159 with fresh generated \texttt{tfm} files.
160
161 \item
162 Now you have two ways to display:
163 \begin{itemize}
164 \item
165 \texttt{dviout} for windows
166 $\rightarrow$ open file
167 $\rightarrow$ sellect \texttt{test\_ol\_all.dvi}.
168 At first, \texttt{dviout} will stop because there is no \texttt{pk} files.
169 Just click the icon ``Retry'' (it can be several times),
170 then \texttt{dviout} generates \texttt{pk} files automatically.
171 After that you have to close \texttt{dviout} once and
172 copy the fresh generated \texttt{pk} files
173 from current work directory
174 into the directory which your \texttt{dviout} can refer.
175 Then let \texttt{dviout} with \texttt{test\_ol\_all} again and
176 it shows you the result.
177 \item
178 Tip command \texttt{dvipdfmx test\_ol\_all}
179 and it generates \texttt{pk} files automatically.
180 See the result \texttt{pdf} file with your viewer,
181 for example Adobe Reader.
182 \end{itemize}
183 \item
184 If everything goes well,
185 try other \texttt{test\_ol\_*.tex} files
186 to generate all rest \texttt{tfm} and \texttt{pk} files.
187 Then move \texttt{mf}, \texttt{tfm} and \texttt{pk} files
188 into each correct directories.
189 For example, I created new directories
190 (A hint to decide the place:
191 Near by the directory named \texttt{gothic}):\\
192 \texttt{/texmf/fonts/source/public/oldlatin} for \texttt{mf} files,\\
193 \texttt{/texmf/fonts/tfm/oldlatin} for \texttt{tfm} files and\\
194 \texttt{/texmf/fonts/pk/cx/public/oldlatin} for \texttt{pk} files.
195
196 \end{itemize}
197
198 \section{How to use ``Old Latin''}
199
200 See the inside of \texttt{test\_ol\_*.tex} files.
201 That is shortest way to use the fonts.
202 You declare:\\
203 \texttt{{$\backslash$}font{$\backslash$}olr=olr10 scaled 1000}\\
204 and write:\\
205 \texttt{{$\backslash$}olr Forstwissenschaft}\\
206 then the word ``Forstwissenschaft'' will be written with ``Old Latin'' font.
207
208 You cannot change the size or shape with the commands
209 like \texttt{{$\backslash$}large} or \texttt{{$\backslash$}textsl}.
210 You have to declare every fonts for each size and shape.
211 The rough comparison is:
212 5 point is for \texttt{$\backslash$tiny},
213 7 point for \texttt{$\backslash$scriptsize},
214 8 point for \texttt{$\backslash$footnotesize},
215 9 point for \texttt{$\backslash$small},
216 10 point for \texttt{$\backslash$normalsize},
217 12 point for \texttt{$\backslash$large} and
218 17 point for \texttt{$\backslash$LARGE}.
219 And \texttt{olr} is for Roman,
220 \texttt{olbf} for Boldface,
221 \texttt{olsl} for Slanted (differs from ``italic''),
222 \texttt{olss} for Sans Serif,
223 \texttt{oltt} for Typewriting Text.
224
225 If you know NFSS2 well, then you can solve better
226 (regrettably, I couldn't).
227 See the \texttt{fntguide.pdf} (or \texttt{.tex}) in your \TeX\ system,
228 or the book ``The \LaTeX\ Companion''.
229
230 For ``Sperrsatz'' (this is a German word),
231 which has larger space between letters and
232 was used in order to emphasize,
233 you can make new font
234 with changing parameter \texttt{letter\_fit\#}
235 in your favorite \texttt{ol*.mf}.
236 I add \texttt{olr10s.mf} as an example.
237 The result shows you an easygoing atmosphere
238 especially by ligatured letters,
239 but I do not recommend you this way.
240 Use package \texttt{soul.sty}, that is much better.
241
242 If you want to call a letter direct with code number,
243 then get the code number at first.
244 Each program for letter in \texttt{mf} file
245 begins with ``\texttt{cmchar}'' and short explanation.
246 In the next line you will find ``\texttt{beginchar(oct"213"\ldots}''
247 for example.
248 Here the number ``213'' is what you want.
249 Write \verb|\symbol{'213}| in \texttt{tex} file,
250 and \LaTeX\ generates the letter.
251
252 \end{document}