plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

mcolor.5 (1078B)


      1 .ds dP /usr/lib/postscript
      2 .ds dT /usr/lib/tmac
      3 .TH MCOLOR 5
      4 .SH NAME
      5 .B mcolor
      6 \- color and reverse video macro
      7 .SH SYNOPSIS
      8 \*(mBtroff \-mcolor\f1
      9 .OP "" options []
     10 .OP "" files []
     11 .SH DESCRIPTION
     12 .B mcolor
     13 is a macro package for color selection and reverse video printing
     14 on PostScript printers.
     15 The package is compatible with most existing macro packages
     16 and includes the following macro:
     17 .TP 1.25i
     18 .MI .CL "\0color\0text"
     19 Prints
     20 .I text
     21 in
     22 .IR color .
     23 No arguments restores the default color (black).
     24 If
     25 .I text
     26 is omitted the selected
     27 .I color
     28 remains in effect until another
     29 .I color
     30 is selected.
     31 If two arguments are given the
     32 .I text
     33 is printed in
     34 .I color
     35 and then the default color is restored.
     36 .PP
     37 Both the text and background color can be selected.
     38 A
     39 .I color
     40 argument of
     41 .RI `` color1
     42 .MW on
     43 .IR color2 ''
     44 prints text in
     45 .I color1
     46 on a background in
     47 .I color2 .
     48 .PP
     49 Named colors must be listed in the
     50 ``colordict''
     51 dictionary in file
     52 .MR \*(dP/color.ps .
     53 .SH FILES
     54 .MW \*(dT/tmac.color
     55 .br
     56 .MW \*(dP/color.ps
     57 .SH SEE ALSO
     58 .BR troff (1),
     59 .BR dpost (1),
     60 .BR mps (5)