1MAG(1)                      General Commands Manual                     MAG(1)
2
3
4

NAME

6       mag - computes fontsizes and magsteps
7

SYNOPSIS

9       mag [-Rdpi] magstep . . .
10
11       mag [-r] [-Rdpi] fontsize . . .
12
13

DESCRIPTION

15       delim  $$  This tool calculates fontsizes given magsteps.  TeXfonts are
16       provided as true sized fonts or as magnifications.  The fontsize  of  a
17       true  sized  font equals the resolution of the printer (ex.  300).  The
18       fontsize of a font magnified $n$ magsteps equals: 1.2 sup{n} times  300
19       delim  off  rounded  to  its  nearest integer value.  Fontnames for TeX
20       fonts normally consists of the name (cmr), pointsize  (10),  type  (pk)
21       and fontsize (360), for example: cmr10.360pk.
22
23

EXAMPLES

25       The result of mag -R240 -2 0 0.5 1 will be:
26
27            167 240 263 288
28
29
30       The  inverse function is computed with the -r option. The result of mag
31       -r -R240 167 240 263 288 will be the fontsteps:
32
33            -2 0 0.5 1
34
35
36       The UNIX shells allow command substitution. One can write:
37
38            mag -r -R240 `mag -R240 -2 0 0.5 1`
39
40
41

DATE

43       18 December, 1989
44
45

AUTHOR

47       Piet Tutelaers
48       University of Technology Eindhoven
49       <rcpt@urc.tue.nl>
50
51
52
53
54                                     UMFT                               MAG(1)
Impressum