]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Place page number at the outer foot edge of content pages.
authorPetter Reinholdtsen <pere@hungry.com>
Wed, 22 May 2019 18:25:24 +0000 (20:25 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Wed, 22 May 2019 18:25:24 +0000 (20:25 +0200)
myclass.cls

index 042052c2b3b55facdbcd6f4b9cd30aa2d48f989e..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