Useful features (MiniToc and header)
nikosantoniadis opened this issue · 2 comments
nikosantoniadis commented
Firstly, I'd like to thank you for your nice template.
As I've spend a lot of time to find these, useful for me, features I'd like to share my findings:
So, to show MiniToc in every chapter, you can use the solution from here
Adding a header in pages, excluding the beginning of each chapter, the solution taken from here, the header part in mimosis.cls
should be changed as:
\usepackage[automark,headsepline,plainheadsepline]{scrlayer-scrpage}
\pagestyle{scrheadings}
\automark[section]{chapter}
\lehead*{\headmark}
\cehead{}
\rehead{\headmark}
\lohead{\headmark}
\cohead{}
\rohead*{\headmark}
\newpairofpagestyles[scrheadings]{chapter}{%
\KOMAoptions{headsepline=false,plainheadsepline=false}%
\ihead*{}%
\ohead*{}%
}
\newpairofpagestyles[scrheadings]{part}{%
\KOMAoptions{headsepline=false,plainheadsepline=false}%
\ihead*{}%
\ohead*{}%
}
\renewcommand*\chapterpagestyle{chapter}
\renewcommand*\partpagestyle{part}
Maybe you can create an option in your template if anyone would like to use these styles.
Pseudomanifold commented
Thanks for this contribution, it's awesome! For now, I'll document it as an extension to the template because I am not sure how easily I can integrate it as a separate option.
Pseudomanifold commented
(I added you as a contributor and updated the README accordingly!)