~ubuntu-branches/ubuntu/jaunty/texlive-bin/jaunty-security

« back to all changes in this revision

Viewing changes to build/TeX/texk/ps2pkm/mag.1

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2008-06-26 23:14:59 UTC
  • mfrom: (2.1.30 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080626231459-y02rjsrgtafu83yr
Tags: 2007.dfsg.2-3
add missing source roadmap.fig of roadmap.eps in fontinst documentation
(Closes: #482915) (urgency medium due to RC bug)
(new patch add-missing-fontinst-source)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" e
2
 
.TH MAG 1 UMFT
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 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
 
<rcpt@urc.tue.nl>
68