我不知道如何在 chemfig 中划掉结构。它应该看起来像图片上的那样
谢谢!
这是我的示例代码:
\documentclass[12pt,doublespacing,letterpaper]{report}
\usepackage{chemfig}
\begin{document}
\setatomsep{2em}
\setbondoffset{1pt}
\setdoublesep{3pt}
\setbondstyle{line width=1pt}
\renewcommand{\printatom}[1]{\fontsize{11pt}{11pt}\selectfont{\ensuremath{\mathrm{#1}}}}
\schemestart[0,3,thick]
\scriptsize\chemfig{*6(-=-(-[,0.65]?-[:50,1.2]O-[:-12,1.3]-[:25]-[:-130,1.3]-[:165]O-[:195]?)=-=-)}
\arrow{
->[\footnotesize \textit{n}-BuLi, B(OMe)$_3$, KHF$_2$(aq)]
[\vspace{5cm}\footnotesize THF, -78$^\circ$C to rt]}
\scriptsize\chemfig{*6(-=-(-(=[:90]O)-[:-30,1.1]BF_3K)=-=-)}
\schemestop
\end{document}
答案1
将我的评论变成答案:你可以加载 Tikz 库shapes.misc
并简单地说
\schemestart A \arrow(--[cross out,draw=red]) B \schemestop
\documentclass[12pt,doublespacing,letterpaper]{report}
\usepackage{chemfig}
\usetikzlibrary{shapes.misc}
\begin{document}
\setatomsep{2em}
\setbondoffset{1pt}
\setdoublesep{3pt}
\setbondstyle{line width=1pt}
\renewcommand{\printatom}[1]{\fontsize{11pt}{11pt}\selectfont\ensuremath{\mathrm{#1}}}
\schemestart[0,3,thick]
\scriptsize
\chemfig{*6(-=-(-[,0.65]?-[:50,1.2]O-[:-12,1.3]-[:25]-[:-130,1.3]-[:165]O-[:195]?)=-=-)}
\arrow(--[cross out,draw=red]){%
->[\footnotesize \textit{n}-BuLi, B(OMe)$_3$, KHF$_2$(aq)]%
[\footnotesize THF, -78$^\circ$C to rt]}
\scriptsize
\chemfig{*6(-=-(-(=[:90]O)-[:-30,1.1]BF_3K)=-=-)}
\schemestop
\end{document}