Chemistry editor

Atto ::: atto_chemistry
Maintained by Geoffrey Rowland
Edit chemistry equations in Moodle 2.7, or later, using the mhchem extension to the MathJax or TeX filter. Useful for full and ionic equations, isotopes, equilibrium reactions, thermochemistry and reaction kinetics. Includes a periodic table of element symbols.
Latest release:
761 sites
195 downloads
36 fans
Current versions available: 1

Edit chemistry equations in Moodle 2.7, or later, using the mhchem extension to the MathJax or TeX filter. Useful for full and ionic equations, isotopes, equilibrium reactions, thermochemistry and reaction kinetics. Includes a periodic table of element symbols.

Requirements:

1. The MathJax filter to be enabled (recommended) or the TeX filter enabled (or, in Moodle 2.8, both)

Administration > Site administration > Plugins > Filters > Manage filters

Don't forget to also enable the appropriate filter in the relevant course:

Administration > Course administration > Filters

2. The mhchem  extension to be added to the MathJax configuration:


Edit Administration > Site administration > Plugins > Filters > MathJax > MathJax configuration to include:

TeX: { extensions: ["AMSmath.js","AMSsymbols.js","mhchem.js","noErrors.js","noUndefined.js"] },

 or to the TeX filter configuration:

Edit Administration > Site administration > Plugins > Filters > Tex notation > LaTeX renderer Settings to include:

\usepackage{mhchem}

At this stage you may wish to check the filters are working by, say, typing \(\ce{ H2SO4 }\) into Atto. This should be displayed as H2SO4 when saved.

 3. The chemistry editor button (flask icon) to be added to the Atto editor toolbar:

Edit Administration > Site administration > Plugins > Text editors > Atto HTML editor > Atto toolbar settings > Toolbar config, to give, for example:

insert = chemistry, equation, charmap, table, clear

Immediately after installation and configuration you may need to clear your Moodle server caches:

Administration > Site administration > Development > Purge all caches

and local browser cache for correct display.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Geoffrey Rowland (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Показати коментарі
  • Me!
    вт 22 вер. 2015 09:58 AM
    This is another excellent plugin from Geoffrey!

    Thank you very much for creating and sharing this plugin.
  • Geoffrey Rowland
    пн 28 вер. 2015 19:31 PM
    Glad you appreciate it, Damyon. Then again, the code is mainly from your Atto Equation Editor plugin підморгую

    In similar vein, I have just released an Atto plugin for TeX/MathJax Matrices and Arrays, which I hope will prove useful.
    https://moodle.org/mod/forum/discuss.php?d=320681

    BTW you should fix MDL-45067, the 2x2 matrix button in the Atto Equation Editor.
    Just needs \\\\ rather than \\ in the relevant line of settings.php. Presumaby an escaping issue (rendered in TeX as \\)
  • David Conrad
    сб 8 жовт. 2016 02:17 AM
    I followed the instructions above and added this plugin v2.9-2 to a moodle 3.0.3 install. For step 2 I used the TeX filter configuration instead of the MathJax configuration. I verified that the filters are On in the course. When the Chemistry editor appears, all the cells are red and each symbol is preceeded by "\ce" in red (such as \ce$⇓$ ). Has anyone else had this problem? I will add a discussion post as well.
  • Geoffrey Rowland
    сб 8 жовт. 2016 04:02 AM
    Hi David

    Do you have LaTex and other dependencies including the mhchem extension installed on your Moodle server?
    Precise details vary depending on your server setup though there is more information at:

    https://docs.moodle.org/31/en/Chemistry_notation_using_mhchem#via_LaTeX

    Get back to me if you still have issues
  • Ricardo Caiado
    ср 7 груд. 2016 20:42 PM
    Any upgrade to Moodle 3.2?
  • Roel Cantada
    вт 20 груд. 2016 20:06 PM
    The tex \{\ce{ H2SO4 }\} in the description appears to be incorrect. My installation would only parse \(\ce{ H2SO4 }\) wherein the second and last brackets are replaced by parentheses.
  • Geoffrey Rowland
    ср 21 груд. 2016 00:44 AM
    Thanks Roel. I have now updated the description to use the correct parentheses.
  • Andreas Schenkel
    сб 24 черв. 2017 18:35 PM
    Is there a version for moodle 3.3?
  • Ricardo Caiado
    вт 15 серп. 2017 22:33 PM
    Hi,

    Teachers on my Institution are asking for a 3.3 version...

    Ricardo
  • Geoffrey Rowland
    ср 16 серп. 2017 01:07 AM
    Ricardo
    I no longer have full-time involvement in education and Moodle administration/development. So, have not followed the most recent Moodle versions.

    However, I'll take a look at this over the next few weeks and see if I can update for Moodle 3.3. I'm also aware that MathJax mhchem has been updated (https://mhchem.github.io/MathJax-mhchem/). So, I'll explore the implications of this too.

    Cheers

    Geoff
  • Ricardo Caiado
    ср 16 серп. 2017 01:10 AM
    Geoff,

    Thanks so much for the help!!!

    Ricardo
  • Alexandre Bento Martins
    чт 8 лют. 2018 02:20 AM
    Any upgrade to MOODLE 3.4 ?
  • Miro Iliaš
    вт 29 груд. 2020 00:38 AM
    Hello, any upgrade to Moodle 3.10 ?
  • Zabelle Motte
    ср 22 бер. 2023 23:36 PM
    I have been testing this plugin on Moodle 4.1 and it stil works on Moodle 4 but note that configuration supposes to implement the 3 indicated steps.
  • Marco Pagliotta
    ср 29 бер. 2023 18:33 PM
    Why in Moodle 3.9.1 on Google Chrome i do not see properly what see in the screenshot? In the buttons i see the code instead of the symbols
1 2
Please login to post comments