Open thecodechemist99 opened 3 days ago
When using chemfig in obsidian-tikzjax, the Lewis and lewis commands don’t render the electron pair lines and lacunas correctly, while single and double electrons show up as intended.
chemfig
obsidian-tikzjax
Lewis
lewis
Screenshot:
Corresponding tikzjax-Code
tikzjax
\standaloneconfig{border=10pt} \usepackage{chemfig} \begin{document} \chemfig{\chemabove[5pt]{H}{\scriptstyle\delta^+}<\chemabove[3pt]{\Lewis{0:2:6:,Cl}}{\scriptstyle\delta^-}} \qquad \chemfig{\chemabove[5pt]{H}{\scriptstyle\delta^+}<\chemabove[3pt]{\Lewis{026,Cl}}{\scriptstyle\delta^-}} \qquad \chemfig{\chemabove[5pt]{H}{\scriptstyle\delta^+}<\chemabove[3pt]{\Lewis{0.2.6.,Cl}}{\scriptstyle\delta^-}} \qquad \chemfig{\chemabove[5pt]{H}{\scriptstyle\delta^+}<\chemabove[3pt]{\Lewis{0|2|6|,Cl}}{\scriptstyle\delta^-}} \end{document}
When using
chemfig
inobsidian-tikzjax
, theLewis
andlewis
commands don’t render the electron pair lines and lacunas correctly, while single and double electrons show up as intended.Screenshot:
Corresponding
tikzjax
-Code