Document Classes ⇒ memoir: \chapter* and ruled pagestyle
memoir: \chapter* and ruled pagestyle
David
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
memoir: \chapter* and ruled pagestyle
Code: Select all
\documentclass{memoir}\usepackage{lipsum}% for generating some dummy text\makepagestyle{intro}\makeoddfoot{intro}{}{}{\thepage}\makeevenfoot{intro}{\thepage}{}{}\makeheadrule{intro}{\textwidth}{\normalrulethickness}\makeevenhead{intro}{\scshape Introduction}{}{}\makeoddhead{intro}{}{}{Introduction}\begin{document}\pagestyle{ruled}\tableofcontents\clearpage % don't forget \clearpage before changing pagestyle\pagestyle{intro}\chapter*{Introduction}\addcontentsline{toc}{chapter}{Introduction}\lipsum[1-20]% dummy text\clearpage\pagestyle{ruled}\chapter{Another chapter}\section{A section}\lipsum[1-20]% dummy text\end{document}
Re: memoir: \chapter* and ruled pagestyle
I also realized that I had a similar problem with the appendices. After issuing the \appendix command, the verso headers picked up the name of the appendix (the "chapter" title) but the recto headers had only the rule. I was able to modify your code, after spending some more time with chapter 7, to fix this problem too.
Best wishes,
David