単項演算子と二項演算子

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.

単項演算子と二項演算子:

Icon

記号 プラス

プラス記号を 1 つのプレースホルダーとともに挿入します。コマンド ウィンドウ に直接入力する場合は、+ <?> とします。

Icon

符号 マイナス

マイナス記号を 1 つのプレースホルダーとともに挿入します。コマンド ウィンドウに入力する際は - <?> とします。

Icon

符号 プラスマイナス

プラス・マイナス記号を 1 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は +-<?> とします。

Icon

符号 マイナスプラス

マイナスプラス記号を 1 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は -+<?> とします。

Icon

加算

プラス記号 を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は <?>+<?> とします。

Icon

乗算(ドット)

ドット乗算記号を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は、<?>cdot<?> とします。

Icon

乗算(クロス)

乗算記号 x を 2 つのプレースホルダー付きで挿入します。直接入力する場合は、<?>times<?> とします。

Icon

乗算(アスタリスク)

アスタリスクの乗算記号を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は、<?> * <?> とします。

Icon

減算 (-)

減算記号を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は <?> - <?> と入力します。

Icon

除算 (分数)

分数 を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は <?>over<?> とします。

Icon

除算

除算記号を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は <?>div<?> とします。

Icon

除算(斜線)

スラッシュ '/' を 2 つのプレースホルダーとともに挿入します。コマンドウィンドウに直接入力する場合は <?>/<?> と入力します。

Icon

否定

論理否定演算子 NOT を 1 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は neg <?> とします。

Icon

かつ

論理積演算子 AND を 2 つのプレースホルダー付きで挿入します。コマンドウィンドウに直接入力する場合は <?> and <?> とします。

Icon

または

論理和演算子 OR を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は <?> or <?> とします。

Icon

連結

連結記号を 2 つのプレースホルダーとともに挿入します。コマンド ウィンドウに直接入力する場合は circ とします。

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<?> コマンドで 丸付き加算記号 が挿入されます。

<?>ominus<?> コマンドで 丸付き減算記号 が挿入されます。

コマンドウィンドウに <?>odot<?> と入力すると、乗算記号(丸付き点) が挿入されます。

コマンドウィンドウに <?>odivide<?> と入力すると、除算記号(丸付き斜線) が挿入されます。

コマンド ウィンドウで a wideslash b コマンドを使うと、2 つの文字と、その間のスラッシュ (左下から右上への斜線) が挿入されます。文字は斜線の左上と右下に配置されます。このコマンドは、コマンド ウィンドウのコンテキストメニューからもアクセスできます。

コマンド ウィンドウで a widebslash b コマンドを使うと、2 つの文字と、その間のバックスラッシュ (左上から右下への斜線) が挿入されます。文字は斜線の左下と右上に配置されます。このコマンドは、コマンド ウィンドウのコンテキストメニューからもアクセスできます。

sub およびsup コマンドを使い 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.


警告マーク

コマンドウィンドウに直接入力する場合、多くの演算子ではスペースも正確に入力する必要がありますので注意してください。特に、プレースホルダーのかわりに値を直接入力する場合には注意が必要です。たとえば除算の場合 4div3 ではなく、 4 div 3 と半角スペース付きで入力してください。