From 6f169495075d76419a9fb91b7e4d6ad1c7501eca Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason Date: Sat, 21 Mar 2020 22:34:55 +0000 Subject: [PATCH] doc/pic.ms: Remove trailing spaces; correct '\"' inside quotes 1) Change '\"' in a quoted argument to the correct '""' 2) Remove a space character at the end of a string (line). 3) Change a space character at the end of a string to '\ ', to keep it there. Signed-off-by: Bjarni Ingi Gislason --- doc/pic.ms | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/pic.ms b/doc/pic.ms index b7dfe32f..a4633e8c 100644 --- a/doc/pic.ms +++ b/doc/pic.ms @@ -329,7 +329,7 @@ would have been joined to the top of the arc, like this: .PS arc; move; "arc"; .PE -.CE "5: Result of \fBarc; move; \"arc\"\fP" +.CE "5: Result of \fBarc; move; ""arc""\fP" .PP This is because drawing an arc changes the default direction to the one its exit end points at. @@ -338,7 +338,7 @@ To reinforce this point, consider: .PS arc cw; move; "arc"; .PE -.CE "6: Result of \fBarc cw; move; \"arc\"\fP" +.CE "6: Result of \fBarc cw; move; ""arc""\fP" .PP All we've done differently here is specify \[lq]cw\[rq] for a clockwise arc (\[lq]ccw\[rq] specifies counter-clockwise direction). @@ -442,7 +442,7 @@ modifier: .PS box width 3 "this text is far too long for a default box" .PE -.CE "2: Result of \fBbox width 3 \"text far too long\"\fP" +.CE "2: Result of \fBbox width 3 ""text far too long""\fP" .PP This modifier takes a dimension in inches. There is also a \[lq]height\[rq] modifier that changes a box's height. @@ -1165,9 +1165,9 @@ define compass { [ dot(ME.e); "\fB .e\fP" at ME .e ljust dot(ME.se); "\fB .se\fP" at ME .se below dot(ME.s); "\fB.s\fP" at ME .s below - dot(ME.sw); "\fB.sw \fP" at ME .sw below - dot(ME.w); "\fB.w \fP" at ME .w rjust - dot(ME.nw); "\fB.nw \fP" at ME .nw above + dot(ME.sw); "\fB.sw\ \fP" at ME .sw below + dot(ME.w); "\fB.w\ \fP" at ME .w rjust + dot(ME.nw); "\fB.nw\ \fP" at ME .nw above ] } compass(box wid 1.5 ht 1); move right from last [] .e; @@ -2878,14 +2878,14 @@ direction on the block's bounding box. .DS .CW ::= - h[eigh]t \fR# set height of closed figure \fP - wid[th] \fR# set width of closed figure \fP - rad[ius] \fR# set radius of circle/arc \fP - diam[eter] \fR# set diameter of circle/arc \fP - up [] \fR# move up \fP - down [] \fR# move down \fP - left [] \fR# move left \fP - right [] \fR# move right \fP + h[eigh]t \fR# set height of closed figure\fP + wid[th] \fR# set width of closed figure\fP + rad[ius] \fR# set radius of circle/arc\fP + diam[eter] \fR# set diameter of circle/arc\fP + up [] \fR# move up\fP + down [] \fR# move down\fP + left [] \fR# move left\fP + right [] \fR# move right\fP from \fR# set from position of open figure\fP to \fR# set to position of open figure\fP at \fR# set center of open figure\fP -- 2.25.1