Documentation/OOoAuthors User Manual/Writer Guide/Math commands - Reference

From OpenOffice.org Wiki

Jump to: navigation, search

This page needs to be split into several pages to match the chapter ToC.

Math commands - Reference

Unary / binary operators

OperationCommandDisplay
+sign+1+1
-sign-1−1
+/- sign+-1±1
-/+ sign-+1
Boolean notneg a¬a
Addition +a + ba+b
Multiplication dota cdot ba·b
Multiplication (X)a times ba×b
Multiplication (*)a * b
Boolean anda and ba∧b
Subtraction (-)a - ba−b
Division (fraction)a over b
Division (operand)  a div ba÷b
Division (slash)a / ba/b
Boolean ora or ba∨b
Concatenatea circ b


Relational operators

OperationCommandDisplay
Is equala = ba=b
Is not equala <> ba≠b
Approximatelya approx 2a≈b
Dividesa divides b
Does not dividea ndivides b
Less thana < 2a<b
Greater thana > 2a>b
Similar to or equala simeq b
Parallela parallel b
Orthogonal toa ortho b
Less than or equal toa leslant b
Greater than or equal toa geslant b
Similar toa sim b
Congruenta equiv ba≡b
Less than or equal toa <= ba≤b
Greater than or equal toa >= ba≥b
Proportionala prop b
Towarda toward ba→b
Arrow lefta dlarrow ba⇐b
Double arrow left and right  a dlrarrow ba⇔b
Arrow righta drarrow ba⇒b


Set operations

OperationCommandDisplay
Is ina in Ba∈B
Is not ina notin Ba∉B
OwnsA owns b
Empty setemptyset
IntersectionA intersection BA∩B
UnionA union BA∪B
DifferenceA setminus B
QuotientA slash B
Alephaleph
SubsetA subset BA⊂B
Subset or equal toA subseteq BA⊆B
SupersetA supset BA⊃B
Superset or equal toA supseteq BA⊇B
Not subsetA nsubset BA / B
Not subset or equalA nsubseteq BA / B
Not supersetA nsupset BA / B
Not superset or equalA nsupseteq BA / B
Set of natural numberssetN
Set of integerssetZ
Set of rational numberssetQ
Set of real numberssetR
Set of complex numberssetC


Functions

OperationCommandDisplay
Exponentialfunc e^{a}inline:Object114.png
Natural logarithmln(a)inline:Object115.png
Exponential functionexp(a)inline:Object116.png
Logarithmlog(a)inline:Object117.png
Powera^{b}inline:Object118.png
Sinesin(a)inline:Object119.png
Cosinecos(a)inline:Object120.png
Tangenttan(a)inline:Object121.png
Cotangentcot(a)inline:Object122.png
Square rootsqrt{a}inline:Object123.png
Arcsinearcsin(a)inline:Object124.png
Arc cosinearccos(a)inline:Object125.png
Arctangentarctan(a)inline:Object126.png
Arc cotangentarccot(a)inline:Object127.png
nth rootnroot{a}{b}inline:Object128.png
Hyperbolic sinesinh(a)inline:Object129.png
Hyperbolic cosinecosh(a)inline:Object130.png
Hyperbolic tangenttanh(a)inline:Object131.png
Hyperbolic cotangentcoth(a)inline:Object132.png
Absolute valueabs{a}inline:Object133.png
Arc hyperbolic sinearsinh(a)inline:Object134.png
Arc hyperbolic cosinearccosh(a)inline:Object135.png
Arc hyperbolic tangentarctanh(a)inline:Object136.png
Arc hyperbolic cotangentarccoth(a)inline:Object137.png
Factorialfact{a}inline:Object138.png


Operators

All operators can be used with the limit functions (“from" and “to").
OperationCommandDisplay
Limitlim{a}inline:Object139.png
Sumsum{a}inline:Object140.png
Productprod{a}inline:Object141.png
Coproductcoprod{a}inline:Object142.png
Upper and lower bounds shown with integralint from {r_0} to {r_t} ainline:Object143.png
Integralint{a}inline:Object144.png
Double integraliint{a}inline:Object145.png
Triple integraliiint{a}inline:Object146.png
Lower bound shown with summation symbolsum from{3}binline:Object147.png
Contour integrallint ainline:Object148.png
Double curved integralllint ainline:Object149.png
Triple curved integrallllint ainline:Object150.png
Upper bound shown with product symbolprod to{3} rinline:Object151.png


Attributes

OperationCommandDisplay
Acute accentacute a
Grave accentgrave a
Reverse circumflexcheck a
Brevebreve a
Circlecircle a
Vector arrowvec a
Tildetilde a
Circumflexhat a
Line abovebar a
Dotdot a
Wide vector arrowwidevec abc
Wide tildewidetilde abc
Wide circumflexwidehat abc
Double dotddot a
Line overoverline abc
Line underunderline abc
Line throughoverstrike abc
Triple dotdddot a
Transparent (useful to get a placeholder of a given size)phantom a
Bold fontbold a
Italic font (see Note 1)ital “a"
Resize fontsize 16 qv
Following item in sans serif font (see Note 2)font sans qv
Following item in serif fontfont serif qv
Following item in fixed fontfont fixed qv
Make color of following text cyan (see Note 3)color cyan qv
Make color of following text yellowcolor yellow qv
Make color of following text whitecolor white qv
Make color of following text greencolor green qv
Make color of following text bluecolor blue qv
Make color of following text redcolor red qv
Make color green returns to default color blackcolor green X qv
Brace items to change color of more than one itemcolor green {X qv}

Note 1: Unquoted text that is not a command is considered to be a variable. Variables are, by default, italicized.

Note 2: There are three custom fonts: sans serif (without kicks), serifs (with kicks), and fixed (non-proportional). To change the actual fonts used for custom fonts and the fonts used for variables (unquoted text), numbers and functions, use Format > Fonts.

Note 3: For all coloring, the color will apply only to the text immediately following the command until the next space is encountered. In order to have the color apply to more characters, place the text you want in color in curly brackets.

Miscellaneous

OperationCommandDisplay
Infinityinfinity
Partialpartial
Nablanabla
There existsexists
For allforall
H barhbar
Lambda barlambdabar
Real partre
Imaginary partim
Weierstrass pwp
Left arrowleftarrow
Right arrowrightarrow
Up arrowuparrow
Down arrowdownarrow
Dots at bottomdotslow
Dots at middledotsaxis
Dots verticaldotsvert
Dots diagonal upwarddotsup
Dots diagonal downwarddotsdown

Brackets

OperationCommandDisplay
Round Brackets(a)(a)
Square Brackets[b][b]
Double Square Bracketsldbracket c rdbracket
Single linelline a rline
Double lineldline a rdline
Braceslbrace w rbrace{w}
Angle Bracketslangle d rangle
Operator Bracketslangle a mline b rangle
Group brackets (used for program control){a}
Scalable round brackets (add the word "left" before a left bracket and "right" before a right bracket)left ( stack{a # b # z} right )
Square brackets scalable
(as above)
left [ stack{ x # y} right ]
Double square brackets scalableleft ldbracket c right rdbracket
Line scalableleft lline a right rline
Double line scalableleft ldline d right rdline
Brace scalableleft lbrace e right rbrace
Angle bracket scalableleft langle f right rangle
Operator brackets scalableleft langle g mline h right rangle
Over brace scalable{The brace is above} overbrace a
Under brace scalable{the brace is below}underbrace {f}

Formats

OperationCommandDisplay
Left superscripta lsup{b}
Center superscripta csup{b}
Right superscripta^{b}
Left subscripta lsub{b}
Center subscripta csub{b}
Right subscripta_{b}
Align character to left (text is aligned center by default)stack { Hello world # alignl (a) }
Align character to centerstack{Hello world # alignc(a)}
Align character to rightstack { Hello world # alignr(a)}
Vertical stack of 2binom{a}{b}
Vertical stack, more than 2stack{a # b # z}
Matrix stackmatrix{a # b ## c # d}
Common mathematical arrangementmatrix{a # "="b ## {} # "="c}
New lineasldkfjo newline sadkfj
Small gap (grave)stuff `stuff
Large gap (tilde)stuff~stuff

Characters – Greek

%ALPHAinline:Object68.png%BETAinline:Object214.png%CHIinline:Object215.png%DELTAinline:Object216.png%EPSILONinline:Object230.png
%ETAinline:Object231.png%GAMMAinline:Object232.png%IOTAinline:Object233.png%KAPPAinline:Object234.png%LAMBDAinline:Object235.png
%MUinline:Object236.png%NUinline:Object237.png%OMEGAinline:Object238.png%OMICRONinline:Object239.png%PHIinline:Object240.png
%PIinline:Object241.png%PSIinline:Object242.png%RHOinline:Object243.png%SIGMAinline:Object244.png%THETAinline:Object245.png
%UPSILONinline:Object246.png%XIinline:Object247.png%ZETAinline:Object248.png
%alphainline:Object249.png%betainline:Object250.png%chiinline:Object251.png%deltainline:Object252.png%epsiloninline:Object253.png
%etainline:Object254.png%gammainline:Object255.png%iotainline:Object256.png%kappainline:Object257.png%lambdainline:Object258.png
%muinline:Object259.png%nuinline:Object260.png%omegainline:Object261.png%omicroninline:Object262.png%phiinline:Object263.png
%piinline:Object276.png%rhoinline:Object284.png%sigmainline:Object285.png%tauinline:Object286.png%thetainline:Object287.png
%upsiloninline:Object288.png%varepsiloninline:Object289.png%varphiinline:Object290.png%varpiinline:Object291.png%varrhoinline:Object299.png
%varsigmainline:Object300.png%varthetainline:Object301.png%xiinline:Object302.png%zetainline:Object303.png


Characters – Special

%and inline:Object344.png%angle inline:Object272.png%element inline:Object273.png%identical inline:Object274.png
%infinite inline:Object275.png%noelement inline:Object345.png%notequal inline:Object346.png%or inline:Object347.png
%perthousand inline:Object348.png%strictlygreaterthan inline:Object349.png%strictlylessthan inline:Object350.png%tendto inline:Object351.png


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools