Working With Mathematical Content in LEARN

Working With Mathematical Content in LEARN

Mathematical content can be added to many fields within LEARN; however, a few specific fields are unable to render math content. This resource aims to highlight some common situations for users who create and edit mathematical content within LEARN.

Inserting Math into LEARN Content Areas

Equation Editors

Mathematical content can be added using the Graphical Equation, LaTeX Equation, or MathML Equation editors to content areas (i.e., anywhere the editing toolbar is available). Most users will prefer the Graphical Equation editor, whereas those familiar with LaTeX may prefer the LaTeX Equation editor. The MathML editor is less human-friendly and suitable for those with experience with MathML.

math1.png

Direct Entry

Additionally, LaTeX statements can be added directly to the majority of LEARN content areas without the use of an equation editor. These statements will be rendered when the content is saved.

  • Inline math can be added by typing the LaTeX statement within \(…\) delimiters.

  • Display style math (standalone, centred) can be added by typing the LaTeX statement within \[…\] or $$...$$ delimiters.

For example, a LaTeX statement and its rendered version once the element is saved.

math3.png
math2.png

Hint: Mathematical statements added using the LaTeX Equation button are by default display style. These statements can be made inline by adding \(…\) delimiters around the statement within the editor. E.g.,

math4.png

Accessibility Recommendation

It’s strongly recommended that authors within LEARN use one of equation editors or direct LaTeX entry as the statements are rendered using MathJax, a JavaScript library that includes many accessibility features including support for those using screen readers or other assistive technologies.

Summary of Where Math Content Can Be Used

The following items have potential considerations when using mathematical content.

LEARN Item

Can use math content

Cannot use math content

Announcements

Body of announcement

Headline (title)

Content Pages

Body of content page

Title of content page

Discussion Board

Body of discussion post

Subject line or topic title of the post/thread

Quizzes

  • Quiz descriptions

  • Question text

  • Answers

  • Feedback

  • Hints

These areas use a condensed editing toolbar but still have access to the three equation editors and can have LaTeX statements directly typed and rendered.

Quiz titles

FAQ

Q: How do I edit/change an equation added using the graphical or LaTeX editors?

A: Select the math object, a light blue border will let you know you’ve selected the right element. Then return to the editing toolbar and select Equation. The editor type used to create the object originally will be indicated. Select the checked editor to open the editor window and make your edits.

Q: In an inline equation, how do I ensure certain symbols keep the same height as their display style counterparts, e.g., sums and integrals?

A: In an inline LaTeX statement, include \displaystyle within the \(…\) delimiters. E.g., \(\displaystyle \sum_{i=1}^n \frac{3x+2}{x+1}\) rendered with and without \displaystyle.

math5.png

Additional Information

 

Need help?

Contact LEARNhelp at learnhelp@uwaterloo.ca or 519-888-4567 ext. 41744 for assistance.

Article feedback

If you’d like to share any feedback about this article, contact LEARNhelp at learnhelp@uwaterloo.ca.