~mdw
/
doc
/
ips
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
754df4f
)
ips.cls: Fix the page size of the PDF output.
master
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 1 Nov 2006 14:32:34 +0000
(14:32 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 1 Nov 2006 14:32:34 +0000
(14:32 +0000)
At last!
ips.cls
patch
|
blob
|
blame
|
history
diff --git
a/ips.cls
b/ips.cls
index
d25e634
..
b336a26
100644
(file)
--- a/
ips.cls
+++ b/
ips.cls
@@
-29,15
+29,17
@@
\RequirePackage[within=section]{exercise}
\RequirePackage{url}
\RequirePackage[within=section]{exercise}
\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}