16
mag \- computes fontsizes and magsteps
20
[-\fBR\fIdpi\fP\fP] magstep . . .
24
[-\fBr\fP] [-\fBR\fP\fIdpi\fP] fontsize . . .
30
This tool calculates fontsizes given magsteps. TeXfonts are provided as
31
true sized fonts or as magnifications. The fontsize of a true sized
32
font equals the resolution of the printer (ex. 300). The fontsize
33
of a font magnified $n$ \fImagsteps\fP equals:
38
rounded to its nearest integer value. Fontnames for TeX fonts normally
39
consists of the name (\fIcmr\fP), pointsize (\fI10\fP), type (\fIpk\fP)
40
and fontsize (\fI360\fP), for example: \fIcmr10.360pk\fP.
43
The result of \fImag -R240 -2 0 0.5 1\fP will be:
48
The inverse function is computed with the \fI-r\fP option. The result of
49
\fImag -r -R240 167 240 263 288\fP
50
will be the fontsteps:
55
The UNIX shells allow command substitution. One can write:
57
mag -r -R240 `mag -R240 -2 0 0.5 1`
66
University of Technology Eindhoven