Penguin
Annotated edit history of mag(1) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 MAG
2 !!!MAG
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 EXAMPLES
7 DATE
8 AUTHOR
9 ----
10 !!NAME
11
12
13 mag - computes fontsizes and magsteps
14 !!SYNOPSIS
15
16
17 __mag__ [[-__R__''dpi] magstep . . .''
18
19
20 __mag__ [[-__r__] [[-__R__''dpi''] fontsize . .
21 .
22 !!DESCRIPTION
23
24
25 delim $$ This tool calculates fontsizes given magsteps.
2 perry 26 !TeXfonts are provided as true sized fonts or as
1 perry 27 magnifications. The fontsize of a true sized font equals the
28 resolution of the printer (ex. 300). The fontsize of a font
29 magnified $n$ ''magsteps'' equals: 1.2 sup{n} times 300
30 delim off rounded to its nearest integer value. Fontnames
31 for TeX fonts normally consists of the name (''cmr''),
32 pointsize (''10''), type (''pk'') and fontsize
33 (''360''), for example: ''cmr10.360pk''.
34 !!EXAMPLES
35
36
37 The result of ''mag -R240 -2 0 0.5 1'' will
38 be:
39
40
41 167 240 263 288
42 The inverse function is computed with the ''-r'' option. The result of ''mag -r -R240 167 240 263 288'' will be the fontsteps:
43
44
45 -2 0 0.5 1
46 The UNIX shells allow command substitution. One can write:
47
48
49 mag -r -R240 `mag -R240 -2 0 0.5 1`
50 !!DATE
51
52
53 18 December, 1989
54 !!AUTHOR
55
56
57 Piet Tutelaers
58 University of Technology Eindhoven
59 rcpt@urc.tue.nl
60 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.