summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikz-among-us/tex/tikz-among-us-fancyhdr.sty
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/tikz-among-us/tex/tikz-among-us-fancyhdr.sty')
-rw-r--r--graphics/pgf/contrib/tikz-among-us/tex/tikz-among-us-fancyhdr.sty27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/tikz-among-us/tex/tikz-among-us-fancyhdr.sty b/graphics/pgf/contrib/tikz-among-us/tex/tikz-among-us-fancyhdr.sty
new file mode 100644
index 0000000000..278dc8c7da
--- /dev/null
+++ b/graphics/pgf/contrib/tikz-among-us/tex/tikz-among-us-fancyhdr.sty
@@ -0,0 +1,27 @@
+% !TeX spellcheck = en_US
+% !TeX encoding = UTF-8
+% =============================
+
+\NeedsTeXFormat{LaTeX2e}[1994/06/01]
+\ProvidesPackage{tikz-among-us-fancyhdr}[2020-10-23 Custom Package for my AmongUs PageNumbering base configuration -- FHZ -- Version 1.0.1]
+
+\RequirePackage{tikz-among-us}
+\RequirePackage{fancyhdr}
+\RequirePackage{adjustbox}
+
+\fancypagestyle{headings}{% changes predefined style
+ \fancyhf{} % clear all header and footer fields
+ %\fancyhead[RO,LE]{\thepage} % Right Odd, Left Even => Outside
+ \fancyfoot[RO,LE]{%
+ \adjustbox{scale=0.25}{%
+ \begin{tikzpicture}
+ \amongUsI[rotate around={45*(\thepage-1):(1.75,2.3)}]{yellow}{cyan};
+ \node[scale=4] at (1.75,2.3) {\thepage};
+ \end{tikzpicture}
+ }
+ }
+ \renewcommand{\headrulewidth}{0pt} % remove line between header and main text
+}
+\pagestyle{headings}
+
+\endinput \ No newline at end of file