我想表示反应机制(格氏反应)中单个电子的运动
chemfig 中是否有预定义的箭头(类似鱼叉的东西)?或者有人知道吗?
答案1
您可以加载 TikZ 库arrows
并使用箭头提示left to
和right to
。这是一个简单的例子:
\documentclass{article}
\usepackage{chemfig}
\setatomsep{1.8em}
\usetikzlibrary{arrows}
\begin{document}
\schemestart
\chemfig{Cl|@{Cl}\Lewis{0.,\strut}}
% a long invisible bond should suffice but this demonstrates
% that also scheme nodes can be referenced in \chemmove{}:
\arrow(--nb){0}[,.2]
\mbox{}
\arrow{0}[,.2]
\chemfig{H-[@{bd}]@{C}C|H_3}
\schemestop
\chemmove{
\draw[red,-right to,shorten >=3pt]
(Cl) ..controls +(90:7mm) and +(100:7mm) .. (nb) ;
\draw[red,-left to,shorten >=3pt]
(bd) ..controls +(100:7mm) and +(80:7mm) .. (nb) ;
\draw[red,-right to,shorten >=3pt]
(bd) ..controls +(80:7mm) and +(100:7mm) .. (C) ;
}
\end{document}