Debian Codegraph @

texmf-dist/doc/plain/fontch/README

raw
1 README File of the package fontch.tex V2.2 2010/04/12
2 fontch.tex: Macros for changing fonts and sizes in plain TeX
3
4 Rodrigo Medina [email protected]
5
6 Suggested locations: .../texmf/tex/plain/fontch/
7 .../texmf/doc/plain/fontch/README
8 Licence: LPPL
9
10 Components
11 ----------
12 The fontch V2.2 package is composed of the following files:
13 README -- this file
14 fontch.tex -- main macros
15 bsymbols.tex -- macros for boldface symbols
16 TS1mac.tex -- macros for the TS1 companion symbols
17 DSmac.tex -- auxiliary file for the DStroke option
18 fontch.pdf -- manual of fontch
19 fontch_doc.tex -- source of manual
20
21 Description
22 -----------
23 This package allows, in plain TeX, to change with a single
24 command the size of all fonts that are used for text input and math input.
25 Main text fonts of sizes 8, 10, 12, 14, 20 and 24 points are available.
26 Fonts of sizes 5, 6, 7 and 9 points are used in subscripts and subscripts of
27 subscripts of other main sizes.
28 In addition fontch gives support to:
29 - boldface math-italic and boldface math symbols,
30 - T1 Latin Modern fonts,
31 - TS1 companion symbol fonts.
32 - AMS fonts for boldface math,
33 - Double Stroke fonts for blackboard bold symbols
34
35 Requirements
36 -------------
37 - In order to use the T1 options LMTone and LMTSone, you need to have installed
38 the Latin Modern fonts of version 1.000 or larger. Older versions of LM fonts,
39 where the cork encoded fonts had names as cork-lmr10 (instead of ec-lmr10)
40 are incompatible with fontch-2.1. For those fonts you can use fontch-2.0
41 which is incompatible with the new naming convention. The old package is in
42 CTAN:/tex-archive/obsolete/macros/plain/contrib/fontch20.tar.gz
43 - In order to use the AMSfont option you need to have installed the AMS fonts.
44 - In order to use the DStroke option ou need to have installed the Double
45 Stroke fonts.
46
47 Installation
48 ------------
49 You have only to put the macro files fontch.tex, bsymbols.tex,
50 TS1mac.tex and DSmac.tex in any sensible place in the texmf tree, like
51 .../texmf/tex/plain/fontch/
52
53 It is also commendable to put this README file in a proper place such as
54
55 .../texmf/doc/plain/fontch/README
56
57 Usage
58 -----
59 For using fontch.tex with the original TeX OT1 fonts (Computer Modern)
60 just put at the beginning of the document:
61 \input fontch.tex
62
63 The file bsymbols.tex provides macro definitions for boldface versions
64 of math symbols. For using it just input the file where you need it.
65
66 The fontch package has four options for handling different kinds of fonts:
67
68 - LMTone for Latin Modern T1 fonts.
69 - LMTSone for the TS1 companion symbol font.
70 - AMSfont for AMS fonts used for boldface math.
71 - DStroke for Doublestroke fonts providing blackboard-boldface symbols.
72
73 The four options are independent. They are activated by setting the
74 corresponding variable before calling fontch.tex. For example for
75 activating all the four options and using the macros for bold math
76 put at the beginning of the document:
77
78 \let\AMSfont\relax
79 \let\DStroke\relax
80 \let\LMTone\relax
81 \let\LMTSone\relax
82 \input fontch.tex
83 \input bsymbols.tex
84
85 NOTES:
86 -----
87 (1) There is one modification of the standard behavior of plain TeX. Plain
88 TeX defines for the font #3 the same font (tenex) for text, script and
89 scriptscript. That is aw full. The fontch package uses sevenex for
90 script and fiveex for scriptscript, as for the other fonts.
91
92 (2) The use of files il1-t1.tcx or il2-t1.tcx is recommended together
93 with the LMT1 fonts.
94
95 (3) Only the cmcs, cmmib, cmbsy and cmex AMS fonts are supported. These
96 are used for small caps and for boldface math-italic and boldface
97 Greek symbols. The other AMS fonts like the Euler, Cyrillic and extra
98 symbols are not supported.
99
100 (4) Only the roman Doublestroke font is supported. The sans serif version
101 is not supported.
102
103 (5) There are two main uses of boldface math. One case is the use of
104 isolated bold characters or symbols inside a formula. For this case
105 fontch provides bold versions of math symbols and the macro \mb for bold
106 math-italic characters. The plain TeX macro "\bf" yields roman-bold
107 characters in math mode. The name of the bold version of a math symbol
108 is obtained adding the prefix "bf" to the name of the normal symbol. For
109 example a boldface italic "a" is {\mb a}, a boldface roman "P" is
110 {\bf P}, a boldface \Sigma is \bfSigma, a boldface \iff is \bfiff.
111
112 The other case is when one wants to write a complete formula in
113 boldface, for example inside a title. For this case fontch has the
114 macro \setmathbold that changes the font families 1 (cmmi) and 2 (cmsy)
115 to the bold versions cmmib and cmmbsy. The macro \unsetmathbold resets
116 the families 1 and 2 to their original values. These macros should be
117 put before and after the formula.
118
119 (6) Usually the macro \setmathbold does not change the whole formula to
120 boldface. This is due to the fact that in math mode some symbols
121 come from family #0 (cmr) or #3 (cmex) such as "+" or \int. Fontch
122 provides macros for the symbols that come from family #0, For
123 example the bold version of "(" is \bflparen.
124
125 (7) Math symbols of family #3 (cmex) do not have bold versions. In particular
126 \int, \sum and \prod. Nevertheless \smallint is of cmsy and does have
127 a bold version.
128
129 Modifications from version 2.1
130 ------------------------------
131 Version 2.2 is a minor bug correction version.
132 The main change is the inclusion of the fontch.pdf file.
133
134 Modifications from version 2.0
135 ------------------------------
136 Version 2.1 is a minor bug correction version.
137 The main change is the change in the name of
138 the cork-encoded LM font files to the new
139 naming conventions. (cork-lmr10 -> ec-lmr10, etc.)
140 Fontch-2.1 is compatible with LM-1.000 or newer versions.
141 Older versions of LM fonts are not compatible.
142
143 Modifications from version 1.3
144 ------------------------------
145
146 Version 2.0 is a mayor revision.
147
148 There are many improvements such as
149 -- Proper handling of smallcaps
150 -- Support for bold-math
151 -- Support for AMS fonts
152 -- Support for blackboard boldface
153 -- Correction of bugs and scaling.
154
155 The behavior of V2.0 should be compatible with V1.3 except for case explained
156 in Note (1).
157 -----------------------------------------------------
158 %%%%%%%%% Commands of fontch %%%%%%
159
160 General Commands
161 ----------------
162 The package fontch defines the following commands valid for any option.
163
164 Commands for changing font size:
165 \eightpoint -- Change to small type
166 \tenpoint -- Change to normal type
167 \twelvepoint -- Change to large type
168 \fourteenpoint -- Change to very large type
169 \twentypoint -- Change to huge type
170 \twentyfourpoint -- Change to immense type
171
172 Commands for changing family, most already in plain TeX.
173
174 \rm -- Roman
175 \sl -- Slanted
176 \it -- Italic
177 \bf -- Boldface
178 \tt -- Teletype
179 \sf -- Sans Serif (new)
180 \sc -- Small Caps
181 \cal -- Calligraphic
182 \mit -- Math Italic
183 \mb -- Math Boldface (new)
184 \bcal -- Boldface calligraphic (new)
185 \oldstyle -- Old style digits
186 \boldstyle -- Boldface old style digits (new)
187 \setmathbold -- set families 1 and 2 to cmmib and cmmbsy (new)
188 \unsetmathbold -- reset families 1 and 2 to cmmi and cmmsy (new)
189
190 Command for changing line spacing
191 \doublespace -- Double Space for ten & twelve points
192
193
194
195 Macros of bold symbols (Requires input of bsymbols.tex)
196 ----------------------
197 Symbols that have a keyword
198 bold_keyword = bf + normal_keyword
199
200 Symbols that do not have a keyword
201 \bfexcl -- !
202 \bflparen -- (
203 \bfrparen -- )
204 \bfplus -- +
205 \bfcomma -- ,
206 \bfcolon -- :
207 \bfsemicolon -- ;
208 \bfequal -- =
209 \bflbraket -- [
210 \bfrbraket -- ]
211 \bflt -- <
212 \bfslash -- /
213 \bfgt -- >
214 \bfminus -- -
215 \bfvert -- |
216 \bfVert -- \|
217
218 Command of the DStroke option
219 -----------------------------
220 \ds -- Double Stroke
221
222 Commands of the LMT1 option
223 ---------------------------
224
225 Redefined Plain TeX Commands:
226 \i , \j , \ae , \AE, \oe , \OE , \o , \O ,
227 \ss , \SS , \aa , \AA , \l , \L ,
228 \Gamma , \Delta , \Theta , \Lambda , \Xi , \Pi ,
229 \Sigma , \Upsilon , \Phi , \Psi , \Omega , \hbar
230
231 New T1 Commands for non-latin1 characters
232
233 \lh -- l'
234 \Lh -- L'
235 \dh -- d'
236 \th -- t'
237 \dbar -- d slash
238 \Edh
239 \edh
240 \ij
241 \IJ
242 \nj
243 \NJ
244 \thorn
245 \Thorn
246 \smallzero
247 \lguille -- left guillemot (does not appear in il1-t1.tcx)
248 \rguille -- right guillemot (does not appear in il1-t1.tcx)
249 \vispace -- visible space
250
251 Redefined plain TeX accents
252 \` , \' , \^ , \~ , \" , \H , \v , \u , \= , \. , \b , \c
253
254 Redefined plain TeX math-accents
255 \acute,\grave,\ddot,\tilde,\bar,\breve,\check,\hat,\dot
256
257 New T1 accents
258 \r -- ring accent
259 \k -- ogonek
260
261 New T1 math-accent
262 \ring
263
264 Commands of the LMTS1 option
265 ----------------------------
266
267 TS1 symbols
268 \tcchar{#1} -- Character of TS1 table
269
270 Redefined plain TeX commands
271 \t{#1} -- tie-after-accent
272 \P -- pilcrow
273 \S -- section
274 \dag -- dagger
275 \ddag -- double dagger
276 \copyright
277
278 Most TS1 symbols (in increasing charcode order)
279 Some are text versions of symbols of the math mode.
280
281 \arrowl -- left arrow
282 \arrowr -- right arrow
283 \blank
284 \dollar
285 \caster -- centered asterisk
286 \sequals -- short equals
287 \anglel
288 \angler
289 \mho
290 \bigcircle
291 \Ohm
292 \bbracketl -- left double square bracket
293 \bbracketr -- right double square bracket
294 \arrowu -- up arrow
295 \arrowd -- down arrow
296 \textstar -- star
297 \born
298 \died
299 \leaf
300 \married
301 \music
302 \doublevert -- Double vertical bar
303 \perthousand
304 \bull -- bullet (is in manmac)
305 \centigrade
306 \olddollar
307 \oldcent
308 \florin
309 \Colon
310 \won
311 \naira
312 \guarani
313 \peso
314 \lira
315 \recipe
316 \interrobang -- Question+Exclamation
317 \gnaborretni -- Question+Exclamation upside-down
318 \dong
319 \TM
320 \pertenth -- per ten thousand
321 \npilcrow -- narrow pilcrow
322 \baht
323 \numero
324 \abzueglich
325 \aestimated -- Big e
326 \openbull
327 \SM
328 \qbrackl -- left quill bracket
329 \qbrackr -- right quill bracket
330 \cent
331 \sterling
332 \currency
333 \yen
334 \brokenvert -- broken vertical bar
335 \feminine
336 \copyleft
337 \lognot -- logical not
338 \circledP
339 \registered
340 \degree
341 \plusminus
342 \twoup
343 \threeup
344 \micro
345 \centereddot
346 \reference
347 \oneup
348 \masculine
349 \root
350 \onequarter
351 \onehalf
352 \threequarters
353 \euro
354 \texttimes
355 \textdiv
356
357 Bugs
358 ----
359 Comments and bugs reports are welcome at [email protected]
360 -.-