You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially for long vertical/diagonal arrow labels, it's often clearer than forcing horizontality (after all, the paper can be rotated -- the relative positions of arrows and labels after rendering can't).
Cf https://tex.stackexchange.com/a/418250 for examples of the results.
An example of a diagram I needed to typeset this way -- the following double limit
The text was updated successfully, but these errors were encountered:
Technically you can get around it by using "LaTeX injection" (like SQL injection for programs that does not sanitize user input properly)
Put the label as }",sloped,"{f_{(d',e')\to(d,e)}
Then the generated LaTeX code will be \arrow["{}",sloped,"{f_{(d',e')\to(d,e)}}"{description}, from=2-2, to=3-3]
The problems with this approach is obvious.
Seriously though, it may be useful to have functionality to allow injecting user-defined LaTeX code for various purposes.
There is also https://github.com/KaTeX/KaTeX/issues/681 for manually rotate the labels. Not sure how feasible it is.
Especially for long vertical/diagonal arrow labels, it's often clearer than forcing horizontality (after all, the paper can be rotated -- the relative positions of arrows and labels after rendering can't).
Cf https://tex.stackexchange.com/a/418250 for examples of the results.
An example of a diagram I needed to typeset this way -- the following double limit
The text was updated successfully, but these errors were encountered: