GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MAG(1) FreeBSD General Commands Manual MAG(1)

mag - computes TeX fontsizes and magsteps

mag [-Rdpi] magstep . . .

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

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.2n×300 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.

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`

18 December, 1989

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).
1 Feb 2016

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.