# Equation Editor

The Equation Editor allows you to create complex mathematical equations, matrices, and expressions directly on the whiteboard.

It supports a wide variety of mathematical symbols, operators, and formatting options, providing you with a versatile tool for all your mathematical needs.

## Creating an equation

To activate the Equation Editor, click the Formula button in the toolbar, or press `G` on your keyboard.

Then, click anywhere on the board to start creating an equation. This will open the formula toolbar, where you can access a wide range of mathematical symbols and formatting options to construct your equation.

## Inserting mathematical symbols and notations

You can insert basic numbers, letters, and commonly used symbols directly using your keyboard. For mathematical symbols and operators that aren't available on the keyboard, select them from the toolbar. Symbols are organized into categories for easy navigation, making it simple to find what you need.

Many common mathematical notations can be typed directly into the editor using these shortcuts:

- Type
`/`to create a fraction. - Use
`^`for exponents (e.g., typing`x^2`will result in x²). - Type
`_`for subscripts (e.g., typing`x_1`will display as x₁).

Press `Enter` to wrap to a new line within your equation.

## Creating matrices and advanced structures

To insert a matrix or other advanced mathematical structures, select the appropriate icon from the toolbar. A template will appear that you can fill with your desired values.

For example, to create a 3x3 matrix, select the matrix icon, and a grid will appear where you can input each element.

You can also create custom-sized matrices quickly using keyboard commands. For instance, typing `\m[4,3]` followed by a `Space` will create a matrix with 4 columns and 3 rows, allowing you to customize it as needed.

To insert more complex structures, such as integrals, summations, or Greek letters, use the toolbar. Hovering over each symbol displays a tooltip with a LaTeX-like command that can also be entered directly from your keyboard.

## Formatting equations

Adjust the stroke and fill options to customize the appearance of your equations, ensuring they are visually distinct on your whiteboard. This feature allows you to make your equations stand out or integrate them seamlessly with other content on your board.

## Editing and moving equations

To edit an existing equation, double-click on it to reopen the Equation Editor. You can then make any necessary changes.

To select a specific part of an equation, click and drag your mouse over the desired section. You can then copy (`Ctrl + C`) or paste (`Ctrl + V`) the selected part, or replace it with new content.

To move an equation around the whiteboard, click and drag it to your desired location. Use the green handles around the equation's border to resize it as needed.