pic(1) examples. W. Richard Steven's “Examples of pic Macros” contains more complicated examples. To generate PNG files: { echo .PS; cat $stem.pic; echo .PE } | pic | troff2png > $stem.png