diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/epsf')
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/LICENSE | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/Makefile | 83 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/README | 294 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/bboxgrid.ps | 317 | ||||
-rwxr-xr-x | Master/texmf-dist/doc/generic/epsf/fndbadps | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/okay/teps.eps | 186 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/okay/tepsf.eps | 186 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/teps.eps | 186 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/tepsf.eps | 186 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/tepsf1.tex | 146 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/tepsf2.ltx | 232 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/epsf/tepsf3.tex | 108 |
12 files changed, 1947 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/epsf/LICENSE b/Master/texmf-dist/doc/generic/epsf/LICENSE new file mode 100644 index 00000000000..5bb543fb044 --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/LICENSE @@ -0,0 +1,5 @@ +The epsf.tex and epsf.sty files are identical, and are freely +redistributable and placed into the public domain by Tomas Rokicki. +The changes since their original release in 1989 are similarly in the +public domain, as are all of the files distributed in the epsf-x.y.z +package. diff --git a/Master/texmf-dist/doc/generic/epsf/Makefile b/Master/texmf-dist/doc/generic/epsf/Makefile new file mode 100644 index 00000000000..16b4c3f58ba --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/Makefile @@ -0,0 +1,83 @@ +### ==================================================================== +### [30-Jul-2005] +### ==================================================================== + +prefix = /usr/local + +CP = /bin/cp -p + +INSTDIRS = $(prefix)/share/lib/tex/inputs \ + $(prefix)/share/lib/tex/latex \ + $(prefix)/share/lib/tex/latex2e/unpacked + +LATEX = latex +LATEX = latex2e + +LN = /bin/ln -f + +LS = ls + +RM = /bin/rm -f + +SHELL = /bin/sh + +TEX = tex + +### ==================================================================== + +LTXFILES = tepsf2.ltx + +TEXFILES = tepsf1.tex tepsf3.tex + +### ==================================================================== + +all: + @echo There is nothing to build in this directory. + +check: check-latex check-tex + +check-latex: + for f in $(LTXFILES) ; \ + do \ + $(LATEX) $$f ; \ + $(LS) -l `basename $$f .ltx`.* ; \ + done + +check-tex: + for f in $(TEXFILES) ; \ + do \ + $(TEX) $$f ; \ + $(LS) -l `basename $$f .tex`.* ; \ + done + +clean: + -$(RM) *.aux + -$(RM) *.dvi + -$(RM) *.log + -$(RM) *~ + -$(RM) \#* + -$(RM) a.out + -$(RM) core core.* + +clobber: distclean + +distclean: mostlyclean + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +mostlyclean: clean + +install: uninstall + for d in $(INSTDIRS) ; \ + do \ + $(CP) epsf.tex $$d/epsf.tex ; \ + $(LN) $$d/epsf.tex $$d/epsf.sty ; \ + done + +uninstall: + for d in $(INSTDIRS) ; \ + do \ + $(RM) $$d/epsf.tex $$d/epsf.sty ; \ + done diff --git a/Master/texmf-dist/doc/generic/epsf/README b/Master/texmf-dist/doc/generic/epsf/README new file mode 100644 index 00000000000..986453765a2 --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/README @@ -0,0 +1,294 @@ +%% /u/sy/beebe/tex/epsf/epsf-2.7.3/README, Sat Jul 30 18:41:35 2005 +%% Edit by Nelson H. F. Beebe <beebe@math.utah.edu> + +============ +Introduction +============ + +The epsf.tex and epsf.sty (identical) files provide for +low-level typesetting of Encapsulated PostScript (EPS) +files, with optional suppression of the figure contents (for +faster display and printing during document development), +optional figure framing, and optional figure labeling. + +See the header comments in epsf.tex or epsf.sty files for +usage information. + +LaTeX users are cautioned that the graphicx package +documented in the LaTeX Graphics Companion and LaTeX +Companion (2nd ed.) books provides a much more powerful and +general facility, and allows easy switching between +pdf(la)tex and (la)tex without document modification. + +Plain TeX and AmSTeX users, however, may find epsf.tex +useful. + + +=================== +Testing the package +=================== + +The test files in the package can be typeset on Unix systems +with + + make check + +You can then view or print the .dvi files to see several +examples of what they are supposed to look like. + +If you are in doubt about their appearance when generated at +your site, try the okay/*.dvi files: they were produced by +the package maintainers to illustrate the correct behavior +the package macros. + + +================= +Problem EPS files +================= + +If you experience difficulty in positioning an EPS picture, +and find that it appears in an unexpected location, or in an +incorrect scale or orientation, then it is often the case +that the PostScript is not EPSF-conformant (see the +specification in the references below). This may be because +it uses forbidden low-level PostScript operators that modify +the PostScript page transformations. The fndbadps shell +script in the distribution can be used on Unix systems to +search for forbidden operators in EPS files. If you find +any, you should complain to the author or vendor of the +software that produced the bad EPS files: the EPS +specification has been available since 1992, and is very +clear about what operators are forbidden. + +It is sometimes possible to repair problem EPS files by +converting from PostScript to PDF and back to PostScript. +Suitable tools for PostScript to PDF conversion include +Adobe distill, ghostscript ps2pdf, and Frank M. Siegert's +pstill. For PDF to PostScript conversion, use Adobe +acroread, ghostscript pdf2ps, or your PDF file viewer's +print-to-PostScript-file option. + +In bad cases, the only way to deal with a problem EPS file +may be to convert it to a high-resolution bitmap and back to +PostScript, taking care to choose a lossless bitmap format. +This can be done with the NetPBM tools and ghostscript. +These utilities offer a myriad of options, so it is +convenient to combine them in a separate tool that provides +the commonly-needed options: pstopngtops (see the References +section below). + + +=========================== +Bounding boxes and clipping +=========================== + +Sometimes the only problem is that the size of the figure is +wrong. This is usually because the %%BoundingBox comment +that is normally present in the first few lines of the EPS +file is wrong: indeed, most PostScript-producing software +produces nonsensical bounding boxes. + +One way to fix this problem is to print your EPS file and +the bboxgrid.ps file from this package on the SAME printer, +overlay them against a light source, and measure the +lower-left and upper-right corner coordinates in big points +(72bp = 1in = 25.4mm) of the picture and then edit the EPS +file to supply the correct coordinates as whole numbers in +order: + + %%BoundingBox: lower-left-x lower-left-y upper-right-x upper-right-y + +The PostScript coordinate system is right-handed Cartesian +with the origin at the lower-left page corner. The reason +that you need the grid provided by bboxgrid.ps is that even +though PostScript defines the coordinate position (0,0) to +be at the lower-left page corner, mechanical limitations +and/or misadjustments in PostScript printers often result in +that point being displaced by as much 1cm in any direction. +Even two identical models of the same printer can differ in +their true page origins! When you measure the picture +corners of your figure using the bboxgrid.ps output on the +same printer, you eliminate this source of confusion and +error. + +A better way to obtain an accurate bounding box is to ask +ghostscript to measure it for you: + + % gs -sDEVICE=bbox -dNOPAUSE bboxgrid.ps quit.ps + AFPL Ghostscript 8.51 (2005-04-18) + Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved. + This software comes with NO WARRANTY: see the file PUBLIC for details. + Loading NimbusSanL-Bold font from /usr/local/share/ghostscript/fonts/n019004l.pfb... 4506264 2452117 1502816 214110 1 done. + Loading NimbusSanL-Regu font from /usr/local/share/ghostscript/fonts/n019003l.pfb... 4506264 2483411 1522912 220580 1 done. + %%BoundingBox: 15 18 610 783 + %%HiResBoundingBox: 15.444000 18.395999 609.713981 782.045976 + +You can then replace the faulty %%BoundingBox comment in +your file with the correct one. + +The %%HiResBoundingBox comment is produced and used by some +software, but is nonstandard, and should not be relied on. +The epsf package ignores it, and PostScript printers ignore +all comments (text outside strings from percent to end of +line). + +If editing the EPS file is impossible, impractical, or +undesirable, you can supply the correct bounding box as a +square-bracketed optional argument to \epsfbox: + + \epsfbox[30 50 250 270]{filename.eps} + +This will override any %%BoundingBox comment in the file, +and if clipping is turned on with \epsfclipon, only material +inside the bounding box will appear in your output. + +If you find that the bounding box specification near the +start of the EPS file looks like this: + + %%BoundingBox: (atend) + +then search backward from the end of the file to find the +NEAREST %%BoundingBox comment, and then replace the (atend) +comment with the one you just found. TeX has to read the +EPS file until it finds the %%BoundingBox comment, and the +further it is from the beginning, the longer TeX will take +to find it. Parsing text in TeX is NOT a fast operation! + +Historical note: The bbox device was added to ghostscript at +version 3.68 in April 1996 at the suggestion of Nelson +H. F. Beebe. + + +========== +References +========== + +Web resources: + + LaTeX graphicx package: + http://ctan.tug.org/tex-archive/macros/latex/required/graphics/graphicx.dtx + + + Pstill (PostScript to PDF conversion tool): + http://www.wizards.de/~frank/pstill.html + http://www.this.net/~frank/pstill_win.html + + Aladdin Ghostscript: + ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ + http://prdownloads.sourceforge.net/ghostscript/ + http://www.artifex.com/ + http://www.cs.wisc.edu/~ghost/ + + GNU Ghostscript: + ftp://ftp.gnu.org/gnu/ghostscript + http://directory.fsf.org/ghostscript.html + + pstopngtops: + ftp://ftp.math.utah.edu/pub/pstopngtops + http://www.math.utah.edu/pub/pstopngtops + + netpbm: + http://netpbm.sourceforge.net/ + http://sourceforge.net/projects/netpbm/ + http://ii2.sourceforge.net/ + Note: NetPBM has a nonstandard build + procedure and historically has been very + painful to build on most Unix systems. The + first URL listed provides pointers to binary + distributions for some platforms that you + may find easier to install. Some GNU/Linux + distributions already have them: if the + Unix command + + which pngtopnm pnmcrop pnmmargin pnmtops + + reports locations of each those tools, then + you already have the ones needed for pstopngtops. + Mac OS X users can most conveniently install NetPBM + from the ii2 link above. + + +Books: + +@String{pub-ADOBE = "{Adobe Systems Incorporated}"} +@String{pub-ADOBE:adr = "San Jose, CA, USA"} + +@String{pub-AW = "Ad{\-d}i{\-s}on-Wes{\-l}ey"} +@String{pub-AW:adr = "Reading, MA, USA"} + +@Book{Adobe:1990:PLR, + author = "Adobe Systems Incorporated", + title = "{PostScript} Language Reference Manual", + publisher = pub-AW, + address = pub-AW:adr, + edition = "Second", + pages = "viii + 764", + year = "1990", + ISBN = "0-201-18127-4", + ISBN-13 = "978-0-201-18127-2", + LCCN = "QA76.73.P67 P67 1990", + bibdate = "Sat Oct 28 08:25:15 2000", + remark = "Appendix H documents the EPSF 3.0 specification.", +} + +@TechReport{Adobe:1992:EPF, + author = "{Adobe PostScript Developer Support Group}", + title = "{Encapsulated PostScript Files} Specification Version + 3.0", + number = "PN LPS5002", + institution = pub-ADOBE, + address = pub-ADOBE:adr, + day = "1", + month = may, + year = "1992", + bibdate = "Sat Jul 30 18:50:43 2005", + URL = "http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf", + note = "The specification is also published in + \cite[Appendix~H]{Adobe:PLR90}.", +} + +@Book{Goossens:1997:LGC, + author = "Michel Goossens and Sebastian Rahtz and Frank + Mittelbach", + title = "The {\LaTeX} Graphics Companion: Illustrating + Documents with {\TeX} and {PostScript}", + publisher = pub-AW, + address = pub-AW:adr, + pages = "xxi + 554", + year = "1997", + ISBN = "0-201-85469-4", + ISBN-13 = "978-0-201-85469-5", + LCCN = "Z253.4.L38G663 1997", + bibdate = "Fri Jul 11 07:51:47 1997", + price = "US\$39.75", + series = "Tools and Techniques for Computer Typesetting", + acknowledgement = ack-nhfb, + keywords = "LaTeX (Computer file); Computerized typesetting.; + PostScript (Computer program language); Scientific + illustration --- Computer programs.; Mathematics + printing --- Computer programs.; Technical publishing + --- Computer programs.", +} + +@Book{Mittelbach:2004:LC, + author = "Frank Mittelbach and Michel Goossens and Johannes + Braams and David Carlisle and Chris Rowley and + Christine Detig and Joachim Schrod", + title = "The {\LaTeX} Companion", + publisher = pub-AW, + address = pub-AW:adr, + edition = "Second", + pages = "xxvii + 1090", + year = "2004", + ISBN = "0-201-36299-6", + ISBN-13 = "978-0-201-36299-2", + LCCN = "Z253.4.L38 G66 2004", + bibdate = "Thu May 20 13:23:24 2004", + price = "US\$59.99, CAN\$86.99", + series = "Tools and Techniques for Computer Typesetting", + acknowledgement = ack-nhfb, + remark = "Authors listed as: Frank Mittelbach and Michel + Goossens with Johannes Braams, David Carlisle, and + Chris Rowley, and with contributions by Christine Detig + and Joachim Schrod.", +} diff --git a/Master/texmf-dist/doc/generic/epsf/bboxgrid.ps b/Master/texmf-dist/doc/generic/epsf/bboxgrid.ps new file mode 100644 index 00000000000..7db6828817c --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/bboxgrid.ps @@ -0,0 +1,317 @@ +%!PS-Adobe +%%BoundingBox: 0 0 612 792 +%%% ==================================================================== +%%% @PostScript-file{ +%%% author = "Nelson H. F. Beebe", +%%% version = "1.01", +%%% date = "22 January 1994", +%%% time = "23:33:36 MST", +%%% filename = "bboxgrid.ps", +%%% address = "Center for Scientific Computing +%%% Department of Mathematics +%%% University of Utah +%%% Salt Lake City, UT 84112 +%%% USA +%%% Tel: +1 801 581 5254 +%%% FAX: +1 801 581 4148", +%%% checksum = "57568 317 1097 8973", +%%% email = "beebe@solitude.math.utah.edu (Internet)", +%%% codetable = "ISO/ASCII", +%%% keywords = "grid, measure, calibration", +%%% supported = "yes", +%%% docstring = "This PostScript file produces a numbered grid +%%% measured in PostScript units of big points +%%% for the determination of correct bounding +%%% boxes of other PostScript files. +%%% +%%% Accurate bounding box measurements are +%%% required if the PostScript is to be included +%%% in other PostScript documents, such as via +%%% the TeX \special{} command. +%%% +%%% While PostScript by default places the (0,0) +%%% origin at the lower-left page corner, +%%% variations of several points will be found in +%%% different printers, even between identical +%%% models from the same vendor. +%%% +%%% To correctly determine the BoundingBox of an +%%% arbitrary PostScript figure, overlay a +%%% printed copy of the figure on the grid +%%% produced by this file on the SAME printer, +%%% and measure from it the coordinates of the +%%% lower-left and upper-right corners. These +%%% four integers should be entered in the +%%% PostScript file as a comment of the form +%%% +%%% %%BoundingBox: llx lly urx ury +%%% +%%% This comment should be placed near the +%%% beginning, preferably right after the initial +%%% line that should start %! or %!PS-Adobe... +%%% +%%% The checksum field above contains a CRC-16 +%%% checksum as the first value, followed by the +%%% equivalent of the standard UNIX wc (word +%%% count) utility output of lines, words, and +%%% characters. This is produced by Robert +%%% Solovay's checksum utility.", +%%% } +%%% ==================================================================== + +%%% 1.01 [22-Jan-1994] add top label, and bp axis labels +%%% 1.00 [22-Nov-1991] original version + +/TickSize 5 def +/TickStep 5 def +/TickFontSize 9 def + +/Frame % x y width height Frame +{ + /height exch def + /width exch def + /y exch def + /x exch def + newpath + x y moveto + width 0 rlineto + 0 height rlineto + width neg 0 rlineto + closepath + stroke + + x y width TickStep TickSize TickX + x y width TickStep TickSize NumberX + x y height add width TickStep TickSize neg TickX + x y height add width TickStep TickSize neg NumberX + x y height TickStep TickSize TickY + x y height TickStep TickSize NumberY + x width add y height TickStep TickSize neg TickY + x width add y height TickStep TickSize neg NumberY + x y 25 25 width height Grid +} def + +/Grid % x y dx dy width height Grid +{ + /Gheight exch def + /Gwidth exch def + /Gdy exch def + /Gdx exch def + /Gy exch def + /Gx exch def + + Gx + Gdx + Gx Gwidth add + { + newpath + Gy moveto + 0 Gheight rlineto + closepath + stroke + } + for + + Gy + Gdy + Gy Gheight add + { + newpath + Gx exch moveto + Gwidth 0 rlineto + closepath + stroke + } + for +} def + + +/NumberX % x y length dx tick NumberX +{ + /Helvetica findfont TickFontSize scalefont setfont + /Ttick exch def + /Tdx exch def + /Tlength exch def + /Ty exch def + /Tx exch def + + /temp 12 string def + Tx + Tdx 5 mul + Tx Tlength add + { + dup + Ty moveto % Tx already on stack + Ttick 0 lt + { 0 TickFontSize 0.5 mul rmoveto } + { 0 TickFontSize -1.5 mul rmoveto } + ifelse + temp cvs + dup stringwidth pop -2 div 0 rmoveto + show + } + for +} def + +/NumberY % x y length dy tick NumberY +{ + /Helvetica findfont TickFontSize scalefont setfont + /Ttick exch def + /Tdy exch def + /Tlength exch def + /Ty exch def + /Tx exch def + + /temp 12 string def + Ty + Tdy 5 mul + Ty Tlength add + { + dup + Tx exch moveto % Ty already on stack + Ttick neg TickFontSize -2 div rmoveto + temp cvs + Ttick 0 gt + { dup stringwidth pop neg 0 rmoveto } + if + show + } + for +} def + +/TickX % x y length dx tick TickX +{ + /Ttick exch def + /Tdx exch def + /Tlength exch def + /Ty exch def + /Tx exch def + + Tx + Tdx + Tx Tlength add + { + dup + newpath + Ty moveto % Tx already on stack + cvi Tdx 5 mul cvi mod 0 eq% draw tick, double length every 5th + { Ttick 2 mul } + { Ttick } + ifelse + 0 + exch + rlineto + closepath + stroke + } + for +} def + +/TickY % x y length dy tick TickY +{ + /Ttick exch def + /Tdy exch def + /Tlength exch def + /Ty exch def + /Tx exch def + + Ty + Tdy + Ty Tlength add + { + dup + newpath + Tx exch moveto % Ty already on stack + cvi Tdy 5 mul cvi mod 0 eq% draw tick, double length every 5th + { Ttick 2 mul } + { Ttick } + ifelse + 0 + rlineto + closepath + stroke + } + for +} def + +/inch +{ + 72 mul +} def + +/mm +{ + 72 mul 25.4 div +} def + +% (string) CenterCenterShow -- show centered at currentpoint +/CenterCenterShow +{ + dup stringwidth pop -2 div TickFontSize -2 div rmoveto show +} def + +% (string) RightCenterShow -- show right-centered at currentpoint +/RightCenterShow +{ + dup stringwidth pop neg TickFontSize -2 div rmoveto show +} def + +% (string) LeftCenterShow -- show right-centered at currentpoint +/LeftCenterShow +{ + 0 TickFontSize -2 div rmoveto show +} def + +% Select ONE of these pairs of page dimensions + +% ISO A4-format paper +% /PageWidth 210 mm def +% /PageHeight 297 mm def + +% US A-format paper +/PageWidth 8.5 inch def +/PageHeight 11.0 inch def + +% Make grid lines half the normal thickness +currentlinewidth 0.5 mul setlinewidth + +% Title the grid +/Helvetica-Bold findfont TickFontSize scalefont setfont +PageWidth 2 div 25 moveto +(bboxgrid.ps [Version 1.01] [22 January 1994]) dup +CenterCenterShow + +PageWidth 2 div 780 moveto +CenterCenterShow + +% You can change this line to make a different grid. The values +% should all be multiples of 25. +% The values 50 50 525 700 are appropriate for an Apple LaserWriter II. +% x y width height Frame +50 50 525 700 Frame + +% label bottom horizontal axis at each end +50 30 moveto +(bp) CenterCenterShow +575 30 moveto +(bp) CenterCenterShow + +% label top horizontal axis at each end +50 770 moveto +(bp) CenterCenterShow +575 770 moveto +(bp) CenterCenterShow + +% label left vertical axis at each end +25 50 moveto +(bp) RightCenterShow +25 750 moveto +(bp) RightCenterShow + +% label right vertical axis at each end +600 50 moveto +(bp) LeftCenterShow +600 750 moveto +(bp) LeftCenterShow + +showpage diff --git a/Master/texmf-dist/doc/generic/epsf/fndbadps b/Master/texmf-dist/doc/generic/epsf/fndbadps new file mode 100755 index 00000000000..bf91a717111 --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/fndbadps @@ -0,0 +1,18 @@ +#!/bin/sh +# Find forbidden PostScript operators in the files specified +# on stdin. +# [21-May-1999] -- update with extended list for PostScript Level 3, +# from pp. 802--803 of the PostScript Language Reference +# Manual, 3rd edition, 1999. +# [29-Jun-1996] -- update to show matching bad operator +# [23-Oct-1992] + +# Level 2 list (19 operators): +# /banddevice|grestoreall|nulldevice|setpageparams|copypage|initclip|quit|setsccbatch|erasepage|initgraphics|renderbands|setscreen|exitserver|initmatrix|setdevice|settransfer|framedevice|note|setmatrix/ + +# Level 3 list (36 operators): +nawk ' +/^%/ {next} +match($0,/[^A-Za-z](banddevice|clear|cleardictstack|copypage|erasepage|executive|exitserver|framedevice|grestoreall|initclip|initgraphics|initmatrix|nulldevice|quit|renderbands|setblackgeneration|setcolorrendering|setcolorscreen|setcolortransfer|setflat|setglobal|setgstate|sethalftone|setmatrix|setoverprint|setpagedevice|setscreen|setshared|setsmoothness|settransfer|setundercolorremoval|startjob|statusdict|undefinefont|undefineresource|userdict)[^A-Za-z]/) { + print FILENAME ":" NR ": " $0 ": [" substr($0,RSTART,RLENGTH) "] illegal in EPS file" +}' $* diff --git a/Master/texmf-dist/doc/generic/epsf/okay/teps.eps b/Master/texmf-dist/doc/generic/epsf/okay/teps.eps new file mode 100644 index 00000000000..9c92e663a56 --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/okay/teps.eps @@ -0,0 +1,186 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Title: psposter +x 1in +y 1in +w 2in +h 0.75in +p 20pt +fg navyblue +bd red +bg skyblue test of epsf.tex +%%CreationDate: Sat Jul 23 17:26:56 MDT 2005 +%%Creator: psposter Version 0.11 [13-Jan-2000] +%%For: Nelson H. F. Beebe <beebe@psi.math.utah.edu> +%%BoundingBox: 72 72 216 126 +%%DocumentMedia: A 612 792 0 () () +%%DocumentData: Clean7Bit +%%DocumentFonts: font Times-Bold +%%DocumentNeededResources: font Times-Bold +%%Orientation: Portrait +%%PageOrder: Ascend +%%Pages: 1 +%%EndComments +%======================================================================= +%%BeginProlog +/psposterdict 50 dict def +psposterdict begin +/inch { 72 mul } def +/BackgroundColor { 0.529412 0.807843 0.921569 } def % skyblue +/BaselineSkipFactor 1.2 def +/BorderColor { 1 0 0 } def % red +/BorderMargin 0 def +/BorderWidth 10 def +/CapHeight +{ + gsave newpath 0 0 moveto (M) true charpath pathbbox + exch pop sub neg exch pop grestore +} def +/ForegroundColor { 0 0 0.501961 } def % navyblue +/reencodePRIVATE { + dup length dict begin + {1 index /FID ne {def}{pop pop} ifelse} forall + %% Using default font encoding, perhaps: /Encoding StandardEncoding def + currentdict + end +} def +/findPRIVATE { + dup /FontType known { + dup /FontType get 3 ne { + dup /CharStrings known { + dup /CharStrings get /Thorn known { + true + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse +} def +/LandscapeMode false def +/MarginWidth 0 def +/PageHeight 792 def +/PageWidth 612 def +/Height 54 def +/Width 144 def +/PointSize 19.9253 def +/ROTATE_0 {} def +/ROTATE_90 {Width 0 translate 90 rotate} bind def +/ROTATE_180 {Width Height translate 180 rotate} bind def +/ROTATE_270 {0 Height translate 270 rotate} bind def +/ScaleFactor 1 def +LandscapeMode +{ + /TextHeight Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +{ + /TextHeight Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +ifelse +/XOffset 72 def +/YOffset 72 def +% Center and show a string at the current point, leaving +% point at the center of the next line. +% Usage: (string) cshow +/cshow +{ + currentpoint /cpy exch def /cpx exch def + dup stringwidth pop 0.5 mul neg 0 rmoveto show + cpx cpy moveto + NewLine +} def +/max +{ + /a exch def + /b exch def + a b gt { a } { b } ifelse +} def +/min +{ + /a exch def + /b exch def + a b lt { a } { b } ifelse +} def +/TheFont /Times-Bold def +/TheFontPRIVATE /Times-Bold-PRIVATE def +TheFontPRIVATE TheFont findfont reencodePRIVATE definefont pop +% Set the font size so that longest PosterLines string fills the TextWidth +% Usage: setfontsize +/setfontsize +{ + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + 10 scalefont setfont + % Set TheFontSize according to maximum string width + 0 PosterLines { stringwidth pop max } forall TextWidth exch div 10 mul + /TheFontSize exch def + % Adjust TheFontSize according to the number of text lines + LineCount TheFontSize mul BaselineSkipFactor mul + TextHeight div + dup 1 gt { TheFontSize exch div /TheFontSize exch def } { pop } ifelse + % NB: The following definition silently overrides the previous one + /TheFontSize PointSize def + /BaselineSkip BaselineSkipFactor TheFontSize mul def + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + TheFontSize scalefont setfont +} def +/NewLine {0 BaselineSkip neg rmoveto} def +/PosterLines +[ + (test of epsf.tex) +] def +/LineCount PosterLines length 1 max def +end % psposterdict +%%EndProlog +%======================================================================= +%%BeginSetup +/#copies 1 def +%%EndSetup +%======================================================================= +%%Page: 1 1 +%%BeginPageSetup +psposterdict begin +XOffset YOffset translate +ScaleFactor dup scale +ROTATE_0 +end % psposterdict +%%EndPageSetup + +psposterdict begin +% Draw a frame box and fill it with the background color, and a border color. +BorderWidth setlinewidth +newpath +MarginWidth BorderWidth 0.5 mul add dup moveto +TextWidth BorderMargin 2 mul add BorderWidth add 0 rlineto +0 TextHeight BorderMargin 2 mul add BorderWidth add rlineto +TextWidth BorderMargin 2 mul add BorderWidth add neg 0 rlineto +closepath +BackgroundColor setrgbcolor gsave fill grestore +BorderColor setrgbcolor stroke + +0 0 0 setrgbcolor % revert to black + +% Set the clipping path to the text region +0 setlinewidth +newpath +MarginWidth BorderWidth add BorderMargin add dup moveto +TextWidth 0 rlineto +0 TextHeight rlineto +TextWidth neg 0 rlineto +closepath +clip + +% Move origin to text box center, since x = 0 is a convenient +% value for centering text. +LandscapeMode + { Height 0.5 mul Width 0.5 mul translate } + { Width 0.5 mul Height 0.5 mul translate } +ifelse +% Set font size so that the longest line just fills the TextWidth. +setfontsize +% Center the text vertically, such that the middle line has its text +% (rather than baseline distance) centered on a horizontal line +% passing through the center of the picture. +0 LineCount 0.5 mul BaselineSkip mul BaselineSkip sub moveto +0 BaselineSkip CapHeight sub 0.5 mul rmoveto +ForegroundColor setrgbcolor +% Typeset the poster text. +PosterLines { cshow } forall +end % psposterdict +showpage +%%PageTrailer +%======================================================================= +%%Trailer +%%EOF diff --git a/Master/texmf-dist/doc/generic/epsf/okay/tepsf.eps b/Master/texmf-dist/doc/generic/epsf/okay/tepsf.eps new file mode 100644 index 00000000000..c1a3954832a --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/okay/tepsf.eps @@ -0,0 +1,186 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Title: psposter +x 1in +y 1in +w 2in +h 0.75in +p 20pt +fg navyblue +bg lightblue +bd skyblue test of epsf.tex +%%CreationDate: Sat Jul 23 17:29:32 MDT 2005 +%%Creator: psposter Version 0.11 [13-Jan-2000] +%%For: Nelson H. F. Beebe <beebe@psi.math.utah.edu> +%%BoundingBox: 72 72 216 126 +%%DocumentMedia: A 612 792 0 () () +%%DocumentData: Clean7Bit +%%DocumentFonts: font Times-Bold +%%DocumentNeededResources: font Times-Bold +%%Orientation: Portrait +%%PageOrder: Ascend +%%Pages: 1 +%%EndComments +%======================================================================= +%%BeginProlog +/psposterdict 50 dict def +psposterdict begin +/inch { 72 mul } def +/BackgroundColor { 0.678431 0.847059 0.901961 } def % lightblue +/BaselineSkipFactor 1.2 def +/BorderColor { 0.529412 0.807843 0.921569 } def % skyblue +/BorderMargin 0 def +/BorderWidth 10 def +/CapHeight +{ + gsave newpath 0 0 moveto (M) true charpath pathbbox + exch pop sub neg exch pop grestore +} def +/ForegroundColor { 0 0 0.501961 } def % navyblue +/reencodePRIVATE { + dup length dict begin + {1 index /FID ne {def}{pop pop} ifelse} forall + %% Using default font encoding, perhaps: /Encoding StandardEncoding def + currentdict + end +} def +/findPRIVATE { + dup /FontType known { + dup /FontType get 3 ne { + dup /CharStrings known { + dup /CharStrings get /Thorn known { + true + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse +} def +/LandscapeMode false def +/MarginWidth 0 def +/PageHeight 792 def +/PageWidth 612 def +/Height 54 def +/Width 144 def +/PointSize 19.9253 def +/ROTATE_0 {} def +/ROTATE_90 {Width 0 translate 90 rotate} bind def +/ROTATE_180 {Width Height translate 180 rotate} bind def +/ROTATE_270 {0 Height translate 270 rotate} bind def +/ScaleFactor 1 def +LandscapeMode +{ + /TextHeight Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +{ + /TextHeight Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +ifelse +/XOffset 72 def +/YOffset 72 def +% Center and show a string at the current point, leaving +% point at the center of the next line. +% Usage: (string) cshow +/cshow +{ + currentpoint /cpy exch def /cpx exch def + dup stringwidth pop 0.5 mul neg 0 rmoveto show + cpx cpy moveto + NewLine +} def +/max +{ + /a exch def + /b exch def + a b gt { a } { b } ifelse +} def +/min +{ + /a exch def + /b exch def + a b lt { a } { b } ifelse +} def +/TheFont /Times-Bold def +/TheFontPRIVATE /Times-Bold-PRIVATE def +TheFontPRIVATE TheFont findfont reencodePRIVATE definefont pop +% Set the font size so that longest PosterLines string fills the TextWidth +% Usage: setfontsize +/setfontsize +{ + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + 10 scalefont setfont + % Set TheFontSize according to maximum string width + 0 PosterLines { stringwidth pop max } forall TextWidth exch div 10 mul + /TheFontSize exch def + % Adjust TheFontSize according to the number of text lines + LineCount TheFontSize mul BaselineSkipFactor mul + TextHeight div + dup 1 gt { TheFontSize exch div /TheFontSize exch def } { pop } ifelse + % NB: The following definition silently overrides the previous one + /TheFontSize PointSize def + /BaselineSkip BaselineSkipFactor TheFontSize mul def + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + TheFontSize scalefont setfont +} def +/NewLine {0 BaselineSkip neg rmoveto} def +/PosterLines +[ + (test of epsf.tex) +] def +/LineCount PosterLines length 1 max def +end % psposterdict +%%EndProlog +%======================================================================= +%%BeginSetup +/#copies 1 def +%%EndSetup +%======================================================================= +%%Page: 1 1 +%%BeginPageSetup +psposterdict begin +XOffset YOffset translate +ScaleFactor dup scale +ROTATE_0 +end % psposterdict +%%EndPageSetup + +psposterdict begin +% Draw a frame box and fill it with the background color, and a border color. +BorderWidth setlinewidth +newpath +MarginWidth BorderWidth 0.5 mul add dup moveto +TextWidth BorderMargin 2 mul add BorderWidth add 0 rlineto +0 TextHeight BorderMargin 2 mul add BorderWidth add rlineto +TextWidth BorderMargin 2 mul add BorderWidth add neg 0 rlineto +closepath +BackgroundColor setrgbcolor gsave fill grestore +BorderColor setrgbcolor stroke + +0 0 0 setrgbcolor % revert to black + +% Set the clipping path to the text region +0 setlinewidth +newpath +MarginWidth BorderWidth add BorderMargin add dup moveto +TextWidth 0 rlineto +0 TextHeight rlineto +TextWidth neg 0 rlineto +closepath +clip + +% Move origin to text box center, since x = 0 is a convenient +% value for centering text. +LandscapeMode + { Height 0.5 mul Width 0.5 mul translate } + { Width 0.5 mul Height 0.5 mul translate } +ifelse +% Set font size so that the longest line just fills the TextWidth. +setfontsize +% Center the text vertically, such that the middle line has its text +% (rather than baseline distance) centered on a horizontal line +% passing through the center of the picture. +0 LineCount 0.5 mul BaselineSkip mul BaselineSkip sub moveto +0 BaselineSkip CapHeight sub 0.5 mul rmoveto +ForegroundColor setrgbcolor +% Typeset the poster text. +PosterLines { cshow } forall +end % psposterdict +showpage +%%PageTrailer +%======================================================================= +%%Trailer +%%EOF diff --git a/Master/texmf-dist/doc/generic/epsf/teps.eps b/Master/texmf-dist/doc/generic/epsf/teps.eps new file mode 100644 index 00000000000..9c92e663a56 --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/teps.eps @@ -0,0 +1,186 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Title: psposter +x 1in +y 1in +w 2in +h 0.75in +p 20pt +fg navyblue +bd red +bg skyblue test of epsf.tex +%%CreationDate: Sat Jul 23 17:26:56 MDT 2005 +%%Creator: psposter Version 0.11 [13-Jan-2000] +%%For: Nelson H. F. Beebe <beebe@psi.math.utah.edu> +%%BoundingBox: 72 72 216 126 +%%DocumentMedia: A 612 792 0 () () +%%DocumentData: Clean7Bit +%%DocumentFonts: font Times-Bold +%%DocumentNeededResources: font Times-Bold +%%Orientation: Portrait +%%PageOrder: Ascend +%%Pages: 1 +%%EndComments +%======================================================================= +%%BeginProlog +/psposterdict 50 dict def +psposterdict begin +/inch { 72 mul } def +/BackgroundColor { 0.529412 0.807843 0.921569 } def % skyblue +/BaselineSkipFactor 1.2 def +/BorderColor { 1 0 0 } def % red +/BorderMargin 0 def +/BorderWidth 10 def +/CapHeight +{ + gsave newpath 0 0 moveto (M) true charpath pathbbox + exch pop sub neg exch pop grestore +} def +/ForegroundColor { 0 0 0.501961 } def % navyblue +/reencodePRIVATE { + dup length dict begin + {1 index /FID ne {def}{pop pop} ifelse} forall + %% Using default font encoding, perhaps: /Encoding StandardEncoding def + currentdict + end +} def +/findPRIVATE { + dup /FontType known { + dup /FontType get 3 ne { + dup /CharStrings known { + dup /CharStrings get /Thorn known { + true + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse +} def +/LandscapeMode false def +/MarginWidth 0 def +/PageHeight 792 def +/PageWidth 612 def +/Height 54 def +/Width 144 def +/PointSize 19.9253 def +/ROTATE_0 {} def +/ROTATE_90 {Width 0 translate 90 rotate} bind def +/ROTATE_180 {Width Height translate 180 rotate} bind def +/ROTATE_270 {0 Height translate 270 rotate} bind def +/ScaleFactor 1 def +LandscapeMode +{ + /TextHeight Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +{ + /TextHeight Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +ifelse +/XOffset 72 def +/YOffset 72 def +% Center and show a string at the current point, leaving +% point at the center of the next line. +% Usage: (string) cshow +/cshow +{ + currentpoint /cpy exch def /cpx exch def + dup stringwidth pop 0.5 mul neg 0 rmoveto show + cpx cpy moveto + NewLine +} def +/max +{ + /a exch def + /b exch def + a b gt { a } { b } ifelse +} def +/min +{ + /a exch def + /b exch def + a b lt { a } { b } ifelse +} def +/TheFont /Times-Bold def +/TheFontPRIVATE /Times-Bold-PRIVATE def +TheFontPRIVATE TheFont findfont reencodePRIVATE definefont pop +% Set the font size so that longest PosterLines string fills the TextWidth +% Usage: setfontsize +/setfontsize +{ + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + 10 scalefont setfont + % Set TheFontSize according to maximum string width + 0 PosterLines { stringwidth pop max } forall TextWidth exch div 10 mul + /TheFontSize exch def + % Adjust TheFontSize according to the number of text lines + LineCount TheFontSize mul BaselineSkipFactor mul + TextHeight div + dup 1 gt { TheFontSize exch div /TheFontSize exch def } { pop } ifelse + % NB: The following definition silently overrides the previous one + /TheFontSize PointSize def + /BaselineSkip BaselineSkipFactor TheFontSize mul def + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + TheFontSize scalefont setfont +} def +/NewLine {0 BaselineSkip neg rmoveto} def +/PosterLines +[ + (test of epsf.tex) +] def +/LineCount PosterLines length 1 max def +end % psposterdict +%%EndProlog +%======================================================================= +%%BeginSetup +/#copies 1 def +%%EndSetup +%======================================================================= +%%Page: 1 1 +%%BeginPageSetup +psposterdict begin +XOffset YOffset translate +ScaleFactor dup scale +ROTATE_0 +end % psposterdict +%%EndPageSetup + +psposterdict begin +% Draw a frame box and fill it with the background color, and a border color. +BorderWidth setlinewidth +newpath +MarginWidth BorderWidth 0.5 mul add dup moveto +TextWidth BorderMargin 2 mul add BorderWidth add 0 rlineto +0 TextHeight BorderMargin 2 mul add BorderWidth add rlineto +TextWidth BorderMargin 2 mul add BorderWidth add neg 0 rlineto +closepath +BackgroundColor setrgbcolor gsave fill grestore +BorderColor setrgbcolor stroke + +0 0 0 setrgbcolor % revert to black + +% Set the clipping path to the text region +0 setlinewidth +newpath +MarginWidth BorderWidth add BorderMargin add dup moveto +TextWidth 0 rlineto +0 TextHeight rlineto +TextWidth neg 0 rlineto +closepath +clip + +% Move origin to text box center, since x = 0 is a convenient +% value for centering text. +LandscapeMode + { Height 0.5 mul Width 0.5 mul translate } + { Width 0.5 mul Height 0.5 mul translate } +ifelse +% Set font size so that the longest line just fills the TextWidth. +setfontsize +% Center the text vertically, such that the middle line has its text +% (rather than baseline distance) centered on a horizontal line +% passing through the center of the picture. +0 LineCount 0.5 mul BaselineSkip mul BaselineSkip sub moveto +0 BaselineSkip CapHeight sub 0.5 mul rmoveto +ForegroundColor setrgbcolor +% Typeset the poster text. +PosterLines { cshow } forall +end % psposterdict +showpage +%%PageTrailer +%======================================================================= +%%Trailer +%%EOF diff --git a/Master/texmf-dist/doc/generic/epsf/tepsf.eps b/Master/texmf-dist/doc/generic/epsf/tepsf.eps new file mode 100644 index 00000000000..c1a3954832a --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/tepsf.eps @@ -0,0 +1,186 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Title: psposter +x 1in +y 1in +w 2in +h 0.75in +p 20pt +fg navyblue +bg lightblue +bd skyblue test of epsf.tex +%%CreationDate: Sat Jul 23 17:29:32 MDT 2005 +%%Creator: psposter Version 0.11 [13-Jan-2000] +%%For: Nelson H. F. Beebe <beebe@psi.math.utah.edu> +%%BoundingBox: 72 72 216 126 +%%DocumentMedia: A 612 792 0 () () +%%DocumentData: Clean7Bit +%%DocumentFonts: font Times-Bold +%%DocumentNeededResources: font Times-Bold +%%Orientation: Portrait +%%PageOrder: Ascend +%%Pages: 1 +%%EndComments +%======================================================================= +%%BeginProlog +/psposterdict 50 dict def +psposterdict begin +/inch { 72 mul } def +/BackgroundColor { 0.678431 0.847059 0.901961 } def % lightblue +/BaselineSkipFactor 1.2 def +/BorderColor { 0.529412 0.807843 0.921569 } def % skyblue +/BorderMargin 0 def +/BorderWidth 10 def +/CapHeight +{ + gsave newpath 0 0 moveto (M) true charpath pathbbox + exch pop sub neg exch pop grestore +} def +/ForegroundColor { 0 0 0.501961 } def % navyblue +/reencodePRIVATE { + dup length dict begin + {1 index /FID ne {def}{pop pop} ifelse} forall + %% Using default font encoding, perhaps: /Encoding StandardEncoding def + currentdict + end +} def +/findPRIVATE { + dup /FontType known { + dup /FontType get 3 ne { + dup /CharStrings known { + dup /CharStrings get /Thorn known { + true + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse + }{ false } ifelse +} def +/LandscapeMode false def +/MarginWidth 0 def +/PageHeight 792 def +/PageWidth 612 def +/Height 54 def +/Width 144 def +/PointSize 19.9253 def +/ROTATE_0 {} def +/ROTATE_90 {Width 0 translate 90 rotate} bind def +/ROTATE_180 {Width Height translate 180 rotate} bind def +/ROTATE_270 {0 Height translate 270 rotate} bind def +/ScaleFactor 1 def +LandscapeMode +{ + /TextHeight Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +{ + /TextHeight Height MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def + /TextWidth Width MarginWidth 2 mul sub BorderWidth 2 mul sub BorderMargin 2 mul sub def +} +ifelse +/XOffset 72 def +/YOffset 72 def +% Center and show a string at the current point, leaving +% point at the center of the next line. +% Usage: (string) cshow +/cshow +{ + currentpoint /cpy exch def /cpx exch def + dup stringwidth pop 0.5 mul neg 0 rmoveto show + cpx cpy moveto + NewLine +} def +/max +{ + /a exch def + /b exch def + a b gt { a } { b } ifelse +} def +/min +{ + /a exch def + /b exch def + a b lt { a } { b } ifelse +} def +/TheFont /Times-Bold def +/TheFontPRIVATE /Times-Bold-PRIVATE def +TheFontPRIVATE TheFont findfont reencodePRIVATE definefont pop +% Set the font size so that longest PosterLines string fills the TextWidth +% Usage: setfontsize +/setfontsize +{ + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + 10 scalefont setfont + % Set TheFontSize according to maximum string width + 0 PosterLines { stringwidth pop max } forall TextWidth exch div 10 mul + /TheFontSize exch def + % Adjust TheFontSize according to the number of text lines + LineCount TheFontSize mul BaselineSkipFactor mul + TextHeight div + dup 1 gt { TheFontSize exch div /TheFontSize exch def } { pop } ifelse + % NB: The following definition silently overrides the previous one + /TheFontSize PointSize def + /BaselineSkip BaselineSkipFactor TheFontSize mul def + TheFont findfont + findPRIVATE {reencodePRIVATE TheFontPRIVATE exch definefont} if + TheFontSize scalefont setfont +} def +/NewLine {0 BaselineSkip neg rmoveto} def +/PosterLines +[ + (test of epsf.tex) +] def +/LineCount PosterLines length 1 max def +end % psposterdict +%%EndProlog +%======================================================================= +%%BeginSetup +/#copies 1 def +%%EndSetup +%======================================================================= +%%Page: 1 1 +%%BeginPageSetup +psposterdict begin +XOffset YOffset translate +ScaleFactor dup scale +ROTATE_0 +end % psposterdict +%%EndPageSetup + +psposterdict begin +% Draw a frame box and fill it with the background color, and a border color. +BorderWidth setlinewidth +newpath +MarginWidth BorderWidth 0.5 mul add dup moveto +TextWidth BorderMargin 2 mul add BorderWidth add 0 rlineto +0 TextHeight BorderMargin 2 mul add BorderWidth add rlineto +TextWidth BorderMargin 2 mul add BorderWidth add neg 0 rlineto +closepath +BackgroundColor setrgbcolor gsave fill grestore +BorderColor setrgbcolor stroke + +0 0 0 setrgbcolor % revert to black + +% Set the clipping path to the text region +0 setlinewidth +newpath +MarginWidth BorderWidth add BorderMargin add dup moveto +TextWidth 0 rlineto +0 TextHeight rlineto +TextWidth neg 0 rlineto +closepath +clip + +% Move origin to text box center, since x = 0 is a convenient +% value for centering text. +LandscapeMode + { Height 0.5 mul Width 0.5 mul translate } + { Width 0.5 mul Height 0.5 mul translate } +ifelse +% Set font size so that the longest line just fills the TextWidth. +setfontsize +% Center the text vertically, such that the middle line has its text +% (rather than baseline distance) centered on a horizontal line +% passing through the center of the picture. +0 LineCount 0.5 mul BaselineSkip mul BaselineSkip sub moveto +0 BaselineSkip CapHeight sub 0.5 mul rmoveto +ForegroundColor setrgbcolor +% Typeset the poster text. +PosterLines { cshow } forall +end % psposterdict +showpage +%%PageTrailer +%======================================================================= +%%Trailer +%%EOF diff --git a/Master/texmf-dist/doc/generic/epsf/tepsf1.tex b/Master/texmf-dist/doc/generic/epsf/tepsf1.tex new file mode 100644 index 00000000000..d045f167cda --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/tepsf1.tex @@ -0,0 +1,146 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Preamble + +\input epsf.tex + +\def \bs {\char`\\} + +\def \heading #1{\centerline{\bf #1}} + +\def \myfont {% + \baselineskip = 9.6pt + \font \rm = cmr8 at 8pt + \rm +} + +\def \noise +{% + Blah blah blah blah blah blah. Blah blah blah blah blah blah. Blah + blah blah blah blah blah. Blah blah blah blah blah blah +} + +\def \ARROWPICTURE {\llap{$\Rightarrow$}\PLAINPICTURE\rlap{$\Leftarrow$}} + +\def \PLAINPICTURE {\epsffile{tepsf.eps}} + +\parindent = 2em + +\parskip = 2ex plus 0.5ex minus 0.5ex + +%% Page size in mid-Atlantic units +\voffset = -0.5in + +\vsize = 9.5in + +\hsize = 12.5cm + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Document body + +\myfont + +\heading{Test of {\tt epsf.tex}} + +\noise + +This figure should be centered: + +\centerline{\PLAINPICTURE} + +\noise + +This figure should be left-adjusted: + +\leftline{\PLAINPICTURE} + +\noise + +This figure should be right-adjusted: + +\rightline{\PLAINPICTURE} + +\noise + +This figure should be centered with abutting arrows on the baseline: + +\centerline{\ARROWPICTURE} + +\noise + +This figure should be left-adjusted with abutting arrows on the +baseline, the leftmost of which is in the left margin on the baseline: + +\leftline{\ARROWPICTURE} + +\noise + +This figure should be right-adjusted with abutting arrows on the +baseline, the rightmost of which is in the right margin on the +baseline: + +\rightline{\ARROWPICTURE} + +\noise + +\vfill +\eject + +%% --------------------------------------------------------------------- + +\heading{Test of {\tt epsf.tex}} +\heading{with} +\heading{{\tt \bs epsfframetrue} and {\tt \bs epsfshowfalse} and + {\tt \bs epsfshowfilenametrue}} + +\epsfframetrue +\epsfshowfalse +\epsfshowfilenametrue +\epsfverbosetrue + +\noise + +This figure should be centered: + +\centerline{\PLAINPICTURE} + +\noise + +This figure should be left-adjusted: + +\leftline{\PLAINPICTURE} + +\noise + +This figure should be right-adjusted: + +\rightline{\PLAINPICTURE} + +\noise + +This figure should be centered with abutting arrows on the baseline: + +\centerline{\ARROWPICTURE} + +\noise + +This figure should be left-adjusted with abutting arrows on the +baseline, the leftmost of which is in the left margin on the baseline: + +\leftline{\ARROWPICTURE} + +\noise + +This figure should be right-adjusted with abutting arrows on the +baseline, the rightmost of which is in the right margin on the +baseline: + +\rightline{\ARROWPICTURE} + +\noise + +\vfill +\eject + +%% --------------------------------------------------------------------- + +\bye diff --git a/Master/texmf-dist/doc/generic/epsf/tepsf2.ltx b/Master/texmf-dist/doc/generic/epsf/tepsf2.ltx new file mode 100644 index 00000000000..7c8fd4c071f --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/tepsf2.ltx @@ -0,0 +1,232 @@ +% -*-latex-*- +% Document name: /u/sy/beebe/tex/epsf/new/tepsf2.ltx +% Creator: Nelson H. F. Beebe [beebe@math.utah.edu] +% Creation Date: Sat Jul 23 14:51:49 2005 + +\ifx \documentclass \undefined % LaTeX 2.09 + \documentstyle{article} + \input {epsf.sty} +\else % LaTeX 2e + \documentclass{article} + \usepackage{epsf} +\fi + +\newcommand{\bs}{\char`\\} + +\newcommand {\heading} [1] {\centerline{\bf #1}} + +\newcommand {\myfont} +{ + \baselineskip = 9.6pt + \font \rm = cmr8 at 8pt + \rm +} + +\newcommand {\noise} +{% + Blah blah blah blah blah blah. Blah blah blah blah blah blah. Blah + blah blah blah blah blah. Blah blah blah blah blah blah +} + +\newcommand{\ARROWPICTURE}{% + \makebox[0pt][r]{$\Rightarrow$}% + \PLAINPICTURE + \makebox[0pt][l]{$\Leftarrow$}% +} + +\newcommand{\PLAINPICTURE}{% + \epsffile{tepsf.eps}% +} + +\setlength{\parindent} {2em} + +\setlength{\parskip} {2ex plus 0.5ex minus 0.5ex} + +\setlength{\topmargin} {0pt} + +\setlength{\headheight} {0pt} + +\setlength{\headsep} {0pt} + +\setlength{\leftmargin} {0pt} + +\setlength{\textheight} {9in} + +\setlength{\textwidth} {12.5cm} + +\begin{document} + +\myfont + +\heading{Test of {\tt \bs epsfbox} with {\tt \bs centerline}} + +\noise + +This figure should be centered: + +\centerline{\PLAINPICTURE{}} + +\noise + +This figure should be left-adjusted: + +\centerline{\PLAINPICTURE{}\hfill} + +\noise + +This figure should be right-adjusted: + +\centerline{\hfill \PLAINPICTURE{}} + +\noise + +This figure should be centered with abutting arrows on the baseline: + +\centerline{$\Rightarrow$\PLAINPICTURE{}$\Leftarrow$} + +\noise + +This figure should be left-adjusted with abutting arrows on the +baseline, the leftmost of which is in the left margin on the baseline: + +\centerline{\hbox to 0pt{\hss$\Rightarrow$}\PLAINPICTURE{}$\Leftarrow$ \hfill} + +\noise + +This figure should be right-adjusted with abutting arrows on the +baseline, the rightmost of which is in the right margin on the +baseline: + +\centerline{\hfill $\Rightarrow$\PLAINPICTURE{}\hbox to 0pt{$\Leftarrow$ \hss}} + +\noise + +%% --------------------------------------------------------------------- + +\newpage + +\heading{Test of {\tt \bs epsfbox} with {\tt center} environment} + +\noise + +This figure should be centered: + +\begin{center} + \PLAINPICTURE{} +\end{center} + +\noise + +This figure should be left-adjusted: + +\begin{flushleft} + \PLAINPICTURE{} +\end{flushleft} + +\noise + +This figure should be right-adjusted: + +\begin{flushright} + \PLAINPICTURE{} +\end{flushright} + +\noise + +This figure should be centered with abutting arrows on the baseline: + +\begin{center} + \ARROWPICTURE{} +\end{center} + +\noise + +This figure should be left-adjusted with abutting arrows on the +baseline, the leftmost of which is in the left margin on the +baseline:% + +\begin{flushleft} + \ARROWPICTURE{} +\end{flushleft} + +\noise + +This figure should be right-adjusted with abutting arrows on the +baseline, the rightmost of which is in the right margin on the +baseline: + +\begin{flushright} + \ARROWPICTURE{} +\end{flushright} + +\noise + +%% --------------------------------------------------------------------- + +\newpage + +\heading{Test of {\tt \bs epsfbox} with {\tt center} environment} +\heading{with} +\heading{{\tt \bs epsfframetrue} and {\tt \bs epsfshowfalse} and + {\tt \bs epsfshowfilenametrue}} + +\epsfframetrue +\epsfshowfalse +\epsfshowfilenametrue +\epsfverbosetrue + +\noise + +This figure should be centered: + +\begin{center} + \PLAINPICTURE{} +\end{center} + +\noise + +This figure should be left-adjusted: + +\begin{flushleft} + \PLAINPICTURE{} +\end{flushleft} + +\noise + +This figure should be right-adjusted: + +\begin{flushright} + \PLAINPICTURE{} +\end{flushright} + +\noise + +This figure should be centered with abutting arrows on the baseline: + +\begin{center} + \ARROWPICTURE{} +\end{center} + +\noise + +This figure should be left-adjusted with abutting arrows on the +baseline, the leftmost of which is in the left margin on the +baseline:% + +\begin{flushleft} + \ARROWPICTURE{} +\end{flushleft} + +\noise + +This figure should be right-adjusted with abutting arrows on the +baseline, the rightmost of which is in the right margin on the +baseline: + +\begin{flushright} + \ARROWPICTURE{} +\end{flushright} + +\noise + +\end{document} diff --git a/Master/texmf-dist/doc/generic/epsf/tepsf3.tex b/Master/texmf-dist/doc/generic/epsf/tepsf3.tex new file mode 100644 index 00000000000..24d2734b17b --- /dev/null +++ b/Master/texmf-dist/doc/generic/epsf/tepsf3.tex @@ -0,0 +1,108 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Preamble + +\input epsf.tex + +\def \bs {\char`\\} + +\def \heading #1{\centerline{\bf #1}} + +\def \myfont {% + \baselineskip = 9.6pt + \font \rm = cmr8 at 8pt + \rm +} + +\def \noise +{% + Blah blah blah blah blah blah. Blah blah blah blah blah blah. Blah + blah blah blah blah blah. Blah blah blah blah blah blah +} + +\def \ARROWPICTURE {\llap{$\Rightarrow$}\PLAINPICTURE\rlap{$\Leftarrow$}} + +\def \PLAINPICTURE {\epsffile{tepsf.eps}} + +\parindent = 2em + +\parskip = 2ex plus 0.5ex minus 0.5ex + +%% Page size in mid-Atlantic units +\voffset = -0.5in + +\vsize = 9.5in + +\hsize = 12.5cm + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Document body + +\myfont + +\heading{Test of {\tt epsf.tex}} + +\noise + +This figure should be centered: + +\centerline{XXX\vbox{\PLAINPICTURE}XXX} + +\noise + +This figure should be left-adjusted: + +\leftline{\vbox{\PLAINPICTURE}XXX} + +\noise + +This figure should be right-adjusted: + +\rightline{XXX\vbox{\PLAINPICTURE}} + +\noise + +This figure should be centered: + +\centerline{XXX\hbox{\PLAINPICTURE}XXX} + +\noise + +This figure should be left-adjusted: + +\leftline{\hbox{\PLAINPICTURE}XXX} + +\noise + +This figure should be right-adjusted: + +\rightline{XXX\hbox{\PLAINPICTURE}} + +\noise + +This figure should be centered with abutting arrows on the baseline: + +\centerline{\vbox{\ARROWPICTURE}} + +\noise + +This figure should be left-adjusted with abutting arrows on the +baseline, the leftmost of which is in the left margin on the baseline: + +\leftline{\vbox{\ARROWPICTURE}} + +\noise + +This figure should be right-adjusted with abutting arrows on the +baseline, the rightmost of which is in the right margin on the +baseline: + +\rightline{\vbox{\ARROWPICTURE}} + +\noise + +\vfill +\eject + +%% --------------------------------------------------------------------- + +\bye |