[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: superscript, subscript, Greek characters in plot labels?

From: Quentin Spencer
Subject: Re: superscript, subscript, Greek characters in plot labels?
Date: Thu, 27 Oct 2005 11:32:23 -0500
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Jonathan Stickel wrote:

John W. Eaton wrote:

On 27-Oct-2005, Jonathan Stickel wrote:

| A S Hodel wrote:
| > The best answer of the many | > provided involves the use of the script fig2ps and a slight modification | > to the octave-forge print.m function so that it generates fig files with | > "special" text. | | fig2ps takes an option "--forcespecial" so that the text need not be | "special" in the .fig file itself. | | Another thing not yet mentioned is the use of sans serif fonts. I | accomplish this with a "sans_fonts.sty" file which contains the two lines
| | \renewcommand{\familydefault}{\sfdefault}
| \usepackage{sfmath}
| | where sfmath.sty I downloaded from
| |
| | Then call fig2ps like this:
| | fig2ps --add=type1cm,sans_fonts figure.fig
| | The package "type1cm" causes latex to use scalable fonts.

If you are using LaTeX, then why go through the extra fig file format?
Why not use the epslatex terminal?


We've had this conversation before :)

It is a matter of personal preference. I much prefer having standalone, printable pdf figures. (I actually use 'fig2pdf' rather than 'fig2ps.) These I include in latex documents with "\includegraphics{}" rather than "\input{}". Another advantage is that these figures are easy to submit when submitting documents to journals.

When I discovered fig2ps (thanks to Jonathan, I believe), I also moved away from using \input to using \includegraphics for the same reason. The old way worked fine for my makefile-based way of creating latex documents, but publishers always want self-contained figures that are separate from the text of the document. The other benefit of fig2ps is that I sometimes have figures that are drawn in xfig. I can impose a consistent look (same font, for example) on a set of figures (generated by octave or xfig) by using fig2ps with forcespecial and other options, as is done in the examples given by Jonathan and myself.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]