Re: Greek letters not \it{} ->export *.eps
- From: Doug Schwarz <see@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 20:29:13 GMT
In article <ef1817c.-1@xxxxxxxxxxxxxxxx>, Max <m.loehr@xxxxxxx> wrote:
> Hoi,
> I have Matlab in Version 7.04 (R14) and there is the following
> problem:
> I label my axes by greek symbols and sometime I want to do it
> \it{\omega}.
> If I look at the figure in MatLab, there is no problem, but if I
> export it to *.eps (I have to do this because of TeX) and print it
> then,
> my greek letters are not italic anymore (only other letters are
> italic any
> more)!
> What to do?
> Thanks
> Max
This is because when the 'Interpreter' property is set to 'tex' (the
default) Greek letters are produced from the Symbol font. There is no
italic version of the Symbol font. Whenever you have seen slanted Greek
letters from that font they have been slanted by PostScript code.
My Styled Text Toolbox can do what you want (by post-processing the PS
code), but you might want to try setting the 'Interpreter' to 'latex'
instead:
text(x,y,'$\omega$', 'Interpreter','latex')
will produce an italic omega using a PS version of the font normally
used by LaTeX.
(The Styled Text Toolbox is free and available from
<http://www.frontiernet.net/~dmschwarz/stextfun/index.html> )
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
.
- Prev by Date: Re: Better exponentials
- Next by Date: matlab include file; and consts
- Previous by thread: scaling to range of data type
- Next by thread: Re: Greek letters not \it{} ->export *.eps
- Index(es):
Relevant Pages
|