可能是您忘记了第二个尺寸参数(参见0.8
)@{left,0.5}
(例如),并且您将方括号放在中心。
\documentclass{article}
\usepackage{chemfig}
\begin{document}
\chemfig{HO-[@{left,0.5},0.8]CH_{2}CH_{2}O-[@{right,0.5},0.8]OH}
\polymerdelim[height=10pt, depth=10pt, indice=\!n, delimiters={[]}]{left}{right}
\end{document}