+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Sometimes formulas should be numbered in the following form:
+\end_layout
+
+\begin_layout Standard
+
+\family typewriter
+(section number.formula number)
+\end_layout
+
+\begin_layout Standard
+The formula number should start with every section with
+\begin_inset Quotes eld
+\end_inset
+
+1
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+For this case there is the command
+\series bold
+
+\backslash
+numberwithin
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Commands
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+N
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\backslash
+numberwithin
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+,
+ which is used with the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+numberwithin{counter}{sectioning}
+\end_layout
+
+\begin_layout Standard
+Counter denotes what kind of numbering is affected,
+ sectioning denotes what the number before the dot is.
+\end_layout
+
+\begin_layout Standard
+Thus in our case the following \SpecialChar LaTeX
+ preamble or \SpecialChar TeX
+ code line is used:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+numberwithin{equation}{section}
+\end_layout
+
+\begin_layout Standard
+This is the result:
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+numberwithin{equation}{section}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Formula
+\begin{equation}
+A+B=C
+\end{equation}
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To number e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+ tables so that the number of the part is the sectioning,
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+numberwithin{table}{part}
+\series default
+ is used.
+\end_layout
+
+\begin_layout Standard
+To go back to the standard numbering or to prevent this kind of numbering when it is defined by the document class,
+ the following command is inserted as \SpecialChar TeX
+ code or to the \SpecialChar LaTeX
+ preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+theequation}{
+\backslash
+arabic{equation}}
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Commands
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+A
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\backslash
+arabic
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+theequation}{
+\backslash
+arabic{equation}}
+\end_layout
+
+\end_inset
+
+
+\series bold
+
+\begin_inset Newline newline
+\end_inset
+
+
+\series default
+or
+\series bold
+
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+thetable}{
+\backslash
+arabic{table}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+numberwithin
+\series default
+ internally uses the command
+\series bold
+
+\backslash
+@addtoreset
+\series default
+,
+ described above,
+ and would also need to be reverted.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+makeatletter
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+@removefromreset{equation}{section}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+makeatother
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Chemical Symbols and Equations
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Chemical-Symbols-and"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Chemical characters
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Symbols
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Chemical equations
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Symbols
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+chemical
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+An example text from chemistry:
+\end_layout
+
+\begin_layout Quote
+The
+\begin_inset Formula $\mathrm{SO_{4}^{2-}}$
+\end_inset
+
+-ion reacts with two
+\begin_inset Formula $\mathrm{Na^{+}}$
+\end_inset
+
+-ions to sodium sulfate
+\begin_inset Formula $\left(\mathrm{Na_{2}SO_{4}}\right)$
+\end_inset
+
+.
+ The chemical equation for this is:
+\begin_inset Formula
+\begin{equation}
+\mathrm{2\,Na^{+}+SO_{4}^{2-}\longrightarrow Na_{2}SO_{4}}\label{eq:chem-reaction}
+\end{equation}
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Chemical equations can be created as formulas.
+ To avoid the symbols appearing in italic,
+ everything is highlighted and changed by the shortcut
+\begin_inset Info
+type "shortcut"
+arg "font-roman"
+\end_inset
+
+ to the upright font style.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+For font styles
+\series bold
+
+\series default
+see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Font-Styles"
+nolink "false"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+A more convenient way to typeset chemical formulas is to use the command
+\series bold
+
+\backslash
+ce
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Commands
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+C
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ which is available when the \SpecialChar LaTeX
+-package
+\series bold
+mhchem
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+mhchem
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ is installed.
+ After inserting
+\series bold
+
+\backslash
+ce
+\series default
+ in a formula a new blue box appears where chemical formulas can be inserted in an intuitive way.
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="10" columns="2">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Command
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Result
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+H2CO3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{H2CO3}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="1.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+SO4^2-
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{SO4^{2-}}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="1.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+(NH4)2S
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{(NH4)2S}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="1.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+KCr(SO4)2.12H2O
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{KCr(SO4)2.12H2O}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="1.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+A-B
+\backslash
+dbond
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+C
+\backslash
+tbond
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+D
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{A-B\dbond C\tbond D}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="1.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+^227
+\begin_inset Formula $\downarrow$
+\end_inset
+
+_90
+\begin_inset Formula $\to$
+\end_inset
+
+Th+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{_{90}^{227}Th+}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\backslash
+mu
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\backslash
+hyphen
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+Cl
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{\ensuremath{\mu\hyphen}Cl}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+CO2
+\begin_inset space \textvisiblespace{}
+\end_inset
+
++
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+C
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+<=>
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+2CO
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{CO2 + C <=> 2CO}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="1.5mm">
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+CO2
+\begin_inset space \textvisiblespace{}
+\end_inset
+
++
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+C
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+->[
+\backslash
+alpha][
+\backslash
+beta]
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+2CO}
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\ce{CO2 + C ->[\alpha][\beta] 2CO}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+
+\series default
+ It is not possible in \SpecialChar LyX
+ to use the character ^ to get an up-arrow as described in the
+\series bold
+mhchem
+\series default
+ manual.
+ One instead uses a negative thin space followed by the command
+\series bold
+
+\backslash
+uparrow
+\series default
+:
+
+\begin_inset Formula $\ce{Fe + 2H+ -> Fe^{2+} + H2\negthinspace\uparrow}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Using
+\series bold
+
+\backslash
+ce
+\series default
+ the command for equation
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand eqref
+reference "eq:chem-reaction"
+nolink "false"
+
+\end_inset
+
+ is:
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+ce
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+2Na+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
++
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+SO4^2-
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+->
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+Na2SO4
+\end_layout
+
+\begin_layout Standard
+To create multiline chemical equations first a multiline formula is created as described in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Multiline-Formulas"
+nolink "false"
+