Skip to content

Math formula

Formulas can be inserted in OpenOlat in various places. Either the HTML editor or the Content editor is used.

Insert a formula via HTML editor

  1. Insert the formula via Insert > Insert math formula in the menu of the HTML editor or, if activated, directly via the formula button.

    Menu Insert with the highlighted entry Insert math formula and the formula button in the toolbar, HTML editor of a test question

  2. Enter the formula in the graphical editor or in the LaTeX field. Further information on how to use the graphical editor can be found here: CortexJS keybindings.

    Input in the graphical editor or in the LaTeX field with preview, below the formula keyboard with numbers, operators and functions, dialog Formula

  3. Close the HTML editor with "Save". The formula is now embedded.

    Rendered formula in the text, next to it the formula button in the toolbar, HTML editor

Math formulas can be inserted in the following course elements and learning resources via HTML editor:

  • Course element "HTML-Page"
  • Course element "Task" and "Group task" (HTML)
  • Course element "Forum"
  • Learning resource "CP learning content"
  • Learning resource "Blog"
  • Learning resource "Test"

Important

Word count for tasks: The math formula counts as one word, regardless of length and complexity.

Insert a formula via Content editor in Portfolio 2.0

  1. Open or create a portfolio entry and open the Content editor. Click "Add content".

    Selection of the content types Title, Paragraph, Table, Math formula, Image and Text section as well as the sections Embed and Layout, menu Add content in the Content editor

  2. Select "Math formula".

  3. The graphical formula editor opens. Create your formula.

    Formula block with an entered formula and the opened formula keyboard, Content editor of a portfolio entry

Further information

CortexJS keybindings >
Content Editor >
Course Element "HTML page" >
Personal tools: Portfolio >

To the top of the page ^