/digits [ (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)
(a) (b) (c) (d) (e) (f) ] def
+/Helvetica findfont texty scalefont setfont
+
/klist_get {
klist
blackx
} for
grestore
-
} for
} for
+ gsave
+
+ 0 gridoy translate
+
+ text_l_p text_u_p and {
+ gsave
+ 0 0 moveto (K) show
+
+ gsave
+ 0 stridoy neg translate
+
+ 0 1 kmx { /blackx exch def
+ 0 1 kmy { /blacky exch def
+ kentry_moveto exch 0.65 mul exch moveto
+ klist_get digits exch get
+ show
+ } for
+ } for
+ grestore
+ grestore
+ } if
+
+ grestore
+
} def
/ranges {
someyellow
0 setgray
- /Helvetica findfont 18 scalefont setfont
0 0 moveto
(Y) show
yellow (___) cvs show
/finish_page {
0 setgray
- /Helvetica findfont texty scalefont setfont
- gsave
-
- 0 printareay texty sub translate
-
- 0 0 moveto (K) show
-
- gsave
- 0 stridoy neg translate
-
- 0 1 kmx { /blackx exch def
- 0 1 kmy { /blacky exch def
- kentry_moveto exch 0.65 mul exch moveto
- klist_get digits exch get
- show
- } for
- } for
- grestore
- grestore
showpage
start_page
/gridox szox def
/gridoy szoy def
-%ranges
+/text_l_p true def
+/text_u_p true def
+
+ranges
/ranges2 {
/yellow ylist yellowix get def
+ /text_l_p yellowx 0 le def
+ /text_u_p yellowy 1 ge def
+
someyellow
grestore