答案1
该chemfig
包已经提供了-/>
箭头类型来表示不成功的反应。根据它的定义,我还定义了一种新的-x>
箭头类型:
\documentclass{article}
\usepackage{chemfig}
\catcode`\_=11
\definearrow5{-x>}{%
\CF_arrowshiftnodes{#3}%
\CF_expafter{\draw[}\CF_arrowcurrentstyle](\CF_arrowstartnode)--(\CF_arrowendnode)%
coordinate[midway,shift=(\CF_ifempty{#4}{225}{#4}+\CF_arrowcurrentangle:\CF_ifempty{#5}{5pt}{#5})](line@start)%
coordinate[midway,shift=(\CF_ifempty{#4}{45}{#4}+\CF_arrowcurrentangle:\CF_ifempty{#5}{5pt}{#5})](line@end)%
coordinate[midway,shift=(\CF_ifempty{#4}{135}{#4}+\CF_arrowcurrentangle:\CF_ifempty{#5}{5pt}{#5})](line@start@i)%
coordinate[midway,shift=(\CF_ifempty{#4}{315}{#4}+\CF_arrowcurrentangle:\CF_ifempty{#5}{5pt}{#5})](line@end@i);
\draw(line@start)--(line@end);%
\draw(line@start@i)--(line@end@i);%
\CF_arrowdisplaylabel{#1}{0.5}+\CF_arrowstartnode{#2}{0.5}-\CF_arrowendnode
}
\catcode`\_=8
\begin{document}
\schemestart
A \arrow{-/>} B
\schemestop
\schemestart
A \arrow{-x>} B
\schemestop
\end{document}