grid.ps
来自「PSlib是一个用来生成PostScript文件的类库。提供了一个生成PostS」· PS 代码 · 共 20 行
PS
20 行
% grid.ps% This file contains a page hook to draw a grid on each page% The PslibPageStartHook command expects to find the following on the stack.% page number% ury (upper right corner of page, y coordinate)% urx (upper right corner of page, x coordinate)% lly (lower left corner of page, y coordinate)% llx (lower left corner of page, x coordinate)% Use 'B' to define the command/PslibPageBeginHook{ /pagenumber exch def /ury exch def /urx exch def /lly exch def /llx exch def 0.7 setgray 0 72 urx { dup 0 moveto ury lineto stroke } for 0 72 ury { dup 0 exch moveto urx exch lineto stroke } for 0.0 setgray /Helvetica findfont 8 scalefont setfont 0 72 urx { dup 2 add 2 moveto 72 div 10 (aaaaaaaaaa) cvrs show ('') show } for 72 72 ury { dup 2 add 2 exch moveto 72 div 10 (aaaaaaaaaa) cvrs show ('') show } for} B
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?