Difference between revisions of "Documentation/OOoAuthors User Manual/Writer Guide/Math Objects"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{DraftPage}}
 
{{DraftPage}}
 +
{{WriterMathTOC|PrevNext=block
 +
|Prev=Documentation/OOoAuthors User Manual/Writer Guide/Math Objects
 +
|Next=Documentation/OOoAuthors_User_Manual/Writer Guide/Customizations }}__notoc__
 
This page was created by converting ODT to Mediawiki using Writer2MediaWiki. The page needs cleaning up, and figures added.
 
This page was created by converting ODT to Mediawiki using Writer2MediaWiki. The page needs cleaning up, and figures added.
  
 
This is Chapter '''16''' of the '''OpenOffice.org 2.x Writer Guide''' (Third edition), produced by the [http://oooauthors.org/ OOoAuthors group]. A PDF of this chapter is available from the [http://documentation.openoffice.org/manuals/oooauthors2/ OOoAuthors Guides page] at OpenOffice.org.
 
This is Chapter '''16''' of the '''OpenOffice.org 2.x Writer Guide''' (Third edition), produced by the [http://oooauthors.org/ OOoAuthors group]. A PDF of this chapter is available from the [http://documentation.openoffice.org/manuals/oooauthors2/ OOoAuthors Guides page] at OpenOffice.org.
  
[[User_Manuals| &lt;&lt; User Manuals page]]<br>
 
[[Writer Guide| &lt;&lt; Writer Guide Table of Contents]]<br>
 
[[Writer Guide/Using Forms in Writer| &lt;&lt; Chapter 15 Using Forms in Writer]] &nbsp;&nbsp;|
 
&nbsp;&nbsp;[[Writer Guide/Keyboard Shortcuts| Appendix A Keyboard Shortcuts &gt;&gt;]]
 
  
  
 
{{:Getting Started with Math}}
 
{{:Getting Started with Math}}
  
{{:Entering a formula}}
 
  
{{:Math customizations}}
 
 
{{:Formula layout}}
 
 
{{:Common problem areas}}
 
 
 
= Math commands - Reference =
 
 
== Unary / binary operators ==
 
{| border="1"
 
||'''''Operation'''''||'''''Command'''''||'''''Display'''''
 
|-
 
||+sign||+1||+1
 
|-
 
||-sign||-1||&minus;1
 
|-
 
||+/- sign||+-1||&plusmn;1
 
|-
 
||-/+ sign||-+1||
 
|-
 
||Boolean not||neg a||&not;a
 
|-
 
||Addition +||a + b||a+b
 
|-
 
||Multiplication dot||a cdot b||a&middot;b
 
|-
 
||Multiplication (X)||a times b||a&times;b
 
|-
 
||Multiplication (*)||a * b||
 
|-
 
||Boolean and||a and b||a&and;b
 
|-
 
||Subtraction (-)||a - b||a&minus;b
 
|-
 
||Division (fraction)||a over b||
 
|-
 
||Division (operand)&nbsp;&nbsp;||a div b||a&divide;b
 
|-
 
||Division (slash)||a / b||a/b
 
|-
 
||Boolean or||a or b||a&or;b
 
|-
 
||Concatenate||a circ b||
 
|-
 
|}
 
 
 
 
:
 
 
== Relational operators ==
 
{| border="1"
 
||'''''Operation'''''||'''''Command'''''||'''''Display'''''
 
|-
 
||Is equal||a = b||a=b
 
|-
 
||Is not equal||a <> b||a&ne;b
 
|-
 
||Approximately||a approx 2||a&asymp;b
 
|-
 
||Divides||a divides b||
 
|-
 
||Does not divide||a ndivides b||
 
|-
 
||Less than||a < 2||a&lt;b
 
|-
 
||Greater than||a > 2||a&gt;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&equiv;b
 
|-
 
||Less than or equal to||a <= b||a&le;b
 
|-
 
||Greater than or equal to||a >= b||a&ge;b
 
|-
 
||Proportional||a prop b||
 
|-
 
||Toward||a toward b||a&rarr;b
 
|-
 
||Arrow left||a dlarrow b||a&lArr;b
 
|-
 
||Double arrow left and right&nbsp;&nbsp;||a dlrarrow b||a&hArr;b
 
|-
 
||Arrow right||a drarrow b||a&rArr;b
 
|-
 
|}
 
 
 
 
:
 
 
== Set operations ==
 
{| border="1"
 
||'''''Operation'''''||'''''Command'''''||'''''Display'''''
 
|-
 
||Is in||a in B||a&isin;B
 
|-
 
||Is not in||a notin B||a&notin;B
 
|-
 
||Owns||A owns b||
 
|-
 
||Empty set||emptyset||
 
|-
 
||Intersection||A intersection B||A&cap;B
 
|-
 
||Union||A union B||A&cup;B
 
|-
 
||Difference||A setminus B||
 
|-
 
||Quotient||A slash B||
 
|-
 
||Aleph||aleph||&alefsym;
 
|-
 
||Subset||A subset B||A&sub;B
 
|-
 
||Subset or equal to||A subseteq B||A&sube;B
 
|-
 
||Superset||A supset B||A&sup;B
 
|-
 
||Superset or equal to||A supseteq B||A&supe;B
 
|-
 
||Not subset||A nsubset B||A<span style="position:absolute;">&sub;</span> / B
 
|-
 
||Not subset or equal||A nsubseteq B||A<span style="position:absolute;">&sube;</span> / B
 
|-
 
|-
 
||Not superset||A nsupset B||A<span style="position:absolute;">&sup;</span> / B
 
|-
 
|-
 
||Not superset or equal||A nsupseteq B||A<span style="position:absolute;">&supe;</span> / 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||
 
|-
 
| ||n<sup>th</sup> 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 ==
 
{| border="1"
 
||'''''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: 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 ==
 
{| border="1"
 
||'''''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 ==
 
{| border="1"
 
||'''''Operation'''''||'''''Command'''''||'''''Display'''''
 
|-
 
||Round Brackets||(a)||(<i>a</i>)
 
|-
 
||Square Brackets||[b]||[<i>b</i>]
 
|-
 
||Double Square Brackets||ldbracket c rdbracket||
 
|-
 
||Single line||lline a rline||
 
|-
 
||Double line||ldline a rdline||
 
|-
 
||Braces||lbrace w rbrace||{<i>w</i>}
 
|-
 
||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<br/>(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 ==
 
{| border="1"
 
||'''''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) }<br/>||
 
|-
 
||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||
 
|-
 
|}
 
 
:
 
  
  

Revision as of 23:28, 8 October 2007

Editing.png Статья в работе (ЧЕРНОВИК), и находится в процессе написания.


This page was created by converting ODT to Mediawiki using Writer2MediaWiki. The page needs cleaning up, and figures added.

This is Chapter 16 of the OpenOffice.org 2.x Writer Guide (Third edition), produced by the OOoAuthors group. A PDF of this chapter is available from the OOoAuthors Guides page at OpenOffice.org.


Introduction

OpenOffice.org (OOo) has a component for mathematical equations. It is most commonly used as an equation editor for text documents, but it can also be used with other types of documents or stand-alone. When used inside Writer, the equation is treated as an object inside the text document.

Documentation note.png The equation editor is for writing equations in symbolic form (as in equation 1). If you want to evaluate a numeric value, see the Calc Guide.
(1)

Getting started

To insert an equation, go to Insert > Object > Formula.

The equation editor opens at the bottom of the screen, and the floating Elements window (called “Selection” before Math 3.2 and “Formula Elements” in Math 3.2) may appear. You will also see a small box (with a gray border) in your document, where the formula will be displayed.

Equation Editor, Elements window, and location of resulting equation.

The equation editor uses a markup language to represent formulas. For example, %beta creates the Greek character beta (β). This markup is designed to read similar to English whenever possible. For example, a over b produces a fraction:

To insert a numbered formula in Writer, type fn then press the  F3  key.

Additional References

For very basic step-by-step instructions and tutorials for specific tasks, see http://plan-b-for-openoffice.org/math/index




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