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.
This commit is contained in:
2024-01-24 11:31:00 +00:00
parent c641d3e5d0
commit 86c67aed91

View File

@@ -219,32 +219,26 @@
% see p123 http://ctan.uib.no/macros/latex/contrib/memoir/memman.pdf % see p123 http://ctan.uib.no/macros/latex/contrib/memoir/memman.pdf
\newenvironment{cover}% commonalities for the cover material \newenvironment{cover}% commonalities for the cover material
{\thispagestyle{cover}% { \clearforchapter%
\pagestyle{cover}% \thispagestyle{cover}%
\clearforchapter%
\disableindents% \disableindents%
\SingleSpacing\clearpage}% \SingleSpacing}%
{%\setlength{\TPMargin}{0mm} %% margins inside the textblock {%\setlength{\TPMargin}{0mm} %% margins inside the textblock
%% I don't remember why we need to mess with \TPmargin %% I don't remember why we need to mess with \TPmargin
%% Might be OK to remove --foley %% Might be OK to remove --foley
\enableindents{}}% \enableindents{}}%
\newenvironment{coverleft}% material that must be on the even (back) side \newenvironment{coverleft}% material that must be on the even (back) side
{\thispagestyle{cover}% { \cleartoverso%
\pagestyle{cover}% \thispagestyle{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%
\disableindents% \disableindents%
\SingleSpacing}% \SingleSpacing}%
{\enableindents{}\clearpage}% {\enableindents{}}%
\newenvironment{coveranyside}%This is material that can start on even or odd
{ \clearpage%
\thispagestyle{cover}%
\disableindents%
\SingleSpacing}%
{\enableindents{}}%