Math Objects - OpenOffice

3y ago
33 Views
2 Downloads
375.29 KB
22 Pages
Last View : 24d ago
Last Download : 3m ago
Upload by : Victor Nelms
Transcription

Math Objects:The Equation EditorTitle:Version:First edition:First Englishedition:Math Objects: The Equation Editor1.0November 2004November 2004

ContentsOverview.iiCopyright and trademark information.iiFeedback. iiAcknowledgments.iiModifications and updates. iiIntroduction.1Getting started. 1Entering a Formula.2Complex Formulas.3Brackets are your friends.3Sums and integration.3Matrices.4Derivatives. 4Complex layout. 5Tips and tricks.6Customizing the interface.6Numbering equations. 6Math commands - Reference. 8Unary / binary operators. 8Relational operators.9Set operations . 10Functions. 11Operators. 12Attributes.13Others. 15Math Objectsi

OverviewOverviewOpenOffice.org has a component (OOo Math) for mathematical equations. OOo Mathprovides mathematical objects which can be embedded in other OOo documents, or saved ontheir own.Copyright and trademark informationThe contents of this Documentation are subject to the Public Documentation License,Version 1.0 (the "License"); you may only use this Documentation if you comply with theterms of this License. A copy of the License is available at:http://www.openoffice.org/licenses/PDL.rtfThe Original Documentation is Math Objects: The Equation Editor. The Initial Writer(s) ofthe Original Documentation is/are Ian Laurenson 2004. All Rights Reserved. (Initial Writercontact(s): hillview@paradise.net.nz. The Initial Writer contact(s) is to report errors in thedocumentation. For questions regarding how to use the software, subscribe to the Users MailList and post your question there: tor(s): Daniel Carrera rewrote the explanatory section of the document.Portions created by Daniel Carrera are Copyright 2004. All Rights Reserved. (Contributorcontact(s): dcarrera@openoffice.org.)All trademarks within this guide belong to legitimate owners.FeedbackPlease direct any comments or suggestions about this document his chapter is based on two documents written by Fred Saalbach.Modifications and updatesVersionDate1.021 November 2004Math ObjectsDescription of ChangeFirst published editionii

IntroductionIntroductionOpenOffice.org (OOo) has a component for mathematical equations. It is most commonlyused as an equation editor for text documents, but it can also be used with other types ofdocuments or stand-alone. When used inside Writer, the equation is treated as an objectinside the text document.Important note: The equation editor is for writing equations in symbolic form (as in equation 1).If you want to evaluate a numeric value, this is not the chapter you want. See the Calc guide.df x ln x tan 1 x 2 dx(1)Getting startedTo insert an equation, go to Insert Object Formula.The equation editor opens at the bottom of the screen, and the floating Selection toolboxappears. You will also see a small box (with a gray border) in your document, where theformula will be displayed.Figure 1. Writer document showing Equation Editor , Selection toolbar, and location of resulting equation.Math Objects1

IntroductionThe 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 Englishwhenever possible. For example, “a over b” produces a fraction:abEntering a FormulaThere are three main ways of entering a formula: Type markup in the equation editor. Right-click on the equation editor and select the symbol from the context menu. Select a symbol from the Selection toolbox.The context menu and the Selection toolbox insert the markup corresponding to a symbol.Incidentally, this provides a convenient way to learn the OOoMath markup. When you selecta symbol from the Selection toolbox, it will show up like this in this equation editor: ? times ? And it will display on screen in Writer like this: When you are editing in the equation editor, you need to remove the ? and replace it withthe terms of the equation. For example, “5 times 4” produces 5 4 . Below is a short list ofcommon equations and their corresponding markup.DisplayCommandDisplayCommanda b %gamma %GAMMAa 2ana n f x dxint f(x) dx ansum a na ba b infinityaba over babstack { a # b } asqrt {a}u vec ux yx times yx yx cdot ya ba2Math Objects2

Complex FormulasComplex FormulasOf course, most people can figure out how to do something simple like a . The problemsappear when you try to write more complex equations. This section explores some generalsituations and suggests solutions.Brackets are your friendsYou may have heard your professor say this. It is true for science, and it is true for OOo.The equation editor knows nothing of order of operation. To make moderately complexformulas, you must use brackets. For example:Displayx Command b b 2 4 ac2ax { -b - sqrt { b 2 - 4ac } } over { 2a }Tip: Squiggly brackets can be used to collect terms without the bracket appearing in theequation.Sums and integrationThe “sum” and “int” commands can optionally take in “from” and “to” parameters. Theseare used in a way that is meant to resemble how the equation is read in English. Theseparameters can be used singly or together. For example:Display Command a n n2sum from { n 1 } to infinity { a n 1 over n 2} a3sum from { i in A } { a 3 }1n 1a A x 2 1x dxint from a to b { x 2 1 over x dx } r ei d int from %alpha { r(%theta)e {i%theta} d %theta }ba Tip: Though they look the same, the “sum” command is more flexible than “%SIGMA”.Tip: Use “infinity” to produce the symbol.Math Objects3

Complex FormulasMatricesMatrices are done through the matrix command. The basic syntax is:Displaya bc dCommandmatrix { a # b ## c # d }A single “#” symbol is used to separate entries within a given row. Two “#” symbols areused to separate different rows.One of the first problems people have with matrices is working with brackets. Regularbrackets have a fixed size, which doesn't fit well with matrices (see the table below).OOoMath provides “scalable brackets”. These brackets adjust in size (“scale”) to fit the sizeof their contents. To obtain scalable brackets, use the left( and right) commands.Displaydet deta b c d a bc dCommandTypedet ( matrix { a # b ## c # d } )normaldet left( matrix { a # b ## c # d } right)scalableTip: Use left[ and right] to obtain square brackets.DerivativesTo write a derivative, or a partial derivative, use the “over” command. That is, treat it as if itwere a fraction. For higher-order derivatives, use the symbol, like an exponent.Displaydf t f dx f dy dt x dt y dtMath ObjectsCommand{df(t)} over {dt} {partial f} over {partial x} {dx } over {dt} {partial f} over {partial y} {dy } over {dt}4

Complex layoutComplex layoutOften, the problem is not in writing the equation as such, but obtaining the desired layout.There are some features that can help: Adjust alignment with “alignl” (left alignment), “alignr” (right alignment) and“alignc” (centered). Use matrices for columned layout. Use white space and several lines to make your equation understandable. Use or ‘ to produce white space on the equation.Tip: You can insert white space and additional lines in the markup without affecting the outputof the equation.The following example illustrates most of the above.DisplayCommandSn 1 r r 2 r nrS n r r rn 1 r S n 1 r n 1Sn 1 r n 11 rn 1matrix {S n #{} {}# alignl 1 r r 2 dotsaxis r n ##rS n #{} {}# alignl r dotsaxis r n r {n 1} ##(1-r)S n #{} {}# alignl 1 - r {n 1} ##S n #{} {}# alignl {1 - r {n 1} } over {1-r}}In addition to matrices, you can also used the newline command to move to a new line.Notice (below) that the newline command does not have to be on a line of its own.Displayx y 3x y 1Math ObjectsCommandx y 3 newline x – y 15

Tips and tricksTips and tricksCustomizing the interfaceThere are a few ways to customize the equation editor's interface to make you moreproductive. Here are some suggestions: Show/hide the Selection toolbox with View Selection. Turn off AutoUpdate with View AutoUpdate display to improve speed. You canstill update the formula manually by pressing F9 or through View Update. Turn the editor into a floating window:1) Hover the mouse above the border of the equation editor.2) Hold down the Control key.3) Drag the editor away from the main window.Numbering equationsEquation numbering is possible and simple. Sadly, this feature is deeply hidden. To insert aformula with a number, follow these steps:1) Start a new line.2) Type fn and then press F3.You will see a numbered formula appear:E mc2(2)Then double-click on the formula to edit it. For example, here is the Riemann Zeta function: z n 11nz(3)The number in the equation is stored in the form of a field. To refer to an equation by itsnumber (for example, “as shown in Equation (2)”):1) Insert Cross-reference.2) Click on the References tab. (See Figure 2.)3) Under Type, select Text.4) Under Selection, pick the equation number.5) Under Format, choose Reference.6) Click Insert.Math Objects6

Tips and tricksDone! If you later add more equations to the paper before the referenced equation, all theequations will automatically renumber and the cross-references will update.Figure 2. Inserting a cross-reference to an equation number.Math Objects7

Math commands - ReferenceMath commands - ReferenceUnary / binary operatorsTable 1. Commands, unary & binaryOperationCommand sign 1 1-sign-1 1 /- sign -1 1-/ signneg 1 1Boolean notneg a aAddition a ba bMultiplication dota cdot ba bMultiplication (X)a times ba bMultiplication (*)a*ba bBoolean anda and ba bSubtraction (-)a-ba bDivision (fraction)a over babDivision (operand)a div ba bDivision (slash)a/ba /bBoolean ora or ba bConcatenatea circ ba bMath ObjectsDisplay8

Math commands - ReferenceRelational operatorsTable 2. Commands, relationsOperationCommandIs equala ba bIs not equala ba 2Approximatelya approx 2a 2Dividesa divides ba bDoes not dividea ndivides ba bLess thana 2a 2Greater thana 2a 2Similar to or equala simeq ba bParallela parallel ba bOrthogonal toa ortho ba bLess than or equal toa leslant ba bGreater than or equal toa geslant ba bSimilar toa sim ba bCongruenta equiv ba bLess than or equal toa ba bGreater than or equal toa ba bProportionala prop ba bTowarda toward ba bArrow lefta dlarrow ba bDouble arrow left and righta dlrarrow ba bArrow righta drarrow ba bMath ObjectsDisplay9

Math commands - ReferenceSet operationsTable 3. Commands, set operatorsOperationCommandIs ina in Ba BIs not ina notin Ba BOwensA owns bA bEmpty setemptyset IntersectionA intersection BA BUnionA union BA BDifferenceA setminus BA BQuotientA slash BA/ BAlephalephℵSubsetA subset BA BSubset or equal toA subseteq BA BSupersetA supset BA BSuperset or equal toA supseteq BA BNot subsetA nsubset BA BNot subset or equalA nsubseteq BA BNot supersetA nsupset BA BNot Superset or equalA nsupseteq BA BNatural Numbers SetsetNℕSet of IntegerssetZℤSet of rational numberssetQℚSet of real numberssetRℝSet of complex numberssetCℂMath ObjectsDisplay10

Math commands - ReferenceFunctionsTable 4. Commands, functionOperationCommandExponentialfunc e {a}eaNatural logarithmln(a)ln a Exponential functionexp(a)exp a Logarithmlog(a)log a Powera {b}abSinesin(a)sin a Cosinecos(a)cos a Tangenttan(a)tan a Cotangentcot(a)cot a Square rootsqrt{a} aArcsinearcsin(a)arcsin a Arc cosinearccos(a)arccos a Arctangentarctan(a)arctan a Arc cotangentarccot(a)arccot a nth rootnroot{a}{b} a bHyperbolic sinesinh(a)sinh a Hyperbolic cosinecosh(a)cosh a Hyperbolic tangenttanh(a)tanh a Hyperbolic cotangentcoth(a)coth a Absolute valueabs{a} a Arc hyperbolic sinearsinh(a)arsinh a Arc hyperbolic cosinearccosh(a)arcosh a Arc hyperbolic tangentarctanh(a)artanh a Arc hyperbolic cotangentarccoth(a)arcoth a factorialfact(a)a!Math ObjectsDisplay11

Math commands - ReferenceOperatorsAll operators can be used with the limit functions (“from” and “to”)Table 5. Commands, ctprod(a)Coproductcoprod(a)Limits from and to (shownwith intigral)int from {r 0} to {r t} aDisplaylim a a a art ar0Intigralint{a}Double intigraliint{a}Tripple Intigraliiint{a}Lower limit shown withsummation symbolsum from{3}bCurved intigerallint aDouble curved intigeralllint aTripple curved intigerallllint aUpper limit shown withproduct symbolprod to{3} rMath Objects a a a b3 a a a3 r12

Math commands - ReferenceAttributesTable 6. AttributesOperationCommandDisplayAcute accentacute aa Grave accentgrave aa Reverse circumflexcheck aa Brevebreve aa Circlecircle aåVector arrowvec a aTildetilde aa Circumflexhat aa Line abovebar aDotdot aa ȧWide vector arrowwidevec abcWide tildewidetilde abc abc abcWide circumflexwidehat abc abcDouble dotddotäLine overoverline abcabcLine underunderline abcabcLine throughoverstrike acbacbRipple dotdddot aa Transparent (useful to get aplaceholder of a given size)phantom aBold fontbold aaItalic font1ital aaResize fontsize 16 qvqvFollowing item in sans seriffont2font sans qvqvFollowing item in serif fontfont serif qvqvFollowing item in fixed fontfont fixed qvqv1 Unquoted text that isn't a command is considered to be a variable. Variables are, by default, italicized.2 There are three custom fonts: sans serif (without kicks), serifs (with kicks), and fixed (non proportional). Tochange the actual fonts used for custom fonts and the fonts used for variables (unquoted text), numbers andfunctions, use: Format Fonts.Math Objects13

Math commands - ReferenceOperationCommandMake color of following textcyancolor cyan qvqvMake color of following textyellowcolor yellow qvqvMake color of following textgreencolor white qvqvMake color of following textwhitecolor green qvqvMake color of following textbluecolor blue qvqvMake color of following textredcolor red qvqvMake color green returns todefault color blackcolor green X qvX qvBrace items to change colorof more than one itemcolor green {X qv}X qvMath ObjectsDisplay14

Math commands - ReferenceOthersTable 7. Commands, othersOperationCommandInfinityinfinity Partialpartial Nablanabla There existsexists For allforall H barhbarℏaLambda barlambdabarƛReal partreℜImaginary partimℑWeierstrss pwp Left arrowleftarrow Right arrowrightarrow Up arrowuparrow Down arrowdownarrow Dots at bottomdotslow Dots at middledotsaxis Dots verticaldotsvert Dots diagonal upwarddotsup Dots diagonal downwarddotsdown Math ObjectsDisplay15

Math commands - ReferenceBracketsTable 8. Commands, bracesOperationCommandRound Brackets(a) a Square Brackets[b][b]Double Square Bracketsldbracket c rdbracket〚c〛Single linelline a rline a Double lineldline a rdline a Braceslbrace w rbrace{w }Angle Bracketslangle d rangle〈d 〉Operator Bracketslangle a mline b rangle〈 a b〉Group brackets (used forprogram control){a}aScalable round brackets(add the word “left before aleft bracket and “right”before a right bracket).left ( stack{a # b # z} right )Square brackets scalable(as above).left [ stack{ x # y} right ][ xy ]Double square bracketsscalableleft ldbracket c right rdbracket〚c〛Line scalableleft lline a right rline a Double line scalableleft ldline d right rdlineBrace scalableleft lbrace e right rbraceAngle bracket scalableleft langle f right rangleOperator brackets scalableleft langle g mline h rightrangle d {e }〈f〉〈 g h 〉Over brace scalable{The brace is above} overbraceaUnder brace scaleable{the brace is below}underbrace{f}Math ObjectsDisplay abzaThe brace is above the brace is below f16

Math commands - ReferenceFormatsTable 9. Commands, formatsOperationCommandLeft Superscripta lsup{b}DisplaybabCenter Superscriptsum(a)a csup{b}aRight Superscripta {b}aLeft subscripta lsub{b}Center subscripta csub{b}bbaabRight subscripta {b}abAlign character to leftstack { Hello world # alignlHello world a (a) }Align character to centerstack{Hello world # alignc(a)}Hello world a Align character to rightstack { Hello world # alignr(a)}Hello world a Vertical stack of 2binom{a}{b}abVertical stack, more than 2stack{a # b # z}abzMatrix stackmatrix{a # b ## c # d}a bc dCommon mathematicalarrangementmatrix{a # " "b ## {} # " "c}a b cNew Lineasldkfjo newline sadkfjasldkfjosadkfjSmall gap (apostrophe)stuff stuffstuff stuffLarge gap (tilde)stuff stuffstuff stuffMath Objects17

Math commands - ReferenceCharacters – GreekTable 10. Characters, Greek%ALPHAA%BETAB%CHIX%DELTA %EPSILONE%ETAH%GAMMA %IOTAI%KAPPAK%LAMBDA %MUM%NUN%OMEGA %OMICRONO%PHI %PI %PSI %RHOP%SIGMA %THETA %UPSILON %XI %ZETAZ%alpha %beta %chi %delta %epsilon %eta %gamma %iota %kappa %lambda %mu %nu %omega %omicron %phi %pi %rho %sigma %tau %theta %upsilon %varepsilon %varphi %varpi %varrhoϱ%varsigma %vartheta %xi %zeta Characters - SpecialTable 11. Characters, special%and %infinite%angle %perthousandMath Objects %noelement %strictlygreaterthan %element %identical%notequal %or%strictlylessthan %

Math commands - Reference Relational operators Table 2. Commands, relations Operation Command Display Is equal a b a b Is not equal a b a 2 Approximately a approx 2 a 2 Divides a divides b a b Does not divide a ndivides b a b Less than a 2 a 2 Greater than a 2 a 2 Similar to or equal a simeq b a b Parallel a parallel b a b Orthogonal to a ortho b a b Less than or equal .

Related Documents:

MANUAL BÁSICO DE OPENOFFICE WRITER Entorno Formato Ta b l a s I m a g e n P D F . ÍNDICE 01 Capítulo 1: Introducción al OpenOffice Writer 3.0 1.1. Introducción al OpenOffice Writer 3.0 1.2. Ejecutar OpenOffice Writer 1.3. Descripción del entorno de trabajo de OpenOffice

OpenOffice.org Writer - Herramienta dedicada a la edición de texto también llamado procesador de textos. OpenOffice.org Calc - Herramienta para trabajar con hojas de cálculo. OpenOffice.org Impress - Herramienta destinada a crear presentaciones y diapositivas. OpenOffice.org Draw - Her

trabajados en OpenOffice Writer. OpenOffice Calc es la aplicación del tipo de planilla de cálculo del paquete ofimático OpenOffice, esto permite definir acciones comunes con OpenOffice Writer. El objetivo de la comparación de estas d

3. Install any language packs needed for OpenOffice.org. Removing .debs 4. If you want to remove a package, you have two options. The first is most intuitive: dpkg -r openoffice.org This will remove the openoffice.org package (-r is short for --remove). Note that you give only the 'openoffice.org' for --remove, while --install requires the .

OpenOffice.org (OOo) is both a software product and a community of volunteers who produce and support the software. Note Because someone else owns the trademark OpenOffice, the correct name for both the open-source project and its software is OpenOffice.org. The OpenOffice.org software is a freely available, full-featured office suite.

Visio Microsoft Office Word Notepad Numbers OpenOffice.org Calc OpenOffice.org Draw OpenOffice.org Math OpenOffice.org Writer Pages Reminders Stickies TextEdit WordPad Online . Portable Devices Bluetooth Stack COM Server - BTStackServer Copy/Cut Paste File Access File Access Fsquirt iTu

CAPÍTULO 1: INTRODUCCIÓN A OPENOFFICE WRITER 3.0 OpenOffice Writer es parte de la suite de ofimática OpenOffice de Sun Microsystems. Esta herramienta es un potente procesador de texto, totalmente compatible con Microsoft Word y además nos provee de nuevas funcion

Manual d'OpenOffice.org Anna Gimferrer i Laura Vidal Què és OpenOffice.org Writer? El mòdul d'OpenOffice.org anomenat Writer serveix per a redactar textos, faxos, sobres, cartes o qualsevol tipus de text. També té la possibilitat d'incloure-hi gràfics, notes, marcs, taules, així c