Difference between revisions of "Documentation/FAQ/Formula/How do I typeset functions, such as max, det, that Math does not know about?"

From Apache OpenOffice Wiki
Jump to: navigation, search
(note answer talks about operators also)
m
 
Line 13: Line 13:
  
 
To typeset other functions this way you can simply preceed the
 
To typeset other functions this way you can simply preceed the
function with<font color="brown">''' func'''</font>.  
+
function with <font color="brown">'''func'''</font>.  
  
 
Example:<br>
 
Example:<br>
To typeset max(''a,b'') you should enter<font color="brown">''' func max(a,b)'''</font>.
+
To typeset max(''a,b'') you should enter <font color="brown">'''func max(a,b)'''</font>.
  
If you want to use ''max'' as an operator, like ''lim'', you can use csub to get a centered subscript: <font color="brown">''' func max csub {x in S} f(x)</font>.
+
If you want to use ''max'' as an operator, like ''lim'', you can use csub to get a centered subscript: <font color="brown">'''func max csub {x in S} f(x)</font>.
  
 
<section end=answer/>
 
<section end=answer/>
  
 
[[Category:Documentation/FAQ/Formula]]
 
[[Category:Documentation/FAQ/Formula]]

Latest revision as of 14:07, 7 October 2021


How do I typeset functions, such as max, det, that Math does not know about?


Math has a number of standard functions built-in, such as cos, log etc.

These functions are typeset in an upright shape according to typographical traditions.

To typeset other functions this way you can simply preceed the function with func.

Example:
To typeset max(a,b) you should enter func max(a,b).

If you want to use max as an operator, like lim, you can use csub to get a centered subscript: func max csub {x in S} f(x).


Personal tools