typst
typst copied to clipboard
text.accent function counterpart to math.accent
It might be useful to provide a text.accent function to insert symbols like ö without having to look them up or memorize an alt code. This would be an exact counterpart to math.accent
I've migrated this manually from the old #bugs-and-features forum
Isn't this better achieved by the code editor inserting the desired letter for you using a snippet?
It is annoying to have to switch editors to type one character and the switch back, especially if you don't know the name of the diacritic. For instance, I just recently learned that the deelteken (dots on the ë) are called diaeresis in English.
Isn't this better achieved by the code editor inserting the desired letter for you using a snippet?
Another counterpoint: typst has a symbol for ∈, but this can also be inserted by a code editor, so in could technically be removed. But, it is kept, since it's annoying for people to type.
Isn't this better achieved by the code editor inserting the desired letter for you using a snippet?
Another counterpoint: typst has a symbol for ∈, but this can also be inserted by a code editor, so
incould technically be removed. But, it is kept, since it's annoying for people to type.
That's a math symbol though. Presumably if you're typing ö often you'll with have the precomposed symbol on your keyboard, or a dead key for that diacritic.
I'm just getting flashbacks to older LaTeX documents full of stuff like \"{o} because UTF8 wasn't a thing.
That's a math symbol though
I don't see how this is necessarily relevant as there are still multiple ways to input them with a keyboard as unicode symbols
Presumably if you're typing ö often you'll with have the precomposed symbol on your keyboard, or a dead key for that diacritic.
A lot of people don't as we may only need to type them infrequently; e.g a monolingual English speaker may want to type Gödel once or twice but not more than that.
I do that constantly. I don't have a dedicated keyboard for every language I speak and write in.
+1, writing a game theory paper right now, and having to type misère so much is misère