SHARE
TWEET

Untitled

a guest Jun 25th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass{article}
  2. usepackage{chemfig}
  3. usetikzlibrary{positioning,calc}
  4.  
  5. begin{document}
  6.  
  7. definesubmolMe[H_3C]{CH_3}
  8.  
  9. begin{tikzpicture}[node distance=0cm and 2cm]
  10. node (A)
  11.   {chemfig{R-C-[::-60]O-[::-60]C-[::-60]R}};
  12. node[above right=of A] (B)
  13.   {chemfig{*6((-!Me)=(-!Me)-(-!Me)=(-!Me)-(-!Me)=(-!Me)-)}
  14. };
  15. node[below right=of A] (C)    
  16.   {chemfig{CH_3CH_2-[:-60,,3]C(-[:-120]H_3C)=C(-[:-60]H)-[:60]C{(}CH_3{)}_3}};
  17. draw[-stealth] (A) -- ( $ (A.0)!0.5!(B.west|-A.0) $ ) |- (B.west) node[auto,pos=0.7] {i,j};
  18. draw[-stealth] (A) -- ( $ (A.0)!0.5!(C.west|-A.0) $ ) |- (C.west) node[auto,pos=0.7] {j};
  19. end{tikzpicture}
  20.  
  21. end{document}
  22.      
  23. documentclass{article}
  24. usepackage{chemfig}
  25. usepackage{etoolbox}
  26.  
  27. makeatletter
  28. newififfork
  29.  
  30. patchcmdCF@merge@ii{-CF@full}{ifforkelse -CF@fullfi}{}{}%
  31. % CF@merge@iii needs to be patched twice:
  32. patchcmdCF@merge@iii{>=0]}{>=0,iffork CF@full-fi]}{}{}%
  33. patchcmdCF@merge@iii{>=0]}{>=0,iffork CF@full-fi]}{}{}%
  34. patchcmdCF@schemestart@i
  35.   {letmergeCF@merge}
  36.   {%
  37.     defmerge{forkfalseCF@merge}%
  38.     deffork{forktrueCF@merge}%
  39.   }
  40.   {}{}
  41. patchcmdCF@schemestart@v{merge}{mergefork}{}{}
  42.  
  43. makeatother
  44.  
  45. begin{document}
  46.  
  47. schemestart
  48.  a arrow{0} b arrow{0} c
  49.  merge{v}(c1)(c2)(c3)--() d
  50. schemestop
  51.  
  52. bigskip
  53.  
  54. schemestart
  55.  a arrow{0} b arrow{0} c
  56.  fork{v}(c1)(c2)(c3)--() d
  57. schemestop
  58.  
  59. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top