Open TroubleClef128 opened 1 year ago
Still encountering the same problem :( Has anyone found a workaround, aside from rendering the formula externally and inserting the final image?
Same issue here, I’d highly appreciate if someone could resolve this issue. Or if someone knew a feasible workaround, too. This really is a deal breaker for basically any sort of organic chemistry notes in Obsidian.
This might be related to #9. I’m not sure, but it seems very likely that schemes would need multiple passes to render correctly and apparently that’s currently not supported.
Edit: Actually probably not, as #54 suggests it has something to do with missing bond settings and cram bonds are actually rendered correctly.
In chemfig \schemestart and \schemestop are used to define a scheme which is important to add arrows and to align elements.
The following is a document I made for my notes in Obsidian:
This results in the following in TikZJax:
The same code produces the following when compiled using LaTeX:
I've been getting by by only using the \schemestart and \schemestop markers around the \arrow commands:
This produces the following in TikZJax:
So the bond lines do render correctly, but because not all parts of the figure are part of the scheme, the arrow doesn't center appropriately. In this example the scheme is used on a small scale, but this is a necessary feature in creating more complex reaction figures.