[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] color fill in gpic?
From: |
Gaius Mulley |
Subject: |
Re: [Groff] color fill in gpic? |
Date: |
Wed, 09 Jan 2002 09:11:29 +0000 |
Larry McVoy <address@hidden> writes:
> Is it possible to set the fill color to something other than gray?
yes! For a small example see doc/pic.ms under section 6.8 in
the groff source tree. However only postscript and html devices
honour color at present I believe,
hope this helps
Gaius
ps. groff.texinfo also covers color in troff (in case you wish to
define your own colors etc)
#include <pic.ms:6.8>
6.8. Colored Objects
As a GNU extension, three additional modifiers are available to
specify colored objects. outline sets the color of the outline, shaded
the fill color, and color sets both. All three keywords expect a
suffix specifying the color. Example:
Figure 6-6: box color "yellow"; arrow color "cyan"; circle
shaded "green" outline "black";
Alternative spellings are colour, colored, coloured, and outlined.
Currently, color support is not available in TEX mode. Predefined
color names for groff(1) are in the file color.tmac; additional colors
can be defined with the .defcolor request (see the manual page of GNU
troff(1) for more details).