diff options
author | Anthony Martin <ality@pbrane.org> | 2021-06-27 00:11:17 +0000 |
---|---|---|
committer | Anthony Martin <ality@pbrane.org> | 2021-06-27 00:11:17 +0000 |
commit | d972962f925ce533ff9b0c607ae0d9578bd0ec17 (patch) | |
tree | 3721bd328f4f47833ef7a19c8b296b887f1a63ce | |
parent | d019a03f3785ede5861fa9fab81017a73ffe17f8 (diff) | |
download | plan9front-d972962f925ce533ff9b0c607ae0d9578bd0ec17.tar.xz |
pic(1): restore example section
It was erroneously elided when removing
the tpic command in commit 891a8c4f2.
-rw-r--r-- | sys/man/1/pic | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/sys/man/1/pic b/sys/man/1/pic index 40213d4ee..37a83c2f8 100644 --- a/sys/man/1/pic +++ b/sys/man/1/pic @@ -288,10 +288,34 @@ may contain newlines. The .B undef statement removes the definition of a macro. +.SH EXAMPLES +.EX +arrow "input" above; box "process"; arrow "output" above +move +A: ellipse + circle rad .1 with .w at A.e + circle rad .05 at 0.5 <A.c, A.ne> + circle rad .065 at 0.5 <A.c, A.ne> + spline from last circle.nw left .25 then left .05 down .05 + arc from A.c to A.se rad 0.5 + for i = 1 to 10 do { line from A.s+.025*i,.01*i down i/50 } +.EE +.PP +.PS +arrow "input" above; box "process"; arrow "output" above +move +A: ellipse + circle rad .1 with .w at A.e + circle rad .05 at 0.5 <A.c, A.ne> + circle rad .065 at 0.5 <A.c, A.ne> + spline from last circle.nw left .25 then left .05 down .05 + arc from A.c to A.se rad 0.5 + for i = 1 to 10 do { line from A.s+.025*i,.01*i down i/50 } +.PE .SH SOURCE .B /sys/src/cmd/pic .SH "SEE ALSO" -.IR grap (1), +.IR grap (1), .IR doctype (1), .IR troff (1) .br |