Tag Info

New answers tagged

0

I contacted Mr. Tellechea (maintainer of chemfig package) and he replied to my question. I put here his code: ‎\documentclass[11pt]{article}‎ ‎\usepackage{chemfig}‎ ‎\makeatletter‎ ‎\catcode`\~12‎ ‎\def\CF@chemfig@v{%‎ ‎ \let\CF@next@action\CF@chemfig@v% \`a priori‎, ‎on reboucle‎ ‎ \ifx\CF@remain@molecule\@empty‎ ‎ \let\CF@next@action\endgroup‎ ...


6

I was able to draw using \chemmove, remember picture and @{} syntax for naming atoms and links. \documentclass[varwidth,border=50]{standalone} \usepackage{tikz} \usepackage{chemfig} \begin{document} \begin{tikzpicture}[remember picture, node distance=0] \node (foo){}; \node (a) [draw,minimum height=0.5cm,minimum width = 0.7cm, above of = foo, node ...


0

As I understand the question, the problem is in the "label" of the arrow and how to do the "circle" with arrows. One way to do this is to play with the properties of chemmove and the arrows. For example: \schemestart \chemfig{First molecule} \arrow{->[ \chemname[24pt]{\chemfig{N@{st1}ADH}}{\scriptsize \parbox[c]{40pt}{\centering ammonium formate}} ...


1

As for your second question, you have it basically ok. Just modify these lines as following (treat them as submolecules): \path node(A){\chemfig{ !{\sera{1}}-[,0.3,,,draw=none] !{\serb{2}}-[,0.3,,,draw=none] !{\sera{3}}-[,0.3,,,draw=none] }}; Compiling it with pdflatex should do the work.


1

As for the alignment question, here is a "tricky" solution: \definesubmol\nobond{-[,0.2,,,draw=none]} \begin{equation} \mbox{Preceding text:} \schemestart[][185] \chemfig[][scale=0.4]{[:-30]*6(=-(!\nobond\vphantom{\bullet})=(-*6(-=-=-=))-(!\nobond\bullet)=-)} \arrow{0}[,0]\+ \chemfig{C_2H_2} \arrow ...


4

I cobbled this together using the example in the chemfig package (section 12.7). Edit: I also added a plain label (without arrows) next to the bond. I think this looks better because the line with arrows is not quite parallel to the line indicating the bond. \documentclass[a4paper, 12pt, twocolumn]{article} \usepackage[utf8]{inputenc} ...


2

Edit: A new answer, after changes in the question. This is an exemplary solution. The idea is clear: let all atoms have the same length. In place of width of Mn there may be some fixed length, in our small example length of Cl would be enough. Changing \setatomsep to a suitable value is left to you. \documentclass{article} \usepackage{chemfig} ...



Top 50 recent answers are included