New answers tagged

1

( and ) are special chars reserved to indicate bifurcation. You must enclose them between braces to make them invisible to the chemfig parser: \documentclass{scrartcl} \usepackage{chemfig} \begin{document} \chemfig{CH_3-{(}CH_2{)}_3-CH_3} instead of \chemfig{CH_3-CH_2-CH_2-CH_2-CH_3} \end{document}


4

Another approach: \documentclass{article} \usepackage{chemfig} \begin{document} \schemestart[0,1.5,thick] \chemfig{**6(------)} \arrow{0}[,0] \+ \chemfig{E} \arrow(--.base west) \chemfig[yshift=\the\dimexpr-1.5em\relax]{**[60,-240]6(----(-[:135]H)(-[:45]E)--)(-[:30,,,,draw=none]+)} \schemestop \end{document} EDIT Here is 3 ...


3

An easy way is to split up the schemes. Since the two rings are the same size and drawn from the same starting atom, the centers will be aligned. I've also made use of the \+ command: \documentclass{article} \usepackage{chemfig} \begin{document} \schemestart[0, 1.5, thick] \chemfig{**6(------)} \arrow{0}[,0]% used for alignment \+{5mm,5mm} ...


6

Here's an idea: \documentclass{article} \usepackage{chemfig} \begin{document} \chemfig{**[60,-240]6(-(-[:90,,,,draw=none]+)---(-[:60]R)(-[:120]H)--)} \end{document} Have a look at section Rings > Angular Position for the arc inside the ring and section Customization of bonds (for draw=none) of chemfig's manual.


2

You need to adjust the first parameter in your call to \makebraces to shift them upward. The total brace height is the sum of the two optional parameters (45 pt in your MWE). Keeping that same overall height: \documentclass[a4paper]{scrbook} \nonstopmode \usepackage[utf8]{inputenc} \usepackage{chemfig} % Chemfig brackets ...



Top 50 recent answers are included