diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/smallcaps-show-rule.png | bin | 0 -> 1202 bytes | |||
| -rw-r--r-- | tests/suite/text/smallcaps.typ | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/smallcaps-show-rule.png b/tests/ref/smallcaps-show-rule.png Binary files differnew file mode 100644 index 00000000..bac72ea7 --- /dev/null +++ b/tests/ref/smallcaps-show-rule.png diff --git a/tests/suite/text/smallcaps.typ b/tests/suite/text/smallcaps.typ index 6f977244..6f36a028 100644 --- a/tests/suite/text/smallcaps.typ +++ b/tests/suite/text/smallcaps.typ @@ -1,3 +1,12 @@ --- smallcaps --- // Test smallcaps. #smallcaps[Smallcaps] + +--- smallcaps-show-rule --- +// There is no dedicated smallcaps font in typst-dev-assets, so we just use some +// other font to test this show rule. +#show smallcaps: set text(font: "PT Sans") +#smallcaps[Smallcaps] + +#show smallcaps: set text(fill: red) +#smallcaps[Smallcaps] |
