A Typst package to easily add Traffic Light Protocol (TLP) markings to your documents, fully compliant with TLP v2.0 Standards (CISA/FIRST).
- Standard Colors: Exact RGB matches for TLP 2.0 Red, Amber, Green, Clear.
- Correct Styling: Black background labels with colored text.
- Header/Footer Support: Easily mark every page of your document.
- Content Blocks: Distinct boxes for sensitive sections.
Import the package:
#import "@preview/tlp:0.1.0"To mark the header and footer of every page (as required by standard for TLP documents):
#import "@preview/tlp:0.1.0"
// Set the whole document to TLP:AMBER
#show: tlp-setup.with("amber")
= My Sensitive Document
Content...If you need to mark specific sections:
#tlp-red[
This is highly sensitive TLP:RED info.
]
#tlp-green[
This is TLP:GREEN info.
]This paragraph refers to #tlp-label("red") material.The following string keys are supported:
"red"-> TLP:RED"amber"-> TLP:AMBER"amber-strict"-> TLP:AMBER+STRICT"green"-> TLP:GREEN"clear"-> TLP:CLEAR
MIT