up | Inhaltsverzeichniss | Kommentar

boxht=0.4i boxwid=0.55i Manual page for PIC(1)

pic - troff preprocessor for drawing simple pictures

SYNOPSIS

pic [-l -e] files...

DESCRIPTION

Pic is a troff.1 preprocessor for drawing simple figures on a typesetter. The basic objects are box, line, arrow, circle, ellipse, arc and text. If no file parameters appear, the standard input is read. The optional flags are:
-l
If -l is specified, lines are drawn using old-style line drawing commands which use vertical bars and underscores to print lines. This option may be used if interfacing pic to old versions of troff and/or postprocessors that don't use the normal line drawing commands.
-e
Don't generate any of the enhanced Eroff commands. Useful for processing files for other systems that do not have Eroff.

EROFF ENHANCEMENTS

New attributes shade for boxes and circles, and thick for all objects but text, have been added. For example:

box shade 3; arrow right; circle shade 306

produces: box shade 3; arrow right; circle shade 306

The shade value may be 0-100 for gray scale shading. The value 0 is white and 100 is black. Values 301-306 are 6 special patterns:

B1: box shade 301; move right 0.1i B2: box shade 302; move right 0.1i B3: box shade 303; move right 0.1i B4: box shade 304; move right 0.1i B5: box shade 305; move right 0.1i B6: box shade 306; "301" at B1.s - (0,.2i) "302" at B2.s - (0,.2i) "303" at B3.s - (0,.2i) "304" at B4.s - (0,.2i) "305" at B5.s - (0,.2i) "306" at B6.s - (0,.2i)

Patterns 301-306 are only available on PCL (LaserJet) printers.

An example of thick is: box; arrow right; box thick 10; arrow right; box;

which yields: box; arrow right; box thick 10; arrow right; box;

BUGS

Patterns 301-306 are only available on PCL (LaserJet) printers. The LaserJet II can only shade boxes, and is weak in drawing thick curved lines. The LaserJet III can shade boxes and circles, but not ellipses.


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97