Difference between revisions of "Documentation/OOoAuthors User Manual/Writer Guide/Math commands - Reference"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Attributes)
(add some pictures Attributes)
Line 258: Line 258:
 
||'''''Operation'''''||'''''Command'''''||'''''Display'''''
 
||'''''Operation'''''||'''''Command'''''||'''''Display'''''
 
|-
 
|-
||Acute accent||acute a||
+
||Acute accent||acute a||á
 
|-
 
|-
||Grave accent||grave a||
+
||Grave accent||grave a||à
 
|-
 
|-
||Reverse circumflex||check a||
+
||Reverse circumflex||check a||<math>\check{a}</math>
 
|-
 
|-
||Breve||breve a||
+
||Breve||breve a||<math>\breve{a}</math>
 
|-
 
|-
 
||Circle||circle a||
 
||Circle||circle a||
 
|-
 
|-
||Vector arrow||vec a||
+
||Vector arrow||vec a||<math>\vec{a}</math>
 
|-
 
|-
||Tilde||tilde a||
+
||Tilde||tilde a||ã
 
|-
 
|-
||Circumflex||hat a||
+
||Circumflex||hat a||â
 
|-
 
|-
||Line above||bar a||
+
||Line above||bar a||<math>\bar{a}</math>
 
|-
 
|-
||Dot||dot a||
+
||Dot||dot a||<math>\dot{a}</math>
 
|-
 
|-
 
||Wide vector arrow||widevec abc||
 
||Wide vector arrow||widevec abc||
Line 282: Line 282:
 
||Wide tilde||widetilde abc||
 
||Wide tilde||widetilde abc||
 
|-
 
|-
||Wide circumflex||widehat abc||
+
||Wide circumflex||widehat abc||<math>\widehat{abc}</math>
 
|-
 
|-
||Double dot||ddot a||
+
||Double dot||ddot a||<math>\ddot{a}</math>
 
|-
 
|-
||Line over||overline abc||
+
||Line over||overline abc||<math>\overline{abc}</math>
 
|-
 
|-
||Line under||underline abc||
+
||Line under||underline abc||<math>\underline{abc}</math>
 
|-
 
|-
 
||Line through||overstrike abc||
 
||Line through||overstrike abc||
Line 296: Line 296:
 
||Transparent (useful to get a placeholder of a given size)||phantom a||
 
||Transparent (useful to get a placeholder of a given size)||phantom a||
 
|-
 
|-
||Bold font||bold a||
+
||Bold font||bold a||<math>\bold{a}</math>
 
|-
 
|-
 
||Italic font (see Note 1)||ital “a"||
 
||Italic font (see Note 1)||ital “a"||

Revision as of 06:35, 15 July 2008


Template:NeedsWork

Math commands - Reference

Unary / binary operators

Operation Command Display
+sign +1 +1
-sign -1 −1
+/- sign +-1 ±1
-/+ sign -+1
Boolean not neg a ¬a
Addition + a + b a+b
Multiplication dot a cdot b a·b
Multiplication (X) a times b a×b
Multiplication (*) a * b
Boolean and a and b a∧b
Subtraction (-) a - b a−b
Division (fraction) a over b
Division (operand)   a div b a÷b
Division (slash) a / b a/b
Boolean or a or b a∨b
Concatenate a circ b


Relational operators

Operation Command Display
Is equal a = b a=b
Is not equal a <> b a≠b
Approximately a approx 2 a≈b
Divides a divides b
Does not divide a ndivides b
Less than a < 2 a<b
Greater than a > 2 a>b
Similar to or equal a simeq b
Parallel a parallel b
Orthogonal to a ortho b
Less than or equal to a leslant b
Greater than or equal to a geslant b
Similar to a sim b
Congruent a equiv b a≡b
Less than or equal to a <= b a≤b
Greater than or equal to a >= b a≥b
Proportional a prop b
Toward a toward b a→b
Arrow left a dlarrow b a⇐b
Double arrow left and right   a dlrarrow b a⇔b
Arrow right a drarrow b a⇒b


Set operations

Operation Command Display
Is in a in B a∈B
Is not in a notin B a∉B
Owns A owns b
Empty set emptyset
Intersection A intersection B A∩B
Union A union B A∪B
Difference A setminus B
Quotient A slash B
Aleph aleph
Subset A subset B A⊂B
Subset or equal to A subseteq B A⊆B
Superset A supset B A⊃B
Superset or equal to A supseteq B A⊇B
Not subset A nsubset B A / B
Not subset or equal A nsubseteq B A / B
Not superset A nsupset B A / B
Not superset or equal A nsupseteq B A / B
Set of natural numbers setN
Set of integers setZ
Set of rational numbers setQ
Set of real numbers setR
Set of complex numbers setC


Functions

Operation Command Display
Exponential func e^{a} inline:Object114.png
Natural logarithm ln(a) inline:Object115.png
Exponential function exp(a) inline:Object116.png
Logarithm log(a) inline:Object117.png
Power a^{b} inline:Object118.png
Sine sin(a) inline:Object119.png
Cosine cos(a) inline:Object120.png
Tangent tan(a) inline:Object121.png
Cotangent cot(a) inline:Object122.png
Square root sqrt{a} inline:Object123.png
Arcsine arcsin(a) inline:Object124.png
Arc cosine arccos(a) inline:Object125.png
Arctangent arctan(a) inline:Object126.png
Arc cotangent arccot(a) inline:Object127.png
nth root nroot{a}{b} inline:Object128.png
Hyperbolic sine sinh(a) inline:Object129.png
Hyperbolic cosine cosh(a) inline:Object130.png
Hyperbolic tangent tanh(a) inline:Object131.png
Hyperbolic cotangent coth(a) inline:Object132.png
Absolute value abs{a} inline:Object133.png
Arc hyperbolic sine arsinh(a) inline:Object134.png
Arc hyperbolic cosine arccosh(a) inline:Object135.png
Arc hyperbolic tangent arctanh(a) inline:Object136.png
Arc hyperbolic cotangent arccoth(a) inline:Object137.png
Factorial fact{a} inline:Object138.png


Operators

All operators can be used with the limit functions (“from" and “to").
Operation Command Display
Limit lim{a} inline:Object139.png
Sum sum{a} inline:Object140.png
Product prod{a} inline:Object141.png
Coproduct coprod{a} inline:Object142.png
Upper and lower bounds shown with integral int from {r_0} to {r_t} a inline:Object143.png
Integral int{a} inline:Object144.png
Double integral iint{a} inline:Object145.png
Triple integral iiint{a} inline:Object146.png
Lower bound shown with summation symbol sum from{3}b inline:Object147.png
Contour integral lint a inline:Object148.png
Double curved integral llint a inline:Object149.png
Triple curved integral lllint a inline:Object150.png
Upper bound shown with product symbol prod to{3} r inline:Object151.png


Attributes

Operation Command Display
Acute accent acute a á
Grave accent grave a à
Reverse circumflex check a
Breve breve a
Circle circle a
Vector arrow vec a
Tilde tilde a ã
Circumflex hat a â
Line above bar a
Dot dot a
Wide vector arrow widevec abc
Wide tilde widetilde abc
Wide circumflex widehat abc
Double dot ddot a
Line over overline abc
Line under underline abc
Line through overstrike abc
Triple dot dddot a
Transparent (useful to get a placeholder of a given size) phantom a
Bold font bold a
Italic font (see Note 1) ital “a"
Resize font size 16 qv
Following item in sans serif font (see Note 2) font sans qv
Following item in serif font font serif qv
Following item in fixed font font fixed qv
Make color of following text cyan (see Note 3) color cyan qv
Make color of following text yellow color yellow qv
Make color of following text white color white qv
Make color of following text green color green qv
Make color of following text blue color blue qv
Make color of following text red color red qv
Make color green returns to default color black color green X qv
Brace items to change color of more than one item color 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: serif (with serifs), sans serif (without serifs), and fixed (monospaced). 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

Operation Command Display
Infinity infinity
Partial partial
Nabla nabla
There exists exists
For all forall
H bar hbar
Lambda bar lambdabar
Real part re
Imaginary part im
Weierstrass p wp
Left arrow leftarrow
Right arrow rightarrow
Up arrow uparrow
Down arrow downarrow
Dots at bottom dotslow
Dots at middle dotsaxis
Dots vertical dotsvert
Dots diagonal upward dotsup
Dots diagonal downward dotsdown

Brackets

Operation Command Display
Round Brackets (a) (a)
Square Brackets [b] [b]
Double Square Brackets ldbracket c rdbracket
Single line lline a rline
Double line ldline a rdline
Braces lbrace w rbrace {w}
Angle Brackets langle d rangle
Operator Brackets langle 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 scalable left ldbracket c right rdbracket
Line scalable left lline a right rline
Double line scalable left ldline d right rdline
Brace scalable left lbrace e right rbrace
Angle bracket scalable left langle f right rangle
Operator brackets scalable left 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

Operation Command Display
Left superscript a lsup{b}
Center superscript a csup{b}
Right superscript a^{b}
Left subscript a lsub{b}
Center subscript a csub{b}
Right subscript a_{b}
Align character to left (text is aligned center by default) stack { Hello world # alignl (a) }
Align character to center stack{Hello world # alignc(a)}
Align character to right stack { Hello world # alignr(a)}
Vertical stack of 2 binom{a}{b}
Vertical stack, more than 2 stack{a # b # z}
Matrix stack matrix{a # b ## c # d}
Common mathematical arrangement matrix{a # "="b ## {} # "="c}
New line asldkfjo newline sadkfj
Small gap (grave) stuff `stuff
Large gap (tilde) stuff~stuff

Characters – Greek

%ALPHA inline:Object68.png %BETA inline:Object214.png %CHI inline:Object215.png %DELTA inline:Object216.png %EPSILON inline:Object230.png
%ETA inline:Object231.png %GAMMA inline:Object232.png %IOTA inline:Object233.png %KAPPA inline:Object234.png %LAMBDA inline:Object235.png
%MU inline:Object236.png %NU inline:Object237.png %OMEGA inline:Object238.png %OMICRON inline:Object239.png %PHI inline:Object240.png
%PI inline:Object241.png %PSI inline:Object242.png %RHO inline:Object243.png %SIGMA inline:Object244.png %THETA inline:Object245.png
%UPSILON inline:Object246.png %XI inline:Object247.png %ZETA inline:Object248.png
%alpha inline:Object249.png %beta inline:Object250.png %chi inline:Object251.png %delta inline:Object252.png %epsilon inline:Object253.png
%eta inline:Object254.png %gamma inline:Object255.png %iota inline:Object256.png %kappa inline:Object257.png %lambda inline:Object258.png
%mu inline:Object259.png %nu inline:Object260.png %omega inline:Object261.png %omicron inline:Object262.png %phi inline:Object263.png
%pi inline:Object276.png %rho inline:Object284.png %sigma inline:Object285.png %tau inline:Object286.png %theta inline:Object287.png
%upsilon inline:Object288.png %varepsilon inline:Object289.png %varphi inline:Object290.png %varpi inline:Object291.png %varrho inline:Object299.png
%varsigma inline:Object300.png %vartheta inline:Object301.png %xi inline:Object302.png %zeta inline: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