summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AllLangHelp_smath.mk1
-rw-r--r--source/text/smath/01/chemical.xhp38
-rw-r--r--source/text/smath/main0000.xhp1
3 files changed, 40 insertions, 0 deletions
diff --git a/AllLangHelp_smath.mk b/AllLangHelp_smath.mk
index 67d2a55616..039bbeeb88 100644
--- a/AllLangHelp_smath.mk
+++ b/AllLangHelp_smath.mk
@@ -70,6 +70,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,smath,\
helpcontent2/source/text/smath/01/06010000 \
helpcontent2/source/text/smath/01/06010100 \
helpcontent2/source/text/smath/01/06020000 \
+ helpcontent2/source/text/smath/01/chemical \
helpcontent2/source/text/smath/02/03010000 \
helpcontent2/source/text/smath/04/01020000 \
helpcontent2/source/text/smath/06/screenshots \
diff --git a/source/text/smath/01/chemical.xhp b/source/text/smath/01/chemical.xhp
new file mode 100644
index 0000000000..5b463cb074
--- /dev/null
+++ b/source/text/smath/01/chemical.xhp
@@ -0,0 +1,38 @@
+<?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="chemicalformulas" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Chemical Formulas</title>
+ <filename>/text/smath/01/chemical.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id241584201850390">
+ <bookmark_value>chemical formula</bookmark_value>
+ </bookmark>
+ <section id="chemicalhead">
+ <h1 id="hd_id951584200892379"><variable id="chemicalh1"><link href="text/smath/01/chemical.xhp" name="Chemical Formulas">Chemical Formulas Examples</link></variable></h1>
+ <paragraph id="par_id111584200892379" role="paragraph">The primary purpose of %PRODUCTNAME Math is to create mathematical formulas, but it can also be used to write chemical formulas. However, in chemical formulas, the chemical symbols are normally written in uppercase using non-italic characters.</paragraph>
+ </section>
+ <tip id="par_id61584210063479">To create chemical formulas using Math, you may want to change the font used for variables to a non-italic font, or use the <literal>nitalic</literal> modifier.</tip>
+ <h2 id="hd_id681584201309050">Molecules</h2>
+ <paragraph role="paragraph" id="par_id511584201416226" localize="false"><input>nitalic{H_2 SO_4}</input></paragraph>
+ <paragraph role="paragraph" id="par_id131584274929613" localize="false"><input>nitalic{2 C_6 H_5 COOH + 15 O_2 = 14 CO_2 + 6 H_2 O}</input></paragraph>
+ <paragraph role="paragraph" id="par_id51584274981967" localize="false"><input>nitalic{2 KMnO_4 + 16 HCl = 2 KCl + 2 MnCl_2 + 8 H_2 O + 5 Cl_2}</input></paragraph>
+
+ <h2 id="hd_id801584201314869">Isotopes</h2>
+ <paragraph role="paragraph" id="par_id681584201602312" localize="false"><input>U lsub 92 lsup 238</input></paragraph>
+ <paragraph role="paragraph" id="par_id981584282254171" localize="false"><input>nitalic{{U lsup 238 lsub 92 + n} ~~toward~~ {U lsup 239 lsub 92 + %gamma} ~~binom{{size 6{{%beta}-{}}}} {toward} ~~ Np lsup 239 lsub 93 ~~binom{{size 6{{%beta}-{}}}}{toward}~~ Pu lsup 239 lsub 94}</input></paragraph>
+ <h2 id="hd_id921584201320412">Ions</h2>
+ <paragraph role="paragraph" id="par_id921584201737219"><input>SO_4^{2-{}}</input> or <input>SO_4^{2"-"}</input></paragraph>
+</body>
+</helpdocument>
diff --git a/source/text/smath/main0000.xhp b/source/text/smath/main0000.xhp
index e343f10d08..9cf4ef8973 100644
--- a/source/text/smath/main0000.xhp
+++ b/source/text/smath/main0000.xhp
@@ -33,6 +33,7 @@
<paragraph role="paragraph" id="par_id3143229" xml-lang="en-US"><link href="text/smath/01/03091500.xhp" name="Formula Reference Tables">Formula Reference Tables</link></paragraph>
<embed href="text/smath/01/03090000.xhp#func_win"/>
<embed href="text/smath/01/03090900.xhp#examples"/>
+<embed href="text/smath/01/chemical.xhp#chemicalh1"/>
<paragraph role="heading" id="hd_id3153808" xml-lang="en-US" level="3">$[officename] Math Menus, Toolbars, and Keys</paragraph>
<embed href="text/smath/main0100.xhp#main0100"/>
<embed href="text/smath/main0200.xhp#main0200"/>