📄 cycle.ps
字号:
%!PS-Adobe-2.0%%Title: TeX output 1993.07.02:1119%%Creator: DVILASER/PS, ArborText, Inc.%%BoundingBox: (atend)%%Pages: (atend)%%DocumentFonts: (atend)%%DocumentMedia: Plain 612 792 75 white {}%%EndComments%! % Dvips.pro - included prolog for DviLaser-generated PostScript files.%% @(#)dvips.pro 1.2 /tmp_mnt/n/fs/cmnusr/local/lib/tex/dvilaser/s.dvips.pro% Placed under SCCS for local changes - S. Beck, CS Dept., Princeton U.% % Copyright (c) 1986-91, ArborText, Inc.% Permission to copy is granted so long as the PostScript code% is not resold or used in a commercial product.%% $Header: /ati/src/pub/pubps/src/RCS/dvips.pro,v 1.4 1993/02/27 20:01:04 jjs Exp $%systemdict /setpacking known % use array packing mode if its available {/savepackingmode currentpacking def true setpacking} if /$DviLaser 400 dict def % Begin document/BeginDviLaserDoc { 0 0 moveto vmstatus pop pop 0 eq { $DviLaser begin } { /DviLaserJob save def $DviLaser begin /DviLaserFonts save def } ifelse} bind def % End document/EndDviLaserDoc { vmstatus pop pop 0 eq { end } { DviLaserFonts restore end DviLaserJob restore } ifelse} bind def $DviLaser begin/tempstr 64 string def/tempint 0 def/tempmatrix matrix def %% Debugging routines%/DebugMode false def/PrintInt { tempstr cvs print} bind def/PrintLn { (\n) print flush} bind def /PrintVMStats { print PrintLn (VM status - ) print vmstatus 3 copy PrintInt (\(total\), ) print PrintInt (\(used\), ) print pop exch sub PrintInt (\(remaining\), ) print PrintInt (\(level\)) print PrintLn} bind def /VMS /PrintVMStats load def /VMSDebug { DebugMode {PrintVMStats} {pop} ifelse} bind def (beginning of common prolog) VMSDebug % Make it easy to bind definitions./bdef { bind def } bind def/xdef { exch def } bdef% Bind some procedures that do restores and such to avoid InvalRestore problems./RestoreDviLaserPage { /DviLaserPage where {pop DviLaserPage restore} if} bdef/RestoreDviLaserFonts { DocumentType 0 eq {/DviLaserFonts where {pop DviLaserFonts restore} if } if} bdef/SaveDviLaserFonts { DocumentType 0 eq {/DviLaserFonts save def} if} bdef/SetCurrentPoint { /currentpoint cvx stopped {0 0 moveto currentpoint} if} bdef% Begin page/BP { /Magnification xdef /DviLaserPage save def (beginning of page) VMSDebug } bdef % End page/EP { DviLaserPage restore} bdef % Exit page (temporarily) to add fonts/characters./XP { % Save current point information so it can be reset later. /Xpos where {pop Xpos} {0} ifelse /Ypos where {pop Ypos} {0} ifelse SetCurrentPoint RestoreDviLaserPage moveto /Ypos xdef /Xpos xdef} bdef % Resume page/RP { /DviLaserPage save def} bdef % Purge all fonts to reclaim memory space. /PF { GlobalMode LocalMode} bdef % Switch to base save/restore level, saving state information. /GlobalMode { /UserSave where {pop UserSave} if % invoke "UserSave" if available PortraitMode PaperWidth PaperHeight PxlResolution Resolution Magnification Ymax RasterScaleFactor SetCurrentPoint RestoreDviLaserPage RestoreDviLaserFonts RecoverState} bdef % Preserve state at the base level./RecoverState { 10 copy /Ypos xdef /Xpos xdef /RasterScaleFactor xdef /Ymax xdef /Magnification xdef /Resolution xdef /PxlResolution xdef /PaperHeight xdef /PaperWidth xdef /PortraitMode xdef DoInitialPageScaling PortraitMode not {PaperWidth 0 SetupLandscape} if Xpos Ypos moveto} bdef% Switch from base save/restore level, restoring state information. /LocalMode { /Ypos xdef /Xpos xdef /RasterScaleFactor xdef /Ymax xdef /Magnification xdef /Resolution xdef /PxlResolution xdef /PaperHeight xdef /PaperWidth xdef /PortraitMode xdef DoInitialPageScaling PortraitMode not {PaperWidth 0 SetupLandscape} if Xpos Ypos moveto /UserRestore where {pop UserRestore} if % invoke "UserRestore" if available SaveDviLaserFonts /DviLaserPage save def} bdef % Abbreviations /S /show load def/SV /save load def/RST /restore load def /Yadjust {Ymax exch sub} bdef % (x,y) position absolute, just set Xpos & Ypos, don't move./SXY { Yadjust /Ypos xdef /Xpos xdef} bdef % (x,y) position absolute/XY { Yadjust 2 copy /Ypos xdef /Xpos xdef moveto} bdef % (x,0) position absolute/X { currentpoint exch pop 2 copy /Ypos xdef /Xpos xdef moveto} bdef % (0,y) position absolute/Y { currentpoint pop exch Yadjust 2 copy /Ypos xdef /Xpos xdef moveto} bdef % (x,y) position relative/xy { neg rmoveto currentpoint /Ypos xdef /Xpos xdef} bdef % (x,0) position relative/x { 0.0 rmoveto currentpoint /Ypos xdef /Xpos xdef} bdef % (0,y) position relative/y { 0.0 exch neg rmoveto currentpoint /Ypos xdef /Xpos xdef } bdef %% Print a rule. Normally this is done with a filled area defined by rlineto.% Unfortunately, doing it this way introduces a 1 pixel error on some% PostScript printer implementations. In order to get exactly correct% pixel size and positioning, an alternate approach is implemented under% control of boolean "PreciseRulePositioning". With this approach,% we create a temporary font in which the rule is the only character.% Since the alternate mechanism causes documents with lots of rules to% print much more slowly, and since the 1 pixel maximum difference is% rarely noticed, it is not used by default. Enable it by setting% "PreciseRulePositioning" true.%/PreciseRulePositioning false def/R { /ht xdef /wd xdef PreciseRulePositioning ht 1950 le wd 1950 le and PxlResolution 400 le and and {save /tfd 6 dict def tfd begin /FontType 3 def /FontMatrix [1 0 0 1 0 0] def /FontBBox [0 0 wd ht] def /Encoding 256 array dup 97 /a put def /BuildChar { pop % ignore character code pop % ignore font dict, too wd 0 0 0 wd ht setcachedevice wd ht true [1 0 0 -1 0 ht] {<FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF>} imagemask } def end % tfd /tf tfd definefont setfont (a) show restore } {gsave 0 setgray currentpoint newpath moveto 0.0 ht rlineto wd 0.0 rlineto 0.0 ht neg rlineto wd neg 0.0 rlineto closepath fill grestore } ifelse wd 0.0 rmoveto currentpoint /Ypos xdef /Xpos xdef} bdef/SHADE { /percent xdef /ht xdef /wd xdef /Red xdef /Green xdef /Blue xdef gsave 0.01 percent mul setgray currentpoint newpath moveto 0.0 ht rlineto wd 0.0 rlineto 0.0 ht neg rlineto wd neg 0.0 rlineto closepath fill grestore wd 0.0 rmoveto currentpoint /Ypos xdef /Xpos xdef} bdef%% <PXL-file resolution(pix/inch)> <resolution(pix/inch)> RES%/RES { /Resolution xdef /PxlResolution xdef /RasterScaleFactor PxlResolution Resolution div def} bdef% Document type: 0-document; 1-page; 2-EPS/DT { /DocumentType xdef} bdef%% Initialize state variables to default values for the current page.%/InitializePageState { /Xpos 0.0 def /Ypos 0.0 def /InitialMatrix matrix currentmatrix def} bdef%% Return to the initial page scaling parameters.%/DoInitialPageScaling { InitialMatrix setmatrix 72.0 Resolution div dup scale } bdef %% <paper-height(pix)> <paper-width(pix)> PM %/PM { XP /PaperWidth xdef /PaperHeight xdef /Ymax PaperHeight def /PortraitMode true def InitializePageState DoInitialPageScaling RP} bdef %% <paper-height(pix)> <paper-width(pix)> LM %/LM { XP /PaperWidth xdef /PaperHeight xdef /Ymax PaperWidth def /PortraitMode false def InitializePageState DoInitialPageScaling PaperWidth 0 SetupLandscape RP} bdef % Change magnification setting/MAG { XP /Magnification xdef RP} bdef %% Switch to landscape mode%/SetupLandscape { translate 90.0 rotate} bdef %% <mode> SPB - begin "\special" mode%% This is the PostScript procedure used to transfer from the internal% environment used for the DVI translation code emitted by DVIPS to% a standard PostScript environment.%% Parameters: 0 - Local% 1 - Global% 2 - Inline%/SPB { /spc_mode xdef spc_mode 0 eq spc_mode 2 eq or {XP} {spc_mode 1 eq {GlobalMode} if} ifelse Resolution 72.0 div dup scale % Restore default scaling... Magnification 1000.0 div dup scale % Adjust for any magnification... /Xpos Xpos 72.0 Resolution div mul 1000.0 Magnification div mul def /Ypos Ypos 72.0 Resolution div mul 1000.0 Magnification div mul def} bdef %% <mode> SPE - end "\special" mode%% This is the PostScript procedure used to reenter the internal% environment used for the DVI translation code emitted by DVIPS from
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -