Difference between revisions of "Documentation/FAQ/Formula/I want to use a binary operator (like '''union''' or '''otimes''' as a large operator (like '''int''' or '''sum'''). How can I do that?"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
Line 8: Line 8:
  
 
You have to define the symbol you want to use as a user-defined
 
You have to define the symbol you want to use as a user-defined
symbol first. See [[Documentation/FAQ/Formula/I_need_a_symbol_that_Math_does_not_provide._What_can_I_do%3F I need a symbol that Math does not provide. What can I do?]] for instructions;
+
symbol first. See [[Documentation/FAQ/Formula/I_need_a_symbol_that_Math_does_not_provide._What_can_I_do?|I need a symbol that Math does not provide. What can I do?]] for instructions;
 
most of the symbols used by ''Math'' are part of the StarMath
 
most of the symbols used by ''Math'' are part of the StarMath
 
font.
 
font.

Latest revision as of 12:57, 8 October 2021


I want to use a binary operator (like union or otimes as a large operator (like int or sum). How can I do that?



You have to define the symbol you want to use as a user-defined symbol first. See I need a symbol that Math does not provide. What can I do? for instructions; most of the symbols used by Math are part of the StarMath font.

Let's say you have defined the union symbol as the user-defined symbol %union. You can then enter for example

oper%union from i in I A_i

in order to typeset the formula

006a.gif

Note: In build 633 this doesn't work if there is a space before %union (this is a bug in the parser).

Any user-defined symbol can be used as a large operator if it is preceded with oper as in the example.


Personal tools