3 ms·
> i.e. phi instead of \phi or floor instead of \floor. You will inevitably run into situations where, for instance, you want to write the letters phi, and have
by m4lvin 4y ago
> i.e. phi instead of \phi or floor instead of \floor. You will inevitably run into situations where, for instance, you want to write the letters phi, and have to resort to some ugly hack to write the natural language.
I thought exactly the same: What if I want to write the product of f,l,o,o,r? Well, the "ugly hack" is explained in the readme: You just write "floor" with quotes instead of floor. Seems alright to me ;-)
- alephaleph 4y agothis isn't even a hack -- in Typst you write `$a b$` for implicit products, `$ab$` is always parsed as an identifier and you'll get a compile error if its not defined.
- m4lvin 4y agoAh, thanks for the correction, this is even better :-)
- elteammate 4y agoThe product of f, l, o, o, and r is denoted as $f l o o r$ (Same as $floor$ in latex). "floor" is exactly $\operatorname{floor}$