[comp.text] Changing line weight in pic...

tcianflo@nugipsy.UUCP (Tom Cianflone) (03/12/88)

Does pic have a global option like tbl's linesize which
changes the default size of the lines it draws?
Our printing process needs a heavier line size than the pic default.
In tbl, we have to specify linesize(14).  We need to do the same
thing with pic, but can't find anything in the documentation about
it.  What some are doing now is to code a duplicate primitive
(line, box, or whatever) offset by a few thousandths of an inch
to make the item appear to have been drawn with a thicker line.
This is a bit tedius and labor intensive to say the least.
Any help on this?  Thanks as always...
-- 
=> Regards, Tom Cianflone @ Gould Computer Systems Division <=
=>   ...!{uunet,sun,pur-ee,brl-smoke}!gould!tcianflone      <=
=>    ...!ihnp4!{codas,allegra}!novavax!gould!tcianflone    <=
=> NOTE: Disregard header info. Email to above paths only.  <=

sparrow@osiris.cso.uiuc.edu (03/18/88)

>Does pic have a global option like tbl's linesize which
>changes the default size of the lines it draws?

I may have a solution.  I have successfuly changed the "thickness"
of lines in Pic using the ".ps" pointsize command in
straight ditroff.  As an example, say your default pointsize
is 10.  Then the following pic input will draw a default
pointsize line and then a line of pointsize 20:

	.PS
	line 0,1 to 1,1
	.ps 20
	line 0,2 to 1,2
	.PE

Good luck,
Vic Sparrow
University of Illinois, Urbana-Champaign 
and
US Army Construction Engineering Research Lab-Acoustics Team
PO Box 4005
2902 Newmark Drive Interstate Research Park
Champaign, Illinois 61820-1305
(217) 352-6511 ext. 406
...decvax!ihnp4!uiucdcs!uiucuxc!osiris!sparrow
or
sparrow@osiris.cso.uiuc.edu