Linux Commands Examples

A great documentation place for Linux commands

mag

computes fontsizes and magsteps

Synopsis

mag [-Rdpi] magstep . . .

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


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0

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’

description

Image grohtml-80411.png

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:

Image grohtml-80412.png

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.

date

18 December, 1989


author

Piet Tutelaers
University of Technology Eindhoven
<rcpt[:at:]urc.tue[:dot:]nl>

How can this site be more helpful to YOU ?


give  feedback