# Tag Info

## Hot answers tagged chemfig

5

The package siunitx works very well, so I would use it: \SI{1.819}{\angstrom}. To change what you call the arrow style you can just make the line to start from one of the several anchors that TikZ automatically defines when you draw a node. To access them use the syntax <node_name>.anchor where anchor can be south, east, west, north and center (in ...

3

You have several errors in your code: the \chemfig formulae are both missing a closing ) to end the ring. \beta and \delta must be placed in math mode. \text is undefined; you need to load amsmath or amstext. \documentclass{article} \usepackage{chemfig,amsmath} \begin{document} \schemestart \chemname ...

2

The answer is no. I made a command that does it for me: \newcommand{\newmanalkene}[6][0]{ \def \alkeneangle {-#1} \pgfmathsetmacro{\Cdist}{.3*cos(#1*3)^2} % rear atom position \def \bondlengthfront {1.25} % front atom's bond length \def \bondlengthback {.95} % back atom's bond length ...

2

I managed to resolve this issue myself, and thought I'd share my solution. Thanks to @clemens for the package suggestions. An MWE is below, along with an image of the produced output. The result shows some alignment issues which I have chosen not to correct for this example as they're separate to the main issue here, and the solution I used just obfuscates ...

1

You can define a new arrow type as explained in section 11 of part IV of the chemfig manual: \documentclass{article} \usepackage{chemfig} \makeatletter \definearrow{3}{-|>}{% \CF@arrow@shift@nodes{#3}% \expandafter\draw\expandafter[\CF@arrow@current@style,-CF] (\CF@arrow@start@node) -| (\CF@arrow@end@node) node[midway] (arrow@middle){} ;% ...

1

Ok, I've found an answer here Here is a quick solution \documentclass{article} \usepackage{chemmacros} \begin{document} \newman{H,H,,H,,H}\hspace*{-4pt}\newman{H,,H,H,H} \bigskip \newman{H,H,C\rlap{\ch{H2}},H,C\rlap{\ch{H2}},H}\hspace*{10pt}\newman{H,,H,H,H} \end{document} Here is a looooong solution with tikz (i'm going to study it) ...

Only top voted, non community-wiki answers of a minimum length are eligible