computes fontsizes and magsteps


SUBMITTED BY: Guest

DATE: June 2, 2014, 2:33 p.m.

FORMAT: Text only

SIZE: 1.1 kB

HITS: 6122

  1. NAME
  2. mag - computes fontsizes and magsteps
  3. SYNOPSIS
  4. mag [-Rdpi] magstep . . .
  5. mag [-r] [-Rdpi] fontsize . . .
  6. DESCRIPTION
  7. 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 consists of the name (cmr), pointsize (10), type (pk) and fontsize (360), for example: cmr10.360pk.
  8. EXAMPLES
  9. The result of mag -R240 -2 0 0.5 1 will be:
  10. 167 240 263 288
  11. The inverse function is computed with the -r option. The result of mag -r -R240 167 240 263 288 will be the fontsteps:
  12. -2 0 0.5 1
  13. The UNIX shells allow command substitution. One can write:
  14. mag -r -R240 `mag -R240 -2 0 0.5 1`
  15. DATE
  16. 18 December, 1989
  17. AUTHOR
  18. Piet Tutelaers

comments powered by Disqus