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.
Picture of Geoffrey Rowland
Atto Editor for Matrices and Arrays
Group Plugin developers

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} \)

Currently, can be downloaded from GitHub:

https://github.com/geoffrowland/moodle-editor_atto-matrix

and will hopefully become available from the Moodle plugins Repository.

Atto toolbar icon for matrix editor:Matrix editor Atto toolbar icon

Screenshot:

Matrix editor screenshot


 
Average of ratings: Useful (1)
Picture of Geoffrey Rowland
Re: Atto Editor for Matrices and Arrays
Group Plugin developers

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

Matrix editor screenshot


 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Atto Editor for Matrices and Arrays
 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Atto Editor for Matrices and Arrays
Group Plugin developers

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

 
Average of ratings: -