
一連の反応 (化学者向け、カニッツァーロ反応) を同じ行に表示したいです。私の場合、矢印に長い分子 (Ph-CH=O) を書く必要がありますが、コードに問題があります。サイズは正しいのですが、矢印への書き込みが機能しません (コマンド を使用\arrow[,2,](start.mid east--.mid west){->[\chemfig{Ph-CH=O}]}
)、または矢印への書き込みはありますが、サイズが正しくありません (コマンド を使用\arrow(start.mid east--.mid west){->[\chemfig{Ph-CH=O}]}
)。
テキストを上に残したまま矢印のサイズを大きくするにはどうすればよいでしょうか?
\documentclass[border=1mm]{standalone}
\usepackage{graphicx} % Required for inserting images
\usepackage{chemfig}
\begin{document}
\schemestart
\chemfig{[:-30]*6(=-=(-@{atoc}C([6]=[@{db}]@{atoo1}O)-H)-=-)}
\arrow(start.mid east--.mid west){->[\chemfig{@{atoo2}\chemabove{O}{\scriptstyle\ominus}}H]}
\chemfig{[:-30]*6(=-=(-C([6]-[@{sb1}]@{atoo1}\chembelow{O}{\scriptstyle\ominus})([2]-OH)-[@{sb2}]H)-=-)}
\arrow[,2,](start.mid east--.mid west){->[\chemfig{Ph-CH=O}]}
\chemfig{[:-30]*6(=-=(-C([1]-@{atoo2}O-[@{sb}0]@{atoh}H)([6]=O))-=-)}
\arrow{0}
\chemfig{[:-30]*6((-C(-[5]H)(-[7]H)-[2]@{atoo1}\chemabove{O}{\scriptstyle\ominus})-=-=-=)}
\chemmove[-stealth,shorten >=2pt,dash pattern=on 1pt off 1pt,thin]{
\draw[shorten <=7pt](atoo1.90) ..controls +(+90:8mm) and +(up:10mm)..(atoh);
\draw[shorten <=2pt](sb) ..controls +(up:5mm) and +(up:5mm)..(atoo2);}
\schemestop
\end{document}
答え1
したがって?
矢印の上の分子の結合を短くすることもできます
\documentclass[border=1mm]{standalone}
\usepackage{graphicx} % Required for inserting images
\usepackage{chemfig}
\begin{document}
\schemestart
\chemfig{[:-30]*6(=-=(-@{atoc}C([6]=[@{db}]@{atoo1}O)-H)-=-)}
\arrow(start.mid east--.mid west){->[\chemfig{@{atoo2}\chemabove{O}{\scriptstyle\ominus}}H]}
\chemfig{[:-30]*6(=-=(-C([6]-[@{sb1}]@{atoo1}\chembelow{O}{\scriptstyle\ominus})([2]-OH)-[@{sb2}]H)-=-)}
\arrow{->[\chemfig{Ph-[,.7]CH=[0,.7]O}]}[0,2]
\chemfig{[:-30]*6(=-=(-C([1]-@{atoo2}O-[@{sb}0]@{atoh}H)([6]=O))-=-)}
\arrow{0}
\chemfig{[:-30]*6((-C(-[5]H)(-[7]H)-[2]@{atoo1}\chemabove{O}{\scriptstyle\ominus})-=-=-=)}
\chemmove[-stealth,shorten >=2pt,dash pattern=on 1pt off 1pt,thin]{
\draw[shorten <=7pt](atoo1.90) ..controls +(+90:8mm) and +(up:10mm)..(atoh);
\draw[shorten <=2pt](sb) ..controls +(up:5mm) and +(up:5mm)..(atoo2);}
\schemestop
\end{document}