## Mathematics tools

### Atto Editor for Matrices and Arrays

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Atto Editor for Matrices and Arrays

Hi folks

I have been tinkering with the Atto Equation editor (MathJax and TeX) in part to fix the 2x2 Matrix button (MDL-45067). As a result, I came to the conclusion that matrices were perhaps too specialist and complex for the general Equation editor and developed a separate Matrix editor that can be added to the Atto editor toolbar.

The Matrix editor supports a range of symbols, flexible and fixed-size brackets, braces and delimiters and includes templates for 1xn, 2,n, 3xn and mxn matrices and arrays. Also, includes small (inline) matrices.

So, you can add similar to the following to your Moodle content with a few clicks:

$$\left( \begin{matrix} \begin{matrix} a_{1,1} \\ a_{2,1} \end{matrix} \end{matrix} \right) \left[ \begin{matrix} a_{1,1} & a_{1,2} \\ a_{2,1} & a_{2,2} \end{matrix} \right] \left\{ \begin{matrix} a_{1,1} & a_{1,2} & a_{1,3} \\ a_{2,1} & a_{2,2} & a_{2,3} \end{matrix} \right\} \left| \begin{smallmatrix} a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\ a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m,1} & a_{m,2} & \cdots & a_{m,n} \end{smallmatrix} \right| \begin{array}{c|lcr} n & \text{Left} & \text{Center} & \text{Right} \\ \hline 1 & 0.24 & 1 & 125 \\ 2 & -20 & 2000 & 1+10i \end{array}$$

and will hopefully become available from the Moodle plugins Repository.

Atto toolbar icon for matrix editor:

Screenshot:

Average of ratings: Useful (1)
Re: Atto Editor for Matrices and Arrays

A further minor usability and accessibility update, adding title and aria-label attributes to the editor tabs (see parent post for download)

Average of ratings: -
Re: Atto Editor for Matrices and Arrays

Now available in the Moodle Plugins directory

Average of ratings: -
Re: Atto Editor for Matrices and Arrays

Now tested on Moodle 3.0. In my hands, works with MathJax and/or TeX filters.

Average of ratings: -