Personal tools
You are here: Home Visualisation Textprocessing TeX and Graphic

TeX and Graphic

TeX to PostScript

/afs/ipp/common/doc/TeX/dvips.ps
which provides full documentation on the program dvips; this documentation also gives information for using the TeX-macros concerning eps-file processing.

TeX and GKS

/afs/ipp/common/doc/TeX/texgks.ps
which provides full information on all GKS-metafiles processing tools, which include the description of the TeX-macros \graphic and \gksm.
We list here only the important differences in this macro, compared to its previous use in CMS, which should be observed when transferring TeX-applications from CMS to unix. These modifications concern syntax and use of the parameters of the name field of the \graphic-macro
\graphic{name}{width}{height}{depth}
Syntax for name: file_name [frame_no [Xmin Xmax Ymin Ymax]]
Parameters embedded in [ ] are optional; if one of the parameters in an optional field is specified all other parameters must be specified too.
file_name must be a valid unix file name; at present this name must not contain any syntax which would be resolved by a shell (shell variables). However, the shell variable GKSMPATH may be setup with a number of unix directory names holding the requested GKS-files; see the following example:
setenv GKSMPATH $HOME/gks/project1:$HOME/gks/project2
frame_no is the number of the requested GKS picture within a GKS metafile.
Xmin Xmax Ymin Ymax denote an optional subsection of the original graphical frame in normalized GKS coordinates. You have to provide the frame_no if you need to specify a subsection.
Parameters within the name-field must be separated by a single blank character.

Document Actions