LaTeX forum ⇒ Math & Sciencechemmacros | Command for Redox Reaction behaves strange Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
hoytesara
Posts: 13
Joined: Sat Feb 18, 2012 10:46 am

chemmacros | Command for Redox Reaction behaves strange

Postby hoytesara » Thu Sep 06, 2012 6:10 am

I've been using the \redox command from the chemmacros package perfectly happily, if slightly unusually, for a while now. However, I've just noticed that it has started to add "mm" to the end of formulae. As far as I can tell, the only changes I've made are routine updates.

  1. \documentclass{article}
  2. \usepackage{chemmacros}
  3. \usepackage[version=3]{mhchem}
  4. \usetikzlibrary{calc}
  5.  
  6. \begin{document}
  7. \ce{[\OX{a,Pt}(CH2CH=CH\OX{b,C}(CH2)2)(dcyppe)]}\redox(a,b)[][.4em]{}
  8. \end{document}

Tags:

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Postby josephwright » Thu Sep 06, 2012 10:03 am

Works for me with an up to date TeX system. Could you add \listfiles to your input and post the resulting file list here?
Joseph Wright

hoytesara
Posts: 13
Joined: Sat Feb 18, 2012 10:46 am

Postby hoytesara » Thu Sep 13, 2012 7:04 am

This is what I got:

  1. * File List*
  2. article.cls 2007/10/19 v1.4h Standard LaTeX document class
  3. size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  4. chemmacros.sty 2012/05/18 v3.3b macros and commands for chemists
  5. expl3.sty 2012/04/23 v3570 L3 Experimental code bundle wrapper
  6. l3names.sty 2012/03/04 v3494 L3 Experimental namespace for primitives
  7. l3bootstrap.sty 2011/12/29 v3110 L3 Experimental bootstrap code
  8. etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
  9. color.sty 1999/02/16
  10. color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
  11. dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  12. dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  13. graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  14. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  15. graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
  16. l3basics.sty 2012/03/04 v3491 L3 Experimental basic definitions
  17. l3expan.sty 2012/02/26 v3460 L3 Experimental argument expansion
  18. l3tl.sty 2012/03/04 v3490 L3 Experimental token lists
  19. l3seq.sty 2012/03/04 v3490 L3 Experimental sequences and stacks
  20. l3int.sty 2012/03/04 v3490 L3 Experimental integers
  21. l3quark.sty 2012/02/12 v3384 L3 Experimental quarks
  22. l3prg.sty 2012/03/04 v3490 L3 Experimental control structures
  23. l3clist.sty 2012/03/04 v3490 L3 Experimental comma separated lists
  24. l3token.sty 2012/03/04 v3491 L3 Experimental token manipulation
  25. l3prop.sty 2012/03/04 v3490 L3 Experimental property lists
  26. l3msg.sty 2012/04/23 v3568 L3 Experimental messages
  27. l3file.sty 2012/03/09 v3520 L3 Experimental file and I/O operations
  28. l3skip.sty 2012/03/05 v3499 L3 Experimental dimensions and skips
  29. l3keys.sty 2012/03/03 v3487 L3 Experimental key-value interfaces
  30. l3fp.sty 2012/03/04 v3490 L3 Experimental floating-point operations
  31. l3box.sty 2012/03/04 v3490 L3 Experimental boxes
  32. l3coffins.sty 2012/03/03 v3482 L3 Experimental coffin code layer
  33. l3color.sty 2011/09/07 v2776 L3 Experimental colour support
  34. l3luatex.sty 2012/02/09 v3355 L3 Experimental LuaTeX-specific functions
  35. xparse.sty 2012/04/23 v3570 L3 Experimental document command parser
  36. l3keys2e.sty 2012/04/23 v3570 LaTeX2e option processing using LaTeX3 keys
  37. xfrac.sty 2012/02/26 v3465 L3 Experimental split-level fractions
  38. amstext.sty 2000/06/29 v2.01
  39. amsgen.sty 1999/11/30 v2.0
  40. graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  41. keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
  42. textcomp.sty 2005/09/27 v1.99g Standard LaTeX package
  43. ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
  44. xtemplate.sty 2012/04/23 v3570 L3 Experimental prototype document functions
  45. siunitx.sty 2012/05/03 v2.5c A comprehensive (SI) units package
  46. array.sty 2008/09/09 v2.4c Tabular extension package (FMi)
  47. translator.sty 2010/06/12 ver 1.10 translator-language-mappings.tex
  48. tikz.sty 2010/10/13 v2.10 (rcs-revision 1.76)
  49. pgf.sty 2008/01/15 v2.10 (rcs-revision 1.12)
  50. pgfrcs.sty 2010/10/25 v2.10 (rcs-revision 1.24)
  51. everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
  52. pgfrcs.code.tex
  53. pgfcore.sty 2010/04/11 v2.10 (rcs-revision 1.7)
  54. pgfsys.sty 2010/06/30 v2.10 (rcs-revision 1.37)
  55. pgfsys.code.tex
  56. pgfsyssoftpath.code.tex 2008/07/18 (rcs-revision 1.7)
  57. pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4)
  58. xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
  59. color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
  60. pgfcore.code.tex
  61. pgfcomp-version-0-65.sty 2007/07/03 v2.10 (rcs-revision 1.7)
  62. pgfcomp-version-1-18.sty 2007/07/23 v2.10 (rcs-revision 1.1)
  63. pgffor.sty 2010/03/23 v2.10 (rcs-revision 1.18)
  64. pgfkeys.sty
  65. pgfkeys.code.tex
  66. pgffor.code.tex
  67. tikz.code.tex
  68. mathtools.sty 2012/04/24 v1.12 mathematical typesetting tools
  69. calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  70. mhsetup.sty 2010/01/21 v1.2a programming setup (MH)
  71. amsmath.sty 2000/07/18 v2.13 AMS math features
  72. amsbsy.sty 1999/11/29 v1.2d
  73. amsopn.sty 1999/12/14 v2.01 operator names
  74. environ.sty 2008/06/18 v0.2 A new way to define environments
  75. scrlfile.sty 2011/03/09 v3.09 KOMA-Script package (loading files)
  76. etoolbox.sty 2011/01/03 v2.1 e-TeX tools for LaTeX
  77. bm.sty 2004/02/26 v1.1c Bold Symbol Support (DPC/FMi)
  78. chemformula.sty 2012/05/18 v3.3b typeset chemical compounds and reactions
  79. nicefrac.sty 1998/08/04 v0.9b Nice fractions
  80. ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
  81. mhchem.sty 2011/06/03 v3.11 for typesetting chemical formulae
  82. twoopt.sty 2008/08/11 v1.5 Definitions with two optional arguments (HO)
  83. ghsystem.sty 2012/05/18 v3.3b globally harmonised system
  84. tabu.sty 2011/02/26 v2.8 - flexible LaTeX tabulars (FC)
  85. varwidth.sty 2009/03/30 ver 0.92; Variable-width minipages
  86. longtable.sty 2004/02/01 v4.11 Multi-page Table package (DPC)
  87. ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
  88. ghsystem_english.def
  89. xspace.sty 2009/10/20 v1.13 Space after command names (DPC,MH)
  90. ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
  91. translator-basic-dictionary-English.dict
  92. siunitx-abbreviations.cfg 2012/05/03 v2.5c siunitx: Abbreviated units
  93. siunitx-binary.cfg 2012/05/03 v2.5c siunitx: Binary units
  94. ***********

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Sep 14, 2012 12:50 pm

Your system is not up to date. For example the newest chemmacros is

  1. chemmacros.sty 2012/09/11 v3.4 macros and commands for chemists


whereas you have

  1. chemmacros.sty 2012/05/18 v3.3b macros and commands for chemists


Similarly all your l3 packages are not up to date. You have

  1. expl3.sty 2012/04/23 v3570 L3 Experimental code bundle wrapper


but the newest one is

  1. expl3.sty 2012/09/05 v4205 L3 Experimental code bundle wrapper


You should make an update and try again.

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

hoytesara
Posts: 13
Joined: Sat Feb 18, 2012 10:46 am

Postby hoytesara » Sat Sep 15, 2012 12:31 am

Done, and it fixed it. Thanks!


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 1 guest