0

I want to draw a simple structural chemical formula with the chemfig package in Latex.

It schould look like the output of the code below, but i don't think that this is the right way to write it because the whole figure should be one formula with a plus in the middle and not two.

\setatomsep{1cm}
\chemfig{CH_4} + \chemfig{C([3]-H)([5]-H)=C([1]-H)([7]-H)}

How it should look like:

  • 1
    \schemestart \chemfig{...} \+ \chemfig{...} \schemestop is the way described in the manual – cgnieder Apr 12 '17 at 8:46
  • exactly what i wanted, i didn't know that there is a plus sign in the scheme environment – Martin Niederl Apr 12 '17 at 9:03
  • See part IV section 12 of the current chemfig manual :) – cgnieder Apr 12 '17 at 9:34
1
\schemestart
  \chemfig{...}
   \+
  \chemfig{...}
\schemestop

is the way described in the manual:

The use of a “\+” macro that displays a + sign is available between the commands \schemestart and \schemestop.

|improve this answer|||||

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.