Basic editing Adding image assets

13

Math, tables and code

Math

Editoria uses the Latex and MathJax typesetting libraries to display mathematical functions, formulae, and equations as inline text. This StackExchange note gives a summary of supported functions and the full MathJax documentation is here. There are a number of equation editors online where you can use a visual interface to construct your mathematical function, formulae, or equation, for example the MathJax demo.

Insert inline mathematical function, formula, or equation

  1. Use the above webpages to construct the math using LaTex/MathJax syntax or use an online LaTex/MathJax equation editor.

  2. In the Editor where you want the math to appear, type a single dollar sign.

  3. Enter the math in LaTex/MathJax or copy and paste from an online editor.

  4. Type another single dollar sign.

  5. Hit Enter on your keyboard to go to the next line. Editoria will display your math.

Insert mathematical function, formula, or rquation as a block

  1. Use the above webpages to construct the math using LaTex/MathJax syntax or use an online LaTex/MathJax equation editor.

  2. Go onto a new line in the Editor where you want the math block to appear, type two dollar signs and a space.

  3. Enter the math in LaTex/MathJax notation.

  4. Type another two dollar signs.

  5. Hit Enter on your keyboard to go to the next line. Editoria will display your math centered on the page on its own line(s).

Math example

This is an example of an inline mathematical formula entered into Editoria: $x^2 + y^2 = z^2$

What is displayed: (x^2 + y^2 = z^2)

The following is an example of a block level formula:

$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$

What is displayed:

x = {-b \pm \sqrt{b^2-4ac} \over 2a}

Tables

To insert a table select the table icon from the toolbar, then select the number of columns and rows.

Click in any cell of the table to make “Table Options” in the toolbar active. Options include: add or delete columns and rows; delete table; and toggle header column, rows, or cells (scroll down in the Table Options menu to see all the options).

Code

Code can be inserted inline or as a block. Code in a block is centered and will be on its own line(s). The Math Examples above were created using the inline code option and the block level code option.

To enter code:

  1. Select the inline code or code block icon from the formatting toolbar.

  2. Type or paste your code and then hit Enter on your keyboard.

  3. For code that is already entered you may select the code text and then select the inline code or code block icon from the toolbar.

Basic editing Adding image assets