如何绘制这个?我在绘制循环时遇到了麻烦,因为它必须通过键连接,
还有什么办法可以减小循环键尺寸(atom sep
),而不必将 sep 添加到每个键中?
\documentclass{standalone}
\usepackage{chemfig}
\begin{document}
\chemfig{
\chemfig{
-C(-[90])(-[-90])
-C(-[90])(-[-90]*6(=-=-=-))
-C(-[90])(-[-90])
-C(-[90])(-[-90]*6(=-=-=-))
-C(-[90])(-[-90])
-C(-[90])(-[-90]*6(=-=-=-))
}
}
\end{document}
答案1
这?
\documentclass[border=2mm]{standalone}
\usepackage{chemfig}
\begin{document}
\chemfig{-C(-[2])(-[6])-C(-[2])(-[6]*6([:-90,.5]-=-=-=))-C(-[2])(-[6])-C(-[2])(-[6]*6([:-90,.5]-=-=-=))-C(-[2])(-[6])-C(-[2])(-[6]*6([:-90,.5]-=-=-=))-}
\end{document}
如果你想让它和你的图一样(这对化学来说是错误的),我需要“手工”建立一个环,然后逐一调整每个键的长度
\documentclass[border=2mm]{standalone}
\usepackage{chemfig}
\begin{document}
\definesubmol{arom}{*6([,.5]-=-=-=)}
\chemfig{
-C(-[2])(-[6])
-C(-[2])(-[6]-[0,.25]=_[:300,.5]-[:240,.5]=_[4,.5]-[:120,.5]=_[:60,.5]-[0,.25])
-C(-[2])(-[6])
-C(-[2])(-[6]-[0,.25]=_[:300,.5]-[:240,.5]=_[4,.5]-[:120,.5]=_[:60,.5]-[0,.25])
-C(-[2])(-[6])
-C(-[2])(-[6]-[0,.25]=_[:300,.5]-[:240,.5]=_[4,.5]-[:120,.5]=_[:60,.5]-[0,.25])
-}
\end{document}
答案2
\documentclass[border=5mm]{standalone}
\usepackage{chemfig}
\definesubmol{mybenz}{-[6,0.7]-[::90,0.2,,,draw=none]*6([::-120,0.4]-=-=-=)}
\begin{document}
\chemfig{
-C(-[2])(-[6])
-C(-[2])(!{mybenz})
-C(-[2])(-[6])
-C(-[2])(!{mybenz})
-C(-[2])(-[6])
-C(-[2])(!{mybenz})
-C(-[2])(-[6])-
}
\end{document}