Debian Codegraph @

texmf-dist/doc/man/man1/mag.1

raw
1 .\" e
2 .TH MAG 1 "1 Feb 2016"
3 .de EX
4 .sp
5 .in +5
6 .nf
7 .ft CW
8 ..
9 .de EE
10 .in -5
11 .ft R
12 .sp
13 .fi
14 ..
15 .SH NAME
16 mag \- computes TeX fontsizes and magsteps
17 .SH SYNOPSIS
18 .B
19 mag
20 [-\fBR\fIdpi\fP\fP] magstep . . .
21
22 .B
23 mag
24 [-\fBr\fP] [-\fBR\fP\fIdpi\fP] fontsize . . .
25
26 .SH DESCRIPTION
27 .EQ
28 delim $$
29 .EN
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:
34 .EQ
35 1.2 sup{n} times 300
36 delim off
37 .EN
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.
41
42 .SH EXAMPLES
43 The result of \fImag -R240 -2 0 0.5 1\fP will be:
44 .EX
45 167 240 263 288
46 .EE
47
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:
51 .EX
52 -2 0 0.5 1
53 .EE
54
55 The UNIX shells allow command substitution. One can write:
56 .EX
57 mag -r -R240 `mag -R240 -2 0 0.5 1`
58 .EE
59
60 .SH DATE
61 18 December, 1989
62
63 .SH AUTHOR
64 .nf
65 Piet Tutelaers
66 University of Technology Eindhoven
67 Maintained in TeX Live; please send bug reports or other correspondence
68 to [email protected] (http://lists.tug.org/tex-k).