>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  LATEXON






      Generate encapsulated postscript file to include in LaTeX documents.


Calling Sequence

      latexon, file


      file = output postscript file (use *.ps). in

Keyword Parameters


Common Blocks



      Notes: See also latexoff, which terminates the postscript
        output and closes the file.
        To create the postscript file:
        (1) Do plot on screen.
        (2) latexon,"outfile.ps"
        (3) Repeat same plot.
        (4) latexoff. Note plot shape.
        To use the resulting file in a LaTeX document:
        (1) Include at the front of the LaTeX document the file
            IDL_DIR:[LIB]IDLPLT_DVIPS.TEX, which defines the insertplot macro.
        (2) In your LaTeX document use
              file = name of file containing the PostScript.
              caption = caption of figure
              label = latex \label{} for figure to be used by \ref{} macro
              width = width of figure in inches. | Best to use shape
              height = height of figure, in inches. | given by latexoff.
              or \insertimg (same arguments. Use output shape same as image shape).
        (3) LATEXPS the LaTeX document.

Modification History

      R. Sterner, 14 Sep 1990
      R. Sterner, 11 Oct 1990 --- added plot shape.
  Copyright (C) 1990, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.

© 2022 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us