localghost wrote:ghostanime2001 wrote:[…] How do I set the bond length to be the same length for example 1cm? […]
Isn't this exactly what chemfig does?
Actually not, and I guess this is what ghostanime refers to:
chemfig manual wrote:Rather than speaking of length of a bond, we should use the term interatomic spacing. If effect, only the interatomic spacing is adjustable with
\setatomsepas we have seen on page 11. Once this parameter is set, the length of a bond depends on the content of atoms and, to a lesser extent, the angle the bond makes with the horizontal. It should be obvious that two “slimmer” atoms will have larger edge separations than two which are larger. This can be seen easily in the following example where an “I” atom is narrower than an “M” atom, which means that the bond between the “I” atoms is longer than that between the “M” atoms.
In my eyes chemfig's behaviour most times is a good thing, though.
@ghostanime: you need to specify the
node distanceproperty, see 16.5.3 Advanced Placement Options of the pgfmanual for details.