1 <?xml version=
"1.0" encoding=
"UTF-8"?>
6 ***********************************************************************
8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
10 * Copyright 2008 by Sun Microsystems, Inc.
12 * OpenOffice.org - a multi-platform office productivity suite
14 * $RCSfile: 03090700.xhp,v $
17 * This file is part of OpenOffice.org.
19 * OpenOffice.org is free software: you can redistribute it and/or modify
20 * it under the terms of the GNU Lesser General Public License version 3
21 * only, as published by the Free Software Foundation.
23 * OpenOffice.org is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU Lesser General Public License version 3 for more details
27 * (a copy is included in the LICENSE file that accompanied this code).
29 * You should have received a copy of the GNU Lesser General Public License
30 * version 3 along with OpenOffice.org. If not, see
31 * <http://www.openoffice.org/license.html>
32 * for a copy of the LGPLv3 License.
34 ************************************************************************
38 <helpdocument version=
"1.0">
40 <topic id=
"textsmath0103090700xml" indexer=
"include" status=
"PUBLISH">
41 <title id=
"tit" xml-lang=
"en-US">Format
</title>
42 <filename>/text/smath/
01/
03090700.xhp
</filename>
46 <section id=
"formatierungen">
47 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3153150"><bookmark_value>formatting;in $[officename] Math
</bookmark_value>
48 <bookmark_value>$[officename] Math; formatting
</bookmark_value>
49 <bookmark_value>superscripts
</bookmark_value>
50 <bookmark_value>binomials
</bookmark_value>
51 <bookmark_value>vertical elements
</bookmark_value>
52 <bookmark_value>lines; inserting in formulas
</bookmark_value>
53 <bookmark_value>subscripts
</bookmark_value>
54 <bookmark_value>stacks
</bookmark_value>
55 <bookmark_value>vertical arrangement of elements
</bookmark_value>
56 <bookmark_value>small gaps
</bookmark_value>
57 <bookmark_value>alignment; left (Math)
</bookmark_value>
58 <bookmark_value>left-justified alignment (Math)
</bookmark_value>
59 <bookmark_value>alignment; horizontally centered (Math)
</bookmark_value>
60 <bookmark_value>centered horizontally; alignment (Math)
</bookmark_value>
61 <bookmark_value>alignment; right (Math)
</bookmark_value>
62 <bookmark_value>right-justified alignment in %PRODUCTNAME Math
</bookmark_value>
63 <bookmark_value>matrices; arranging
</bookmark_value>
64 <bookmark_value>spaces in formulas
</bookmark_value>
65 <bookmark_value>gaps in formulas
</bookmark_value>
66 <bookmark_value>inserting; gaps
</bookmark_value>
67 <bookmark_value>arranging;matrices
</bookmark_value>
68 <bookmark_value>formulas;aligning
</bookmark_value>
69 <bookmark_value>aligning formulas
</bookmark_value>
70 </bookmark><comment>mw added two index entries about formula alignement and made
"formatting.." a two level entry
</comment>
71 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_FORMAT_TBX" id=
"bm_id3149290" localize=
"false"/>
72 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_FORMAT_CAT" id=
"bm_id3149294" localize=
"false"/><paragraph role=
"heading" id=
"hd_id3153150" xml-lang=
"en-US" level=
"1" l10n=
"U" oldref=
"1"><link href=
"text/smath/01/03090700.xhp" name=
"Format">Format
</link></paragraph>
73 <paragraph role=
"paragraph" id=
"par_id3147262" xml-lang=
"en-US" l10n=
"U" oldref=
"2"><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>
75 <section id=
"howtoget">
76 <embed href=
"text/smath/00/00000004.xhp#astasr"/>
78 <paragraph role=
"paragraph" id=
"par_id3154263" xml-lang=
"en-US" l10n=
"U" oldref=
"3">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 Formula Elements window (menu
<emph>View - Formula Elements
</emph>) or through the context menu of the
<emph>Commands
</emph> window.
</paragraph>
79 <paragraph role=
"note" id=
"par_id3153536" xml-lang=
"en-US" l10n=
"U" oldref=
"17">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>
80 <paragraph role=
"heading" id=
"hd_id3151104" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"4">Formatting options
</paragraph>
81 <table id=
"tbl_id3154569">
83 <tablecell colspan=
"" rowspan=
"">
84 <paragraph role=
"paragraph" id=
"par_idN1008B" xml-lang=
"en-US" l10n=
"F">
85 <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>
87 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_LSUPX" id=
"bm_id3154473" localize=
"false"/></tablecell>
88 <tablecell colspan=
"" rowspan=
"">
89 <paragraph role=
"tablehead" id=
"par_id3147519" xml-lang=
"en-US" l10n=
"U" oldref=
"45">Superscript left
</paragraph>
90 <paragraph role=
"paragraph" id=
"par_id3147531" xml-lang=
"en-US" l10n=
"U" oldref=
"44"><ahelp hid=
"HID_SMA_LSUPX">Inserts a superscript to the left of a placeholder.
</ahelp> You can also type
<emph><?
>lsup{
<?
>}
</emph> in the
<emph>Commands
</emph> window.
</paragraph>
94 <table id=
"tbl_id3155895">
96 <tablecell colspan=
"" rowspan=
"">
97 <paragraph role=
"paragraph" id=
"par_idN100C4" xml-lang=
"en-US" l10n=
"F">
98 <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>
100 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_CSUPX" id=
"bm_id3146921" localize=
"false"/></tablecell>
101 <tablecell colspan=
"" rowspan=
"">
102 <paragraph role=
"tablehead" id=
"par_id3146931" xml-lang=
"en-US" l10n=
"U" oldref=
"60">Superscript top
</paragraph>
103 <paragraph role=
"paragraph" id=
"par_id3159195" xml-lang=
"en-US" l10n=
"U" oldref=
"58"><ahelp hid=
"HID_SMA_CSUPX">Inserts a superscript directly above a placeholder.
</ahelp> You can also type
<emph><?
>csup
<?
></emph> directly in the
<emph>Commands
</emph> window.
</paragraph>
107 <table id=
"tbl_id3149482">
109 <tablecell colspan=
"" rowspan=
"">
110 <paragraph role=
"paragraph" id=
"par_idN100FF" xml-lang=
"en-US" l10n=
"F">
111 <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>
113 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_RSUPX" id=
"bm_id3149821" localize=
"false"/></tablecell>
114 <tablecell colspan=
"" rowspan=
"">
115 <paragraph role=
"tablehead" id=
"par_id3151249" xml-lang=
"en-US" l10n=
"U" oldref=
"39">Superscript right
</paragraph>
116 <paragraph role=
"paragraph" id=
"par_id3151262" xml-lang=
"en-US" l10n=
"U" oldref=
"40"><ahelp hid=
"HID_SMA_RSUPX">Inserts a superscript to the right of a placeholder.
</ahelp> You can also type
<emph><?
>^{
<?
>}
</emph> directly in the
<emph>Commands
</emph> window, or you can use
<emph>rsup
</emph> or
<emph>sup
</emph>.
</paragraph>
120 <table id=
"tbl_id3154908">
122 <tablecell colspan=
"" rowspan=
"">
123 <paragraph role=
"paragraph" id=
"par_idN1013E" xml-lang=
"en-US" l10n=
"F">
124 <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>
126 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_BINOMXY" id=
"bm_id3147575" localize=
"false"/></tablecell>
127 <tablecell colspan=
"" rowspan=
"">
128 <paragraph role=
"tablehead" id=
"par_id3152774" xml-lang=
"en-US" l10n=
"U" oldref=
"63">Vertical stack (
2 elements)
</paragraph>
129 <paragraph role=
"paragraph" id=
"par_id3147326" xml-lang=
"en-US" l10n=
"U" oldref=
"62"><ahelp hid=
"HID_SMA_BINOMXY">Inserts a vertical stack (binomial) with two placeholders.
</ahelp> You can also type
<emph>binom
<?
><?
></emph> directly in the
<emph>Commands
</emph> window.
</paragraph>
133 <table id=
"tbl_id3147079">
135 <tablecell colspan=
"" rowspan=
"">
136 <paragraph role=
"paragraph" id=
"par_idN10179" xml-lang=
"en-US" l10n=
"F">
137 <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>
139 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_NEWLINE" id=
"bm_id3151033" localize=
"false"/></tablecell>
140 <tablecell colspan=
"" rowspan=
"">
141 <paragraph role=
"tablehead" id=
"par_id3150575" xml-lang=
"en-US" l10n=
"U" oldref=
"41">New line
</paragraph>
142 <paragraph role=
"paragraph" id=
"par_id3150587" xml-lang=
"en-US" l10n=
"U" oldref=
"18"><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>
146 <table id=
"tbl_id3154918">
148 <tablecell colspan=
"" rowspan=
"">
149 <paragraph role=
"paragraph" id=
"par_idN101B2" xml-lang=
"en-US" l10n=
"F">
150 <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>
152 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_LSUBX" id=
"bm_id3148751" localize=
"false"/></tablecell>
153 <tablecell colspan=
"" rowspan=
"">
154 <paragraph role=
"tablehead" id=
"par_id3148760" xml-lang=
"en-US" l10n=
"U" oldref=
"43">Subscript left
</paragraph>
155 <paragraph role=
"paragraph" id=
"par_id3147309" xml-lang=
"en-US" l10n=
"U" oldref=
"42"><ahelp hid=
"HID_SMA_LSUBX">Inserts a subscript to the left of a placeholder.
</ahelp> You can also type
<emph><?
>lsub{
<?
>}
</emph> in the
<emph>Commands
</emph> window.
</paragraph>
159 <table id=
"tbl_id3151384">
161 <tablecell colspan=
"" rowspan=
"">
162 <paragraph role=
"paragraph" id=
"par_idN101EB" xml-lang=
"en-US" l10n=
"F">
163 <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>
165 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_CSUBX" id=
"bm_id3150119" localize=
"false"/></tablecell>
166 <tablecell colspan=
"" rowspan=
"">
167 <paragraph role=
"tablehead" id=
"par_id3150687" xml-lang=
"en-US" l10n=
"U" oldref=
"61">Subscript bottom
</paragraph>
168 <paragraph role=
"paragraph" id=
"par_id3150699" xml-lang=
"en-US" l10n=
"U" oldref=
"59"><ahelp hid=
"HID_SMA_CSUBX">Inserts a subscript directly under a placeholder.
</ahelp> You can also type
<emph><?
>csub
<?
></emph> directly in the
<emph>Commands
</emph> window.
</paragraph>
172 <table id=
"tbl_id3147624">
174 <tablecell colspan=
"" rowspan=
"">
175 <paragraph role=
"paragraph" id=
"par_idN10226" xml-lang=
"en-US" l10n=
"F">
176 <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>
178 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_RSUBX" id=
"bm_id3145126" localize=
"false"/></tablecell>
179 <tablecell colspan=
"" rowspan=
"">
180 <paragraph role=
"tablehead" id=
"par_id3145136" xml-lang=
"en-US" l10n=
"U" oldref=
"37">Subscript right
</paragraph>
181 <paragraph role=
"paragraph" id=
"par_id3146913" xml-lang=
"en-US" l10n=
"U" oldref=
"38"><ahelp hid=
"HID_SMA_RSUBX">Inserts a subscript to the right of a placeholder.
</ahelp> You can also type
<emph><?
>_{
<?
>}
</emph> in the
<emph>Commands
</emph> window, and the subscript dash can be replaced by
<emph>rsub
</emph> or
<emph>sub
</emph>.
</paragraph>
185 <table id=
"tbl_id3150558">
187 <tablecell colspan=
"" rowspan=
"">
188 <paragraph role=
"paragraph" id=
"par_idN10265" xml-lang=
"en-US" l10n=
"F">
189 <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>
191 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_STACK" id=
"bm_id3147107" localize=
"false"/></tablecell>
192 <tablecell colspan=
"" rowspan=
"">
193 <paragraph role=
"tablehead" id=
"par_id3147116" xml-lang=
"en-US" l10n=
"U" oldref=
"65">Vertical stack (
3 elements)
</paragraph>
194 <paragraph role=
"paragraph" id=
"par_id3146332" xml-lang=
"en-US" l10n=
"U" oldref=
"64"><ahelp hid=
"HID_SMA_STACK">Inserts a vertical stack with three placeholders.
</ahelp> You can also type
<emph>stack {
<?
>#
<?
>#
<?
>}
</emph> in the
<emph>Commands
</emph> window.
</paragraph>
198 <table id=
"tbl_id3147608">
200 <tablecell colspan=
"" rowspan=
"">
201 <paragraph role=
"paragraph" id=
"par_idN102A0" xml-lang=
"en-US" l10n=
"F">
202 <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>
204 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_SBLANK" id=
"bm_id3155563" localize=
"false"/></tablecell>
205 <tablecell colspan=
"" rowspan=
"">
206 <paragraph role=
"tablehead" id=
"par_id3155572" xml-lang=
"en-US" l10n=
"U" oldref=
"23">Small gap
</paragraph>
207 <paragraph role=
"paragraph" id=
"par_id3147056" xml-lang=
"en-US" l10n=
"U" oldref=
"24"><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>
211 <table id=
"tbl_id3154778">
213 <tablecell colspan=
"" rowspan=
"">
214 <paragraph role=
"paragraph" id=
"par_idN102DC" xml-lang=
"en-US" l10n=
"F">
215 <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>
217 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_ALIGNLX" id=
"bm_id3153801" localize=
"false"/></tablecell>
218 <tablecell colspan=
"" rowspan=
"">
219 <paragraph role=
"tablehead" id=
"par_id3154580" xml-lang=
"en-US" l10n=
"U" oldref=
"5">Align left
</paragraph>
220 <paragraph role=
"paragraph" id=
"par_id3154592" xml-lang=
"en-US" l10n=
"U" oldref=
"6"><ahelp hid=
"HID_SMA_ALIGNLX">This icon assigns left-alignment to
"a" and inserts a placeholder.
</ahelp> You can type
<emph>alignl
<?
></emph> directly in the
<emph>Commands
</emph> window.
</paragraph>
224 <table id=
"tbl_id3151117">
226 <tablecell colspan=
"" rowspan=
"">
227 <paragraph role=
"paragraph" id=
"par_idN10317" xml-lang=
"en-US" l10n=
"F">
228 <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>
230 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_ALIGNCX" id=
"bm_id3154714" localize=
"false"/></tablecell>
231 <tablecell colspan=
"" rowspan=
"">
232 <paragraph role=
"tablehead" id=
"par_id3154723" xml-lang=
"en-US" l10n=
"U" oldref=
"9">Align to horizontal center
</paragraph>
233 <paragraph role=
"paragraph" id=
"par_id3149319" xml-lang=
"en-US" l10n=
"U" oldref=
"10"><ahelp hid=
"HID_SMA_ALIGNCX">Assigns horizontal central alignment to
"a" and inserts a placeholder.
</ahelp> You can also type
<emph>alignc
<?
></emph> directly in the
<emph>Commands
</emph> window.
</paragraph>
237 <table id=
"tbl_id3150461">
239 <tablecell colspan=
"" rowspan=
"">
240 <paragraph role=
"paragraph" id=
"par_idN10352" xml-lang=
"en-US" l10n=
"F">
241 <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>
243 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_ALIGNRX" id=
"bm_id3151209" localize=
"false"/></tablecell>
244 <tablecell colspan=
"" rowspan=
"">
245 <paragraph role=
"tablehead" id=
"par_id3149768" xml-lang=
"en-US" l10n=
"U" oldref=
"7">Align right
</paragraph>
246 <paragraph role=
"paragraph" id=
"par_id3149780" xml-lang=
"en-US" l10n=
"U" oldref=
"8"><ahelp hid=
"HID_SMA_ALIGNRX">Inserts the command for right alignment and a placeholder.
</ahelp> You can also type
<emph>alignr
<?
></emph> in the
<emph>Commands
</emph> window.
</paragraph>
250 <table id=
"tbl_id3149237">
252 <tablecell colspan=
"" rowspan=
"">
253 <paragraph role=
"paragraph" id=
"par_idN1038D" xml-lang=
"en-US" l10n=
"F">
254 <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>
256 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_MATRIX" id=
"bm_id3154328" localize=
"false"/></tablecell>
257 <tablecell colspan=
"" rowspan=
"">
258 <paragraph role=
"tablehead" id=
"par_id3154338" xml-lang=
"en-US" l10n=
"U" oldref=
"25">Matrix stack
</paragraph>
259 <paragraph role=
"paragraph" id=
"par_id3146941" xml-lang=
"en-US" l10n=
"CHG" oldref=
"26"><ahelp hid=
"HID_SMA_MATRIX">This icon inserts a matrix with four placeholders.
</ahelp> You can also type
<emph>matrix{
<?
>#
<?
>##
<?
>#
<?
>}
</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>
263 <table id=
"tbl_id3148795">
265 <tablecell colspan=
"" rowspan=
"">
266 <paragraph role=
"paragraph" id=
"par_idN103C9" xml-lang=
"en-US" l10n=
"F">
267 <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>
269 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SMA_BLANK" id=
"bm_id3155108" localize=
"false"/></tablecell>
270 <tablecell colspan=
"" rowspan=
"">
271 <paragraph role=
"tablehead" id=
"par_id3149358" xml-lang=
"en-US" l10n=
"U" oldref=
"21">Gap
</paragraph>
272 <paragraph role=
"paragraph" id=
"par_id3149370" xml-lang=
"en-US" l10n=
"U" oldref=
"22"><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>
276 <paragraph role=
"paragraph" id=
"par_id3155394" xml-lang=
"en-US" l10n=
"U" oldref=
"48">For alignment, the
<emph>alignl, alignc
</emph> and
<emph>alignr
</emph> commands are especially effective, if you are
</paragraph>
277 <list type=
"unordered">
279 <paragraph role=
"paragraph" id=
"par_id3151009" xml-lang=
"en-US" l10n=
"CHG" oldref=
"49">aligning numerators and denominators, for example
<emph>{alignl a}over{b+c}
</emph>
283 <paragraph role=
"paragraph" id=
"par_id3148812" xml-lang=
"en-US" l10n=
"U" oldref=
"50">constructing binomials or stacks, for example
<emph>binom{
2*n}{alignr k}
</emph>
287 <paragraph role=
"paragraph" id=
"par_id3154360" xml-lang=
"en-US" l10n=
"U" oldref=
"51">aligning the elements in a matrix, for example
<emph>matrix{alignr a#b+
2##c+
1/
3#alignl d}
</emph> and
</paragraph>
290 <paragraph role=
"paragraph" id=
"par_id3155946" xml-lang=
"en-US" l10n=
"U" oldref=
"52">beginning a new line, for example
<emph>a+b-c newline alignr x/y
</emph>
294 <paragraph role=
"paragraph" id=
"par_id3154621" xml-lang=
"en-US" l10n=
"U" oldref=
"53">When using the align instructions, note that
</paragraph>
295 <list type=
"unordered">
297 <paragraph role=
"paragraph" id=
"par_id3147382" xml-lang=
"en-US" l10n=
"U" oldref=
"54">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>
301 <paragraph role=
"paragraph" id=
"par_id3154004" xml-lang=
"en-US" l10n=
"U" oldref=
"55">they affect each other, which means that typing
<emph>{alignl{alignr a}}over{b+c}
</emph> aligns
<emph>a
</emph> on the right.
</paragraph>
304 <paragraph role=
"heading" id=
"hd_id8036133" xml-lang=
"en-US" level=
"3" l10n=
"NEW">To align using the
"matrix" command
</paragraph>
305 <paragraph role=
"code" id=
"par_id5398419" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">matrix{
</paragraph>
306 <paragraph role=
"code" id=
"par_id1456343" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">alignr sin^
2 x + cos^
2 x#{}={}#alignl
1 ##
</paragraph>
307 <paragraph role=
"code" id=
"par_id4572588" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">alignr cos^
2 x #{}={} #alignl
1 - sin^
2 x
</paragraph>
308 <paragraph role=
"code" id=
"par_id2879726" xml-lang=
"en-US" l10n=
"NEW" localize=
"false">}
</paragraph>
309 <paragraph role=
"heading" id=
"par_idN10F70" xml-lang=
"en-US" level=
"3" l10n=
"NEW">Aligning to the left
</paragraph>
310 <paragraph role=
"paragraph" id=
"par_id3149645" xml-lang=
"en-US" l10n=
"CHG" oldref=
"56">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>
311 <paragraph role=
"paragraph" id=
"par_id3149966" xml-lang=
"en-US" l10n=
"U" oldref=
"57">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>
312 <paragraph role=
"warning" id=
"par_id3145654" xml-lang=
"en-US" l10n=
"U" oldref=
"46">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>
313 <paragraph role=
"paragraph" id=
"par_id3148708" xml-lang=
"en-US" l10n=
"U" oldref=
"47">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>
314 <paragraph role=
"paragraph" id=
"par_id3155340" xml-lang=
"en-US" l10n=
"U" oldref=
"31">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>