MAG(1) User Commands MAG(1) NAME mag - computes fontsizes and magsteps SYNOPSIS mag [-R_d_p_i] _m_a_g_s_t_e_p . . . mag [-r] [-R_d_p_i] fontsize . . . DESCRIPTION delim $$ This tool calculates fontsizes given magsteps. TeXfonts are provided as true sized fonts or as magnifica- tions. The fontsize of a true sized font equals the resolu- tion of the printer (ex. 300). The fontsize of a font mag- nified $n$ _m_a_g_s_t_e_p_s equals: 1.2 sup{n} times 300 delim off rounded to its nearest integer value. Fontnames for TeX fonts normally consists of the name (_c_m_r), pointsize (_1_0), type (_p_k) and fontsize (_3_6_0), for example: _c_m_r_1_0._3_6_0_p_k. EXAMPLES The result of _m_a_g -_R_2_4_0 -_2 _0 _0._5 _1 will be: 167 240 263 288 The inverse function is computed with the -_r option. The result of _m_a_g -_r -_R_2_4_0 _1_6_7 _2_4_0 _2_6_3 _2_8_8 will be the fontsteps: -2 0 0.5 1 The UNIX shells allow command substitution. One can write: mag -r -R240 `mag -R240 -2 0 0.5 1` DATE 18 December, 1989 AUTHOR Piet Tutelaers University of Technology Eindhoven rcpt@urc.tue.nl SunOS 5.5 Last change: UMFT 1