# Unary/Binary Operators

You can choose various unary and binary operators to build your LibreOffice Math formula. Unary refers to operators that affect one placeholder. Binary refers to operators that connect two placeholders. The lower area of the Elements pane displays the individual operators. The context menu of the **Commands** window also contains a list of these operators, as well as additional operators. If you need an operator that is not contained in the Elements pane, use the context menu or type it directly in the **Commands** window.

Open the context menu in the Commands window - choose **Unary/Binary Operators**

Choose **View - Elements**; then on the Elements pane select **Unary/Binary Operators** from the listbox.

The following is a complete list of the unary and binary operators. The symbol next to the operator indicates that it can be accessed through the Elements pane (choose **View - Elements**) or through the context menu of the Commands window.

### Unary and Binary Operators

Plus
Inserts a |
---|

Minus
Inserts a |
---|

Plus/Minus
Inserts a |
---|

Minus/Plus
Inserts a |
---|

Addition (plus)
Inserts a |
---|

Multiplication (dot)
Inserts a dot operator with two placeholders. You can also type |
---|

Multiplication (x)
Inserts an 'x' |
---|

Multiplication (*)
Inserts an asterisk multiplication sign with two placeholders. You can also type |
---|

Subtraction
Inserts a subtraction sign with two placeholders. You can also type |
---|

Division (Fraction)
Inserts a fraction with two placeholders. You can also type |
---|

Division
Inserts a division sign with two placeholders. You can also type |
---|

Division (Slash)
Inserts a slash '/' with two placeholders. You can also type |
---|

Boolean NOT
Inserts a |
---|

Boolean AND
Inserts a |
---|

Boolean OR
Inserts a |
---|

Concatenate
Inserts a |
---|

You can also insert user-defined unary operators by typing **uoper** in the **Commands** window, followed by the syntax for the character. This function is useful for incorporating special characters into a formula. For example, the command **uoper %theta x** produces a small Greek letter theta (a component of the **LibreOffice Math** character set). You can also insert characters not in the LibreOffice character set by choosing **Tools - Symbols - Edit**.

You can also insert user-defined binary commands by typing **boper** into the **Commands** window. For example, the command **y boper %theta x** produces the small Greek letter theta preceded by a **y** and followed by an **x**. You can also insert characters not in the LibreOffice character set by choosing **Tools - Symbols - Edit**.

By typing **<?>oplus<?>** in the **Commands** window, you insert a **circled plus operator** in your document.

Type **<?>ominus<?>** in the **Commands** window to insert a **circled minus operator**.

Type **<?>odot<?>** in the **Commands** window to insert a **circled dot operator** in the formula.

Type **<?>odivide<?>** in the **Commands** window to insert a **circled division operator** in the formula.

Type **a wideslash b** in the **Commands** window to produce two characters with a slash (from lower left to upper right) between them. The characters are set such that everything to the left of the slash is up, and everything to the right is down. This command is also available in the context menu of the **Commands** window.

Type **a widebslash b** in the **Commands** window to produce two characters with a slash (from upper left to lower right) between them. The characters are set such that everything to the left of the slash is down, and everything to the right is up. This command is also available in the context menu of the **Commands** window.

Type **sub** or **sup** in the Commands window to add indexes and powers to the characters in your formula; for example, a sub 2.