-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attach does not work as expected #6
Comments
Hello! As of now, wypst only support |
By the way, this on my top list of TODO things, so maybe this week or the next I'll have it fixed. |
Sounds good. Good luck on your exams, by the way! |
In case you needed it, this command seems to function in the same way as Typst's attach function. \newcommand{\attach}[7]{
\prescript{#4}{#5}{\vphantom{#1}}
\overset{#2}{\underset{#3}{#1}}
\vphantom{#1}^{#6}_{#7}
} |
It seems prescript doesn't work in KaTeX; it's probably not possible to fix this without some arcane syntax. |
You can do something like this \newcommand{\attach}[7]{
\vphantom{#1}^{#4}_{#5}\underset{#3}{\overset{#2}{#1}}\vphantom{#1}^{#6}_{#7}
} |
When rendering the example from Typst documentation, Wypst seems to treat
t
astr
andb
asbr
. Moreover, nothing else is rendered.Typst:
LaTeX:
Outputs:
The text was updated successfully, but these errors were encountered: