[pdftex] pdftricks & slides font issue
Heiko Oberdiek
oberdiek at uni-freiburg.de
Wed Apr 30 01:38:02 CEST 2003
On Tue, Apr 29, 2003 at 02:08:25PM -0700, Troy Goodson wrote:
> pdftricks doesn't seem to use the right font in the slides document
> class (should be sans serif). I've included an example, below. The
> font I see looks like the font from article class. In fact, the
> *fig1.tex file it makes uses the article class.
> [run pdflatex -shell-escape badfont.tex]
> =-=-=-=-=-=[begin badfont.tex]=-=-=-=-=-=-=-=-
> \documentclass{slides}
> \usepackage{pdftricks}
> \begin{psinputs}
> \usepackage{pstricks}
> \usepackage{pst-node}
> \end{psinputs}
> [...]
>
> Here's the file generated by pdftricks: badfont-fig1.tex
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> \documentclass{article}
> \input tmp.inputs
> \pagestyle{empty}
> \usepackage{amssymb,amsbsy}
> \begin{document}
> [...]
Perhaps more hooks can be added to pdftricks for better configuration.
Until to such a version, copy the definition of \BeforeIncludedStream
to your document and modify it to your needs (exchanging "article"
by "slides").
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list