1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir 5*cdf0e10cSrcweir<!-- 6*cdf0e10cSrcweir *********************************************************************** 7*cdf0e10cSrcweir * 8*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 9*cdf0e10cSrcweir * 10*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 11*cdf0e10cSrcweir * 12*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 13*cdf0e10cSrcweir * 14*cdf0e10cSrcweir * This file is part of OpenOffice.org. 15*cdf0e10cSrcweir * 16*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 17*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 18*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 19*cdf0e10cSrcweir * 20*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 21*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 22*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 24*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 27*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 28*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 29*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 30*cdf0e10cSrcweir * 31*cdf0e10cSrcweir ************************************************************************ 32*cdf0e10cSrcweir --> 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir <helpdocument version="1.0"> 36*cdf0e10cSrcweir<meta> 37*cdf0e10cSrcweir<topic id="textsmathguidelimitsxml" indexer="include" status="PUBLISH"> 38*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Working with Limits</title> 39*cdf0e10cSrcweir<filename>/text/smath/guide/limits.xhp</filename> 40*cdf0e10cSrcweir</topic> 41*cdf0e10cSrcweir</meta> 42*cdf0e10cSrcweir<body> 43*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id8404492"><bookmark_value>limits;in sums/integrals</bookmark_value> 44*cdf0e10cSrcweir<bookmark_value>integral limits</bookmark_value> 45*cdf0e10cSrcweir</bookmark> 46*cdf0e10cSrcweir<paragraph role="heading" id="hd_id1892147" xml-lang="en-US" level="1" l10n="NEW"><variable id="limits"><link href="text/smath/guide/limits.xhp">Working with Limits</link> 47*cdf0e10cSrcweir</variable></paragraph> 48*cdf0e10cSrcweir<paragraph role="heading" id="hd_id9881893" xml-lang="en-US" level="3" l10n="NEW">How can I define the limits in a Sum or Integral formula?<comment>i83226</comment></paragraph> 49*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id6504409" xml-lang="en-US" l10n="NEW">You want to insert a summation formula like "summation of s^k from k = 0 to n" at the cursor in a Writer text document.</paragraph> 50*cdf0e10cSrcweir<list type="ordered"> 51*cdf0e10cSrcweir<listitem> 52*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id8811304" xml-lang="en-US" l10n="NEW">Choose <item type="menuitem">Insert - Object - Formula</item>.</paragraph> 53*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id1276589" xml-lang="en-US" l10n="NEW">You see the Math input window and the Elements window. If you don't see the Elements window, you can enable it in the View menu.</paragraph> 54*cdf0e10cSrcweir</listitem> 55*cdf0e10cSrcweir<listitem> 56*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3283791" xml-lang="en-US" l10n="NEW">In the upper part of the Elements window, click the <emph>Operators</emph> icon.</paragraph> 57*cdf0e10cSrcweir</listitem> 58*cdf0e10cSrcweir<listitem> 59*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id9734794" xml-lang="en-US" l10n="NEW">In the lower part of the Elements window, click the <emph>Sum</emph> icon.</paragraph> 60*cdf0e10cSrcweir</listitem> 61*cdf0e10cSrcweir<listitem> 62*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id9641712" xml-lang="en-US" l10n="NEW">To enable lower and upper limits, click additionally the <emph>Upper and Lower Limits</emph> icon.</paragraph> 63*cdf0e10cSrcweir</listitem> 64*cdf0e10cSrcweir<listitem> 65*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3304239" xml-lang="en-US" l10n="NEW">In the input window, the first placeholder or marker is selected, and you can start to enter the lower limit: </paragraph> 66*cdf0e10cSrcweir<paragraph role="code" id="par_id8679158" xml-lang="en-US" l10n="NEW">k = 0</paragraph> 67*cdf0e10cSrcweir</listitem> 68*cdf0e10cSrcweir<listitem> 69*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id8471327" xml-lang="en-US" l10n="NEW">Press F4 to advance to the next marker, and enter the upper limit:</paragraph> 70*cdf0e10cSrcweir<paragraph role="code" id="par_id4731894" xml-lang="en-US" l10n="NEW">n</paragraph> 71*cdf0e10cSrcweir</listitem> 72*cdf0e10cSrcweir<listitem> 73*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id759300" xml-lang="en-US" l10n="NEW">Press F4 to advance to the next marker, and enter the summand:</paragraph> 74*cdf0e10cSrcweir<paragraph role="code" id="par_id651875" xml-lang="en-US" l10n="NEW">s^k</paragraph> 75*cdf0e10cSrcweir</listitem> 76*cdf0e10cSrcweir<listitem> 77*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id6756187" xml-lang="en-US" l10n="NEW">Now the formula is complete. Click into your text document outside the formula to leave the formula editor.</paragraph> 78*cdf0e10cSrcweir</listitem> 79*cdf0e10cSrcweir</list> 80*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id9406414" xml-lang="en-US" l10n="NEW">In the same way, you can enter an Integral formula with limits. When you click an icon from the Elements window, the assigned text command is inserted in the input window. If you know the text commands, you can enter the commands directly in the input window.</paragraph> 81*cdf0e10cSrcweir<list type="ordered"> 82*cdf0e10cSrcweir<listitem> 83*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id5866267" xml-lang="en-US" l10n="NEW">Choose <item type="menuitem">Insert - Object - Formula</item>.</paragraph> 84*cdf0e10cSrcweir</listitem> 85*cdf0e10cSrcweir<listitem> 86*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id1965697" xml-lang="en-US" l10n="NEW">Click in the input window and enter the following line:</paragraph> 87*cdf0e10cSrcweir<paragraph role="code" id="par_id9004486" xml-lang="en-US" l10n="NEW">int from{a} to{b} f(x)`dx</paragraph> 88*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id4651020" xml-lang="en-US" l10n="NEW">A small gap exists between f(x) and dx, which you can also enter using the Elements window: click the <emph>Format</emph> icon, then the <emph>Small Gap</emph> icon.</paragraph> 89*cdf0e10cSrcweir</listitem> 90*cdf0e10cSrcweir</list> 91*cdf0e10cSrcweir<paragraph role="note" id="par_id3877071" xml-lang="en-US" l10n="NEW">If you don't like the font of the letters f and x, choose <item type="menuitem">Format - Fonts</item> and select other fonts. Click the <emph>Default</emph> button to use the new fonts as default from now on.</paragraph> 92*cdf0e10cSrcweir<paragraph role="tip" id="par_id3021332" xml-lang="en-US" l10n="NEW">If you need the formula within a line of text, the limits increase the line height. You can choose <item type="menuitem">Format - Text Mode</item> to place the limits besides the Sum or Integral symbol, which reduces the line height.</paragraph> 93*cdf0e10cSrcweir<embed href="text/shared/00/00000004.xhp#related"/> 94*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id260322" xml-lang="en-US" l10n="NEW"><link href="text/smath/01/03090909.xhp">Example of Integral and Sum ranges</link></paragraph> 95*cdf0e10cSrcweir</body> 96*cdf0e10cSrcweir</helpdocument> 97