New answers tagged

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){} ;% ...


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 ...


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 ...


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) ...


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 ...


0

To print angstrom symbol use \AA in math mode instead of A So it will be something like (-[@{e1}:20]X-[:-50,,,,draw=none]@{e2}1,781$\AA$) instead of (-[@{e1}:20]X-[:-50,,,,draw=none]@{e2}1,781A) Gotta admit that this throw some error, but it is rendered properly in my place. So I think you can just ignore it.


0

You can use then standalone document class with preview option, the compile and drag the pdf to word. This is a mwe for you. \documentclass[preview,border={1pt 1pt 1pt 1pt}]{standalone} \usepackage{chemfig} \begin{document} \chemfig{-[:-35]=^[:35,1.05]-[:-35]} \end{document}


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 ...



Top 50 recent answers are included