Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:master commit in: /
Date: Wed, 31 May 2017 12:32:08
Message-Id: 1496097493.ced60f05d4dd1377a271eb2527daad5488e6ff94.ulm@gentoo
1 commit: ced60f05d4dd1377a271eb2527daad5488e6ff94
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 29 22:38:13 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon May 29 22:38:13 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=ced60f05
7
8 pms.cls: Fix margin notes on landscape pages.
9
10 pms.cls | 5 +++++
11 1 file changed, 5 insertions(+)
12
13 diff --git a/pms.cls b/pms.cls
14 index e66838f..150a1a0 100644
15 --- a/pms.cls
16 +++ b/pms.cls
17 @@ -95,6 +95,11 @@
18 \marginnote{\framebox{\textsc{#1}}}\ignorespaces
19 }%
20 }
21 +% Change marginnote test to pretend that landscape pages are odd numbered
22 +\g@addto@macro\@mn@margintest{%
23 + \ifdim\columnwidth>\textheight\@tempswatrue\fi
24 +}
25 +
26 \bibliographystyle{plainurl}
27
28 % Redefine the titlepage environment not to reset the page number