# `TF011` Parameterizing tags We can group tags :::{dropdown} Is a test for :open: :icon: check-circle-fill :color: primary [`SF013` Parameterized tags](/requirements/SF013) ::: ## Initial state The expected state is the final state of [`TF002` Generate a PDF](/tests/TF002) ## Procedure ### Step 1 Add paramterized tags to requirements ```console $ cat specs.yaml ``` ```yaml kind: requirements category: functional requirements: - id: S01 long: The first requirement short: Lorem ipsum tags: - foo:bar - lorem:ipsum - id: S02 long: The second requirement tags: - foo:baz - lorem ``` ### Step 2 Regenerate the PDF ```console $ typst compile specification.typ --open ``` ### Step 3 Verify that: 1. each requirement has 2 tags 2. The tag index has two sections: - Foo - Lorem 3. The Foo section has two subsections: - Bar, where `S01` is listed - Baz, where `S02` is listed 4. `S02` is listed directly inside the Lorem section 5. `S01` is listed inside the Ipsum subsection of Lorem