diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/mat-aug-color.png | bin | 0 -> 1680 bytes | |||
| -rw-r--r-- | tests/typ/bugs/mat-aug-color.typ | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/bugs/mat-aug-color.png b/tests/ref/bugs/mat-aug-color.png Binary files differnew file mode 100644 index 00000000..d6ab0239 --- /dev/null +++ b/tests/ref/bugs/mat-aug-color.png diff --git a/tests/typ/bugs/mat-aug-color.typ b/tests/typ/bugs/mat-aug-color.typ new file mode 100644 index 00000000..c2e617d6 --- /dev/null +++ b/tests/typ/bugs/mat-aug-color.typ @@ -0,0 +1,9 @@ +// https://github.com/typst/typst/issues/2268 +// The augment line should be of the same color as the text +#set text( + font: "New Computer Modern", + lang: "en", + fill: yellow, +) + +$mat(augment: #1, M, v) arrow.r.squiggly mat(augment: #1, R, b)$ |
