man > mag(1)

MAG(1)                                 General Commands Manual                                MAG(1)



NAME
       mag - computes TeX fontsizes and magsteps

SYNOPSIS
       mag [-Rdpi] magstep . . .

       mag [-r] [-Rdpi] fontsize . . .


DESCRIPTION
       delim  $$ 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 $n$ magsteps equals: 1.2 sup{n} times
       300 delim off rounded to its nearest integer value.  Fontnames for TeX  fonts  normally  con‐
       sists  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 288


       The 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 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
       Maintained in TeX Live; please send bug reports or other correspondence
       to tex-k AT tug.org (http://lists.tug.org/tex-k).



                                             1 Feb 2016                                       MAG(1)

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 03:43 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!