Enivex

Results 211 comments of Enivex

I don't know how typst-cd does it, but here's a typst solution that uses the symbol in your actual font (this assumes that the arrow heads do not occupy more...

Note that there's now a package (xarrow) that does this, by @loutr, using a more flexible variant of what I did in my comment https://typst.app/docs/packages/

> Would it be desirable for the default arrow to scale automatically when you write `$ ->^"something long" $`? Or are there cases where you don't want that? That would...

Whatever the solution, I think the mechanism that is used to determine the margins should be exposed in the documentation. Right now you have to dig into the source to...

You can essentially achieve match statements in typst already ``` #{ let x = 5 ( (x < 2,"x is less than 2"), (x < 4,"x is less than 4"),...

I don't think this a bug really. Delimiter sizing is partially down to the font, and sometimes it's down to personal preference. You can disable scaling by using ` lr(norm(A^(-1)),size:...

What makes that simpler than Typst's syntax in your opinion?

These already exist as plus.circle and plus.circle.big, and a much more common semantic meaning than xor is https://en.m.wikipedia.org/wiki/Direct_sum

This would only be applicable if the container has an absolute height, or if the number of lines is set no? Edit: Or does it use the fewest number of...

> I think this indicates it's not yet clear whether this is a bug or a feature... 👀 It would be a bug regardless if the result depends on the...