unbonpetit

Risposte nei forum create

Stai visualizzando 2 risposte – dal 1 al 2 (di 2 totali)
  • Autore
    Risposte
  • in risposta a: Legame dativo con Xymtex #55471
    Up
    0
    Down
    ::

    Thanks a lot!
    But i really didn’t saw anything like that into the pdf manual, i guess i have to read it better 🙂

    Sure! 😛

    It has to see with the “@” char which put a global tikz node (i.e. the node exists after the molecule has been drawn). With the “\chemmove” macro, you can do what you want with these “global nodes”: draw an arrow, a curved bond, or anything possible with tikz.

    in risposta a: Legame dativo con Xymtex #55469
    Up
    0
    Down
    ::


    I suggest you to read the manual another time and use the “@” char 😛 which allow to di almost everything.
    Compile this code twice :
    `\documentclass{article}
    \usepackage{chemfig}
    \begin{document}
    \chemfig{@a\lewis{2:,N}(-[:-20]H)(-[:-75,0.8]H)(-[:-160]H)-[@{b,1}2,,,,draw=none]H\rlap{${}^+$}}
    \chemmove{\draw[-stealth,shorten <=5pt](a)--(b);} \end{document}`

Stai visualizzando 2 risposte – dal 1 al 2 (di 2 totali)

Go to top