summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/smath/01/03091200.xhp
blob: fd1a74db20f1a259d2f3ddb4a419bda4e30b213b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
 *
 *  The Contents of this file are made available subject to the terms of
 *  either of the following licenses
 *
 *         - GNU Lesser General Public License Version 2.1
 *         - Sun Industry Standards Source License Version 1.1
 *
 *  Sun Microsystems Inc., October, 2000
 *
 *  GNU Lesser General Public License Version 2.1
 *  =============================================
 *  Copyright 2000 by Sun Microsystems, Inc.
 *  901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License version 2.1, as published by the Free Software Foundation.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *  MA  02111-1307  USA
 *
 *
 *  Sun Industry Standards Source License Version 1.1
 *  =================================================
 *  The contents of this file are subject to the Sun Industry Standards
 *  Source License Version 1.1 (the "License"); You may not use this file
 *  except in compliance with the License. You may obtain a copy of the
 *  License at http://www.openoffice.org/license.html.
 *
 *  Software provided under this License is provided on an "AS IS" basis,
 *  WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 *  See the License for the specific provisions governing your rights and
 *  obligations concerning the Software.
 *
 *  The Initial Developer of the Original Code is: Sun Microsystems, Inc..
 *
 *  Copyright: 2000 by Sun Microsystems, Inc.
 *
 *  All Rights Reserved.
 *
 *  Contributor(s): _______________________________________
 *
 *
 ************************************************************************-->
	
<helpdocument version="1.0">
<meta>
<topic id="textsmath0103091200xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Indexes and Exponents</title>
<filename>/text/smath/01/03091200.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-08-02T09:00:37">converted from old format - fpe
dedr: fixed #i30770#</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3150746"><bookmark_value>indexes and exponents in $[officename] Math</bookmark_value>
<bookmark_value>exponents and indexes in $[officename] Math</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3150746" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/smath/01/03091200.xhp" name="Indexes and Exponents">Indexes and Exponents</link></paragraph>
<paragraph role="paragraph" id="par_id3153730" xml-lang="en-US" l10n="U" oldref="2">Here, you will find basic information about indexes and exponents in <emph>$[officename] Math</emph>. You can try the examples described here to help you understand the details discussed. (The quotation marks in this text are for emphasis purposes only and are not part of the examples.)</paragraph>
<paragraph role="paragraph" id="par_id3149884" xml-lang="en-US" l10n="U" oldref="3">The index and exponent for a character are displayed one on top of the other, left-justified to the base character. For example, type <emph>a_2^3</emph> or <emph>a^3_2</emph>. This can be in any order. Instead of <emph>'_'</emph> and <emph>'^'</emph>, you can use <emph>'sub'</emph> and <emph>'sup'</emph>.</paragraph>
<paragraph role="paragraph" id="par_id3148387" xml-lang="en-US" l10n="U" oldref="4">However, it is no longer possible to use the following patterns</paragraph>
<paragraph role="paragraph" id="par_id3149029" xml-lang="en-US" l10n="U" oldref="5">a_2_3</paragraph>
<paragraph role="paragraph" id="par_id3155985" xml-lang="en-US" l10n="U" oldref="6">a^2^3</paragraph>
<paragraph role="paragraph" id="par_id3153923" xml-lang="en-US" l10n="U" oldref="7">a_2^3_4</paragraph>
<paragraph role="paragraph" id="par_id3153724" xml-lang="en-US" l10n="U" oldref="8">Each sub-/superscript position of a base character can only be used once. You must use brackets to indicate the desired result. The following examples illustrate this</paragraph>
<paragraph role="paragraph" id="par_id3151185" xml-lang="en-US" l10n="U" oldref="9">a_{2_3}</paragraph>
<paragraph role="paragraph" id="par_id3151272" xml-lang="en-US" l10n="U" oldref="10">a^{2^3}</paragraph>
<paragraph role="paragraph" id="par_id3156316" xml-lang="en-US" l10n="U" oldref="11">a_2^{3_4}</paragraph>
<paragraph role="paragraph" id="par_id3145207" xml-lang="en-US" l10n="U" oldref="12">a_{2^3}^{4_5}</paragraph>
<paragraph role="tip" id="par_id3151173" xml-lang="en-US" l10n="U" oldref="13">Unlike other formula editors where "<emph>_</emph>" and " <emph>^</emph> " only refer to the next character ("a_24" refers only to the "2"), $[officename] Math refers to the entire number(s)/name(s)/text. If you want to put superscripts and subscripts in sequence, the expression can be written as follows: a_2{}^3 or a^3{}_2</paragraph>
<paragraph role="paragraph" id="par_id3154260" xml-lang="en-US" l10n="U" oldref="15">To write tensors, <emph>$[officename] Math</emph> provides several options. In addition to the notation "R_i{}^{jk}{}_l", common in other applications, additional notations can be used, namely "R_i{}^jk{}_l" and "{{R_i}^jk}_l."</paragraph>
<paragraph role="paragraph" id="par_id3147516" xml-lang="en-US" l10n="U" oldref="16">Super- and subscripts to the left of the base character can also be right-justified. To do this, the new commands "lsub" and "lsup" are used. Both commands have the same effect as "sub" and "sup", except that they are left of the base character. See also "a lsub 2 lsup 3."</paragraph>
<paragraph role="paragraph" id="par_id3154276" xml-lang="en-US" l10n="U" oldref="17">The rules governing unambiguity and the necessity of using brackets remain the same. In principle, this can be achieved with <emph>{}_2^3 a</emph>.</paragraph>
<paragraph role="note" id="par_id3152961" xml-lang="en-US" l10n="U" oldref="18">The commands "sub" and "sup" are also available as "rsub" and "rsup".</paragraph>
<paragraph role="paragraph" id="par_id3158437" xml-lang="en-US" l10n="U" oldref="20">Using the "csub" and "csup" commands, you can write super- and subscripts directly above or below a character. An example is "a csub y csup x". Combinations of indexes and exponents together are also possible: "abc_1^2 lsub 3 lsup 4 csub 55555 csup 66666."</paragraph>
<paragraph role="paragraph" id="par_id3154570" xml-lang="en-US" l10n="U" oldref="21">Super- and subscripts can be attached to most unary and binary operators. Two examples: "a div_2 b a&lt;csub n b +_2 h" and "a toward csub f b x toward csup f y."</paragraph>
<paragraph role="warning" id="par_id3155904" xml-lang="en-US" l10n="U" oldref="19">Be sure to to also enter all spaces between characters when entering these examples into the <emph>Commands</emph> window.</paragraph>
</body>
</helpdocument>