X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/694ecd1d5a49a9864da9763e298792dbdfda11c6..cabd6335b51efff800dd930f099cca3405a2db74:/myclass.cls?ds=inline

diff --git a/myclass.cls b/myclass.cls
index 7f3694d..ec23fee 100644
--- a/myclass.cls
+++ b/myclass.cls
@@ -4,6 +4,11 @@
 %% Just use the original class and pass the options
 \LoadClassWithOptions{report}
 
+% Place page number at the outer foot edge of content pages
+\usepackage[pagestyles]{titlesec}
+\newpagestyle{mystyle}{\setfoot[\thepage][][]{}{}{\thepage}}
+\pagestyle{mystyle}
+
 \renewcommand{\baselinestretch}{1.2}
 
 \makeatletter
@@ -88,3 +93,7 @@
 }%
 {\large}         % unnumbered format
 {\hfill \contentspage}         % filler-page-format, e.g dots
+
+% We have many short chapters. Avoid them all starting on right-side
+% pages, as it wastes too much space
+\let\cleardoublepage\clearpage 
