~mdw
/
doc
/
ips
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ips.cls: Fix the page size of the PDF output.
[doc/ips]
/
ips.cls
diff --git
a/ips.cls
b/ips.cls
index
67fa4a0
..
b336a26
100644
(file)
--- a/
ips.cls
+++ b/
ips.cls
@@
-24,20
+24,22
@@
\RequirePackage[palatino, helvetica, courier, maths=cmr]{mdwfonts}
\RequirePackage[T1]{fontenc}
\RequirePackage[palatino, helvetica, courier, maths=cmr]{mdwfonts}
\RequirePackage[T1]{fontenc}
+\RequirePackage{amssymb}
\RequirePackage{mdwtab, mathenv, crypto, mdwthm, mdwmath}
\RequirePackage[within=section]{exercise}
\RequirePackage{mdwtab, mathenv, crypto, mdwthm, mdwmath}
\RequirePackage[within=section]{exercise}
-\RequirePackage{amssymb}
\RequirePackage{url}
\RequirePackage{url}
-\if
x\pdfoutput\@@undefined
+\if
0\ifx\pdfoutput\@@undefined0\else\the\pdfoutput\fi
\PassOptionsToPackage{dvips}{xy}
\else
\ifarticle
\pdfpagewidth\paperwidth
\pdfpageheight\paperheight
\else
\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}
\fi
\fi
\RequirePackage[all]{xy}