summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikz-among-us/tikz-among-us-fancyhdr.sty
blob: 278dc8c7da2daaf3dc0c6ec369b2e8ea1671e72d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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