Missing Atto Math Equation buttons

XMLWordPrintable

Details

• Improvement
• Status: Closed
• Minor
• Resolution: Fixed
• 2.8.7, 2.9.1
• MOODLE_28_STABLE, MOODLE_29_STABLE
• MOODLE_30_STABLE
• MDL-50936_master
• Hide

Under Site administration > Plugins > Test Editor > Atto HTML Editor > Equation Editor settings

\sum

{a,b}

\sqrt[a]

{b+c}
\int_{a}^{b}{c}
\iint_{a}^{b}{c}
\iiint_{a}^{b}{c}
\oint{a}
(a)
[a]
\lbrace{a}\rbrace
\left| \begin{matrix} a_1 & a_2
a_3 & a_4 \end{matrix} \right|
\frac{a}{b+c}

\vec

{a}
\binom {a}

{b} {a \brack b} {a \brace b}
Show
Under Site administration > Plugins > Test Editor > Atto HTML Editor > Equation Editor settings add the following text to the advanced text area: \sum {a,b} \sqrt [a] {b+c} \int_{a}^{b}{c} \iint_{a}^{b}{c} \iiint_{a}^{b}{c} \oint{a} (a) [a] \lbrace{a}\rbrace \left| \begin{matrix} a_1 & a_2 a_3 & a_4 \end{matrix} \right| \frac{a}{b+c} \vec {a} \binom {a} {b} {a \brack b} {a \brace b}
• Hide

Test square root button

1. Navigate to a page where the text editor displays
3. Click the equation editor button
5. Click the square root button
6. Validate the text \sqrt[a] {b+c} appear in the text area
# Save the equation
# Save the page
# Validate the square root of b+c is a in the equation

Test fraction button
# Navigate to a page where the text editor displays
# Click the equation editor button
# Click the fraction button
# Validate the text \frac{a}{b+c}

appear in the text area

7. Save the equation
8. Save the page
9. Validate the a /b+C is rendered

Test vector button

1. Navigate to a page where the text editor displays
3. Click the equation editor button
5. Click the vector button
6. Validate the text \vec {a} appear in the text area
# Save the equation
# Save the page
# Validate the a is rendered with an arrow above it

Test binomial button
# Navigate to a page where the text editor displays
# Click the equation editor button
# Click the binomial button
# Validate the text \binom {a}

{b}

appears in the text area

7. Save the equation
8. Save the page
9. Validate the a is over b is rendered inside ().

Test bracket button

1. Navigate to a page where the text editor displays
3. Click the equation editor button
5. Click the bracket button
6. Validate the text {a \brack b}

appears in the text area

7. Save the equation
8. Save the page
9. Validate the a is over b is rendered inside [].

Test brace button

1. Navigate to a page where the text editor displays
3. Click the equation editor button
5. Click the brace button
6. Validate the text {a \brace b}

appears in the text area

7. Save the equation
8. Save the page
9. Validate the a is over b is rendered inside {}.

1. In a site with the older version of the equation plugin (2015051100) test the upgrade process when the setting has not been changed from the default
1. Ensure that the atto_equation librarygroup4 setting is set to the old default (prior to this ticket)
2. Upgrade to the new version
3. Check to see that the new value for atto_equation librarygroup4 setting is the new default (in this ticket)
2. In a site with the older version of the equation plugin (2015051100) test the upgrade process when the setting has been changed from the default
1. Ensure that the atto_equation librarygroup4 setting is set to something other than the old default (prior to this ticket)
2. Upgrade to the new version
3. Check to see that the value for atto_equation librarygroup4 setting is the same as before the upgrade
Show

Description

Atto is missing the following math equation buttons in the equation editor:

1. Square root - there is no way to add the \sqrt function that creates a square root using a button
2. Fractions - There is no way to create a vertical line for division using the \frac function
3. Vector - This is a special column matrix

Attachments

1. mdl-50936.patch
0.8 kB
Jason Hardin

People

Sam Chaffee
Jason Hardin
Jun Pataleta
David MonllaÃ³
Ryan Wyllie
Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)