I would like to create a figure of dipeptide condensation of two amino acids:

I was looking at the chemfig manual and came up with the following solution: enter image description here

    \setchemfig{atom sep=2.2em}
    \setchemfig{arrow offset=3pt,arrow coeff=0.7} 
        \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)

How can I make it more appealing and align the elements and the labels better?

  • have a look a this answer -- the same can be edited to meet your requirement -- please revert --tex.stackexchange.com/a/553958/197451
    – js bibra
    Jul 18 '20 at 0:21
  • Be more specific, "more attractive" is relative and can be interpreted differently by different people. Say exactly what you want to achieve, if necessary by adding a freehand drawing of the desired result.
    – AndréC
    Jul 19 '20 at 18:21
  • @AndréC I just want the LHS and the RHS to align better with each other, but I am not opposing to any other improvements.
    – 0x90
    Jul 19 '20 at 18:30
  • I'm not a chemist and I don't know what LHS and RHS is.
    – AndréC
    Jul 19 '20 at 18:46
  • 1
    It looks well aligned to me, what do you think is the problem here?
    – AndréC
    Jul 19 '20 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.