Block Equation Widget

What’s the science without mathematics? To explain calculations, you need to mention the mathematical expressions and equations in your content. You can use the ‘Block Equation’ widget for this purpose.

We'll cover the following

The editor supports the ‘LatTeX’ format.

How to write expressions

Use the $<expression>$ format to add inline LaTeX expressions. For example: 2+2=42+2=4.

To create a separate block for your LaTeX equations, add the Block Equation widget. It is useful for larger, multi-line, and complex expressions. Another shortcut to create the widget is to type $$ $$ and then hit enter.

This is what it looks like:

Example

Let's try simple matrix addition.

\begin{bmatrix}
1 & 2 & 3\\
4 & 5 & 6
\end{bmatrix} + \begin{bmatrix}
1 & 2 & 3\\
4 & 5 & 6
\end{bmatrix} = \begin{bmatrix}
2 & 4 & 6\\
8 & 10 & 12
\end{bmatrix}

The above equation is rendered as below.

You can always refer to LaTeX cheat sheet for syntax.