Matrix editor

Atto ::: atto_matrix
Maintained by Geoffrey Rowland
Moodle Atto Editor plugin for TeX/MathJax Matrices and Arrays.
Latest release:
164 sites
87 downloads
7 fans
Current versions available: 1

Moodle Atto Editor plugin for TeX/MathJax Matrices and Arrays.

Edit matrices and arrays in Moodle 2.7, or later, using the MathJax or TeX filter. Includes templates for 1xn 2xn, 3xn and mxn matrices and a range of brackets and braces.

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 matrix editor button (matrix 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 = equation, matrix, 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

Contributors

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

Comments RSS

Show comments
  • David Mudrák
    Sat, 3 Oct 2015, 10:31 PM

    Hi. Thanks for sharing this plugin with the community. The plugins team is currently busy with other development tasks for the upcoming Moodle 3.0 release, so please expect delays in the review and approval process. Thanks for your understanding and patience, we will do our best to get to reviewing your plugin soon.

  • Geoffrey Rowland
    Mon, 5 Oct 2015, 5:12 PM
    Unsure how to deal with the line-length warnings and errors for settings.php. Effectively, settings.php is acting like a lang file.
    Will attend to the others.
  • Geoffrey Rowland
    Mon, 5 Oct 2015, 5:26 PM
    On inspection, am also unsure of how to deal with other warnings and errors. Code structure is similar/identical to (derived from) existing atto_equation and similar Atto plugins,
  • David Mudrák
    Thu, 15 Oct 2015, 5:35 PM

    No worries Geoffrey. I checked the generated warnings and they do not seem valid in many cases. It is indeed ok to format the long strings in your settings.php this way. What seems to be valid is the extra @param line in the docblock for your atto_matrix_strings_for_js() as that function does not actually accept any parameters. Other warnings seem to be raised because of using the reserved keyword in the Based on @package .... You should be able to get rid of them by simply removing the @package from there, if you want.

    What caught my eye is that you are including $OUTPUT->header() in your ajax.php response. I think it should be removed and all you want to return is the filter_text() output. I believe the header() does not produce any content in this case anyway, right?

    This is really nice UI widget and front-end for the filters. Good idea, nice design and well implemented. I am happy to approve it now. You are cleared to land, welcome to the Plugins directory!

  • Ricardo Caiado
    Wed, 7 Dec 2016, 8:43 PM
    Any upgrade to Moodle 3.2?
  • Trevor Jones
    Wed, 26 July 2017, 1:22 AM
    Is this still being maintained? Any word on 3.x updates?
  • Alexandre Bento Martins
    Thu, 8 Feb 2018, 2:23 AM
    Any upgrade to Moodle 3.4 ?
  • Marco Pagliotta
    Wed, 29 Mar 2023, 6:32 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
Please login to post comments