Wrong upright style and spacing for vecrow() and Greek letters
CarrotDLaw opened this issue · 3 comments
CarrotDLaw commented
When the first element in vecrow()
is a Greek letter, there are unexpected spacing and upright style issues, like the first three lines in the following. The last three lines are how the output is supposed to be.
I found a temporary solution that is to use italic(alpha)
instead of just alpha
in the first element, though.
$
& vecrow(alpha, beta) \
& vecrow(alpha, italic(beta)) \
& vecrow(alpha, b) \
& vecrow(a, beta) \
& vecrow(italic(alpha), beta) \
& (alpha, beta) \
$
YDX-2147483647 commented
Some investigation:
Line 152 in 94c8982
#grid(columns: (1fr, 1fr), [
```typst $lr((alpha, beta/gamma))$```
$lr((alpha, beta/gamma))$
#repr($lr((alpha, beta/gamma))$)
], [
```typst $vecrow(alpha, beta/gamma)$```
$vecrow(alpha, beta/gamma)$
#repr($vecrow(alpha, beta/gamma)$)
])
Possible fix
Leedehai commented
Wow, thanks! Let me see..
Leedehai commented
@YDX-2147483647 It works 👍 I committed 8df2cc4 and added you as the author.