1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
352ac0773SAndrew Rist<!--***********************************************************
4a136aadcSmseidel *
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
12a136aadcSmseidel *
1352ac0773SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14a136aadcSmseidel *
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.
21a136aadcSmseidel *
2252ac0773SAndrew Rist ***********************************************************-->
2352ac0773SAndrew Rist
24a136aadcSmseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textsmath0103090700xml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Format</title>
28cdf0e10cSrcweir<filename>/text/smath/01/03090700.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
32cdf0e10cSrcweir<section id="formatierungen">
330268794fSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3153150">
340268794fSmseidel<bookmark_value>formatting;in $[officename] Math</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>$[officename] Math; formatting</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>superscripts</bookmark_value>
37cdf0e10cSrcweir<bookmark_value>binomials</bookmark_value>
38cdf0e10cSrcweir<bookmark_value>vertical elements</bookmark_value>
39cdf0e10cSrcweir<bookmark_value>lines; inserting in formulas</bookmark_value>
40cdf0e10cSrcweir<bookmark_value>subscripts</bookmark_value>
41cdf0e10cSrcweir<bookmark_value>stacks</bookmark_value>
42cdf0e10cSrcweir<bookmark_value>vertical arrangement of elements</bookmark_value>
43cdf0e10cSrcweir<bookmark_value>small gaps</bookmark_value>
44cdf0e10cSrcweir<bookmark_value>alignment; left (Math)</bookmark_value>
45cdf0e10cSrcweir<bookmark_value>left-justified alignment (Math)</bookmark_value>
46cdf0e10cSrcweir<bookmark_value>alignment; horizontally centered (Math)</bookmark_value>
47cdf0e10cSrcweir<bookmark_value>centered horizontally; alignment (Math)</bookmark_value>
48cdf0e10cSrcweir<bookmark_value>alignment; right (Math)</bookmark_value>
49cdf0e10cSrcweir<bookmark_value>right-justified alignment in %PRODUCTNAME Math</bookmark_value>
50cdf0e10cSrcweir<bookmark_value>matrices; arranging</bookmark_value>
51cdf0e10cSrcweir<bookmark_value>spaces in formulas</bookmark_value>
52cdf0e10cSrcweir<bookmark_value>gaps in formulas</bookmark_value>
53cdf0e10cSrcweir<bookmark_value>inserting; gaps</bookmark_value>
54cdf0e10cSrcweir<bookmark_value>arranging;matrices</bookmark_value>
55cdf0e10cSrcweir<bookmark_value>formulas;aligning</bookmark_value>
56cdf0e10cSrcweir<bookmark_value>aligning formulas</bookmark_value>
57cdf0e10cSrcweir</bookmark><comment>mw added two index entries about formula alignement and made "formatting.." a two level entry</comment>
58cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_FORMAT_TBX" id="bm_id3149290" localize="false"/>
5900f592e0Smseidel<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_FORMAT_CAT" id="bm_id3149294" localize="false"/>
60*40365b4dSmseidel<paragraph role="heading" id="hd_id3153150" xml-lang="en-US" level="1" l10n="U"><link href="text/smath/01/03090700.xhp" name="Format">Format</link></paragraph>
61*40365b4dSmseidel<paragraph role="paragraph" id="par_id3147262" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_FORMAT_CAT">You can choose among various options for formatting a $[officename] Math formula. The format options are displayed in the lower half of the Formula Elements window.</ahelp> These options are also listed in the <link href="text/shared/00/00000001.xhp#kontextmenue" name="context menu">context menu</link> of the <emph>Commands</emph> window.</paragraph>
62cdf0e10cSrcweir</section>
63cdf0e10cSrcweir<section id="howtoget">
64a136aadcSmseidel<embed href="text/smath/00/00000004.xhp#astasr"/>
65cdf0e10cSrcweir</section>
66*40365b4dSmseidel<paragraph role="paragraph" id="par_id3154263" xml-lang="en-US" l10n="U">The following is a complete list of all available formatting options in $[officename] Math. The icon next to the formatting option indicates that it can be accessed through the Elements window (menu <emph>View - Elements</emph>) or through the context menu of the <emph>Commands</emph> window.</paragraph>
67*40365b4dSmseidel<paragraph role="note" id="par_id3153536" xml-lang="en-US" l10n="U">The letter "a" refers to the placeholder in your formula which you would like to assign to the respective formatting. You can substitute this character for any other you like.</paragraph>
68*40365b4dSmseidel<paragraph role="heading" id="hd_id3151104" xml-lang="en-US" level="3" l10n="U">Formatting options</paragraph>
69cdf0e10cSrcweir<table id="tbl_id3154569">
70cdf0e10cSrcweir<tablerow>
71cdf0e10cSrcweir<tablecell colspan="" rowspan="">
72cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN1008B" xml-lang="en-US" l10n="F">
73cdf0e10cSrcweir<image id="img_id3150981" src="starmath/res/co21916.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3150981" xml-lang="en-US">Icon</alt>
74a136aadcSmseidel</image></paragraph>
75cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_LSUPX" id="bm_id3154473" localize="false"/></tablecell>
76cdf0e10cSrcweir<tablecell colspan="" rowspan="">
77*40365b4dSmseidel<paragraph role="tablehead" id="par_id3147519" xml-lang="en-US" l10n="U">Superscript left</paragraph>
78*40365b4dSmseidel<paragraph role="paragraph" id="par_id3147531" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_LSUPX">Inserts a superscript to the left of a placeholder.</ahelp> You can also type <emph>&lt;?&gt;lsup{&lt;?&gt;}</emph> in the <emph>Commands</emph> window.</paragraph>
79cdf0e10cSrcweir</tablecell>
80cdf0e10cSrcweir</tablerow>
81cdf0e10cSrcweir</table>
82cdf0e10cSrcweir<table id="tbl_id3155895">
83cdf0e10cSrcweir<tablerow>
84cdf0e10cSrcweir<tablecell colspan="" rowspan="">
85cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN100C4" xml-lang="en-US" l10n="F">
86cdf0e10cSrcweir<image id="img_id3149691" src="starmath/res/co21918.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3149691" xml-lang="en-US">Icon</alt>
87a136aadcSmseidel</image></paragraph>
88cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_CSUPX" id="bm_id3146921" localize="false"/></tablecell>
89cdf0e10cSrcweir<tablecell colspan="" rowspan="">
90*40365b4dSmseidel<paragraph role="tablehead" id="par_id3146931" xml-lang="en-US" l10n="U">Superscript top</paragraph>
91*40365b4dSmseidel<paragraph role="paragraph" id="par_id3159195" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_CSUPX">Inserts a superscript directly above a placeholder.</ahelp> You can also type <emph>&lt;?&gt;csup&lt;?&gt;</emph> directly in the <emph>Commands</emph> window.</paragraph>
92cdf0e10cSrcweir</tablecell>
93cdf0e10cSrcweir</tablerow>
94cdf0e10cSrcweir</table>
95cdf0e10cSrcweir<table id="tbl_id3149482">
96cdf0e10cSrcweir<tablerow>
97cdf0e10cSrcweir<tablecell colspan="" rowspan="">
98cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN100FF" xml-lang="en-US" l10n="F">
99cdf0e10cSrcweir<image id="img_id3149097" src="starmath/res/co21908.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3149097" xml-lang="en-US">Icon</alt>
100a136aadcSmseidel</image></paragraph>
101cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_RSUPX" id="bm_id3149821" localize="false"/></tablecell>
102cdf0e10cSrcweir<tablecell colspan="" rowspan="">
103*40365b4dSmseidel<paragraph role="tablehead" id="par_id3151249" xml-lang="en-US" l10n="U">Superscript right</paragraph>
104*40365b4dSmseidel<paragraph role="paragraph" id="par_id3151262" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_RSUPX">Inserts a superscript to the right of a placeholder.</ahelp> You can also type <emph>&lt;?&gt;^{&lt;?&gt;}</emph> directly in the <emph>Commands</emph> window, or you can use <emph>rsup</emph> or <emph>sup</emph>.</paragraph>
105cdf0e10cSrcweir</tablecell>
106cdf0e10cSrcweir</tablerow>
107cdf0e10cSrcweir</table>
108cdf0e10cSrcweir<table id="tbl_id3154908">
109cdf0e10cSrcweir<tablerow>
110cdf0e10cSrcweir<tablecell colspan="" rowspan="">
111cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN1013E" xml-lang="en-US" l10n="F">
112cdf0e10cSrcweir<image id="img_id3149044" src="starmath/res/co21905.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3149044" xml-lang="en-US">Icon</alt>
113a136aadcSmseidel</image></paragraph>
114cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_BINOMXY" id="bm_id3147575" localize="false"/></tablecell>
115cdf0e10cSrcweir<tablecell colspan="" rowspan="">
116*40365b4dSmseidel<paragraph role="tablehead" id="par_id3152774" xml-lang="en-US" l10n="U">Vertical stack (2 elements)</paragraph>
117*40365b4dSmseidel<paragraph role="paragraph" id="par_id3147326" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_BINOMXY">Inserts a vertical stack (binomial) with two placeholders.</ahelp> You can also type <emph>binom&lt;?&gt;&lt;?&gt;</emph> directly in the <emph>Commands</emph> window.</paragraph>
118cdf0e10cSrcweir</tablecell>
119cdf0e10cSrcweir</tablerow>
120cdf0e10cSrcweir</table>
121cdf0e10cSrcweir<table id="tbl_id3147079">
122cdf0e10cSrcweir<tablerow>
123cdf0e10cSrcweir<tablecell colspan="" rowspan="">
124cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10179" xml-lang="en-US" l10n="F">
125cdf0e10cSrcweir<image id="img_id3154390" src="starmath/res/co21901.png" width="0.2228inch" height="0.2228inch"><alt id="alt_id3154390" xml-lang="en-US">Icon</alt>
126a136aadcSmseidel</image></paragraph>
127cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_NEWLINE" id="bm_id3151033" localize="false"/></tablecell>
128cdf0e10cSrcweir<tablecell colspan="" rowspan="">
129*40365b4dSmseidel<paragraph role="tablehead" id="par_id3150575" xml-lang="en-US" l10n="U">New line</paragraph>
130*40365b4dSmseidel<paragraph role="paragraph" id="par_id3150587" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_NEWLINE">Inserts a new line in your document.</ahelp> You can also type <emph>newline</emph> directly in the <emph>Commands</emph> window.</paragraph>
131cdf0e10cSrcweir</tablecell>
132cdf0e10cSrcweir</tablerow>
133cdf0e10cSrcweir</table>
134cdf0e10cSrcweir<table id="tbl_id3154918">
135cdf0e10cSrcweir<tablerow>
136cdf0e10cSrcweir<tablecell colspan="" rowspan="">
137cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN101B2" xml-lang="en-US" l10n="F">
138cdf0e10cSrcweir<image id="img_id3155117" src="starmath/res/co21912.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3155117" xml-lang="en-US">Icon</alt>
139a136aadcSmseidel</image></paragraph>
140cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_LSUBX" id="bm_id3148751" localize="false"/></tablecell>
141cdf0e10cSrcweir<tablecell colspan="" rowspan="">
142*40365b4dSmseidel<paragraph role="tablehead" id="par_id3148760" xml-lang="en-US" l10n="U">Subscript left</paragraph>
143*40365b4dSmseidel<paragraph role="paragraph" id="par_id3147309" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_LSUBX">Inserts a subscript to the left of a placeholder.</ahelp> You can also type <emph>&lt;?&gt;lsub{&lt;?&gt;}</emph> in the <emph>Commands</emph> window.</paragraph>
144cdf0e10cSrcweir</tablecell>
145cdf0e10cSrcweir</tablerow>
146cdf0e10cSrcweir</table>
147cdf0e10cSrcweir<table id="tbl_id3151384">
148cdf0e10cSrcweir<tablerow>
149cdf0e10cSrcweir<tablecell colspan="" rowspan="">
150cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN101EB" xml-lang="en-US" l10n="F">
151cdf0e10cSrcweir<image id="img_id3149544" src="starmath/res/co21917.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3149544" xml-lang="en-US">Icon</alt>
152a136aadcSmseidel</image></paragraph>
153cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_CSUBX" id="bm_id3150119" localize="false"/></tablecell>
154cdf0e10cSrcweir<tablecell colspan="" rowspan="">
155*40365b4dSmseidel<paragraph role="tablehead" id="par_id3150687" xml-lang="en-US" l10n="U">Subscript bottom</paragraph>
156*40365b4dSmseidel<paragraph role="paragraph" id="par_id3150699" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_CSUBX">Inserts a subscript directly under a placeholder.</ahelp> You can also type <emph>&lt;?&gt;csub&lt;?&gt;</emph> directly in the <emph>Commands</emph> window.</paragraph>
157cdf0e10cSrcweir</tablecell>
158cdf0e10cSrcweir</tablerow>
159cdf0e10cSrcweir</table>
160cdf0e10cSrcweir<table id="tbl_id3147624">
161cdf0e10cSrcweir<tablerow>
162cdf0e10cSrcweir<tablecell colspan="" rowspan="">
163cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10226" xml-lang="en-US" l10n="F">
164cdf0e10cSrcweir<image id="img_id3145265" src="starmath/res/co21904.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3145265" xml-lang="en-US">Icon</alt>
165a136aadcSmseidel</image></paragraph>
166cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_RSUBX" id="bm_id3145126" localize="false"/></tablecell>
167cdf0e10cSrcweir<tablecell colspan="" rowspan="">
168*40365b4dSmseidel<paragraph role="tablehead" id="par_id3145136" xml-lang="en-US" l10n="U">Subscript right</paragraph>
169*40365b4dSmseidel<paragraph role="paragraph" id="par_id3146913" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_RSUBX">Inserts a subscript to the right of a placeholder.</ahelp> You can also type <emph>&lt;?&gt;_{&lt;?&gt;}</emph> in the <emph>Commands</emph> window, and the subscript dash can be replaced by <emph>rsub</emph> or <emph>sub</emph>.</paragraph>
170cdf0e10cSrcweir</tablecell>
171cdf0e10cSrcweir</tablerow>
172cdf0e10cSrcweir</table>
173cdf0e10cSrcweir<table id="tbl_id3150558">
174cdf0e10cSrcweir<tablerow>
175cdf0e10cSrcweir<tablecell colspan="" rowspan="">
176cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10265" xml-lang="en-US" l10n="F">
177cdf0e10cSrcweir<image id="img_id3149220" src="starmath/res/co21906.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3149220" xml-lang="en-US">Icon</alt>
178a136aadcSmseidel</image></paragraph>
179cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_STACK" id="bm_id3147107" localize="false"/></tablecell>
180cdf0e10cSrcweir<tablecell colspan="" rowspan="">
181*40365b4dSmseidel<paragraph role="tablehead" id="par_id3147116" xml-lang="en-US" l10n="U">Vertical stack (3 elements)</paragraph>
182*40365b4dSmseidel<paragraph role="paragraph" id="par_id3146332" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_STACK">Inserts a vertical stack with three placeholders.</ahelp> You can also type <emph>stack {&lt;?&gt;#&lt;?&gt;#&lt;?&gt;}</emph> in the <emph>Commands</emph> window.</paragraph>
183cdf0e10cSrcweir</tablecell>
184cdf0e10cSrcweir</tablerow>
185cdf0e10cSrcweir</table>
186cdf0e10cSrcweir<table id="tbl_id3147608">
187cdf0e10cSrcweir<tablerow>
188cdf0e10cSrcweir<tablecell colspan="" rowspan="">
189cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN102A0" xml-lang="en-US" l10n="F">
190cdf0e10cSrcweir<image id="img_id3149848" src="starmath/res/co21902.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3149848" xml-lang="en-US">Icon</alt>
191a136aadcSmseidel</image></paragraph>
192cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_SBLANK" id="bm_id3155563" localize="false"/></tablecell>
193cdf0e10cSrcweir<tablecell colspan="" rowspan="">
194*40365b4dSmseidel<paragraph role="tablehead" id="par_id3155572" xml-lang="en-US" l10n="U">Small gap</paragraph>
195*40365b4dSmseidel<paragraph role="paragraph" id="par_id3147056" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_SBLANK">Inserts a small gap between a placeholder and the next element.</ahelp> You can also type <emph>`</emph> directly in the Commands window. The command must appear to the left or right of a symbol, variable, number or complete command.</paragraph>
196cdf0e10cSrcweir</tablecell>
197cdf0e10cSrcweir</tablerow>
198cdf0e10cSrcweir</table>
199cdf0e10cSrcweir<table id="tbl_id3154778">
200cdf0e10cSrcweir<tablerow>
201cdf0e10cSrcweir<tablecell colspan="" rowspan="">
202cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN102DC" xml-lang="en-US" l10n="F">
203cdf0e10cSrcweir<image id="img_id3154094" src="starmath/res/co21909.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3154094" xml-lang="en-US">Icon</alt>
204a136aadcSmseidel</image></paragraph>
205cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_ALIGNLX" id="bm_id3153801" localize="false"/></tablecell>
206cdf0e10cSrcweir<tablecell colspan="" rowspan="">
207*40365b4dSmseidel<paragraph role="tablehead" id="par_id3154580" xml-lang="en-US" l10n="U">Align left</paragraph>
208*40365b4dSmseidel<paragraph role="paragraph" id="par_id3154592" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_ALIGNLX">This icon assigns left-alignment to "a" and inserts a placeholder.</ahelp> You can type <emph>alignl&lt;?&gt;</emph> directly in the <emph>Commands</emph> window.</paragraph>
209cdf0e10cSrcweir</tablecell>
210cdf0e10cSrcweir</tablerow>
211cdf0e10cSrcweir</table>
212cdf0e10cSrcweir<table id="tbl_id3151117">
213cdf0e10cSrcweir<tablerow>
214cdf0e10cSrcweir<tablecell colspan="" rowspan="">
215cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10317" xml-lang="en-US" l10n="F">
216cdf0e10cSrcweir<image id="img_id3156130" src="starmath/res/co21910.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3156130" xml-lang="en-US">Icon</alt>
217a136aadcSmseidel</image></paragraph>
218cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_ALIGNCX" id="bm_id3154714" localize="false"/></tablecell>
219cdf0e10cSrcweir<tablecell colspan="" rowspan="">
220*40365b4dSmseidel<paragraph role="tablehead" id="par_id3154723" xml-lang="en-US" l10n="U">Align to horizontal center</paragraph>
221*40365b4dSmseidel<paragraph role="paragraph" id="par_id3149319" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_ALIGNCX">Assigns horizontal central alignment to "a" and inserts a placeholder.</ahelp> You can also type <emph>alignc&lt;?&gt;</emph> directly in the <emph>Commands</emph> window.</paragraph>
222cdf0e10cSrcweir</tablecell>
223cdf0e10cSrcweir</tablerow>
224cdf0e10cSrcweir</table>
225cdf0e10cSrcweir<table id="tbl_id3150461">
226cdf0e10cSrcweir<tablerow>
227cdf0e10cSrcweir<tablecell colspan="" rowspan="">
228cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10352" xml-lang="en-US" l10n="F">
229cdf0e10cSrcweir<image id="img_id3155583" src="starmath/res/co21911.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3155583" xml-lang="en-US">Icon</alt>
230a136aadcSmseidel</image></paragraph>
231cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_ALIGNRX" id="bm_id3151209" localize="false"/></tablecell>
232cdf0e10cSrcweir<tablecell colspan="" rowspan="">
233*40365b4dSmseidel<paragraph role="tablehead" id="par_id3149768" xml-lang="en-US" l10n="U">Align right</paragraph>
234*40365b4dSmseidel<paragraph role="paragraph" id="par_id3149780" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_ALIGNRX">Inserts the command for right alignment and a placeholder.</ahelp> You can also type <emph>alignr&lt;?&gt;</emph> in the <emph>Commands</emph> window.</paragraph>
235cdf0e10cSrcweir</tablecell>
236cdf0e10cSrcweir</tablerow>
237cdf0e10cSrcweir</table>
238cdf0e10cSrcweir<table id="tbl_id3149237">
239cdf0e10cSrcweir<tablerow>
240cdf0e10cSrcweir<tablecell colspan="" rowspan="">
241cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN1038D" xml-lang="en-US" l10n="F">
242cdf0e10cSrcweir<image id="img_id3155085" src="starmath/res/co21907.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3155085" xml-lang="en-US">Icon</alt>
243a136aadcSmseidel</image></paragraph>
244cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_MATRIX" id="bm_id3154328" localize="false"/></tablecell>
245cdf0e10cSrcweir<tablecell colspan="" rowspan="">
246*40365b4dSmseidel<paragraph role="tablehead" id="par_id3154338" xml-lang="en-US" l10n="U">Matrix stack</paragraph>
247*40365b4dSmseidel<paragraph role="paragraph" id="par_id3146941" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_SMA_MATRIX">This icon inserts a matrix with four placeholders.</ahelp> You can also type <emph>matrix{&lt;?&gt;#&lt;?&gt;##&lt;?&gt;#&lt;?&gt;}</emph> directly in the <emph>Commands</emph> window. The position of an element inside this diagram is indicated by two coordinates; the first specifies the line number and the second the column number. You can expand this matrix in any direction in the <emph>Commands</emph> window by adding characters.</paragraph>
248cdf0e10cSrcweir</tablecell>
249cdf0e10cSrcweir</tablerow>
250cdf0e10cSrcweir</table>
251cdf0e10cSrcweir<table id="tbl_id3148795">
252cdf0e10cSrcweir<tablerow>
253cdf0e10cSrcweir<tablecell colspan="" rowspan="">
254cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN103C9" xml-lang="en-US" l10n="F">
255cdf0e10cSrcweir<image id="img_id3150027" src="starmath/res/co21903.png" width="0.3335inch" height="0.3335inch"><alt id="alt_id3150027" xml-lang="en-US">Icon</alt>
256a136aadcSmseidel</image></paragraph>
257cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_BLANK" id="bm_id3155108" localize="false"/></tablecell>
258cdf0e10cSrcweir<tablecell colspan="" rowspan="">
259*40365b4dSmseidel<paragraph role="tablehead" id="par_id3149358" xml-lang="en-US" l10n="U">Gap</paragraph>
260*40365b4dSmseidel<paragraph role="paragraph" id="par_id3149370" xml-lang="en-US" l10n="U"><ahelp hid="HID_SMA_BLANK">This icon inserts a gap or space between placeholders.</ahelp> You can also type <emph>~</emph> directly in the <emph>Commands</emph> window. The command must appear to the left or right of a symbol, variable, number or complete command.</paragraph>
261cdf0e10cSrcweir</tablecell>
262cdf0e10cSrcweir</tablerow>
263cdf0e10cSrcweir</table>
264*40365b4dSmseidel<paragraph role="paragraph" id="par_id3155394" xml-lang="en-US" l10n="U">For alignment, the <emph>alignl, alignc</emph> and <emph>alignr</emph> commands are especially effective, if you are</paragraph>
265cdf0e10cSrcweir<list type="unordered">
266cdf0e10cSrcweir<listitem>
267*40365b4dSmseidel<paragraph role="paragraph" id="par_id3151009" xml-lang="en-US" l10n="CHG">aligning numerators and denominators, for example <emph>{alignl a}over{b+c}</emph>
268cdf0e10cSrcweir</paragraph>
269cdf0e10cSrcweir</listitem>
270cdf0e10cSrcweir<listitem>
271*40365b4dSmseidel<paragraph role="paragraph" id="par_id3148812" xml-lang="en-US" l10n="U">constructing binomials or stacks, for example <emph>binom{2*n}{alignr k}</emph>
272cdf0e10cSrcweir</paragraph>
273cdf0e10cSrcweir</listitem>
274cdf0e10cSrcweir<listitem>
275*40365b4dSmseidel<paragraph role="paragraph" id="par_id3154360" xml-lang="en-US" l10n="U">aligning the elements in a matrix, for example <emph>matrix{alignr a#b+2##c+1/3#alignl d}</emph> and</paragraph>
276cdf0e10cSrcweir</listitem>
277cdf0e10cSrcweir<listitem>
278*40365b4dSmseidel<paragraph role="paragraph" id="par_id3155946" xml-lang="en-US" l10n="U">beginning a new line, for example <emph>a+b-c newline alignr x/y</emph>
279cdf0e10cSrcweir</paragraph>
280cdf0e10cSrcweir</listitem>
281cdf0e10cSrcweir</list>
282*40365b4dSmseidel<paragraph role="paragraph" id="par_id3154621" xml-lang="en-US" l10n="U">When using the align instructions, note that</paragraph>
283cdf0e10cSrcweir<list type="unordered">
284cdf0e10cSrcweir<listitem>
285*40365b4dSmseidel<paragraph role="paragraph" id="par_id3147382" xml-lang="en-US" l10n="U">they can only placed at the beginning of expressions and can only occur once. Therefore you can type <emph>a+b alignr c</emph>, but not <emph>a+alignr b</emph>
286cdf0e10cSrcweir</paragraph>
287cdf0e10cSrcweir</listitem>
288cdf0e10cSrcweir<listitem>
289*40365b4dSmseidel<paragraph role="paragraph" id="par_id3154004" xml-lang="en-US" l10n="U">they affect each other, which means that typing <emph>{alignl{alignr a}}over{b+c}</emph> aligns <emph>a</emph> on the right.</paragraph>
290cdf0e10cSrcweir</listitem>
291cdf0e10cSrcweir</list>
292cdf0e10cSrcweir<paragraph role="heading" id="hd_id8036133" xml-lang="en-US" level="3" l10n="NEW">To align using the "matrix" command</paragraph>
293cdf0e10cSrcweir<paragraph role="code" id="par_id5398419" xml-lang="en-US" l10n="NEW" localize="false">matrix{</paragraph>
294cdf0e10cSrcweir<paragraph role="code" id="par_id1456343" xml-lang="en-US" l10n="NEW" localize="false">alignr sin^2 x + cos^2 x#{}={}#alignl 1 ##</paragraph>
295cdf0e10cSrcweir<paragraph role="code" id="par_id4572588" xml-lang="en-US" l10n="NEW" localize="false">alignr cos^2 x #{}={} #alignl 1 - sin^2 x</paragraph>
296cdf0e10cSrcweir<paragraph role="code" id="par_id2879726" xml-lang="en-US" l10n="NEW" localize="false">}</paragraph>
297cdf0e10cSrcweir<paragraph role="heading" id="par_idN10F70" xml-lang="en-US" level="3" l10n="NEW">Aligning to the left</paragraph>
298*40365b4dSmseidel<paragraph role="paragraph" id="par_id3149645" xml-lang="en-US" l10n="CHG">If a line or an expression begins with text, it is aligned on the left by default. You can change this with any of the <emph>align</emph> commands. An example is <emph>stack{a+b-c*d#alignr "text"}</emph>, where "text" appears aligned to the right. Note that text must always be surrounded by quotation marks.</paragraph>
299*40365b4dSmseidel<paragraph role="paragraph" id="par_id3149966" xml-lang="en-US" l10n="U">The standard centralized formulas can be aligned to the left without using the <emph>Format - Alignment</emph> menu. To do this, place an empty character string, that is, the inverted commas which surround any text "", before the section of formula that you want to align. For example, typing <emph>"" a+b newline "" c+d</emph> results in both equations being left-aligned instead of centered.</paragraph>
300*40365b4dSmseidel<paragraph role="warning" id="par_id3145654" xml-lang="en-US" l10n="U">When typing information in the Commands window, note that some formats require spaces for the correct structure. This is especially true when entering values (for example, a lsup{3}) instead of placeholders.</paragraph>
301*40365b4dSmseidel<paragraph role="paragraph" id="par_id3148708" xml-lang="en-US" l10n="U">Click <link href="text/smath/01/03091100.xhp" name="Brackets and Grouping">Brackets and Grouping</link> for more information about formatting in <emph>$[officename] Math</emph>.</paragraph>
302*40365b4dSmseidel<paragraph role="paragraph" id="par_id3155340" xml-lang="en-US" l10n="U">Useful information about <link href="text/smath/01/03091200.xhp" name="Indexes and Exponents">Indexes and Exponents</link> and <link href="text/smath/01/03091400.xhp" name="Scaling">Scaling</link>, helps you organize your document in the best possible way.</paragraph>
303cdf0e10cSrcweir</body>
304cdf0e10cSrcweir</helpdocument>
305