From fcdccc9cbae02be0ac61f5f50f7f1a256fdd2b11 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 2 Oct 2024 13:51:09 +0200 Subject: Fix textual grouping (#5097) --- tests/ref/show-text-in-citation.png | Bin 0 -> 795 bytes tests/suite/styling/show-text.typ | 12 ++++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/ref/show-text-in-citation.png (limited to 'tests') diff --git a/tests/ref/show-text-in-citation.png b/tests/ref/show-text-in-citation.png new file mode 100644 index 00000000..392487bc Binary files /dev/null and b/tests/ref/show-text-in-citation.png differ diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ index 4e031648..af45127c 100644 --- a/tests/suite/styling/show-text.typ +++ b/tests/suite/styling/show-text.typ @@ -162,6 +162,18 @@ hi #show bibliography: none #bibliography("/assets/bib/works.bib") +--- show-text-in-citation --- +#show "A": "B" +#show "[": "(" +#show "]": ")" +#show "[2]": set text(red) + +@netwok A \ +@arrgh B + +#show bibliography: none +#bibliography("/assets/bib/works.bib") + --- show-text-linebreak --- #show "lo\nwo": set text(red) Hello #[ ] \ -- cgit v1.2.3