#3 Enables LaTeX psfrag labels in the postscript terminal

closed-out-of-date
nobody
None
5
2004-05-07
2000-05-11
Skip Beemer
No

Discussion

  • Skip Beemer

    Skip Beemer - 2000-05-11

    None

     
  • Skip Beemer

    Skip Beemer - 2000-05-11

    'psfrag' mode is a special version of 'eps' mode which
    generates postscript suitable for use with the LaTeX
    package 'psfrag' version 3.02 or later. In additon to
    converting normal plain text labels to LaTeX fragments,
    there is a special 'psfrag' syntax. A label may be
    formatted in the following manner:
    "psfrag:plain text\\latex text". Any label which begins
    with "psfrag:" and contains "\\" will be treated
    specially. The text between the colon and the first
    double backslash will normally appear in the postscript
    output. The text between the first double backslash and
    the end of the string will only show up in postscript
    generated using LaTeX and a suitable dvi to postscript
    converter. The LaTeX document header should load the
    psfrag package using the command
    "\usepackage[scanall]{psfrag}". The gnuplot generated
    eps file should be inserted into a LaTeX document using
    the \includegraphics command of the standard LaTeX
    graphics or graphicx packages.

    'psfrag' changes the font and fontsize to Times-Roman
    20 so that the size of the postscript text will more
    closely match the standard LaTeX font cmr10. This can
    be overidden in the set term command line or later.
    'psfrag' is not yet compatible with the 'enhanced
    postscript' terminal.

    Slightly different behavior can be obtained from the
    psfrag option by placing the option 'verbatim'
    immediately after 'psfrag' in the set term command
    line. This option only affects labels which do not
    conform to the special syntax described above. It will
    cause special LaTeX symbols such as '$' and '&' to
    appear as typed in LaTeX output. The reason for
    including both verbatim and non-verbatim behavior is to
    make the psfrag option as backward-compatible as
    possible with both the 'eps' terminal and the 'pslatex'
    terminal.

    The advantages of 'psfrag' over the 'pslatex' terminal
    are:
    1) 'psfrag' does not use an auxiliary file. All
    information is stored in the eps file.
    2) Scaling and rotating are supported in LaTeX. The
    LaTeX replacement text can optionally scale with the
    figure.
    3) The output eps file is useful outside of LaTeX,
    where all labels will print in a normal postscript
    font.

     
  • Skip Beemer

    Skip Beemer - 2000-07-28

    This patch works with gnuplot 3.7.

     
  • Hans-Bernhard Broeker

    • status: open --> closed-out-of-date
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks