diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /helpcontent2/source/text/smath/guide | |
parent | Initial commit. (diff) | |
download | libreoffice-cb75148ebd0135178ff46f89a30139c44f8d2040.tar.xz libreoffice-cb75148ebd0135178ff46f89a30139c44f8d2040.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'helpcontent2/source/text/smath/guide')
-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/color.xhp | 448 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/comment.xhp | 46 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/keyboard.xhp | 72 | ||||
-rw-r--r-- | helpcontent2/source/text/smath/guide/limits.xhp | 81 | ||||
-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 |
11 files changed, 988 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/color.xhp b/helpcontent2/source/text/smath/guide/color.xhp new file mode 100644 index 000000000..75ac48cdc --- /dev/null +++ b/helpcontent2/source/text/smath/guide/color.xhp @@ -0,0 +1,448 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * 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/. + * + --> + +<meta> + <topic id="mathcolor" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Applying Color to Formula Parts</title> + <filename>/text/smath/guide/color.xhp</filename> + </topic> +</meta> + +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id3156384"> + <bookmark_value>Color in formulas</bookmark_value> + </bookmark> + <h1 id="hd_id601641846107898"><variable id="color"><link href="text/smath/guide/color.xhp" name="Color_link">Applying Color to Formula Parts</link></variable></h1> + <paragraph role="paragraph" id="par_id481641846189425">Use the command <literal>color</literal> to apply color to the subsequent formula part.</paragraph> + <paragraph role="paragraph" id="par_id141641846432331">The example below creates a formula where <emph>a</emph> is shown using the default color (black) and <emph>b</emph> is shown in red.</paragraph> + <paragraph role="paragraph" localize="false" id="par_id351641846485158"> + <input>a + color red b</input> + </paragraph> + <paragraph role="paragraph" id="par_id211641848286949">Beware that the <literal>color</literal> command only changes the color of the formula part that comes immediately after it. For example, in the formula below only <emph>b</emph> will be shown in red, whereas <emph>c</emph> will be shown in black.</paragraph> + <paragraph role="paragraph" localize="false" id="par_id351641840365858"> + <input>a + color red b + c</input> + </paragraph> + <paragraph role="paragraph" id="par_id841641848475043">Use braces to apply color to more parts of the formula. In the following example, <emph>b</emph> and <emph>c</emph> are shown in red.</paragraph> + <paragraph role="paragraph" localize="false" id="par_id351641840365128"> + <input>a + color red { b + c }</input> + </paragraph> + <tip id="par_id651641851485699">A list with predefined color names is available <link href="text/smath/guide/color.xhp#PredefinedColors" name="Colors_list">here</link>.</tip> + + <bookmark xml-lang="en-US" branch="index" id="bm_id521641858375937"> + <bookmark_value>RGB colors</bookmark_value> + </bookmark> + <h2 id="hd_id831641851472401">Using RGB colors</h2> + <paragraph role="paragraph" id="par_id701641851641673">Use the command <literal>color rgb</literal> to apply colors using RGB (Red, Green, Blue) values.</paragraph> + <paragraph role="paragraph" localize="false" id="par_id351641840365134"> + <input>color rgb 192 0 128 var</input> + </paragraph> + <note id="par_id941641851779414">RGB values range between 0 and 255.</note> + + <bookmark xml-lang="en-US" branch="index" id="bm_id521641858372217"> + <bookmark_value>Hex colors</bookmark_value> + </bookmark> + <h2 id="hd_id901641851813499">Using hex notation</h2> + <paragraph role="paragraph" id="par_id271641851832464">Use the command <literal>color hex</literal> to apply colors using the hexadecimal notation.</paragraph> + <paragraph role="paragraph" localize="false" id="par_id351641840365002"> + <input>color hex C00080 var</input> + </paragraph> + + <h2 id="hd_id121641851982125">Combining color with other commands</h2> + <paragraph role="paragraph" id="par_id321641852002469">It is possible to combine the color command with other commands as <literal>bold</literal>, <literal>italic</literal> or <literal>size</literal>.</paragraph> + <paragraph role="paragraph" id="par_id521641852051767">The example below writes <emph>var</emph> in bold blue:</paragraph> + <paragraph role="paragraph" localize="false" id="par_id35164184033258"> + <input>color blue bold var</input> + </paragraph> + <paragraph role="paragraph" id="par_id21641852173099">To change color and font size, use <literal>color</literal> in combination with <literal>size</literal> and the desired font size.</paragraph> + <paragraph role="paragraph" localize="false" id="par_id351641840335284"> + <input>color blue size 20 var</input> + </paragraph> + + <bookmark xml-lang="en-US" branch="index" id="bm_id52164185802587"> + <bookmark_value>List of predefined colors</bookmark_value> + </bookmark> + <section id="PredefinedColors"> + <h2 id="hd_id621641846264365">Predefined color names</h2> + <paragraph role="paragraph" id="par_id911641846282038">%PRODUCTNAME provides a set of predefined color names that can be used along with the <literal>color</literal> command.</paragraph> + </section> + <table id="tab_id611641846833413"> + <tablerow> + <tablecell> + <paragraph id="par_id871641846833413" role="tablehead">Markup language</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id661641846833413" role="tablehead">Color</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id741641846833413" role="tablehead">Hex value</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id741641846833014" role="tablehead">RGB values</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846833413" role="tablecontent"><literal>aqua</literal> or <literal>cyan</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846833413" role="tablecontent">Aqua</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833413" localize="false" role="tablecontent">00FFFF</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833228" localize="false" role="tablecontent">rgb(0, 255, 255)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846832580" localize="false" role="tablecontent"><literal>black</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846830036" role="tablecontent">Black</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846895473" localize="false" role="tablecontent">000000</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830228" localize="false" role="tablecontent">rgb(0, 0, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641818533413" localize="false" role="tablecontent"><literal>blue</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846320113" role="tablecontent">Blue</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830022" localize="false" role="tablecontent">0000FF</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830214" localize="false" role="tablecontent">rgb(0, 0, 255)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830214" localize="false" role="tablecontent"><literal>coral</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846833363" role="tablecontent">Coral</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846836325" localize="false" role="tablecontent">FF7F50</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830218" localize="false" role="tablecontent">rgb(255, 127, 80)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830854" localize="false" role="tablecontent"><literal>crimson</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846833014" role="tablecontent">Crimson</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833398" localize="false" role="tablecontent">DC143C</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846836328" localize="false" role="tablecontent">rgb(220, 20, 60)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830853" role="tablecontent"><literal>fuchsia</literal> or <literal>magenta</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846800325" role="tablecontent">Fuchsia</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846369853" localize="false" role="tablecontent">FF00FF</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846865874" localize="false" role="tablecontent">rgb(255, 0, 255)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830213" role="tablecontent"><literal>gray</literal> or <literal>grey</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846896513" role="tablecontent">Gray</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846021463" localize="false" role="tablecontent">808080</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830854" localize="false" role="tablecontent">rgb(128, 128, 128)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846869350" localize="false" role="tablecontent"><literal>green</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846830214" role="tablecontent">Green</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846839658" localize="false" role="tablecontent">008000</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833973" localize="false" role="tablecontent">rgb(0, 128, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846832058" localize="false" role="tablecontent"><literal>hotpink</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846836253" role="tablecontent">Hot pink</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846844587" localize="false" role="tablecontent">FF69B4</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833652" localize="false" role="tablecontent">rgb(255, 105, 180)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846896541" localize="false" role="tablecontent"><literal>indigo</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846812385" role="tablecontent">Indigo</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833363" localize="false" role="tablecontent">4B0082</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846864150" localize="false" role="tablecontent">rgb(75, 0, 130)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830325" localize="false" role="tablecontent"><literal>lavender</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846835521" role="tablecontent">Lavender</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846632584" localize="false" role="tablecontent">E6E6FA</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846652828" localize="false" role="tablecontent">rgb(230, 230, 250)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830258" localize="false" role="tablecontent"><literal>lime</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846036523" role="tablecontent">Lime</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846855213" localize="false" role="tablecontent">00FF00</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830968" localize="false" role="tablecontent">rgb(0, 255, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846860143" localize="false" role="tablecontent"><literal>maroon</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846833649" role="tablecontent">Maroon</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846896433" localize="false" role="tablecontent">800000</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830328" localize="false" role="tablecontent">rgb(128, 0, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846003673" localize="false" role="tablecontent"><literal>midnightblue</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846837653" role="tablecontent">Midnight</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846863257" localize="false" role="tablecontent">191970</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833628" localize="false" role="tablecontent">rgb(25, 25, 112)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846836325" localize="false" role="tablecontent"><literal>navy</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846867458" role="tablecontent">Navy</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846864203" localize="false" role="tablecontent">000080</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830998" localize="false" role="tablecontent">rgb(0, 0, 128)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846833993" localize="false" role="tablecontent"><literal>olive</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846837663" role="tablecontent">Olive</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271640366833413" localize="false" role="tablecontent">808000</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846965228" localize="false" role="tablecontent">rgb(128, 128, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846688413" localize="false" role="tablecontent"><literal>orange</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846838053" role="tablecontent">Orange</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846806613" localize="false" role="tablecontent">FFA500</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846836508" localize="false" role="tablecontent">rgb(255, 165, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846860513" localize="false" role="tablecontent"><literal>orangered</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846836041" role="tablecontent">Orange red</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846815593" localize="false" role="tablecontent">FF4500</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846839025" localize="false" role="tablecontent">rgb(255, 69, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846833003" localize="false" role="tablecontent"><literal>purple</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846833063" role="tablecontent">Purple</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846836013" localize="false" role="tablecontent">0x800080</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641820513228" localize="false" role="tablecontent">rgb(128, 0, 128)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846800698" localize="false" role="tablecontent"><literal>red</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846833902" role="tablecontent">Red</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846822843" localize="false" role="tablecontent">FF0000</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846833008" localize="false" role="tablecontent">rgb(255, 0, 0)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830963" localize="false" role="tablecontent"><literal>seagreen</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846836613" role="tablecontent">Sea green</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846831113" localize="false" role="tablecontent">2E8B57</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846838908" localize="false" role="tablecontent">rgb(46, 139, 87)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830993" localize="false" role="tablecontent"><literal>silver</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641840569413" role="tablecontent">Silver</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846806358" localize="false" role="tablecontent">C0C0C0</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846863988" localize="false" role="tablecontent">rgb(192, 192, 192)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846806325" localize="false" role="tablecontent"><literal>teal</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846896587" role="tablecontent">Teal</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846774513" localize="false" role="tablecontent">008080</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846877108" localize="false" role="tablecontent">rgb(0, 128, 128)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951641846830369" localize="false" role="tablecontent"><literal>violet</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846006745" role="tablecontent">Violet</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846830973" localize="false" role="tablecontent">EE82EE</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641877833228" localize="false" role="tablecontent">rgb(238, 130, 238)</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id951661846830258" localize="false" role="tablecontent"><literal>yellow</literal></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id841641846837556" role="tablecontent">Yellow</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846937413" localize="false" role="tablecontent">FFFF00</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id271641846641728" localize="false" role="tablecontent">rgb(255, 255, 0)</paragraph> + </tablecell> + </tablerow> + </table> + + <section id="relatedtopics"> + <embed href="text/smath/01/03091500.xhp#reference"/> + <embed href="text/smath/guide/brackets.xhp#brackets"/> + </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..b77627474 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/keyboard.xhp @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * 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 . + --> + +<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> +<h1 id="hd_id3149018" xml-lang="en-US"><variable id="keyboard"><link href="text/smath/guide/keyboard.xhp" name="Shortcuts ($[officename] Math Accessibility)">Shortcuts ($[officename] Math Accessibility)</link></variable></h1> +<paragraph role="paragraph" id="par_id3150298" xml-lang="en-US">You can control $[officename] Math without a mouse.</paragraph> +<h2 id="hd_id3150343" xml-lang="en-US">Inserting a Formula Directly</h2> +<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 <menuitem>Insert - OLE Object - Formula Object</menuitem>.</paragraph> +</listitem> +</list> +<h2 id="hd_id3154767" xml-lang="en-US">Inserting a Formula using a Window</h2> +<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 <menuitem>Insert - OLE Object - Formula Object</menuitem> without any text selected.</paragraph> +</listitem> +<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> +<h2 id="hd_id3154554" xml-lang="en-US">Elements pane</h2> +<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#ShiftTab"/> +<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..65b4d02c0 --- /dev/null +++ b/helpcontent2/source/text/smath/guide/limits.xhp @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * 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 . + --> + +<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> +<h1 id="hd_id1892147" xml-lang="en-US"><variable id="limits"><link href="text/smath/guide/limits.xhp">Working with Limits</link></variable></h1> +<h3 id="hd_id9881893" xml-lang="en-US">How can I define the limits in a Sum or Integral formula?<comment>i83226</comment></h3> +<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" localize="false" xml-lang="en-US"><embedvar href="text/shared/00/00000404.xhp#insert_formula"/></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" localize="false"><embedvar href="text/shared/00/00000404.xhp#insert_formula"/></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> +<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.</note> +<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.</tip> +<section id="relatedtopics"> +<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> +</section> +</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> |