
▲ 11 r/LaTeX
Chemfig help
How do i vertically adjust the arrow position in order to go from A to B?
\documentclass{article}
\usepackage{mhchem}
\usepackage{chemfig}
\setchemfig{atom sep = 2em}
\usepackage{geometry}
\geometry{left=2cm, right=2cm, top=2cm, bottom=2cm}
\begin{document}
\section{}
\schemestart
2 \chemfig{CH_3-CH(-[6]Br)-CH_2-CH_3} \+ \ce{2Na}
\arrow{->}
\chemfig{CH_3-CH_2-CH(-[6]CH_3)-CH(-[6]CH_3)-CH_2-CH_3}
\+ \ce{2NaBr}
\schemestop
\section{}
\schemestart
\chemfig{CH_3-CH_2-CH_3} \+ \ce{Br2}
\arrow{->[h$\nu$]}
\chemfig{@{c1}CH_3-CH(-[6]Br)-CH_3} \+ \ce{HBr}
\schemestop
\end{document}
u/nick_swift — 8 days ago