postscript



It's useful to know a little bit about postscript in order to manipulate figures and drawings for physics publications. LaTeX, in particular, requires figures to be in .eps (encapsulated postscript) format.

To view .eps documents: gsview example.eps

Shareware to draw physics diagrams in postscript: x-circuit
Download the tar files, ./configure, then log on as super-user, make, make install.

Sometimes text doesn't show up in the right place. You can move it around yourself by directly editing the postscript file, e.g.:
(Search Direction) {/Helvetica cf} 2 14 312 1.00 180 -180 label
(text) {/font} #OfArguments elevation angle size x y label
x and y are measured from the middle left margin
one "postscript unit" of x,y is 1/72"
(3) {ss} (q) {/Symbol cf} 4 14 0 1.00 600 60 label
outputs a greek theta with a subscript of 3
(vectors) {/Helvetica cf} (n ) {/Symbol cf} 4 14 0 .60 -180 340 label
combines symbol and helvetica into the same phrase

To make a postscript file consisting of selected pages from a parent file: psselect -p142,192-195,199,200 thesis.ps selection.ps

Back to Resources