From 86c67aed9144a0615e277b16bdbba07c1b5cbf2e Mon Sep 17 00:00:00 2001 From: Joseph Timothy Foley Date: Wed, 24 Jan 2024 11:31:00 +0000 Subject: [PATCH] pagenum fix: thispagestyle memman p.84 The cover environments kept having the page numbers. I looked at the chapter setup in the Memoir Class documentation and discovered we just need to \clearforXX first then \thispagestyle{cover}. Page numbers went away on first page of cover material. --- ruthesis.sty | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/ruthesis.sty b/ruthesis.sty index 49088ec..c683d07 100644 --- a/ruthesis.sty +++ b/ruthesis.sty @@ -219,32 +219,26 @@ % see p123 http://ctan.uib.no/macros/latex/contrib/memoir/memman.pdf \newenvironment{cover}% commonalities for the cover material -{\thispagestyle{cover}% - \pagestyle{cover}% - \clearforchapter% +{ \clearforchapter% + \thispagestyle{cover}% \disableindents% - \SingleSpacing\clearpage}% + \SingleSpacing}% {%\setlength{\TPMargin}{0mm} %% margins inside the textblock %% I don't remember why we need to mess with \TPmargin %% Might be OK to remove --foley \enableindents{}}% \newenvironment{coverleft}% material that must be on the even (back) side -{\thispagestyle{cover}% - \pagestyle{cover}% - \cleartoverso% - \disableindents% - \SingleSpacing\clearpage}% -{%\setlength{\TPMargin}{0mm} %% margins inside the textblock - %% I don't remember why we need to mess with \TPmargin - %% Might be OK to remove --foley - \enableindents{}}% -\newenvironment{coveranyside}%This is material that can start on even or odd -{\thispagestyle{cover}% - \pagestyle{cover}% - \clearpage% +{ \cleartoverso% + \thispagestyle{cover}% \disableindents% \SingleSpacing}% -{\enableindents{}\clearpage}% +{\enableindents{}}% +\newenvironment{coveranyside}%This is material that can start on even or odd +{ \clearpage% + \thispagestyle{cover}% + \disableindents% + \SingleSpacing}% +{\enableindents{}}%