我正在尝试弄清楚 XyMTeX 中的结构如何/为何对齐 - 这让我很困惑。为什么这段代码会生成这个?
\documentclass{article}
\usepackage{xymtexpdf}
\usepackage{xcolor}
\usepackage{graphicx}
% fix the issue with \smash
\def\dotnodimension{\hbox{\smash{\hbox to0pt{\hss.\hss}}}}
%%%
\begin{document}
\begin{ChemEquation}
\fbox{
\begin{XyMcompd}(400,400)(100,100){}{}
\ltetrahedralS{0==C;1==A;2==B;3A==X;4B==Y}
\end{XyMcompd}
}
\fbox{
\begin{XyMcompd}(400,400)(100,100){}{}
\LewistetrahedralA{0==C;1==A;2==B;3A==X;4B==Y}
\end{XyMcompd}
}
\fbox{
\begin{XyMcompd}(400,400)(100,100){}{}
\LewisTetrahedralA{0==C;1==A;2==B;3A==X;4B==Y}
\end{XyMcompd}
}
\fbox{
\begin{XyMcompd}(400,400)(100,100){}{}
\LewistetrahedralA{0==C;1==A;2==B;3A==X;4B==Y}
\end{XyMcompd}
}
\fbox{
\begin{XyMcompd}(400,400)(100,100){}{}
\LewistetrahedralA{0==C;1==A;2==B;3A==X;4B==Y}
\end{XyMcompd}
}
\fbox{
\begin{XyMcompd}(400,400)(100,100){}{}
\rtetrahedralS{0==C;1==A;2==B;3A==X;4B==Y}
\end{XyMcompd}
}
\fbox{
\begin{XyMcompd}(400,400)(100,100){}{}
\rtetrahedralS{0==C;1==A;2==B;3A==X;4B==Y}
\end{XyMcompd}
}
\end{ChemEquation}
\end{document}