[OS X TeX] Problem with geometry

Doris Wagner doris.wagner at mac.com
Fri May 30 10:48:12 EDT 2008


hi holger

you have to change the coordinate-setting of your pspicture-environment:

\documentclass[12pt,landscape,a4paper]{article}
\usepackage[dvips,a4paper,landscape]{geometry}

\usepackage{pstricks,pstricks-add,pst-math}

\geometry{textwidth=27cm,top=0cm,textheight=20cm}


\newcommand{\f}{1/400*x^3-3/20*x^2+3*x-8}
\newcommand{\g}{1/400*x^3-3/20*x^2+3*x-22}

\begin{document}

\pagestyle{empty}
\psset{algebraic=true}
\psframebox{
\begin{pspicture*}(0,0)(25,20)
\psplot{10}{30}{\f}%f
\psplot{10}{30}{\g}
		\end{pspicture*}
}%end framebox

\end{document}

greetings
d



More information about the MacOSX-TeX mailing list