Pagefont

A New Macro for Changing Page Fonts

The default font works well for most plots. However, some text can be difficult to read, such as integral labels that are overlapped (Figure A). Marty Berliner has created a new macro named pagefont that can be used to select different fonts and font sizes. The default fonts and font sizes for pagefont reduce the overlap between integral labels, which makes these labels readable (Figure B).

To use pagefont, generate a plot as normal, but do NOT click on the PAGE button or type page. Instead, type pagefont. To choose other fonts or font sizes, type one of the following:

pagefont(bigfontsize)

pagefont(bigfontsize,smallfontsize)

pagefont(bigfontsize,smallfontsize,font_type)

pagefont(bigfontsize,smallfontsize,font_type,filename)

where

bigfontsize size of big fonts, such as the axis scale

smallfontsize size of small fonts, such as integral labels

filename redirects plot to file named filename, instead of sending plot to printer

font_type types of fonts:Helvetica-Narrow, Symbol, Courier, Helvetica, ZapfChancery-MediumItalic

Courier-Bold, Helvetica-Bold, ZapfDingbat, Courier-BoldOblique, Helvetica-BoldOblique, Courier-Oblique, Helveitca-Oblique

Palatino, Times-Roman, Palatino-Bold, Times-Bold, Palatino-Italic, Times-Italic, Palatino-BoldItalic, Times-BoldItalic

For example, just using the default fonts, you generate a spectrum by typing pl pscale pir pltext pagefont(12.5,3.5)

Thanks Marty B.!!


Back to NMR Facility Home Page
Send comments to chemnmr@indiana.edu
Last updated: November 1st, 1999
URL: http://nmr.chem.indiana.edu/NMRguide/print/pagefont.html
Copyright 1996, The Trustees of Indiana University