[OS X TeX] pstricks question

Alain Matthes alain.matthes at mac.com
Thu Mar 17 01:33:59 EST 2005


Hi

with the last pdftricks package and with ifpdf, it's fine fine for me
with PDFLATEX

\documentclass[11pt]{article}
\usepackage{ifpdf}
\ifpdf%
       \usepackage{pdftricks}

       \begin{psinputs}
           \usepackage{pstricks}
           \usepackage{pstricks-add}
           \usepackage{pst-plot}
           \usepackage{pst-text,pst-node,pst-tree}
       \end{psinputs}
\else
       \usepackage{pstricks}
       \usepackage{pstricks-add}
       \usepackage{pst-plot}
       \usepackage{pst-text,pst-node,pst-tree}

\fi

\begin{document}
\begin{pdfdisplay}
\pstree[nodesep=3D2pt]{\Tr{EI}}{\Tr{P} \pstree{\Tr{a}}{\Tr{S}}}
\end{pdfdisplay}
\end{document}


For me it's the best and simple solution  to use pstricks and pdflatex

Thanks Herbert Voss !!

Alain Matthes
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list