From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A03D5139694 for ; Wed, 31 May 2017 12:32:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3265FE0EB5; Wed, 31 May 2017 12:32:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 100D4E0EB5 for ; Wed, 31 May 2017 12:32:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 318623416DB for ; Wed, 31 May 2017 12:32:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDC49745E for ; Wed, 31 May 2017 12:32:03 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1496097493.ced60f05d4dd1377a271eb2527daad5488e6ff94.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: ced60f05d4dd1377a271eb2527daad5488e6ff94 X-VCS-Branch: master Date: Wed, 31 May 2017 12:32:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0c977259-de56-42c4-b2f7-79e657f83437 X-Archives-Hash: 42e05bd1ef49bc19282f43f556f47bf3 commit: ced60f05d4dd1377a271eb2527daad5488e6ff94 Author: Ulrich Müller gentoo org> AuthorDate: Mon May 29 22:38:13 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon May 29 22:38:13 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=ced60f05 pms.cls: Fix margin notes on landscape pages. pms.cls | 5 +++++ 1 file changed, 5 insertions(+) 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