+\end_inset
+
+In the first row,
+ the formula is inserted together with the first brace.
+ It is important that the space command
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Space commands are explained in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Predefined-Space"
+nolink "false"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\series bold
+
+\backslash
+:
+
+\series default
+ is inserted before the first
+\begin_inset Formula $d$
+\end_inset
+
+ because the brace that ends behind the
+\begin_inset Formula $q$
+\end_inset
+
+ prevents the following
+\begin_inset Quotes eld
+\end_inset
+
++
+\begin_inset Quotes erd
+\end_inset
+
+ from being surrounded by spaces.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Because a bracket is not handled as a character,
+ see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Binary-Operators"
+nolink "false"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ The second brace is inserted in the second row.
+ As it should begin before the
+\begin_inset Formula $b$
+\end_inset
+
+,
+ first the command
+\series bold
+
+\backslash
+hphantom{gggg+
+\backslash
+:}
+\series default
+ is inserted.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+More about
+\series bold
+
+\backslash
+hphantom
+\series default
+ see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Placeholders"
+nolink "false"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ This space is needed because the
+\begin_inset Quotes eld
+\end_inset
+
++
+\begin_inset Quotes erd
+\end_inset
+
+ is surrounded by spaces in the formula.
+ The brace is placed under the command
+\series bold
+
+\backslash
+hphantom{bbqq+dddd}
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+It gets more complicated when brackets overlap each other above and under the formula as in the following example:
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+jot}{-6pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Formula
+\begin{eqnarray*}
+ & & \hphantom{gggg+\:}\overbrace{\hphantom{bbqq+dddd}}^{s}\\
+A & = & \underbrace{gggg+bbqq}_{r}+\:dddd
+\end{eqnarray*}
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+jot}{3pt}
+\end_layout
+
+\end_inset
+
+The first formula row is the same as the second row of the previous example,
+ with the difference that the brace is above.
+ The second row contains the formula together with the second brace.
+ To avoid the space between the upper brace in the first row and the formula,
+ the row spacing needs to be reduced.
+ This is not easily done due to a bug in \SpecialChar LyX
+.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+name "LyX-bug #1505"
+target "https://www.lyx.org/trac/ticket/1505"
+literal "false"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ As a solution for the problem,
+ the global formula row separation
+\series bold
+
+\backslash
+jot
+\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
+J
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\backslash
+jot
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ must be changed to -6
+\begin_inset space \thinspace{}
+\end_inset
+
+pt before the formula with the command
+\series bold
+
+\backslash
+setlength{
+\backslash
+jot}{-6pt}
+\series default
+ in \SpecialChar TeX
+ mode.
+
+\series bold
+
+\backslash
+jot
+\series default
+ is set back after the formula to the standard value of 3
+\begin_inset space \thinspace{}
+\end_inset
+
+pt using the same command.
+ More about the row separation in formulas is explained in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Line-Separation"
+nolink "false"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+Arrows
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Arrows
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Arrows can be inserted via the math toolbar button
+\begin_inset Info
+type "icon"
+arg "math-insert \\leftarrow"
+\end_inset
+
+ or the commands listed in the following subsections.
+\end_layout
+
+\begin_layout Subsection
+Horizontal Arrows
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Arrows
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+horizontal
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="8" columns="2">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="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" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Result
+\end_layout