mirror of
https://github.com/typst/typst
synced 2025-08-11 13:47:55 +08:00
Add tests for subscripts involving numbers
This commit is contained in:
parent
e8a724f8ee
commit
2c61402e60
BIN
tests/ref/math-attach-with-numbers.png
Normal file
BIN
tests/ref/math-attach-with-numbers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 180 B |
@ -189,3 +189,9 @@ $ a0 + a1 + a0_2 \
|
|||||||
// sequence of extended shapes).
|
// sequence of extended shapes).
|
||||||
$lr(size: #130%, [x])_0^1, [x]_0^1, \]_0^1, x_0^1, A_0^1$ \
|
$lr(size: #130%, [x])_0^1, [x]_0^1, \]_0^1, x_0^1, A_0^1$ \
|
||||||
$n^2, (n + 1)^2, sum_0^1, integral_0^1$
|
$n^2, (n + 1)^2, sum_0^1, integral_0^1$
|
||||||
|
|
||||||
|
|
||||||
|
--- math-attach-with-numbers ---
|
||||||
|
// Test that underscores in code numeric literals do not conflict with
|
||||||
|
// subscripts in math mode.
|
||||||
|
$3_5$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user