a

ampelmark

@preview

Create Traffic Light Protocol (TLP) markings (v2.0).

v0.1.2
MIT

Package Information

Last Updated
Minimum Typst Version
0.14.2
Authors
teismar

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/ampelmark:0.1.2

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/ampelmark:0.1.2": *

Version History

0.1.20.14.2
8a0ef30381f4...

TLP (Traffic Light Protocol) Package for Typst

A Typst package to easily add Traffic Light Protocol (TLP) markings to your documents, fully compliant with TLP v2.0 Standards (CISA/FIRST).

features

  • Header/Footer Support: Easily mark every page of your document.
  • Content Blocks: Distinct boxes for sensitive sections.
  • Inline Labels: Insert TLP labels directly within text.

Installation

Import the package:

#import "@preview/ampelmark:0.1.2"

Usage

To mark the header and footer of every page (as required by standard for TLP documents):

#import "@preview/ampelmark:0.1.2"

// Set the whole document to TLP:AMBER
#show: tlp-setup.with("amber")

= My Sensitive Document
Content...

2. Specific Content Blocks

If you need to mark specific sections:

#tlp-red[
  This is highly sensitive TLP:RED info.
]

#tlp-green[
  This is TLP:GREEN info.
]

3. Inline Labels

This paragraph refers to #tlp-label("red") material.

Available Levels

The following string keys are supported:

  • "red" -> TLP:RED
  • "amber" -> TLP:AMBER
  • "amber-strict" -> TLP:AMBER+STRICT
  • "green" -> TLP:GREEN
  • "clear" -> TLP:CLEAR

License

MIT