[texhax] trying to add two angles in chemfig, what am I missing lol.

Mike Marchywka marchywka at hotmail.com
Sat Nov 14 15:58:33 CET 2015


I'm trying to modify some chemfig code to make it more flexible and it almost works
except that adding numbers seems to be a mystery. I want to make the angles computed
from a newcommand or similar function, in this case just add 60 degrees,

\newcommand{\frot}[1]{\FPeval{\fgle}{( #1 + 60) }\FPclip\fuu{\fgle}\fuu}

and then use something like this,

\chemfig{
               O% 1
     =[:90,0.2]% 25
    -[:150,0.2]% 23
                  (
        =_[:90,0.2]% 24
                      (
            -[:\frot{150},0.5in + .01\linewidth]% 29



but nothing obvious seems to work. What should this be?
I'd like to accomodate floating point but at this point anything is ok.


Thanks.


note new address 
 Mike Marchywka 306 Charles Cox Drive Canton, GA 30115
 2295 Collinworth  Drive Marietta GA 30062.  formerly 487 Salem Woods Drive Marietta GA 30067 404-788-1216 (C)<- leave message 989-348-4796 (P)<- emergency 		 	   		  


More information about the texhax mailing list