I created a style file to create a page style to use with the memoir class. The problem is that I am unable to change the numbering of the page for the chapter style. I know that the fancyhdr package can change this behavior, but I am unable to do so with the memoir class, and I find no reference to this point in the documentation of memoir. How can I get remove this singularity of the style of the chapters? I tested the macro \thispagestyle{empty}, but does not work. The code is as follows:
Code: Select all
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{Cabeceras}[2010/03/27 controlling the header and footer. Only to use with the memoir class]
\makepagestyle{Estiloi}
%\renewcommand\chaptermark[1]{%
% \markboth{%
% \ifnum \c@secnumdepth >\m@ne
% \if@mainmatter
% \thechapter. \ %
% \fi
% \fi
% #1}{}% ..emarkboth..
%}% ..echaptermark..
\makeheadrule {Estiloi}{\textwidth}{.5\normalrulethickness}
%\makefootrule {Estiloi}{.7\paperwidth}{.5\normalrulethickness}{\footruleskip}
\makeevenhead {Estiloi}{\small\itshape\leftmark}{}{}
\makeevenfoot {Estiloi}{\thepage} {}{}
\makeoddhead {Estiloi}{}{}{\small\itshape\rightmark}
\makeoddfoot {Estiloi}{}{}{\thepage}
\makepsmarks {Estiloi}{%
\nouppercaseheads
\createmark {chaper} {both} {nonumber}{}{. \space}
\createmark {section} {right} {nonumber}{}{. \ }
\createmark {subsection} {right} {nonumber}{}{. \ }
\createmark {subsubsection} {right} {nonumber}{}{. \ }
\createplainmark {toc} {right} {\contentsname}
\createplainmark {lof} {right} {\listfigurename}
\createplainmark {lot} {right} {\listtablename}
\createplainmark {bib} {right} {\bibname}
\createplainmark {index} {right} {\indexname}
\createplainmark {glossary}{right} {\glossaryname}
}% ..emakepsmarks..
Code: Select all
\documentclass[showtrims, a4paper, 10pt]{memoir}
\usepackage{Cabeceras}
\begin{document}
\setcounter{chapter}{68}
\chapter{A single proof}
\input{tufte}
\clearpage
\setcounter{page}{25}
%\dots
\end{document}