我想创建两个二肽缩合物的图形氨基酸:
我在看 chemfig手动的并提出了以下解决方案:
\documentclass{article}
\usepackage{chemfig}
\usepackage{tikz}
\begin{document}
\scalebox{1}{
\begin{tikzpicture}
\setchemfig{atom sep=2.2em}
\setchemfig{arrow offset=3pt,arrow coeff=0.7}
\schemestart
\chemname{\chemfig{N(-[:120]H)(-[:-120]H)-C(-[:90]H)(-[:-90]\color{orange}{R_1})-\color{red}{C}(=[:60]\color{red}{O})(-[:-60]\color{blue}{OH})}}{Amino acid 1}
\+
\chemname{\chemfig{\color{red}{N}(-[:120]\color{red}{H})(-[:-120]\color{blue}{H})-C(-[:90]H)(-[:-90]\color{violet}{R_2})-C(=[:60]O)(-[:-60]OH)}}{Amino acid 2}
\arrow(.mid east--.mid west)
\chemname{\chemfig{N(-[:120]H)(-[:-120]H)-[:30]C(-[:90]H)(-[:-90]\color{orange}{R_1})-[:-30]\color{red}{C}(=[:-90]\color{red}{O})-[:+30]\color{red}{N}(-[:90]\color{red}{H})-[:-30]C(-[:90]H)(-[:-90]\color{violet}{R_2})-[:+30]C(=[:60]O)(-[:-60]OH)}}{Dipeptide}
\+
\chemname{\chemfig{\color{blue}{H_2O}}}{Water}
\schemestop
\chemnameinit{}
\end{tikzpicture}
}
\end{document}
我怎样才能使其更具吸引力并更好地对齐元素和标签?