7 Include plots into TeX documents

The PostScript les created by WRplot can easily be included into LATEX les, i.e. write:

  1. At the beginning:
    nusepackagefepsfg
  2. Inside the gure environment (after nbeginfgureg):
    nepsffileffilename.psg
    to include the given PostScript le in original size (1:1), left-justied at the (current) position.
  3. To have centered gures, write:
    ncentering
    nmboxfnepsffileffilename.psgg
  4. To scale the included PostScript le use:

    1. Full line measure:
      nepsfxsize=ntextwidth
      nepsffileffilename.psg
    2. 70% of the line measure, centered:
      ncentering
      nepsfxsize=0.7ntextwidth
      nmboxfnepsffileffilename.psgg
    3. Alternatively one can set the width/height in cm:
      ncentering
      nepsfysize=8.0cm
      nmboxfnepsffileffilename.psgg
      (or nepsfxsize=10.0cm for the width)

    Attention: In two column style (A&A etc.) ntextwidth is the full width. To have a one-column gure, set ncolumnwidth instead.

Acknowledgements

Many people have contributed over the years to the development of WRplot: Gerhard Dünnebeil, Ulf Wessolowski, Uwe Leuenhagen, Lars Koesterke, Helge Todt, Martin Steinke (list incomplete)

The english translation of this manual has been initiated by Martin Steinke.