# 一元/二元運算子

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.

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.

### 一元和二元運算子

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.

<?>oplus<?> 指令會插入包圍在圓形中的加法字元至文件中。

[指令] 視窗中輸入 a wideslash b 會產生中間有一條斜線 (從左下方到右上方) 的兩個字元。如此設定字元會使斜線左方的所有字元位於上方，划線右方的所有字元位於下方。[指令] 視窗的320909也提供此指令。

[指令] 視窗中輸入 a widebslash b 會產生中間有一條斜線 (從左上方到右下方) 的兩個字元。如此設定字元會使斜線左方的所有字元位於下方，划線右方的所有字元位於上方。[指令] 視窗的320862也提供此指令。

subsup 指令可用來附加公式字元上的標誌和乘冪，例如 a sub 2。

If you want to use a colon ':' as division sign, choose Tools - Symbols or click the Symbols icon on the Tools bar. Click the Edit button in the dialog that appears, then select the Special symbol set. Enter a meaningful name next to Symbol, for example, "divide" and then click the colon in the set of symbols. Click Add and then OK. Click OK to close the Symbols dialog,too. Now you can use the new symbol, in this case the colon, by entering its name in the Commands window, for example, a %divide b = c.