diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /helpcontent2/source/text/smath/guide | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | helpcontent2/source/text/smath/guide/align.xhp | 47 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/attributes.xhp | 51 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/brackets.xhp | 50 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/comment.xhp | 46 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/keyboard.xhp | 77 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/limits.xhp | 85 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/main.xhp | 49 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/newline.xhp | 44 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/parentheses.xhp | 48 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/text.xhp | 52 |
10 files changed, 549 insertions, 0 deletions
diff --git a/helpcontent2/source/text/smath/guide/align.xhp b/helpcontent2/source/text/smath/guide/align.xhp new file mode 100644 index 000000000..318989973 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/align.xhp @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textsmathguidealignxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Manually Aligning Formula Parts</title> +<filename>/text/smath/guide/align.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3156384"><bookmark_value>aligning; characters in %PRODUCTNAME Math</bookmark_value> +<bookmark_value>formula parts; manually aligning</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3156384" xml-lang="en-US" level="1"><variable id="align"><link href="text/smath/guide/align.xhp" name="Manually Aligning Formula Parts">Manually Aligning Formula Parts</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3154657" xml-lang="en-US" level="3">How do you align characters in $[officename] Math quickly and easily?</paragraph> +<paragraph role="paragraph" id="par_id3150249" xml-lang="en-US">To accomplish this, you must define empty groups and character strings. They do not require any space, but carry information that helps in the alignment process.</paragraph> +<paragraph role="paragraph" id="par_id3153912" xml-lang="en-US">To create empty groups, enter curly brackets <emph>{}</emph> in the Commands window. In the following example, the goal is to achieve a line break so that the plus signs are beneath one another, even though one less character is entered in the upper line:</paragraph> +<paragraph role="smathcode" id="par_id3153246" xml-lang="en-US" localize="false">a+a+a+{} newline {}{}{}{}{}a+a+a+a</paragraph> +<paragraph role="paragraph" id="par_id3143229" xml-lang="en-US">Empty character strings are a simple way to ensure that texts and formulas are left-aligned. They are defined using double inverted commas "" . Make sure you do not use any typographic inverted commas. Example:</paragraph> +<paragraph role="smathcode" id="par_id3153809" xml-lang="en-US">"A further example." newline a+b newline ""c-d</paragraph> +<embed href="text/shared/00/00000004.xhp#related"/> +<embed href="text/smath/guide/brackets.xhp#brackets"/> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/attributes.xhp b/helpcontent2/source/text/smath/guide/attributes.xhp new file mode 100644 index 000000000..d16e7afd4 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/attributes.xhp @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textsmathguideattributesxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Changing Default Attributes</title> +<filename>/text/smath/guide/attributes.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145792"><bookmark_value>attributes; changing in $[officename] Math</bookmark_value> +<bookmark_value>font attributes;changing defaults</bookmark_value> +<bookmark_value>formatting;changing default attributes</bookmark_value> +<bookmark_value>defaults;changing default formatting</bookmark_value> +<bookmark_value>changing;default formatting</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3145792" xml-lang="en-US" level="1"><variable id="attributes"><link href="text/smath/guide/attributes.xhp" name="Changing Default Attributes">Changing Default Attributes</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3154484" xml-lang="en-US" level="3">Can default formats in $[officename] Math be modified?</paragraph> +<paragraph role="paragraph" id="par_id3148870" xml-lang="en-US">Some parts of formulas are always formatted bold or italic by default.</paragraph> +<paragraph role="paragraph" id="par_id3150210" xml-lang="en-US">You can remove these attributes using "nbold" and "nitalic". Example:</paragraph> +<paragraph role="smathcode" id="par_id3143231" xml-lang="en-US" localize="false">a + b</paragraph> +<paragraph role="smathcode" id="par_id3153810" xml-lang="en-US" localize="false">nitalic a + bold b.</paragraph> +<paragraph role="paragraph" id="par_id3149872" xml-lang="en-US">In the second formula, the a is not italic. The b is bold. You cannot change the plus sign by this method.</paragraph> +<section id="relatedtopics"> +<embed href="text/smath/guide/main.xhp#main"/> +</section> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/brackets.xhp b/helpcontent2/source/text/smath/guide/brackets.xhp new file mode 100644 index 000000000..a119b628d --- /dev/null +++ b/helpcontent2/source/text/smath/guide/brackets.xhp @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textsmathguidebracketsxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Merging Formula Parts in Brackets</title> +<filename>/text/smath/guide/brackets.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3152596"><bookmark_value>brackets; merging formula parts</bookmark_value> +<bookmark_value>formula parts; merging</bookmark_value> +<bookmark_value>fractions in formulas</bookmark_value> +<bookmark_value>merging;formula parts</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="1"><variable id="brackets"><link href="text/smath/guide/brackets.xhp" name="Merging Formula Parts in Brackets">Merging Formula Parts in Brackets</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3154511" xml-lang="en-US" level="3">Inserting fractions into formulas</paragraph> +<paragraph role="paragraph" id="par_id3146971" xml-lang="en-US">In the case of a fraction whose numerator and denominator consist of a product, a sum, and so on, the values that belong together must be bracketed together.</paragraph> +<paragraph role="paragraph" id="par_id3149021" xml-lang="en-US">Use the following syntax:</paragraph> +<paragraph role="smathcode" id="par_id3083280" xml-lang="en-US" localize="false">{a + c} over 2 = m</paragraph> +<paragraph role="paragraph" id="par_id3154703" xml-lang="en-US">or</paragraph> +<paragraph role="smathcode" id="par_id3150297" xml-lang="en-US" localize="false">m = {a + c} over 2</paragraph> +<section id="relatedtopics"> +<embed href="text/smath/guide/parentheses.xhp#parentheses"/> +</section> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/comment.xhp b/helpcontent2/source/text/smath/guide/comment.xhp new file mode 100644 index 000000000..60b84f695 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/comment.xhp @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textsmathguidecommentxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Entering Comments</title> +<filename>/text/smath/guide/comment.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3155961"><bookmark_value>comments; entering in $[officename] Math</bookmark_value> +<bookmark_value>inserting;comments in $[officename] Math</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3155961" xml-lang="en-US" level="1"><variable id="comment"><link href="text/smath/guide/comment.xhp" name="Entering Comments">Entering Comments</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3154657" xml-lang="en-US" level="3">How does one attach comments that don't appear in the document to a formula?</paragraph> +<paragraph role="paragraph" id="par_id3149499" xml-lang="en-US">A comment begins with a double percent sign <emph>%%</emph>, and extends to the next line-end character (Enter key). Everything that lies in between is ignored and is not printed out. If there are percent signs in the text, they are treated as part of the text.</paragraph> +<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US">Example:</paragraph> +<paragraph role="smathcode" id="par_idN105D3" xml-lang="en-US">a^2+b^2=c^2 %% Pythagorean theorem.</paragraph> +<section id="relatedtopics"> +<embed href="text/smath/guide/main.xhp#main"/> +</section> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/keyboard.xhp b/helpcontent2/source/text/smath/guide/keyboard.xhp new file mode 100644 index 000000000..21ee877c7 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/keyboard.xhp @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textsmathguidekeyboardxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Shortcuts ($[officename] Math Accessibility)</title> +<filename>/text/smath/guide/keyboard.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3149018"><bookmark_value>accessibility; $[officename] Math shortcuts</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3149018" xml-lang="en-US" level="1"><variable id="keyboard"><link href="text/smath/guide/keyboard.xhp" name="Shortcuts ($[officename] Math Accessibility)">Shortcuts ($[officename] Math Accessibility)</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3150298" xml-lang="en-US">You can control $[officename] Math without a mouse.</paragraph> +<paragraph role="heading" id="hd_id3150343" xml-lang="en-US" level="2">Inserting a Formula Directly</paragraph> +<paragraph role="paragraph" id="par_id3154659" xml-lang="en-US">If you want to insert a formula into a text document, and you already know the correct writing, you can proceed as follows:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3153818" xml-lang="en-US">Write the formula into your text</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153915" xml-lang="en-US">Select the formula</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150213" xml-lang="en-US">Choose the command <emph>Insert - Object - Formula</emph>.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3154767" xml-lang="en-US" level="2">Inserting a Formula using a Window</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3149875" xml-lang="en-US">If you want to use the $[officename] Math interface to edit a formula, choose the command <emph>Insert - Object - Formula</emph> without any text selected.</paragraph> +</listitem> +</list> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3150391" xml-lang="en-US">The cursor waits in the Commands window and you can type the formula.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150537" xml-lang="en-US">You can compose formulas using the Elements pane. Open it with the menu <emph>View - Elements</emph> if it is not already open.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155625" xml-lang="en-US">If the Elements pane is open, use F6 to switch from the Commands window to the Elements pane and back.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3154554" xml-lang="en-US" level="2">Elements pane</paragraph> +<embed href="text/smath/04/01020000.xhp#Cu"/> +<embed href="text/smath/04/01020000.xhp#CR"/> +<embed href="text/smath/04/01020000.xhp#Tab"/> +<embed href="text/smath/04/01020000.xhp#UmTab"/> +<embed href="text/shared/00/00000004.xhp#related"/> +<embed href="text/smath/04/01020000.xhp#math_keys"/> +<embed href="text/shared/guide/keyboard.xhp#keyboard"/> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/limits.xhp b/helpcontent2/source/text/smath/guide/limits.xhp new file mode 100644 index 000000000..c09fbc820 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/limits.xhp @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textsmathguidelimitsxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Working with Limits</title> +<filename>/text/smath/guide/limits.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id8404492"><bookmark_value>limits;in sums/integrals</bookmark_value> +<bookmark_value>integral limits</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id1892147" xml-lang="en-US" level="1"><variable id="limits"><link href="text/smath/guide/limits.xhp">Working with Limits</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id9881893" xml-lang="en-US" level="3">How can I define the limits in a Sum or Integral formula?<comment>i83226</comment></paragraph> +<paragraph role="paragraph" id="par_id6504409" xml-lang="en-US">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> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id8811304" xml-lang="en-US">Choose <item type="menuitem">Insert - Object - Formula</item>.</paragraph> +<paragraph role="paragraph" id="par_id1276589" xml-lang="en-US">You see the Math input window and the Elements pane on the left.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3283791" xml-lang="en-US">From the list on the upper part of the Elements pane, select the <emph>Operators</emph> item.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id9734794" xml-lang="en-US">In the lower part of the Elements pane, click the <emph>Sum</emph> icon.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id9641712" xml-lang="en-US">To enable lower and upper limits, click additionally the <emph>Upper and Lower Limits</emph> icon.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3304239" xml-lang="en-US">In the input window, the first placeholder or marker is selected, and you can start to enter the lower limit: </paragraph> +<paragraph role="smathcode" id="par_id8679158" xml-lang="en-US" localize="false">k = 0</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id8471327" xml-lang="en-US">Press F4 to advance to the next marker, and enter the upper limit:</paragraph> +<paragraph role="smathcode" id="par_id4731894" xml-lang="en-US" localize="false">n</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id759300" xml-lang="en-US">Press F4 to advance to the next marker, and enter the summand:</paragraph> +<paragraph role="smathcode" id="par_id651875" xml-lang="en-US" localize="false">s^k</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id6756187" xml-lang="en-US">Now the formula is complete. Click into your text document outside the formula to leave the formula editor.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id9406414" xml-lang="en-US">In the same way, you can enter an Integral formula with limits. When you click an icon from the Elements pane, 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> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id5866267" xml-lang="en-US">Choose <item type="menuitem">Insert - Object - Formula</item>.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id1965697" xml-lang="en-US">Click in the input window and enter the following line:</paragraph> +<paragraph role="smathcode" id="par_id9004486" xml-lang="en-US" localize="false">int from{a} to{b} f(x)`dx</paragraph> +<paragraph role="paragraph" id="par_id4651020" xml-lang="en-US">A small gap exists between f(x) and dx, which you can also enter using the Elements pane: select the <emph>Formats</emph> item from the list on the top, then the <emph>Small Gap</emph> icon.</paragraph> +</listitem> +</list> +<paragraph role="note" id="par_id3877071" xml-lang="en-US">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> +<paragraph role="tip" id="par_id3021332" xml-lang="en-US">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> +<embed href="text/shared/00/00000004.xhp#related"/> +<paragraph role="paragraph" id="par_id260322" xml-lang="en-US"><link href="text/smath/01/03090909.xhp">Example of Integral and Sum ranges</link></paragraph> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/main.xhp b/helpcontent2/source/text/smath/guide/main.xhp new file mode 100644 index 000000000..a8176eedd --- /dev/null +++ b/helpcontent2/source/text/smath/guide/main.xhp @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textsmathguidemainxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Instructions for Using $[officename] Math</title> +<filename>/text/smath/guide/main.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3147341"><bookmark_value>$[officename] Math;general instructions</bookmark_value> +<bookmark_value>instructions; $[officename] Math</bookmark_value> +<bookmark_value>Equation Editor, see $[officename] Math</bookmark_value> +</bookmark><comment>mw added a cross-reference</comment><paragraph role="heading" id="hd_id3147341" xml-lang="en-US" level="1"><variable id="main"><link href="text/smath/guide/main.xhp" name="Instructions for Using $[officename] Math">Instructions for Using $[officename] Math</link> +</variable></paragraph> +<embed href="text/shared/00/00000099.xhp#table"/> +<paragraph role="heading" id="hd_id3150199" xml-lang="en-US" level="2">Entering and Editing Formulas</paragraph> +<embed href="text/smath/guide/text.xhp#text"/> +<embed href="text/smath/guide/attributes.xhp#attributes"/> +<embed href="text/smath/guide/newline.xhp#newline"/> +<embed href="text/smath/guide/align.xhp#align"/> +<embed href="text/smath/guide/limits.xhp#limits"/> +<embed href="text/smath/guide/brackets.xhp#brackets"/> +<embed href="text/smath/guide/parentheses.xhp#parentheses"/> +<embed href="text/smath/guide/comment.xhp#comment"/> +<embed href="text/smath/guide/keyboard.xhp#keyboard"/> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/newline.xhp b/helpcontent2/source/text/smath/guide/newline.xhp new file mode 100644 index 000000000..5c39d92cf --- /dev/null +++ b/helpcontent2/source/text/smath/guide/newline.xhp @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textsmathguidenewlinexml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Entering Line Breaks</title> +<filename>/text/smath/guide/newline.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id1295205"><bookmark_value>line breaks; in formulas</bookmark_value> +<bookmark_value>formulas;line breaks</bookmark_value> +<bookmark_value>wrapping text;in formulas</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3146970" xml-lang="en-US" level="1"><variable id="newline"><link href="text/smath/guide/newline.xhp" name="Entering Line Breaks">Entering Line Breaks</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3147339" xml-lang="en-US" level="3">How to write formulas in $[officename] Math over two lines (with manual line break):</paragraph> +<paragraph role="paragraph" id="par_id3154702" xml-lang="en-US">Create a line break by using the "newline" command. Everything coming after the line break is placed on the next line.</paragraph> +<embed href="text/shared/00/00000004.xhp#related"/> +<embed href="text/smath/guide/main.xhp#main"/> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/parentheses.xhp b/helpcontent2/source/text/smath/guide/parentheses.xhp new file mode 100644 index 000000000..087d7df78 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/parentheses.xhp @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textsmathguideparenthesesxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Inserting Brackets</title> +<filename>/text/smath/guide/parentheses.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153415"><bookmark_value>brackets; inserting in %PRODUCTNAME Math</bookmark_value> +<bookmark_value>inserting;brackets</bookmark_value> +<bookmark_value>distances between brackets</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3153415" xml-lang="en-US" level="1"><variable id="parentheses"><link href="text/smath/guide/parentheses.xhp" name="Inserting Brackets">Inserting Brackets</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3150751" xml-lang="en-US" level="3">In <item type="productname">%PRODUCTNAME</item> Math, can brackets be shown separately so that the distance between them is freely definable?</paragraph> +<paragraph role="paragraph" id="par_id3083281" xml-lang="en-US">You can set individual brackets using "left" and "right", but the distance between the brackets will not be fixed, as they adapt to the argument. Nevertheless, there is a way to display brackets so that the distance between them is fixed. To accomplish this, place a "\" (backslash) before the normal brackets. These brackets now behave like any other symbol and the alignment is the same as with other symbols:</paragraph> +<paragraph role="smathcode" id="par_id3155960" xml-lang="en-US" localize="false">left lbrace x right none</paragraph> +<paragraph role="smathcode" id="par_id3148489" xml-lang="en-US" localize="false">size *2 langle x rangle</paragraph> +<paragraph role="smathcode" id="par_id3150344" xml-lang="en-US" localize="false">size *2 { \langle x \rangle }</paragraph> +<section id="relatedtopics"> +<embed href="text/smath/guide/brackets.xhp#brackets"/> +</section> +</body> +</helpdocument> diff --git a/helpcontent2/source/text/smath/guide/text.xhp b/helpcontent2/source/text/smath/guide/text.xhp new file mode 100644 index 000000000..9fee8c00c --- /dev/null +++ b/helpcontent2/source/text/smath/guide/text.xhp @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textsmathguidetextxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Entering Text</title> +<filename>/text/smath/guide/text.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3155962"><bookmark_value>text strings; entering in $[officename] Math</bookmark_value> +<bookmark_value>direct text; entering in $[officename] Math</bookmark_value> +<bookmark_value>inserting;text in $[officename] Math</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id5676442" xml-lang="en-US" level="1"><variable id="text"><link href="text/smath/guide/text.xhp" name="Entering Text">Entering Text</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id8509170" xml-lang="en-US" level="3">How to enter direct text strings that do not get interpreted?</paragraph> +<paragraph role="paragraph" id="par_id337229" xml-lang="en-US">Some text strings get interpreted as operators automatically. Sometimes this is not what you want. If you want to write W<emph>*</emph> (a letter with a superscripted asterisk), the asterisk will be interpreted as a multiplication operator. Enclose the direct text within double quotes or add spaceholders.</paragraph> +<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US">Examples:<comment>collected from several issues: i78812, i9167, i21484, i25573</comment></paragraph> +<paragraph role="paragraph" id="par_id521866" xml-lang="en-US">An imported MathType formula contains the following string</paragraph> +<paragraph role="smathcode" id="par_id9413739" xml-lang="en-US" localize="false">W rSup { size 8{*} }</paragraph> +<paragraph role="paragraph" id="par_id755943" xml-lang="en-US">If you have set up Math to convert imported MathType formulas (in <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Load/Save - Microsoft Office), you see the formula with a placeholder instead of the asterisk.</paragraph> +<paragraph role="paragraph" id="par_id5988952" xml-lang="en-US">Change {*} to {} * {} as in the following formula:</paragraph> +<paragraph role="smathcode" id="par_id3304544" xml-lang="en-US" localize="false">W rSup { size 8{} * {} }</paragraph> +<paragraph role="paragraph" id="par_id4941557" xml-lang="en-US">You can also use W^"*" to enter the character as direct text.</paragraph> +<paragraph role="paragraph" id="par_id9961851" xml-lang="en-US">Some formulas start with an = sign. Use "=" to enter that character as direct text.</paragraph> +<section id="relatedtopics"> +<embed href="text/smath/guide/main.xhp#main"/> +</section> +</body> +</helpdocument> |