[pdftex] pdftricks & slides font issue
Troy Goodson
Troy.D.Goodson at jpl.nasa.gov
Thu Oct 16 17:06:00 CEST 2003
On Monday, October 13, 2003, at 12:08 PM, Herbert Voss wrote:
> Troy Goodson schrieb:
>> I'm hoping that someone has a work-around for this problem:
>> I want to use
>> \documentclass[landscape]{slides}
>> with pdflatex & pdftricks. However, when I use the slides class, the
>> fonts in the pstricks graphic are still the article-class fonts, not
>> the fonts for slides. I had a workaround for an earlier version of
>> pdftricks, but I'm having problems adapting it to the current >>
>> version.
>
> you could try ps4pdf instead of pdftricks, it is in some
> cases easier to handle. And you'll get the same font.
Thanks! This looks like a viable option. I'll try it out.
Still, if someone does know a work-around for pdftricks, I'm still
interested in that, too.
> Here you'll find a shell script for running the sequence
> of commands:
>
> http://www.perce.de/LaTeX/ps4pdf/
>
> Herbert
>
> \documentclass[landscape]{slides}
> \usepackage{ps4pdf}
>
> \PSforPDF{
> \usepackage{pstcol}
> \usepackage{pstricks}
> \usepackage{pst-plot}
> }
>
> \begin{document}
>
> My own Text!
>
> \PSforPDF{
> \definecolor{lightblue}{rgb}{0,0,.5}
> \definecolor{Navy}{rgb}{0,0,0.5}
> \definecolor{LemonChiffon}{rgb}{1,0.98,0.8}
> \definecolor{ForestGreen}{rgb}{0.13,0.55,0.13}
> \SpecialCoor
> \begin{pspicture}(-6,-6)(6,6)
> \rput(0,0.5){My own text!}
> \psaxes{<->}(0,0)(-6,-6)(6,6)
> \psset{arrows=->}
> \multido{\ia=-5+1}{11}{%
> \multido{\ib=-5+1}{11}{%
> \pstVerb{/x \ia\space def
> /y \ib\space def
> y 0 eq
> {/ValueTempA 0 def
> /ValueTempB 0.5 def}
> {/ValueTempZ 2 1 x x mul y y mul div add sqrt mul def
> /ValueTempA 1 ValueTempZ div def
> /ValueTempB x y ValueTempZ mul div def}
> ifelse}
> \psline(! x ValueTempA sub y ValueTempB sub)
> (! x ValueTempA add y ValueTempB add)}}
> \end{pspicture}
> }
>
> \end{document}
--
Troy Goodson; Flight Path Control, Navigation, Cassini-Huygens Program
818-393-7887, M/S: 230-205
More information about the pdftex
mailing list