other versions
- jessie 2014.20140926.35254-6
- stretch 2016.20160513.41080.dfsg-2+deb9u1
- testing 2018.20181218.49446-1
- unstable 2018.20181218.49446-2
- experimental 2019.20190311.50335-1
other sections
MAG(1) | General Commands Manual | MAG(1) |
NAME¶
mag - computes fontsizes and magstepsSYNOPSIS¶
mag [- Rdpi] magstep . . . mag [- r] [-Rdpi] fontsize . . .DESCRIPTION¶
This tool calculates fontsizes given magsteps. TeXfonts are provided as true sized fonts or as magnifications. The fontsize of a true sized font equals the resolution of the printer (ex. 300). The fontsize of a font magnified magsteps equals: rounded to its nearest integer value. Fontnames for TeX fonts normally consists of the name ( cmr), pointsize (10), type (pk) and fontsize ( 360), for example: cmr10.360pk.EXAMPLES¶
The result of mag -R240 -2 0 0.5 1 will be:167 240 263 288The inverse function is computed with the -r option. The result of mag -r -R240 167 240 263 288 will be the fontsteps:
-2 0 0.5 1The UNIX shells allow command substitution. One can write:
mag -r -R240 `mag -R240 -2 0 0.5 1`
DATE¶
18 December, 1989AUTHOR¶
Piet Tutelaers University of Technology Eindhoven <rcpt@urc.tue.nl>
UMFT |