OnWorks favicon

mag - Online in the Cloud

Run mag in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mag that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



mag - computes fontsizes and magsteps


mag [-Rdpi] magstep . . .

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


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.


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

Use mag online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • 7
    Old Feren OS Repositories
    Old Feren OS Repositories
    This was the Official Repository for
    Feren OS. To add the latest one, run
    this command: (16.04-based) echo
    "deb ...
    Download Old Feren OS Repositories
  • More »

Linux commands