summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikz-among-us/tex/tikz-among-us-fancyhdr.sty
blob: 08537bfde1504f4fd8f85e6cbb5c54fc0fa40a90 (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
% !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}

\fancypagestyle{headings}{% changes predefined style
  \fancyhf{} % clear all header and footer fields
  \fancyfoot[RO,LE]{%
      \begin{tikzpicture}
        \amongUsI[rotate around={45*(\thepage-1):(1.75,2.3)},
          scale=0.25, shift={(5,7)}]{yellow}{cyan};
        \node at (1.75,2.3) {\thepage};
      \end{tikzpicture}
  }
  \renewcommand{\headrulewidth}{0pt} % remove line between header and main text
}
\pagestyle{headings}

\endinput