MAG(1)

๐ŸŽ€ MAG(1) ยท General Commands Manual ๐ŸŽ€

โœจ NAME โœจ

bestie, meet mag ๐Ÿ’– it computes TeX fontsizes and magsteps. literally the tool for when your fonts need to be the perfect size ๐Ÿ”ฅ

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

mag [-Rdpi] magstep . . .

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

๐Ÿ’… DESCRIPTION ๐Ÿ’…

okay so the text opens with delim $$, which is just part of the page, so don't panic ๐Ÿ™ˆ

mag calculates fontsizes from magsteps โœจ TeX fonts come in two flavors: true sized fonts, or magnifications. ngl the fontsize of a true sized font is just the resolution of the printer (ex. 300) ๐Ÿ–จ๏ธ

for a font magnified n magsteps, the math goes like this: 1.2^n times 300, then rounded to its nearest integer value ๐Ÿงฎ it's giving clean math energy fr fr

and TeX font names usually have four parts: the name (cmr), the pointsize (10), the type (pk), and the fontsize (360). so a full one looks like cmr10.360pk ๐Ÿ’œ iconic naming

๐ŸŒธ EXAMPLES ๐ŸŒธ

the result of mag -R240 -2 0 0.5 1 will be:

167 240 263 288

the inverse function is what the -r option is for ๐Ÿ”„ so mag -r -R240 167 240 263 288 gives you the fontsteps back:

-2 0 0.5 1

and the UNIX shells let you do command substitution, so you can chain them together like this ๐Ÿซถ

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@tug.org (http://lists.tug.org/tex-k) ๐Ÿ’Œ


bestie, that's MAG(1) all wrapped up ๐ŸŒˆ last updated 1 Feb 2016, so go slay your fontsizes responsibly ๐Ÿ’€โœจ