\documentclass[border=2mm]{独立} \使用包{chemgig} \开始{文档} \方案启动 \化学图{=^[:0,.6]-[::60,.6](-[,.6]NH-[,6]NH-],.6] \箭头{->[\chemgig{H^+}]} \架构图{=^[:30,.6]-[::60,.6]=^[;:60,0.6](-[:90,.6,,2]H_2\charge{90:2pt=$\scriptstyle\oplus$}{N})-[:60,.6]=^[::60,.6]-[::60,6]} \schemestop(模式停止) \结束{文档}
-
1 “不工作”并没有解释太多:您希望输出是什么样的? – 贾斯珀·哈比希特 评论 5月21日17:27
2个答案
\documentclass[border=2mm]{独立} \使用包{chemgig} \开始{文档} \方案启动 \化学图{*6([:-30]-=-(-\电荷{270:3pt=H} {无}- \电荷{270:3pt=H} {无}- *6(-=-=-=))=-=)} \箭头{->[\chemgig{H^+}]} \示意图{H_2\charge{90:2pt=$\scriptstyle\oplus$} {无}- *6(-=-=-=)} \schemestop(模式停止) \结束{文档}
\documentclass[border=2mm]{独立} \使用包{chemgig} \开始{文档} \方案启动 \化学图{=^[:0,.6]-[::60,.6](-[,.6]NH-[,6]NH-],.6] \箭头{->[\chemgig{H^+}]} \架构图{=^[:30,.6]-[::60,.6]=^[;:60,0.6](-[:90,.6]H_2\charge{90:2pt=$\scriptstyle\oplus$}{N} \schemestop(模式停止) \结束{文档}