# Chemfig Increasing the length of a vertical bond in a branched alkane

by Wertea   Last Updated July 12, 2019 02:23 AM

Currently I am having an issue due to intersection between substituent species off of a branched alkane that I want to make in a 'complete structure' form. I figured increasing the vertical bond length of the substituent bottom carbon by adding an extra dash between the central carbon (cbmethyl) and [6] in the following code would work:

\documentclass[12pt, reqno]{amsart}
\usepackage{chemfig}
\definesubmol{\lmethyl}{C(-[2]H)(-[4]H)(-[6]H)}
\definesubmol{\rmethyl}{C(-[2]H)(-[6]H)-H}
\definesubmol{\tmethyl}{C(-[2]H)(-[4]H)-H}
\definesubmol{\bmethyl}{C(-[4]H)(-[6]H)-H}
\definesubmol{\cmethyl}{C(-[2]H)(-[6]H)}
\definesubmol{\cbmethyl}{C(-[2]H)}
\begin{document}
\chemfig{!\lmethyl-!\cbmethyl(-[6]!\bmethyl)(-!\rmethyl)}
\end{document}


Instead however the code moves the substituent carbon along horizontally. The only other solution is to increase both horizontal bond lengths of the other carbons, but that makes the compound look a bit bloated in my opinion. Any help would be much appreciated.

Tags :

Okay yeah wasn't too difficult at all, and really added a lot of clarity to the situation. Just add a phantom point with a -[6] next to where the substituent carbon will be.

\documentclass[12pt, reqno]{amsart}
\usepackage{chemfig}
\definesubmol{\lmethyl}{C(-[2]H)(-[4]H)(-[6]H)}
\definesubmol{\rmethyl}{C(-[2]H)(-[6]H)-H}
\definesubmol{\tmethyl}{C(-[2]H)(-[4]H)-H}
\definesubmol{\bmethyl}{C(-[4]H)(-[6]H)-H}
\definesubmol{\cmethyl}{C(-[2]H)(-[6]H)}
\definesubmol{\cbmethyl}{C(-[2]H)}
\begin{document}
\chemfig{!\lmethyl-!\cbmethyl(-[6]-[6]!\bmethyl)(-!\rmethyl)}
\end{document}


If anyone has some neater solutions I'd still like to have a look, the spacing is still not the greatest.

Wertea
July 12, 2019 01:58 AM

## Related Questions

Updated April 09, 2015 02:09 AM

Updated May 16, 2015 21:10 PM

Updated June 04, 2015 02:10 AM

Updated April 15, 2015 20:10 PM

Updated May 14, 2015 13:10 PM