diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-5014-show-text-tags.png | bin | 0 -> 184 bytes | |||
| -rw-r--r-- | tests/suite/styling/show-text.typ | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/issue-5014-show-text-tags.png b/tests/ref/issue-5014-show-text-tags.png Binary files differnew file mode 100644 index 00000000..4cefe9d3 --- /dev/null +++ b/tests/ref/issue-5014-show-text-tags.png diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ index 66ae6580..4e031648 100644 --- a/tests/suite/styling/show-text.typ +++ b/tests/suite/styling/show-text.typ @@ -199,3 +199,12 @@ $a^2 + b^2 = c^2$ is Pythagoras' theorem. a \ #h(0pt, weak: true) b \ #h(0pt, weak: true) $x$ c $y$ + +--- issue-5014-show-text-tags --- +#{ + let c = counter("c") + show "b": context c.get().first() + [a] + c.step() + [bc] +} |
