Debian Codegraph @

texmf-dist/doc/fonts/lfb/README

raw
1 Note on distribution:
2
3 This is a Greek font I wrote in METAFONT several years ago after being
4 inspired by the Bodoni typefaces I had seen in the old books in my school
5 library. It is stylistically a little more exotic than the standard
6 textbook greek fonts, particularly in glyphs like the lowercase rho and
7 kappa. It aims for a rather calligraphic feel, but I also think it blends
8 well with Computer Modern.
9
10 I included a ligature scheme which automatically inserts the breathings
11 required for ancient texts, making the input text more readable than in
12 some schemes. Since it is now de rigueur to use outline fonts, I have
13 largely abandoned this project, but I hope someone finds it useful.
14
15 I'd better give this a version number, say 1.0, although that does give
16 a false impression of continuous development, which most certainly is
17 not the case. I've put it under the LaTeX Project Public Licence,
18 of which you can read the latest version at
19 http://www.latex-project.org/lppl.txt
20
21 Laurie Field
22 laurie [dot] field [at] gmail [dot] com
23 June 2005
24
25 -------------------------------
26
27 LFB:
28
29 A new greek font for TeX, in regular and bold variants. All classical
30 accents and diacritic marks are available and built into the ligature table
31 of the font; hence no TeX input file is necessary to use the diacritical
32 marks.
33
34
35 Simple use in plain TeX:
36
37 (sorry, I can't be bothered to make the relevant LaTeX fd files, etc.,
38 although it wouldn't be hard.) Declare the font you want to use (eg.
39 \font\greek=lfb10). Then simply switch to that font and start typing.
40 The conventions for greek input are explained below.
41
42
43 Contents:
44
45 MF: metafont source files, in fairly amateurish code. Run mf on lfb*.mf or
46 lfbb*.mf to produce more tfm/pk files.
47
48 TFM: ready-made font metric files, for those who can't produce their own.
49
50 PK: ready-made bitmap files at 600dpi and standard magnification.
51
52 lfbacc.tex: a few TeX definitions for more obscure accent combinations
53 (namely, alpha, iota, and upsilon with macron/breve AND accent and/or
54 breathing.) These are faked with TeX's accent mechanism, since there is no
55 room for them in the font.
56
57 example.tex: sample text (to get an idea of the input conventions and of
58 the design of the glyphs). Taken from Xenophon's Anabasis, book 2,
59 I: 1-9.
60
61 example.pdf: my output from example.tex (using pdftex with 600dpi fonts). Because the fonts are bitmapped, it'll look terrible in a pdf viewer so it's best to print it out - or better still, install the metafont files and let your installation produce the correct fonts for your printer setup.
62
63
64 Input conventions:
65
66 This font uses yet another greek input mapping, incompatible with existing
67 ones. (However, if you wanted to use Ibycus or GreekTeX mappings, for
68 instance, it would be possible to create VF files to perform the conversion.)
69 I personally like this encoding because it is easy to type words in a
70 simple transliteration scheme and fewer nonletters are necessary than in
71 other schemes. This is done with a complex Metafont ligature table so that
72 none of the conversion is done by TeX macros (except when macron/breve are
73 necessary with other diacritical marks, as explained before.) The
74 advantage of this is that it is quick to process, no TeX input files
75 are needed, and the input is legible with no backslashes etc.
76
77 Ordinary letters are expressed thus:
78
79 greek letter ascii input (lowercase/capital)
80 alpha a/A
81 beta b/B
82 gamma g/G
83 delta d/D
84 epsilon e/E
85 zeta z/Z
86 eta j/J
87 theta th or q/TH or Th or Q
88 iota i/I (see below for iota subscript)
89 kappa k/K
90 lambda l/L
91 mu m/M
92 nu n/N
93 xi x or ks/X or KS or Ks
94 omikron o/O
95 pi p/P
96 rho r/R
97 sigma s/S
98 tau t/T
99 upsilon u/U
100 phi ph or f/PH or Ph or F
101 khi kh or ch or c/KH or Kh or CH or Ch or C
102 psi ps or y/PS or Ps or Y
103 omega w/W
104
105 Breaking ligatures: The vertical bar character | has been specially defined
106 so that it can be placed between any two characters which would otherwise
107 be joined; this includes letters like ks for xi (k|s will give kappa sigma)
108 and all ligatured diacritical marks (a' gives alpha-acute, a|' gives alpha
109 apostrophe). It can also be placed at the beginning of a word to prevent
110 the default smooth breathing (useful in all-capital titles) or at the end
111 of a word to prevent sigma adopting its final form.
112
113 Breathings: Normally a smooth breathing is automatically placed on an
114 initial vowel (except rho which is rough by default). Place an h or H
115 before a vowel to give it a rough breathing (note that whether you use h
116 or H is immaterial to the result; hence Herakles must be input HJraklj=s
117 or hJraklj=s since Hjraklj=s will give a lowercase eta). The font is
118 configured so that accents, breathings etc. automatically shift to the
119 second letter of a diphthong unless told otherwise (using |). To force a
120 smooth breathing (for instance in crasis) use *; hence t*ou'noma for
121 to` o'noma.
122 NOTE: Words beginning with a capital which have a diphthong must be entered
123 quite clumsily, since the ligature scheme cannot detect an (implicit or
124 explicit) breathing character more than one place before the vowel it
125 should ligature with. The breathing must be cancelled with | and
126 reinserted later with * or h. Hence Eu'boia will insert the breathing
127 before the E and you should type |E*u'boia instead. If you wanted a
128 capitalised aorist of heuri'skw, you should not type HJu=ron but |Jhu=ron.
129 (Sorry but at present I can't think of a way to fix this since metafont
130 ligature tables are quite rigid and poorly adapted to such obscure
131 situations.)
132
133 Accents: Use apostrophe (') for acute, backquote (`) for grave and equals
134 sign (=) for circumflex. Insert these after the vowel.
135
136 Diaeresis: Use double quotes (") immediately before the vowel. You can also
137 put it directly after the vowel (before any accents) but this doesn't work
138 at the beginnings of words which look (to the computer) like they start with
139 diphthongs, since the ligature table tries to put a smooth breathing on
140 the second vowel before it sees the diaeresis, and there is no way to
141 bring the breathing back; hence you must use e"u'thronos, not eu"'thronos.
142 (e|u"'thronos would work but is ugly.)
143
144 Iota subscript: Use a slash (/) after the vowel and accents. (This is
145 implemented, as in Ibycus, as a character kerned underneath rather than
146 separately generated characters to save space; thus if it comes directly
147 after the vowel it will stop subsequent accents from ligaturing.)
148
149 Macron and breve: Use colon (:) for macron and plus sign (+) for breve, in
150 the same place as you would put the accent. They can be put on any vowel,
151 even epsilon, eta, omikron and omega; perhaps this would be useful for
152 metrical reasons. All the same, I don't anticipate them being used very
153 often, and if you need to combine them with another accent or breathing or
154 both, you need to use TeX's accent mechanism, since I couldn't fit the
155 extra characters in the font (and even if I could, it would be boring to
156 add the extra code necessary). There is a small file included, lfbacc.tex,
157 which contains a few definitions:
158 \smo smooth breathing \rou rough breathing
159 \acu acute \gra grave
160 \sma smooth acute \smg smooth grave
161 \roa rough acute \rog rough grave
162 combined with any of:
163 \sha alpha breve \lga alpha macron
164 \shi iota breve \lgi iota macron
165 \shu upsilon breve \lgu upsilon macron
166 will give a shaky rendition of these combinations. I realize this is
167 incredibly clumsy but it's not too bad for odds and ends; they are rarely
168 used in Greek texts anyway, so it shouldn't be too big a limitation. (There
169 would be other ways around this but, again, it's not worth the effort.)
170
171 Punctuation marks: Use comma (,) and full stop (.) normally. A question
172 mark (?) gives a Greek question mark which looks like an English
173 semicolon; an ascii semicolon (;) gives the Greek equivalent which is like a
174 full stop but above the line. Don't use colon (:), as this is used for
175 macrons on vowels. I've also included some others for convenience:
176 apostrophe (') and backquote (`) when not ligatured to vowels will give the
177 traditional punctuation marks; two put together give open and close
178 quotation marks, as in plain TeX. Hyphen (-) is available, and two together
179 give an em-dash; I haven't included an en-dash (you can get it from
180 Computer Modern if really necessary.) There are also very crude
181 parentheses ( ( and ) ) and brackets ( [ and ] ) but again, you're better
182 off borrowing the better-looking ones from Computer Modern.
183
184
185 Future wish list:
186 - digamma, koppa and other rare characters
187 - angle brackets, dagger and dots under letters
188 - a better mechanism for macron/breve with other diacritics
189 - fix capitalised diphthong with breathing problem
190
191
192 Have fun
193 - Laurie Field, April 2001