LaTeX forum ⇒ Math & Sciencechemfig: how to rappresent rocking and scissoring vibration

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Molibdeno
Posts: 7
Joined: Fri Apr 07, 2017 12:15 pm

chemfig: how to rappresent rocking and scissoring vibration

Postby Molibdeno » Sun Apr 01, 2018 9:25 pm

Infrared spectroscopy is based on the principle that radiation with a wavelength between 25000 nm and 40000 nm is absorbed by the molecule altering its vibrational movements. There are various ways to alter the molecule vibrations : for example, for water we can have a bond lenght change

Image

  1. \documentclass{article}
  2. \usepackage[T1]{fontenc}
  3. \usepackage{textcomp}
  4. \usepackage[italian]{babel}
  5. \usepackage[
  6. a4paper,
  7. margin=15mm,
  8. bindingoffset=2mm,
  9. heightrounded,
  10. ]{geometry}
  11.  
  12. \usepackage{amsmath}
  13. \usepackage{chemfig}
  14. \usepackage[version=3]{mhchem}
  15. % motivated by section 15.6 of the pgfmanual, @percusses comment <!-- m --><a class="postlink" href="https://tex.stackexchange.com/questions/423941/making-the-determination-of-extrema-more-elegant-in-tikz-not-pgfplots#comment1060557_423941">https://tex.stackexchange.com/questions ... 557_423941</a><!-- m -->
  16. % as well as Henri Menkes's answer <!-- m --><a class="postlink" href="https://tex.stackexchange.com/a/423952/121799">https://tex.stackexchange.com/a/423952/121799</a><!-- m -->
  17. \tikzset{mark path bounding box/.style = {
  18. path picture={
  19. \coordinate (#1-bl) at (path picture bounding box.south west);
  20. \coordinate (#1-tr) at (path picture bounding box.north east);
  21. \coordinate (#1-br) at (path picture bounding box.south east);
  22. \coordinate (#1-tl) at (path picture bounding box.north west);
  23. }
  24. }
  25. }
  26.  
  27. \begin{document}
  28.  
  29. \schemestart
  30. \chemname{\chemfig{@{H1}H-[:30]@{O1}O-[:-30]@{H2}H}}{Stretching simmetrico}
  31. \schemestop
  32. \chemmove{\path[mark path bounding box=HO](H1)--(O1);
  33. \draw[blue,-latex]([yshift=2mm,xshift=-1mm]HO-bl)--([yshift=2mm,xshift=-1mm]HO-tr);
  34. \path[mark path bounding box=OH](H2)--(O1);
  35. \draw[blue,-latex]([yshift=2mm,xshift=1mm]OH-br)--([yshift=2mm,xshift=1mm]OH-tl);
  36. }
  37. \hspace{64pt}
  38. \schemestart
  39. \chemname{\chemfig{@{H1}H-[:30]@{O1}O-[:-30]@{H2}H}}{Stretching asimmetrico}
  40. \schemestop
  41. \chemmove{\path[mark path bounding box=HO](H1)--(O1);
  42. \draw[blue,-latex]([yshift=2mm,xshift=-1mm]HO-bl)--([yshift=2mm,xshift=-1mm]HO-tr);
  43. \path[mark path bounding box=HO](O1)--(H2);
  44. \draw[blue,-latex]([yshift=2mm,xshift=1mm]HO-tl)--([yshift=2mm,xshift=1mm]HO-br);
  45. }
  46. \end{document}


Instead rocking and scissoring cause a variation of the bond angle

Image

I add the blue arrow with Inkscape. Is it possible do the same thing with LaTeX? If so, could you tell me how?

Thank you in advance

Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 6 guests