1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 352ac0773SAndrew Rist<!--*********************************************************** 41ab4867aSmseidel * 552ac0773SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 652ac0773SAndrew Rist * or more contributor license agreements. See the NOTICE file 752ac0773SAndrew Rist * distributed with this work for additional information 852ac0773SAndrew Rist * regarding copyright ownership. The ASF licenses this file 952ac0773SAndrew Rist * to you under the Apache License, Version 2.0 (the 1052ac0773SAndrew Rist * "License"); you may not use this file except in compliance 1152ac0773SAndrew Rist * with the License. You may obtain a copy of the License at 121ab4867aSmseidel * 1352ac0773SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 141ab4867aSmseidel * 1552ac0773SAndrew Rist * Unless required by applicable law or agreed to in writing, 1652ac0773SAndrew Rist * software distributed under the License is distributed on an 1752ac0773SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1852ac0773SAndrew Rist * KIND, either express or implied. See the License for the 1952ac0773SAndrew Rist * specific language governing permissions and limitations 2052ac0773SAndrew Rist * under the License. 211ab4867aSmseidel * 2252ac0773SAndrew Rist ***********************************************************--> 2352ac0773SAndrew Rist 241ab4867aSmseidel<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textsmathguidelimitsxml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Working with Limits</title> 28cdf0e10cSrcweir<filename>/text/smath/guide/limits.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 32*82a98929Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id8404492"> 33*82a98929Smseidel<bookmark_value>limits;in sums/integrals</bookmark_value> 34cdf0e10cSrcweir<bookmark_value>integral limits</bookmark_value> 35cdf0e10cSrcweir</bookmark> 36cdf0e10cSrcweir<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> 37cdf0e10cSrcweir</variable></paragraph> 38cdf0e10cSrcweir<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> 39cdf0e10cSrcweir<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> 40cdf0e10cSrcweir<list type="ordered"> 41cdf0e10cSrcweir<listitem> 42cdf0e10cSrcweir<paragraph role="paragraph" id="par_id8811304" xml-lang="en-US" l10n="NEW">Choose <item type="menuitem">Insert - Object - Formula</item>.</paragraph> 43cdf0e10cSrcweir<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> 44cdf0e10cSrcweir</listitem> 45cdf0e10cSrcweir<listitem> 46cdf0e10cSrcweir<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> 47cdf0e10cSrcweir</listitem> 48cdf0e10cSrcweir<listitem> 49cdf0e10cSrcweir<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> 50cdf0e10cSrcweir</listitem> 51cdf0e10cSrcweir<listitem> 52cdf0e10cSrcweir<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> 53cdf0e10cSrcweir</listitem> 54cdf0e10cSrcweir<listitem> 55cdf0e10cSrcweir<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> 56cdf0e10cSrcweir<paragraph role="code" id="par_id8679158" xml-lang="en-US" l10n="NEW">k = 0</paragraph> 57cdf0e10cSrcweir</listitem> 58cdf0e10cSrcweir<listitem> 59cdf0e10cSrcweir<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> 60cdf0e10cSrcweir<paragraph role="code" id="par_id4731894" xml-lang="en-US" l10n="NEW">n</paragraph> 61cdf0e10cSrcweir</listitem> 62cdf0e10cSrcweir<listitem> 63cdf0e10cSrcweir<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> 64cdf0e10cSrcweir<paragraph role="code" id="par_id651875" xml-lang="en-US" l10n="NEW">s^k</paragraph> 65cdf0e10cSrcweir</listitem> 66cdf0e10cSrcweir<listitem> 67cdf0e10cSrcweir<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> 68cdf0e10cSrcweir</listitem> 69cdf0e10cSrcweir</list> 70cdf0e10cSrcweir<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> 71cdf0e10cSrcweir<list type="ordered"> 72cdf0e10cSrcweir<listitem> 73cdf0e10cSrcweir<paragraph role="paragraph" id="par_id5866267" xml-lang="en-US" l10n="NEW">Choose <item type="menuitem">Insert - Object - Formula</item>.</paragraph> 74cdf0e10cSrcweir</listitem> 75cdf0e10cSrcweir<listitem> 76cdf0e10cSrcweir<paragraph role="paragraph" id="par_id1965697" xml-lang="en-US" l10n="NEW">Click in the input window and enter the following line:</paragraph> 77cdf0e10cSrcweir<paragraph role="code" id="par_id9004486" xml-lang="en-US" l10n="NEW">int from{a} to{b} f(x)`dx</paragraph> 78cdf0e10cSrcweir<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> 79cdf0e10cSrcweir</listitem> 80cdf0e10cSrcweir</list> 81cdf0e10cSrcweir<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> 82cdf0e10cSrcweir<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> 83cdf0e10cSrcweir<embed href="text/shared/00/00000004.xhp#related"/> 84cdf0e10cSrcweir<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> 85cdf0e10cSrcweir</body> 86cdf0e10cSrcweir</helpdocument> 87