\RequirePackage[palatino, helvetica, courier, maths=cmr]{mdwfonts}
\RequirePackage[T1]{fontenc}
+\RequirePackage{amssymb}
\RequirePackage{mdwtab, mathenv, crypto, mdwthm, mdwmath}
\RequirePackage[within=section]{exercise}
-\RequirePackage{amssymb}
\RequirePackage{url}
-\ifx\pdfoutput\@@undefined
+\if0\ifx\pdfoutput\@@undefined0\else\the\pdfoutput\fi
\PassOptionsToPackage{dvips}{xy}
\else
\ifarticle
\pdfpagewidth\paperwidth
\pdfpageheight\paperheight
\else
- \pdfpagewidth\paperheight
- \pdfpageheight\paperwidth
+ \setslidelength{\pdfpagewidth}{\paperheight}
+ \setslidelength{\pdfpageheight}{\paperwidth}
+ \pdfhorigin=1 true in
+ \pdfvorigin=1 true in
\fi
\fi
\RequirePackage[all]{xy}