blob: efb18aa0c60a1e73b9df236fd9664bc36b9a4939 (
about) (
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
28
29
30
31
32
33
34
35
36
37
|
%% SPDX-License-Identifier: CC0-1.0
%%
%% This LaTeX source is copyright (C) 2024 W. Kosior <koszko@koszko.org>
\usepackage{xcolor}
\usepackage{fancyhdr}
\usepackage{tikz}
\definecolor{TLPAMBER}{HTML}{FFC000}
\definecolor{TLPAMBER+STRICT}{HTML}{FFC000}
\definecolor{TLPCLEAR}{HTML}{FFFFFF}
\definecolor{TLPGREEN}{HTML}{33FF00}
\definecolor{TLPRED}{HTML}{FF2B2B}
\newcommand{\setTLP}[1]{%
\def \currentTLP {#1}
}
\newcommand{\changeTLP}[1]{%
\newpage
\setTLP{#1}
}
\newcommand{\useTLPFancyHeader}[1]{%
\setTLP{#1}
\pagestyle{fancy}
\fancyhf{}
\lhead{
\colorbox{black}{
\color{TLP\currentTLP}
\begin{tikzpicture}
\draw[fill=TLP\currentTLP](1,1) circle (0.2) node [] {};
\end{tikzpicture}
\textbf{TLP:\currentTLP}
}
}%
}
|