]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - myclass.cls
Translated using Weblate (Greek)
[text-madewithcc.git] / myclass.cls
index 7f3694dd094869f882c2d443b97bbb3c267c0434..ec23feedfe574837f8f648f16910c5a32c467b27 100644 (file)
@@ -4,6 +4,11 @@
 %% Just use the original class and pass the options
 \LoadClassWithOptions{report}
 
 %% 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
 \renewcommand{\baselinestretch}{1.2}
 
 \makeatletter
@@ -88,3 +93,7 @@
 }%
 {\large}         % unnumbered format
 {\hfill \contentspage}         % filler-page-format, e.g dots
 }%
 {\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