summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-05-30 00:38:13 +0200
committerUlrich Müller <ulm@gentoo.org>2017-05-30 00:38:13 +0200
commitced60f05d4dd1377a271eb2527daad5488e6ff94 (patch)
treeb953937c8ccff292b5078a277a2cfa26eb07fe1e
parentMakefile: Fix sed regexp. (diff)
downloadpms-ced60f05.tar.gz
pms-ced60f05.tar.bz2
pms-ced60f05.zip
pms.cls: Fix margin notes on landscape pages.
-rw-r--r--pms.cls5
1 files changed, 5 insertions, 0 deletions
diff --git a/pms.cls b/pms.cls
index e66838f..150a1a0 100644
--- a/pms.cls
+++ b/pms.cls
@@ -95,6 +95,11 @@
\marginnote{\framebox{\textsc{#1}}}\ignorespaces
}%
}
+% Change marginnote test to pretend that landscape pages are odd numbered
+\g@addto@macro\@mn@margintest{%
+ \ifdim\columnwidth>\textheight\@tempswatrue\fi
+}
+
\bibliographystyle{plainurl}
% Redefine the titlepage environment not to reset the page number