diff options
author | W. Kosior <koszko@koszko.org> | 2024-12-18 08:41:34 +0100 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-12-18 08:41:34 +0100 |
commit | 15105955f461a5c57be66e49adcde2c31046e1cd (patch) | |
tree | eda040698a77fa23a238135782f75eb18e91b226 /tlp.tex | |
parent | 6e2b211d2cd4710ec793d8c56d0d20f4c2407a2e (diff) | |
download | AGH-threat-intel-course-15105955f461a5c57be66e49adcde2c31046e1cd.tar.gz AGH-threat-intel-course-15105955f461a5c57be66e49adcde2c31046e1cd.zip |
Add TLP signals.
Diffstat (limited to 'tlp.tex')
-rw-r--r-- | tlp.tex | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -0,0 +1,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} + } + }% +} |