KWARC / LaTeX-proposal

The Proposal package for LaTeX
66 stars 34 forks source link

Page number appears twice #7

Closed galou closed 10 years ago

galou commented 10 years ago

Page number appears twice; one in the heading, one in the footer.

galou commented 10 years ago

Patch:

From 819a0058677eb130ca8f4d93ee90c638dddf1ba3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABl=20Ecorchard?= <galou_breizh@yahoo.fr>
Date: Thu, 17 Apr 2014 13:18:31 +0200
Subject: [PATCH] Fix page number appearing twice

---
 base/proposal.dtx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/base/proposal.dtx b/base/proposal.dtx
index 326d3c4..46fb1dc 100644
--- a/base/proposal.dtx
+++ b/base/proposal.dtx
@@ -594,6 +594,8 @@
 %    \begin{macrocode}
 \newif\ifofpage\ofpagefalse
 \fancyhead[RE,LO]{\prop@gen@acronym}
+\fancyhfoffset{0pt}
+\fancyfoot[C]{}
 \newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi}
 \fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}}
 \pagestyle{fancyplain}
-- 
1.8.3.2
galou commented 10 years ago

I didn't want to close the bug, just wanted to close the comment section, sorry

kohlhase commented 10 years ago

I have integrated this patch, thanks a lot.