-#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 401
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 474
\begin_document
\begin_header
\textclass scrartcl
\fi % end if pdflatex is used
-% Folgendes Problem lösen:
-% Besteht die Kapitelnummer aus zu vielen Ziffern, wird die
-% Kapitelüberschrift im Inhaltsverzeichnis direkt an oder über
-% die Kapitelnummer geschrieben.
-% Als Lösung wird mehr Platz zwischen Nummer und
-% Überschrift eingefügt.
+% solves the following problem:
+% If the dection number consits of too many numerals the section heading
+% will be printed in the TOC without a space between it and the section number.
+% As solution more space between the number and the heading is inserted:
\renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
\renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
-% To be able to enter the character ° and · directly in LyX,
-% see sec. 22.11
-\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
-\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
-
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-\newlength{\abc}
-\settowidth{\abc}{\space}
-\addto\extrasenglish{
- \renewcommand{\equationautorefname}{\hspace{-\abc}}
- \renewcommand{\sectionautorefname}{sec.\negthinspace}
- \renewcommand{\subsectionautorefname}{sec.\negthinspace}
- \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}}
+\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
+\addto\extrasenglish{%
+ \renewcommand*{\equationautorefname}[1]{}%
+ \renewcommand{\sectionautorefname}{sec.\negthinspace}%
+ \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
+ \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
+}
% don't load packages twice
% see first footnote in sec. 9.3
% provides caption formatting
\setkomafont{captionlabel}{\bfseries}
-% used in Kap. 22.6
-\usepackage[samesize]{cancel}
-
-% enables calculation of values,
+% enables calculation of values
\usepackage{calc}
-% for multiple table row and column cells
-\usepackage{multirow}
+% for multiple columns used in sec. 24.7
\usepackage{multicol}
% needed in sec. 19.4
% for the Fourier transformation symbol
\usepackage{mathrsfs}
-% center multirows (e.g. in sec. 13.3)
-\renewcommand{\multirowsetup}{\centering}
-
% define a color, used in sec.9.3
\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
\DeclareMathOperator*{\Lozenge}{\blacklozenge}
\DeclareMathOperator{\sgn}{sgn}
-\newcommand{\spce}{\textvisiblespace}
-
% example definitions for sec. 20.1
\newcommand{\gr}{\Longrightarrow}
\newcommand{\us}[1]{\underline{#1}}
% example macro from sec. 19.4
%\def\tagform@#1{\maketag@@@{|#1|}}
-% macro from sec. 10.2
-\def\clap#1{\hbox to 0pt{\hss #1\hss}}
-\def\mathclap {\mathpalette \mathclapinternal}
-\def\mathclapinternal #1#2{\clap{$\mathsurround =0pt #1{#2}$}}
-
-% redefine the greyed out note
-\renewenvironment{lyxgreyedout}
- {\textcolor{blue}\bgroup}{\egroup}
% ------------------------------------
% used to check for needed LaTeX packages
\usepackage{ifthen}
+% check for package undertilde
+% used for the command \utilde
+\newboolean{undertilde}
+\IfFileExists{undertilde.sty}
+ {\usepackage{undertilde}
+ \setboolean{undertilde}{true}}
+ {\setboolean{undertilde}{false}}
+
% check for package eurosym
% used for the Euro symbol
\newboolean{eurosym}
\setboolean{upgreek}{true}}
{\setboolean{upgreek}{false}}
\end_preamble
-\options bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false
\maintain_unincluded_children false
\language english
+\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
+\font_math auto
\font_default_family default
-\use_xetex false
+\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
-
\graphics default
\default_output_format default
\output_sync 0
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle false
-\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
+\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize a4paper
\use_geometry false
-\use_amsmath 2
-\use_esint 1
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 2
+\use_package amssymb 2
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 2
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
+\justification true
+\use_refstyle 0
+\notefontcolor #0000ff
\index Index
\shortcut idx
\color #008000
\tracking_changes false
\output_changes false
\html_math_output 0
+\html_css_as_file 0
\html_be_strict false
\end_header
\family sans
-Version 2.0.x
+Version 2.1.x
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
To export this document to PDF, PS or DVI the LaTeX-packages
\series bold
-braket, cancel, eurosym,
-\series default
-
-\series bold
-mhchem, multirow
+braket, cancel, eurosym, mathdots, mathtools, mhchem, undertilde
\series default
and
\series bold
was
\series default
should be installed.
- If they are not installed the document can be export anyway but the sections
+ If they are not installed the document can be exported anyway but the sections
where the packages are required will not appear in the output.
- An exeption is
+ An exception is
\series bold
mhchem
\series default
\series default
Math
\family default
-, or the
+ or the
\family sans
math
\family default
\family sans
Use AMS math package
\family default
- must be used in the document settings (menu
+ must be checked in the document settings (menu
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
\begin_inset CommandInset href
LatexCommand href
name "amsguide.ps"
-target "ftp://ctan.tug.org/tex-archive/macros/amstex/doc/amsguide.ps"
+target "ftp://ftp.ams.org/pub/tex/doc/amstex/amsguide.pdf"
\end_inset
\end_inset
or the toolbar button
-\begin_inset Graphics
- filename ../images/math-mode.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-mode"
\end_inset
-
+.
\begin_inset Newline newline
\end_inset
\end_inset
- that will appear bigger and in an own paragraph, use one of these shortcuts:
-
+ which will appear bigger, has a different format, and will be in a separate
+ paragraph, use one of these shortcuts:
\begin_inset Info
type "shortcuts"
arg "math-display"
\end_inset
is invoked by pressing the toolbar button
-\begin_inset Graphics
- filename ../images/ert-insert.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "ert-insert"
\end_inset
or by using the menu
\begin_layout Standard
To edit matrices, case differentiations and multiline formulas subsequently,
- the menus
+ use the menus
\family sans
Edit\SpecialChar \menuseparator
Math
\family sans
table toolbar
\family default
- can be used.
+.
When lines and columns are swapped via the menu, the column or line where
the cursor is in is exchanged with the column to the right or the line
below, respectively.
.
The text appears black in LyX and can therefore be distinguished from the
- other formula parts that appear blue.
+ other formula parts which appear blue.
In the output mathematical text is set upright, in contrary to other formula
parts.
\end_layout
\end_layout
\begin_layout Standard
-A command starts always with a backslash
+A command always starts with a backslash
\begin_inset Quotes gld
\end_inset
\end_inset
.
- If you add in a formula a left brace to a command name, LyX creates automatical
-ly a TeX-brace.
+ If you add in a formula a left brace to a command name, LyX automatically
+ creates a TeX-brace.
In all other cases TeX-braces are created in formulas with the command
\series bold
{
\series default
.
- TeX-braces appear red in LyX, in contrary to normal braces that appear
+ TeX-braces appear red in LyX, in contrary to normal braces which appear
blue.
In TeX-mode no command is needed to get TeX-braces.
TeX-braces don't appear in the output.
\begin_layout Standard
A protected space is inserted with
\begin_inset Info
-type "shortcut"
-arg "space-insert protected"
+type "shortcuts"
+arg "command-alternatives space-insert protected ; math-space"
\end_inset
.
\end_layout
\begin_layout Itemize
-The symbol
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-This visible space character can be created with the command
-\series bold
-
-\backslash
-textvisiblespace
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Commands ! T !
-\backslash
-textvisiblespace
-\end_layout
-
+The symbol
+\begin_inset space \textvisiblespace{}
\end_inset
-, inserted in TeX-mode.
+ denotes a space character to be input.
\end_layout
+\begin_layout Itemize
+An arrow like
+\begin_inset Formula $\to$
\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+ denotes the usage of the corresponding arrow key on the keyboard.
+ The
+\family sans
+Tab
+\family default
+ key can often be used instead of
+\begin_inset Formula $\to$
\end_inset
-
-\begin_inset space ~
+ and
+\begin_inset Formula $\downarrow$
\end_inset
-denotes a space character to be input.
-\end_layout
+, and
+\family sans
+Shift+Tab
+\family default
+ instead of
+\begin_inset Formula $\leftarrow$
+\end_inset
-\begin_layout Itemize
-An arrow like
-\begin_inset Formula $\to$
+ and
+\begin_inset Formula $\uparrow$
\end_inset
- denotes the usage of the corresponding arrow key on the keyboard.
+.
\end_layout
\begin_layout Subsection*
\begin_layout Plain Layout
\align center
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
or via the math toolbar button
-\begin_inset Graphics
- filename ../images/math-subscript.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-subscript"
\end_inset
- , exponents with a caret
+, exponents with a caret
\begin_inset Quotes eld
\end_inset
\end_inset
or via the math toolbar button
-\begin_inset Graphics
- filename ../images/math-superscript.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-superscript"
\end_inset
.
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Plain Layout
B^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
status collapsed
\begin_layout Plain Layout
-Depending on the used keyboard settings this can also happen for other character
-s than vowels.
+Depending on the used keyboard settings this can also happen for characters
+ other than vowels.
\end_layout
\end_inset
.
- To get in this case exponents, press
+ To get exponents in this case, press
\family sans
Space
\family default
\end_inset
or via the math toolbar button
-\begin_inset Graphics
- filename ../images/math/frac.png
- scale 50
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\frac"
\end_inset
.
The font size is adjusted automatically, depending on whether the fraction
is in an inline or display style formula.
With the math toolbar button
-\begin_inset Graphics
- filename ../images/math/frac-square.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\frac-square"
\end_inset
you can select different fraction types.
\end_inset
- a fraction can be created that has in any case the size of a display style
- formula.
+ a fraction can be created that always has the size of a display style formula.
With
\series bold
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
frac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
dfrac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
dfrac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
\backslash
frac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
1
\end_layout
\begin_layout Standard
-\begin_inset Formula \begin{align*}
+\begin_inset Formula
+\begin{align*}
\textrm{created with \textbf{\textbackslash frac}} & & \textrm{created with \textbf{\textbackslash cfrac}}\\
\frac{A}{B+\frac{C+\frac{E}{F}}{D}} & & \cfrac{A}{B+\cfrac{C+\cfrac{E}{F}}{D}}
\end{align*}
\backslash
cfrac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
B+
\backslash
cfrac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
C+
\backslash
cfrac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
E
\end_layout
\begin_layout Standard
-\begin_inset Formula $\cfrac[l]{A}{B+C}$
-\end_inset
-,
-\begin_inset Formula $\cfrac{A}{B+C}$
-\end_inset
+\series bold
+\begin_inset Formula
+\[
+\cfrac[l]{A}{B+C}\,,\,\cfrac{A}{B+C}\,,\,\cfrac[r]{A}{B+C}
+\]
-,
-\begin_inset Formula $\cfrac[r]{A}{B+C}$
\end_inset
frac
\series default
:
-\begin_inset Formula \[
-\cfrac{A}{B+\cfrac{C+\frac{E}{F}}{D}}\]
+\begin_inset Formula
+\[
+\cfrac{A}{B+\cfrac{C+\frac{E}{F}}{D}}
+\]
\end_inset
.
\end_layout
+\begin_layout Standard
+Multiline fractions are explained in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Multiline-Fractions"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Subsection
Roots
\begin_inset Index idx
\end_inset
or the math toolbar button
-\begin_inset Graphics
- filename ../images/math/sqrt.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\sqrt"
\end_inset
, all other roots with the command
\end_inset
or with the math toolbar button
-\begin_inset Graphics
- filename ../images/math/root.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\root"
\end_inset
.
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
sqrt
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A-B
\backslash
root
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
3
\backslash
beta
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\end_inset
or with the submenu of the math toolbar button
-\begin_inset Graphics
- filename ../images/math/frac-square.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\frac-square"
\end_inset
.
- Analog to fractions (
+ As with fractions (
\series bold
\backslash
frac
\series default
-) there are besides
+) in addition to
\series bold
\backslash
binom
\series default
- the commands
+ there are the commands
\series bold
\backslash
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
binom
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
dbinom
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
tbinom
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
brack
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
brace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
cases
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
cases
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
cases
\series default
- or the usage of the math toolbar button
-\begin_inset Graphics
- filename ../images/math/cases.png
- scale 85
-
+ or pressing the math toolbar button
+\begin_inset Info
+type "icon"
+arg "math-insert \\cases"
\end_inset
you can create new lines with the shortcut
\end_inset
or the table toolbar button
-\begin_inset Graphics
- filename ../images/tabular-feature_append-row.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular append-row"
\end_inset
.
\end_layout
\begin_layout Standard
-By inserting of
+By inserting
\series bold
\backslash
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_layout
\begin_layout Standard
-The last example shows, that not all negations look good.
- Therefore there are for some negations special commands (see
+The last example shows that not all negations look good.
+ Therefore there are special commands for some negations (see
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Mathematical-Symbols"
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Plain Layout
can be found in the submenu of the toolbar button
-\begin_inset Graphics
- filename ../images/math/space.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\space"
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<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
^19
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
_
\backslash
phantom
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
1
\end_inset
9
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
F
\begin_layout Plain Layout
^235
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
_
\backslash
phantom
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
23
\end_inset
9
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
F
\backslash
Lambda^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
phantom
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
ii
\end_inset
t
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
_MMt
\end_layout
\begin_layout Standard
-For example creates
+For example the command
\series bold
\backslash
vphantom
-\series default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
-
-\series bold
a
\backslash
int
\series default
- space for the height of the integral sign,
+ creates space for the height of the integral sign,
\begin_inset Foot
status collapsed
\end_layout
\begin_layout Standard
-Placeholders can also be used for text when it is inserted via the menu
+Placeholders can also be used for text when they are inserted via the menu
\family sans
Insert\SpecialChar \menuseparator
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
overline
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A+B
\backslash
underline
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A+B
\backslash
overline
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
underline
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A+B
\end_layout
\begin_layout Standard
-To double underline e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-results, one uses
+To double underline use
\series bold
\backslash
\begin_layout Plain Layout
In the math toolbar in the submenu of the button
-\begin_inset Graphics
- filename ../images/math/ldots.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\ldots"
\end_inset
\begin_layout Standard
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
+<lyxtabular version="3" rows="9" columns="2">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Plain Layout
A_1
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
,
\backslash
dots
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
,A_n
\begin_layout Plain Layout
A_1
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
+
\backslash
dots
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
+A_n
\begin_layout Plain Layout
A_1
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
,
\backslash
ldots
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
,A_n
\begin_layout Plain Layout
A_1
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
+
\backslash
cdots
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
+A_n
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+iddots
+\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
+\begin_inset Formula $\iddots$
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset VSpace medskip
\end_inset
+To use
+\series bold
+
+\backslash
+iddots
+\series default
+, one of the options
+\family sans
+Use mathdots package (automatically)
+\family default
+ must be set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+.
+\begin_inset Newline newline
+\end_inset
+
+Using the option
+\family sans
+Use mathdots package
+\family default
+ will improve the appearance of all dots in the documents if their font
+ style or size is not the default.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
Specially for matrices there are ellipses that span over several columns.
They are created with the command
\series bold
dots
\series default
:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left(\begin{array}{cccc}
A & B & C & D\\
\hdotsfor[2]{4}\\
q & w & e & r
-\end{array}\right)\]
+\end{array}\right)
+\]
\end_inset
\end_inset
the rest of a line with dots.
- The effect of these commands is the same like with
+ The effect of these commands is the same as with
\series bold
\backslash
A
\backslash
dotfill
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
B
\end_layout
\begin_layout Standard
-Analog to
+Similar to
\series bold
\backslash
\begin_layout Standard
Matrices can be inserted via the math toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show_mathmatrix.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "dialog-show mathmatrix"
\end_inset
or the menu
Matrix
\family default
.
- You will be asked for the number of matrix columns and rows and the alignment.
- The vertical alignment is hereby only of importance for matrices in inline
- formulas:
+ In the matrix dialog you can specify the number of columns and rows, the
+ alignment and the decoration.
+ The vertical alignment is only of importance for matrices in inline formulas:
\end_layout
\begin_layout Standard
lccr
\series default
.
- Normally are in a matrix all columns centered, therefore the default is
- for every column is a
+ Normally in a matrix all columns are centered, therefore the default for
+ every column is a
\series bold
c
\series default
\begin_layout Standard
To add or delete rows and columns subsequently, the math toolbar buttons
-\begin_inset Graphics
- filename ../images/tabular-feature_append-row.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular append-row"
\end_inset
,
-\begin_inset Graphics
- filename ../images/tabular-feature_delete-row.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular delete-row"
\end_inset
, etc.
\begin_inset VSpace bigskip
\end_inset
-Parentheses around a matrix can can either be created with the commands
+The
+\family sans
+Decoration
+\family default
+ adds parentheses in the selected style around the matrix.
+ Alternatively, parentheses can can either be created with the commands
\series bold
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
bmatrix
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2
\backslash
Bmatrix
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2
\backslash
pmatrix
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
vmatrix
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2
\backslash
Vmatrix
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2
\backslash
matrix
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2
\series default
is inserted, a blue box appears between two vertical lines where the matrix
is inserted.
+\begin_inset Newline newline
+\end_inset
+
+Note that decorated matrices ignore the vertical alignment.
\end_layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
\series default
- produces there a line break.
+ produces a line break there.
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
Big((A+B)(A-B)
\backslash
Big)^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
C
ln(3x)
\backslash
big}^2
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
sin(x)
\backslash
Big]^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
ln(3x)
\backslash
bigm)^2
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
-\series default
-
\backslash
Bigm)
\end_layout
ln(3x)
\backslash
big)^2
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
-\series default
-
\backslash
Big)
\end_layout
ln(3x)
\backslash
bigr)^2
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
-\series default
-
\backslash
Bigr)
\end_layout
\end_inset
or via the math toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show_mathdelimiter.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "dialog-show mathdelimiter"
\end_inset
.
ln(
\backslash
frac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\end_inset
C
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
)
\series default
creates
-\begin_inset Formula \[
-\ln(\frac{A}{C})\]
+\begin_inset Formula
+\[
+\ln(\frac{A}{C})
+\]
\end_inset
left(
\backslash
frac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\end_inset
C
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
right)
\series default
creates
-\begin_inset Formula \[
-\ln\left(\frac{A}{C}\right)\]
+\begin_inset Formula
+\[
+\ln\left(\frac{A}{C}\right)
+\]
\end_inset
(
\backslash
frac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
left.
\backslash
frac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\end_inset
B
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
creates:
\series bold
-\begin_inset Formula \[
-\left.\frac{A}{B}\right\} \]
+\begin_inset Formula
+\[
+\left.\frac{A}{B}\right\}
+\]
\end_inset
\end_inset
needed for physical vectors:
-\begin_inset Formula \[
-\left\langle \phi\:\middle|\: J=\frac{3}{2}\,,\, M_{J}\right\rangle \]
+\begin_inset Formula
+\[
+\left\langle \phi\:\middle|\: J=\frac{3}{2}\,,\, M_{J}\right\rangle
+\]
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
overbrace
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+A+B
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+^3
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+}
+\end_layout
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! O !
\backslash
-spce
+overbrace
\end_layout
\end_inset
-A+B
-\begin_inset ERT
-status collapsed
+
+\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 $\overbrace{A+B}^{3}$
+\end_inset
-\backslash
-spce
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-^
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-spce
+raisebox{-2.2mm}{
\end_layout
\end_inset
-3
+
+\backslash
+underbrace
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+A+B
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+_5
\begin_inset ERT
status collapsed
status collapsed
\begin_layout Plain Layout
-Commands ! O !
+Commands ! U !
\backslash
-overbrace
+underbrace
\end_layout
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\overbrace{A+B}^{3}$
+\begin_inset Formula $\underbrace{A+B}_{5}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\backslash
+overbrace
+\begin_inset space \textvisiblespace{}
+\end_inset
\backslash
-raisebox{-2.2mm}{
+underbrace
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+A+B_w
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+_7
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+C
\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
+\begin_inset Formula $\overbrace{\underbrace{A+B_{w}}_{7}}^{C}$
+\end_inset
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+In the last example it doesn't matter if
+\series bold
+
+\backslash
+overbrace
+\series default
+ or
+\series bold
+
\backslash
underbrace
-\begin_inset ERT
+\series default
+ is inserted at first.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
+Packages ! mathtools
+\end_layout
+
+\end_inset
+ the option
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+, you have access to square backets:
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="2">
+<features rotate="0" 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" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Command
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\series bold
\backslash
-spce
+raisebox
+\series default
+ is only used as spacer.
\end_layout
\end_inset
-A+B
+
+\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" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-spce
+raisebox{2.3mm}{
\end_layout
\end_inset
-_5
+
+\backslash
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+overbracket
+\family default
+\series default
+\shape default
+\size default
+\emph default
+\bar default
+\strikeout default
+\uuline default
+\uwave default
+\noun default
+\color inherit
+{A+B
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+^3
\begin_inset ERT
status collapsed
status collapsed
\begin_layout Plain Layout
-Commands ! U !
+Commands ! O !
\backslash
-underbrace
+overbracket
\end_layout
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\underbrace{A+B}_{5}$
+\begin_inset Formula $\overbracket{A+B}^{3}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-overbrace
\begin_inset ERT
status collapsed
\backslash
-spce
+raisebox{-2.2mm}{
\end_layout
\end_inset
\backslash
-underbrace
+under
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+bracket
+\family default
+\series default
+\shape default
+\size default
+\emph default
+\bar default
+\strikeout default
+\uuline default
+\uwave default
+\noun default
+\color inherit
+{A+B
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+_5
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! U !
\backslash
-spce
+under
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+bracket
\end_layout
\end_inset
-A+B_w
-\begin_inset ERT
-status collapsed
+
+\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
+\begin_inset Formula $\underbracket{A+B}_{5}$
+\end_inset
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+overbracket{
\backslash
-spce
+underbracket{A+B_w
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+_7
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+C
+\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
+\begin_inset Formula $\overbracket{\underbracket{A+B_{w}}_{7}}^{C}$
+\end_inset
+
+
\end_layout
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\begin_inset ERT
+
+\end_layout
+
+\begin_layout Standard
+For
+\series bold
+
+\backslash
+overbracket
+\series default
+ and
+\series bold
+
+\backslash
+underbracket
+\series default
+ you can change the thickness of the bracket's stroke by specifying the
+ desired thickness in square brackets behind the command:
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" 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" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Command
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
+\series bold
\backslash
-spce
+raisebox
+\series default
+ is only used as spacer.
\end_layout
\end_inset
-_7
+
+\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" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-spce
+raisebox{2.3mm}{
\end_layout
\end_inset
+\backslash
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+overbracket
+\family default
+\series default
+\shape default
+\size default
+\emph default
+\bar default
+\strikeout default
+\uuline default
+\uwave default
+\noun default
+\color inherit
+[3pt]
+\backslash
+{A+B
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+^3
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
-\backslash
-spce
\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 $\overbracket[3pt]{A+B}^{3}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-spce
+raisebox{-2.2mm}{
\end_layout
\end_inset
-C
+
+\backslash
+under
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+bracket
+\family default
+\series default
+\shape default
+\size default
+\emph default
+\bar default
+\strikeout default
+\uuline default
+\uwave default
+\noun default
+\color inherit
+[1pt]
+\backslash
+{A+B
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+_5
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\overbrace{\underbrace{A+B_{w}}_{7}}^{C}$
+\begin_inset Formula $\underbracket[1pt]{A+B}_{5}$
\end_inset
\end_layout
-\begin_layout Standard
-In the last example it doesn't matter if
-\series bold
-
-\backslash
-overbrace
-\series default
- or
-\series bold
-
-\backslash
-underbrace
-\series default
- is inserted at first.
-\end_layout
-
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
-When brackets are needed that overlap each other, multiline formulas, as
- described in
+When brackets should overlap each other, multiline formulas, as described
+ in
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Multiline-Formulas"
\end_inset
, must be used:
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & \underbrace{gggg+bbqq}_{r}+\: dddd\\
& & \hphantom{gggg+\:}\underbrace{\hphantom{bbqq+dddd}}_{s}
\end{eqnarray*}
status collapsed
\begin_layout Plain Layout
-because a bracket is not handled as character, see
+because a bracket is not handled as a character, see
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Binary-Operators"
\end_layout
\begin_layout Standard
-It gets more complicated when brackets overlap each other, like in the following
- example:
+It gets more complicated when brackets overlap each other above and under
+ the formula, like in the following example:
\begin_inset ERT
status collapsed
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
& & \hphantom{gggg+\:}\overbrace{\hphantom{bbqq+dddd}}^{s}\\
A & = & \underbrace{gggg+bbqq}_{r}+\: dddd
\end{eqnarray*}
with the difference that the brace is above.
The second row contains the formula together with the second brace.
To avoid that there is space between the upper brace in the first row and
- the formula, the row spacing need to be reduced.
- This is not easily possible due to a bug in LyX
+ the formula, the row spacing needs to be reduced.
+ This is not easily possible due to a bug in LyX.
\begin_inset Foot
status collapsed
\end_inset
-.
- As solution for the problem, the global formula row separation
+ As a solution for the problem, the global formula row separation
\series bold
\backslash
\begin_layout Standard
Arrows can be inserted via the math toolbar button
-\begin_inset Graphics
- filename ../images/math/leftarrow.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\leftarrow"
\end_inset
or the commands listed in the following subsections.
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
\begin_layout Subsection
Horizontal Arrows
\begin_inset Index idx
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset VSpace medskip
\end_inset
-Arrows used as accent like e.
+Arrows used as accents like e.
\begin_inset space \thinspace{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
F(a)
\backslash
xleftarrow
-\begin_inset ERT
-status collapsed
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+x=a
+\begin_inset Formula $\downarrow$
+\end_inset
+
+x>0
+\begin_inset Formula $\to$
+\end_inset
+
+F(x)
+\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 $\raisebox{5.5mm}{}F(a)\xleftarrow[x>0]{x=a}F(x)\raisebox{-4mm}{}$
+\end_inset
-\backslash
-spce
\end_layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+F(x)
+\backslash
+xrightarrow
+\begin_inset space \textvisiblespace{}
\end_inset
x=a
\begin_inset Formula $\to$
\end_inset
-F(x)
+F(a)
+\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
+\begin_inset Formula $\raisebox{5.5mm}{}F(x)\xrightarrow[x>0]{x=a}F(a)\raisebox{-4mm}{}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! mathtools
+\end_layout
+
+\end_inset
+
+ the option
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+, you have access to the following labeled arrows:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="7" columns="2">
+<features rotate="0" 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" 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
+Example
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\series bold
+
+\backslash
+raisebox
+\series default
+ is only used as spacer.
+\end_layout
+
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+
+\backslash
+xleftrightarrow
+\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 $\raisebox{6mm}{}\xleftrightarrow[x=a]{x>0}\raisebox{-4mm}{}$
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+
+\backslash
+xLeftarrow
+\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 $\raisebox{6mm}{}\xLeftarrow[x=a]{x>0}\raisebox{-4mm}{}$
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xRightarrow
+\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 $\raisebox{6mm}{}\xRightarrow[x=a]{x>0}\raisebox{-4mm}{}$
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xLeftrightarrow
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox{5mm}{}F(a)\xleftarrow[x>0]{x=a}F(x)\raisebox{-4mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\xLeftrightarrow[x=a]{x>0}\raisebox{-4mm}{}$
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+
+\backslash
+xhookleftarrow
+\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 $\raisebox{6mm}{}\xhookleftarrow[x=a]{x>0}\raisebox{-4mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-F(x)
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+
\backslash
-xrightarrow
-\begin_inset ERT
+xhookrightarrow
+\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
+\begin_inset Formula $\raisebox{6mm}{}\xhookrightarrow[x=a]{x>0}\raisebox{-4mm}{}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="7" columns="2">
+<features rotate="0" 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" 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
+Example
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
+\series bold
\backslash
-spce
+raisebox
+\series default
+ is only used as spacer.
\end_layout
\end_inset
-x=a
-\begin_inset Formula $\downarrow$
+
+\end_layout
+
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-x>0
-\begin_inset Formula $\to$
+\begin_layout Plain Layout
+
+\backslash
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xleftharpoondown
+\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 $\raisebox{6mm}{}\xleftharpoondown[x=a]{x>0}\raisebox{-4mm}{}$
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xleftharpoonup
+\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 $\raisebox{6mm}{}\xleftharpoonup[x=a]{x>0}\raisebox{-4mm}{}$
\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xrightharpoondown
+\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 $\raisebox{6mm}{}\xrightharpoondown[x=a]{x>0}\raisebox{-4mm}{}$
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xrightharpoonup
+\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 $\raisebox{6mm}{}\xrightharpoonup[x=a]{x>0}\raisebox{-4mm}{}$
+\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
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xleftrightharpoons
+\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 $\raisebox{6mm}{}\xleftrightharpoons[x=a]{x>0}\raisebox{-4mm}{}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\strikeout off
+\uuline off
+\uwave off
+\noun off
+\color none
+xrightleftharpoons
+\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
+\begin_inset Formula $\raisebox{6mm}{}\xrightleftharpoons[x=a]{x>0}\raisebox{-4mm}{}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The command scheme is for all these arrows:
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features rotate="0" 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" 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
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\series bold
+
+\backslash
+raisebox
+\series default
+ is only used as spacer.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
F(a)
+\backslash
+xleftrightarrow[x=a]
+\backslash
+{x>0
+\begin_inset Formula $\to$
+\end_inset
+
+F(x)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox{5mm}{}F(x)\xrightarrow[x>0]{x=a}F(a)\raisebox{-4mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}F(a)\xleftrightarrow[x=a]{x>0}F(x)\raisebox{-4mm}{}$
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset VSpace medskip
\end_inset
-Vertical arrows can be used also as delimiter together with the commands
+Vertical arrows can be used also as delimiters together with the commands
described in
\begin_inset CommandInset ref
LatexCommand ref
.
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
\begin_layout Section
Accents
\begin_inset CommandInset label
\begin_layout Standard
Accents can be inserted via the math toolbar button
-\begin_inset Graphics
- filename ../images/math/hat.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\hat"
\end_inset
or the commands listed in the following subsections.
\begin_layout Plain Layout
+\series bold
+
\backslash
-texorpdfstring is used to avoid that the footnote appears in the PDF-bookmark.
+texorpdfstring
+\series default
+ is used to avoid that the footnote appears in the PDF-bookmark.
\end_layout
\begin_layout Plain Layout
More about
+\series bold
+
\backslash
-texorpdfstring is in section
+texorpdfstring
+\series default
+ is in section
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Formulas-in-Section"
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
dot
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
ddot
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
dddot
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
ddddot
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
vec
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
bar
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
mathring
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
tilde
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
hat
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
check
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
acute
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
grave
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\backslash
breve
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
ddot
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
i
be inserted.
\end_layout
-\begin_layout Subsection
-Accents for Operators
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Accents ! for operators
-\end_layout
-
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
-With the commands
+LyX also supports a tilde under the character if the LaTeX-package
\series bold
-
-\backslash
-overset
+undertilde
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Commands ! O !
-\backslash
-overset
+Packages ! undertilde
\end_layout
\end_inset
- and
-\series bold
-
-\backslash
-underset
-\series default
+ is installed on your system:
+\end_layout
-\begin_inset Index idx
+\begin_layout Standard
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Commands ! U !
+
+
\backslash
-underset
+ifundertilde
\end_layout
\end_inset
- characters can be placed above or below an operator, respectively, to accent
- it.
- With the command
-\series bold
-
-\backslash
-sideset
-\series default
-\begin_inset Index idx
-status collapsed
+\begin_inset Note Note
+status open
\begin_layout Plain Layout
-Commands ! S !
-\backslash
-sideset
+The following table will only be displayed when the LaTeX-package
+\series bold
+undertilde
+\series default
+ is installed.
\end_layout
\end_inset
- characters can be set before and behind an operator.
- The command scheme is:
+
\end_layout
\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features rotate="0" 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" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
+Command
+\end_layout
-\backslash
-sideset{character
-\series default
-
-\series bold
-before}{character
-\series default
-
-\series bold
-behind}
+\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
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
\backslash
-sideset
-\series default
- must always be before the operator that should be accented.
- You can accent with several characters and even with other operators and
- symbols.
- To place with
-\series bold
+utilde
+\begin_inset space \textvisiblespace{}
+\end_inset
-\backslash
-sideset
-\series default
- for example only characters behind an operator, write nothing between the
- first braces but don't omit the braces.
+A
\end_layout
-\begin_layout Standard
-For example the command
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\backslash
-sideset{
-\begin_inset Formula $\to$
+\begin_layout Plain Layout
+\begin_inset Formula $\raisebox{5mm}{}\utilde{A}$
\end_inset
-\backslash
-{
-\series default
-'
-\series bold
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
-\begin_inset Formula $\to$
\end_inset
-\backslash
-sum_k=1
+\end_layout
+
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-spce
+else
\end_layout
\end_inset
-\series default
-^
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the LaTeX-package
\series bold
-n
+undertilde
\series default
- produces:
-\begin_inset Formula \[
-\sideset{}{'}\sum_{k=1}^{n}\]
+ is not installed:
+\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The command
+You need to install the LaTeX-package
\series bold
-
-\backslash
-overset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
+undertilde
+\series default
+ to see the rest of this subsection in the output.
\end_layout
-\end_inset
-
-
-\backslash
-maltese
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-spce
+fi
\end_layout
\end_inset
-\series default
-
-\begin_inset Formula $\uparrow$
-\end_inset
-
-
-\series bold
-a
-\series default
- produces:
-\begin_inset Formula \[
-\overset{a}{\maltese}\]
+\end_layout
+\begin_layout Standard
+\begin_inset Newpage newpage
\end_inset
-As seen in the last example, with
-\series bold
-\backslash
-overset
-\series default
- and
-\series bold
-
-\backslash
-underset
-\series default
- also symbols and characters can be accented; with
-\series bold
-
-\backslash
-sideset
-\series default
- this is not possible.
\end_layout
\begin_layout Subsection
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
overleftarrow
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
underleftarrow
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
overleftrightarrow
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
underleftrightarrow
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
overrightarrow
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
underrightarrow
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
widetilde
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
widehat
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\series default
will only be set in the output with a length of three characters, as shown
in the following example:
-\begin_inset Formula \[
-\widetilde{A+B=C-D}\]
+\begin_inset Formula
+\[
+\widetilde{A+B=C-D}
+\]
\end_inset
\backslash
underset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
***
\series default
creates:
-\begin_inset Formula \[
-\underset{***}{A=B}\]
+\begin_inset Formula
+\[
+\underset{***}{A=B}
+\]
\end_inset
\end_layout
\begin_layout Standard
-Sometimes it is necessary to insert horizontal space to a formula.
+Sometimes it is necessary to insert horizontal space into a formula.
This is done by inserting a protected space (shortcut
\begin_inset Info
type "shortcut"
-arg "space-insert protected"
+arg "command-alternatives space-insert protected ; math-space"
\end_inset
).
\color blue
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\family default
several times one can select one of eight different space sizes.
The spaces can also be inserted using the math toolbar button
-\begin_inset Graphics
- filename ../images/math/space.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\space"
\end_inset
or special commands.
\begin_layout Standard
\noindent
\align center
-\begin_inset VSpace -5mm
-\end_inset
-
-
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="7">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="6.8cm">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="6" columns="3">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="15col%">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Number of
+\family sans
+Space
+\family default
+ keystrokes
+\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" topline="true" leftline="true" usebox="none">
\begin_inset Text
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+0
+\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 $A\, B$
+\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
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+1
+\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 $A\: B$
+\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
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+2
+\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 $A\; B$
+\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
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+3
+\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 $A\quad B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
\begin_layout Plain Layout
\backslash
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+4
+\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
+\begin_inset Formula $A\qquad B$
+\end_inset
+
-\backslash
-!
\end_layout
\end_inset
</cell>
</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="3">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="15col%">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<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" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\family sans
Space
\family default
- keystrokes after inserting the protected space
+ keystrokes
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0
+Result
\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
-1
+
+\backslash
+hfill
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-2
+5
\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 $A\hfill B$
+\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
-3
+
+\backslash
+hspace*{1em}
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-4
+6
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-5
+\begin_inset Formula $A\hspace*{1em}B$
+\end_inset
+
+
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Result
+
+\backslash
+hspace{1em}
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\, B$
-\end_inset
-
-
+7
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\: B$
+\begin_inset Formula $A\hspace{1em}B$
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\; B$
+
+\backslash
+
+\begin_inset space \textvisiblespace{}
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\quad B$
+8
+\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 $A\ B$
\end_inset
\end_inset
</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\qquad B$
-\end_inset
+\backslash
+!
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+9
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The last size seem to produce no space.
+Space
+\begin_inset space ~
+\end_inset
+
+5
+\begin_inset space \thinspace{}
+\end_inset
+
+--
+\begin_inset space \thinspace{}
+\end_inset
+
+7 are variable spaces which are explained in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Variable-Space"
+
+\end_inset
+
+.
+ Space
+\begin_inset space ~
+\end_inset
+
+9 seems to produce no space.
It is displayed red in LyX contrary to the other sizes, because it is a
negative space.
There are two more negative spaces:
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="middle" width="6.8cm">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\begin_inset Text
\begin_layout Plain Layout
-6
+10
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-7
+11
\end_layout
\end_inset
\begin_layout Standard
Negative spaces can lead to characters overlapping each other.
- Thus they can be used to enforce ligatures, what is e.
+ Thus they can be used to enforce ligatures, which are e.
\begin_inset space \thinspace{}
\end_inset
\begin_inset space \space{}
\end_inset
-useful for summation operators:
+useful for summation operators:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
sum
\backslash
sum
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
f_kl
negmedspace
\backslash
sum
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
f_kl
\end_layout
\begin_layout Standard
+\noindent
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
Relations like for example equal signs, are always surrounded by space.
To suppress this, the equal sign is placed into a TeX-brace.
The following example demonstrates this:
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset VSpace bigskip
\end_inset
+
+\end_layout
+
+\begin_layout Standard
Spaces are needed for physical units, because the space between the value
and the unit is the smallest one and not a normal space.
For units in text, the smallest space is inserted via the menu
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
-<column alignment="left" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="left" valignment="top">
+<column alignment="left" valignment="top">
<row>
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\color blue
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\color blue
-\begin_inset ERT
-status collapsed
+\begin_inset space \textvisiblespace{}
+\end_inset
-\begin_layout Plain Layout
+\color inherit
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+ The length may also be negative.
+ When a space would be the first character in a line it would be omitted.
+ To force its output use the command
+\series bold
\backslash
-spce
-\end_layout
+hspace*
+\series default
+ instead of
+\series bold
+
+\backslash
+hspace
+\series default
+ or left-click on the
+\begin_inset Quotes eld
+\end_inset
+
+
+\color blue
+\begin_inset space \textvisiblespace{}
\end_inset
\begin_inset Quotes erd
\end_inset
+ and check the option
+\family sans
+Protect
+\family default
.
- The length may also be negative.
- To insert so many space that the formula uses all available space, the
- command
+\begin_inset Newline newline
+\end_inset
+
+To insert as much space as is available, the command
\series bold
\backslash
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
A=B
\backslash
hspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\begin_inset Formula $\to$
+\begin_inset space \textvisiblespace{}
\end_inset
A
A
\backslash
hspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\begin_inset Formula $\to$
+\begin_inset space \textvisiblespace{}
\end_inset
A
A=A
\backslash
hfill
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
B=B
\end_inset
- that has the following scheme:
+ which has the following scheme:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-It is possible to frame formulas or parts of it with the commands
+It is possible to frame a formula or part of one with the commands
\series bold
\backslash
\end_layout
\begin_layout Standard
-When one of these commands is inserted to a formula, a blue box appears
+When one of these commands is inserted in a formula, a blue box appears
within a frame to enter formula parts.
For
\series bold
\end_layout
\begin_layout Standard
-As extension to
+An extension to
\series bold
\backslash
fbox
\series default
- there is the command
+ is the command
\series bold
\backslash
\begin_inset Newline newline
\end_inset
-Is no width given, also no position can be given.
+If no width is given, also no position can be given.
In this case the frame width is adjusted to the box content like for
\series bold
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
fbox
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
boxed
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
A+
\backslash
fbox
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
B
\backslash
framebox
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
20mm
\backslash
frac
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
\end_inset
-\begin_inset Formula \[
-\boxed{A+B=C}\]
+\begin_inset Formula
+\[
+\boxed{A+B=C}
+\]
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
sqrt
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
B
color
\series default
automatically.
- Thus it is possible that the package is loaded twice, but this doesn't
- arise problems.
+ Thus it is possible that the package is loaded twice, but this does not
+ cause problems.
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
{
\backslash
fbox
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\backslash
fbox
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
C=D
colorbox
\series default
only colors the box but not the characters in the box.
- To color all characters, the whole formula is highlighted and the wanted
+ To color all characters, the whole formula is highlighted and the desired
color is chosen in the
\family sans
Text
\family default
dialog.
The dialog can be called with the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show_character.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "dialog-show character"
\end_inset
or the menu
Customized
\family default
.
- The formula number has then the same color as the formula.
+ The formula number then has the same color as the formula.
When the formula number should get another color than the formula characters,
the color must be changed within the formula.
\end_layout
\begin_layout Standard
\color red
-\begin_inset Formula \begin{equation}
-\int A=B\label{eq:red}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\int A=B\label{eq:red}
+\end{equation}
\end_inset
\color green
-\begin_inset Formula \begin{equation}
-\textcolor{red}{\int A=B}\label{eq:redgreen}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\textcolor{red}{\int A=B}\label{eq:redgreen}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \[
-\fcolorbox{cyan}{magenta}{A=B}\]
+\begin_inset Formula
+\[
+\fcolorbox{cyan}{magenta}{A=B}
+\]
\end_inset
yellow
\series default
:
-\begin_inset Formula \begin{equation}
-\colorbox{darkgreen}{\color{yellow}\boxed{\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\colorbox{darkgreen}{\color{yellow}\boxed{\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}}
+\end{equation}
\end_inset
\end_layout
\begin_layout Standard
-A box that can contain several lines and paragraphs, a so called paragraph
+A box that can contain several lines and paragraphs, a so-called paragraph
box (parbox), can be created with the menu
\family sans
Insert\SpecialChar \menuseparator
Box
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/box-insert.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "box-insert"
\end_inset
.
\emph on
Decoration
\emph default
-: Recangular box,
+: Rectangular box,
\emph on
Inner Box
\emph default
\end_inset
- that has the following scheme:
+ which has the following scheme:
\end_layout
\begin_layout Standard
\emph on
b
\emph default
- for bottom means that the box is aligned within the surrounding text with
- its last line.
+ for
+\begin_inset Quotes eld
+\end_inset
+
+bottom
+\begin_inset Quotes erd
+\end_inset
+
+ means that the box is aligned within the surrounding text with its last
+ line.
With
\emph on
t
\emph default
- for top this is done with the first line.
+ for
+\begin_inset Quotes eld
+\end_inset
+
+top
+\begin_inset Quotes erd
+\end_inset
+
+ this is done with the first line.
When no position is given, the box will be vertically centered, see section
\emph on
\end_inset
-\begin_inset Formula \begin{equation}
-\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}
+\end{equation}
\end_inset
\begin_inset VSpace medskip
\end_inset
-As a parbox is used as argument of
+As a parbox is used as the argument of
\series bold
\backslash
\end_inset
using the mathematical textmode:
-\begin_inset Formula \[
-5x-7b=3b\textrm{This is a description. It is not separated from the formula ...}\]
+\begin_inset Formula
+\[
+5x-7b=3b\textrm{This is a description. It is not separated from the formula ...}
+\]
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
Commands ! P !
\backslash
prod
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
All big operators can also be inserted via the math toolbar button
-\begin_inset Graphics
- filename ../images/math/intop.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\intop"
\end_inset
.
\end_layout
\begin_layout Standard
-For all integral operators there is a second version available, ending on
+For all integral operators there is a second version available, ending in
\series bold
op
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
prod^
\backslash
infty
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\begin_layout Standard
The default limits type is this:
-\begin_inset Formula \[
-\sum_{x=0}^{\infty}\frac{1}{x^{2}}\]
+\begin_inset Formula
+\[
+\sum_{x=0}^{\infty}\frac{1}{x^{2}}
+\]
\end_inset
\family default
\series default
:
-\begin_inset Formula \[
-\sum\nolimits _{x=0}^{\infty}\frac{1}{x^{2}}\]
+\begin_inset Formula
+\[
+\sum\nolimits _{x=0}^{\infty}\frac{1}{x^{2}}
+\]
\end_inset
Display
\series default
and so set below the integrals:
-\begin_inset Formula \begin{equation}
-\iiint\limits _{V}X\,\mathrm{d}V=U\label{eq:VolInt}\end{equation}
+\begin_inset Formula
+\begin{equation}
+\iiint\limits _{V}X\,\mathrm{d}V=U\label{eq:VolInt}
+\end{equation}
\end_inset
are used.
To create for example this expression
-\begin_inset Formula \begin{equation}
+\begin_inset Formula
+\begin{equation}
\sum_{\begin{subarray}{c}
0<k<1000\\
\\
k\,\in\,\mathbb{N}
-\end{subarray}}^{n}k^{-2}\label{eq:substack}\end{equation}
+\end{subarray}}^{n}k^{-2}\label{eq:substack}
+\end{equation}
\end_inset
^
\series bold
n
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
_
\backslash
subarray
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
hfill
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
there can be too much space beside an operator, because the characters
following the operator are set beside the limits.
+ To avoid this the command
+\series bold
+
+\backslash
+smashoperator
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! S !
+\backslash
+smashoperator
\end_layout
-\begin_layout Standard
-To avoid this, the following macro can be used in the LaTeX-preamble:
+\end_inset
+
+ can be used.
+ To activate it, set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! mathtools
\end_layout
-\begin_layout Standard
+\end_inset
+
+ the option
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+always
+\family default
+.
+
\series bold
\backslash
-def
-\backslash
-clap#1{
-\backslash
-hbox to 0pt{
-\backslash
-hss #1
-\backslash
-hss}}
+smashoperator
+\series default
+ sets the space besides the operator to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
\begin_inset Newline newline
\end_inset
+Applied on formula
+\begin_inset CommandInset ref
+LatexCommand eqref
+reference "eq:substack"
-\backslash
-def
-\backslash
-mathclap {
-\backslash
-mathpalette
-\backslash
-mathclapinternal}
-\begin_inset Newline newline
\end_inset
+, one uses the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
\backslash
-def
-\backslash
-mathclapinternal #1#2{
+smashoperator{
+\end_layout
+
+\begin_layout Standard
+and inserts the operator with its limits into the braces.
+ Behind the brace one continues the formula:
+\begin_inset Formula
+\[
+\smashoperator{\sum_{\begin{subarray}{c}
+0<k<1000\\
+\\
+k\,\in\,\mathbb{N}
+\end{subarray}}^{n}}k^{-2}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+It is possible to set the space of only one side of the operator to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ To do this write either
+\series bold
+[l]
+\series default
+ or
+\series bold
+[r]
+\series default
+ between
+\series bold
+
\backslash
-clap{$
+smashoperator
+\series default
+ and its brace.
+
+\series bold
+l
+\series default
+ stands for the left and
+\series bold
+r
+\series default
+ for the right side of the operator.
+ Here is an example of the possible
+\series bold
+
\backslash
-mathsurround =0pt #1{#2}$}}
+smashoperator
+\series default
+ forms:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula
+\[
+Y\smashoperator{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}=Y\smashoperator[l]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}=Y\smashoperator[r]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}
+\]
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-This defines the command
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+When several consecutive operators have limits the typesetting of the limits
+ looks often imperfect in the output, see this example:
+\begin_inset Formula
+\[
+\text{a)}\lim_{n\to\infty}\max_{p\ge n}\quad\text{b)}\lim_{n\to\infty}\max_{p^{2}\ge n}\quad\text{c)}\lim_{n\to\infty}\sup_{p^{2}\ge nK}\quad\text{d)}\limsup_{n\to\infty}\max_{p\ge n}
+\]
+
+\end_inset
+
+To improve the typesetting set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! mathtools
+\end_layout
+
+\end_inset
+
+ the option
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+ Then insert into your formula the command
\series bold
\backslash
-mathclap
+adjustlimits
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Commands ! M !
+Commands ! A !
\backslash
-mathclap
+adjustlimits
\end_layout
\end_inset
- that sets the width of the limit to 0
-\begin_inset space \thinspace{}
+ directly before the first operator.
+ The example will then look like this:
+\begin_inset Formula
+\[
+\text{a)}\adjustlimits\lim_{n\to\infty}\max_{p\ge n}\quad\text{b)}\adjustlimits\lim_{n\to\infty}\max_{p^{2}\ge n}\quad\text{c)}\adjustlimits\lim_{n\to\infty}\sup_{p^{2}\ge nK}\quad\text{d)}\adjustlimits\limsup_{n\to\infty}\max_{p\ge n}
+\]
+
\end_inset
-pt.
- The command scheme is
+
\end_layout
\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+How to use one limit for several operators is described in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Self-defined-Operators"
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsection
+Decoration for Operators
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Operators ! Decoration
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+With the commands
\series bold
\backslash
-mathclap{limit}
+overset
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! O !
+\backslash
+overset
\end_layout
-\begin_layout Standard
-where the limit can consist of several conditions.
+\end_inset
+
+ and
+\series bold
+
+\backslash
+underset
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! U !
+\backslash
+underset
\end_layout
-\begin_layout Standard
-Applied on formula
-\begin_inset CommandInset ref
-LatexCommand eqref
-reference "eq:substack"
+\end_inset
+
+ characters can be placed above or below an operator, respectively.
+ With the command
+\series bold
+
+\backslash
+sideset
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! S !
+\backslash
+sideset
+\end_layout
\end_inset
-, one uses the command
+ characters can be set before and behind a big operator.
\end_layout
\begin_layout Standard
+There are 4
+\begin_inset space ~
+\end_inset
+variants of
\series bold
\backslash
-sum_
+sideset
+\series default
+:
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+
\backslash
-mathclap{
+sideset
+\series default
+ is used to set characters at the corners of the operator
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+
\backslash
-substack
-\begin_inset ERT
-status collapsed
+sidesetn
+\series default
+ is used to set characters before and/or behind the operator (this variant
+ represents LaTeX's original
+\series bold
-\begin_layout Plain Layout
+\backslash
+sideset
+\series default
+ command)
+\end_layout
+
+\begin_layout Itemize
+\series bold
\backslash
-spce
+sidesetl
+\series default
+ is used to set characters at the left corners and/or behind the operator
+\end_layout
+
+\begin_layout Itemize
+
+\series bold
+
+\backslash
+sidesetr
+\series default
+ is used to set characters at the right corners and/or before the operator
\end_layout
+\begin_layout Standard
+For example the command
+\series bold
+
+\backslash
+sidesetn
+\begin_inset space \textvisiblespace{}
\end_inset
-0<k<1000 Ctrl+Return
+
+\backslash
+sum
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\begin_inset Formula $\to$
+\end_inset
+
+'
+\begin_inset Formula $\to$
+\end_inset
+
+_k=1
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\series default
+^
+\series bold
+n
+\series default
+ produces:
+\begin_inset Formula
+\[
+\sideset{}{'}\sum_{k=1}^{n}
+\]
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-to create the lower limit.
- The summand is now directly behind the summation operator:
-\begin_inset Formula \[
-\sum_{\mathclap{\substack{0<k<1000\\
-\\
-k\,\in\,\mathbb{N}
-}
-}}^{n}k^{-2}\]
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\backslash
+sideset
+\series default
+ can only be used to decorate big operators, binary operators are not allowed.
+\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
+
+\series bold
+
+\backslash
+overset
+\series default
+ and
+\series bold
+
+\backslash
+underset
+\series default
+ can also be used to decorate symbols and characters.
+ For example, the command
+\series bold
+
+\backslash
+overset
+\begin_inset space \textvisiblespace{}
\end_inset
-How to use one limit for several operators is described in
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Self-defined-Operators"
+\backslash
+maltese
+\begin_inset space \textvisiblespace{}
\end_inset
-.
+
+\series default
+
+\begin_inset Formula $\uparrow$
+\end_inset
+
+
+\series bold
+a
+\series default
+ produces:
+\begin_inset Formula
+\[
+\overset{a}{\maltese}
+\]
+
+\end_inset
+
+
\end_layout
\begin_layout Subsection
\begin_layout Standard
Binary operators are surrounded by space when there is a character before
- and behind them.
+ and after them.
\begin_inset VSpace medskip
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Standard
All binary operators can also be inserted via the math toolbar button
-\begin_inset Graphics
- filename ../images/math/pm.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\pm"
\end_inset
.
\end_inset
:
-\begin_inset Formula \[
-\Lozenge_{n=1}^{\infty}\]
+\begin_inset Formula
+\[
+\Lozenge_{n=1}^{\infty}
+\]
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
-\mathop{\sum\negmedspace\sum}_{i,j=1}^{N}\]
+\begin_inset Formula
+\[
+\mathop{\sum\negmedspace\sum}_{i,j=1}^{N}
+\]
\end_inset
sum
\series default
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
^N
\series default
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<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" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Result
-\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
-shortcut
-\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
-mathbb
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\series default
-ABC
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\mathbb{ABC}$
-\end_inset
-
-
-\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 Info
-type "shortcuts"
-arg "font-noun"
-\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
-mathbf
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\series default
-AbC
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\mathbf{AbC}$
-\end_inset
-
-
-\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 Info
-type "shortcuts"
-arg "font-bold"
-\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
-boldsymbol
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\series default
-AbC
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\boldsymbol{AbC}$
-\end_inset
-
-
-\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 Info
-type "shortcuts"
-arg "font-boldsymbol"
-\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
-mathcal
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\series default
-ABC
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\mathcal{ABC}$
-\end_inset
-
-
-\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 Info
-type "shortcuts"
-arg "font-emph"
-\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
-mathfrak
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\series default
-AbC
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\mathfrak{AbC}$
-\end_inset
-
-
-\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
--
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\backslash
-mathscr
-\series bold
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\series default
-AbC
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\mathscr{AbC}$
-\end_inset
-
-
-\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
--
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="5" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<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
\backslash
-mathit
+mathbb
\series bold
-\begin_inset ERT
-status collapsed
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\series default
+ABC
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $\mathbb{ABC}$
+\end_inset
-\backslash
-spce
\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 Info
+type "shortcuts"
+arg "font-noun"
+\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
+mathbf
+\series bold
+
+\begin_inset space \textvisiblespace{}
+\end_inset
\series default
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\mathit{AbC}$
+\begin_inset Formula $\mathbf{AbC}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+\begin_inset Info
+type "shortcuts"
+arg "font-bold"
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Plain Layout
\backslash
-mathrm
+boldsymbol
\series bold
-\begin_inset ERT
-status collapsed
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\series default
+AbC
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $\boldsymbol{AbC}$
+\end_inset
+
+
+\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 Info
+type "shortcuts"
+arg "font-boldsymbol"
+\end_inset
-\backslash
-spce
\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
+mathcal
+\series bold
+
+\begin_inset space \textvisiblespace{}
+\end_inset
\series default
-AbC
+ABC
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\mathrm{AbC}$
+\begin_inset Formula $\mathcal{ABC}$
\end_inset
\begin_layout Plain Layout
\begin_inset Info
type "shortcuts"
-arg "font-roman"
+arg "font-emph"
\end_inset
\begin_layout Plain Layout
\backslash
-mathsf
+mathfrak
\series bold
-\begin_inset ERT
-status collapsed
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\series default
+AbC
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathfrak{AbC}$
+\end_inset
+
+
+\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
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+mathscr
+\series bold
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\series default
+AbC
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathscr{AbC}$
+\end_inset
+
+
+\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
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="3">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<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" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+Result
+\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
+shortcut
+\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
-spce
+mathit
+\series bold
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\series default
+AbC
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathit{AbC}$
+\end_inset
+
+
+\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
+-
+\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
+mathrm
+\series bold
+
+\begin_inset space \textvisiblespace{}
+\end_inset
\series default
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\mathsf{AbC}$
+\begin_inset Formula $\mathrm{AbC}$
\end_inset
\begin_layout Plain Layout
\begin_inset Info
type "shortcuts"
-arg "font-sans"
+arg "font-roman"
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
-mathtt
+mathsf
\series bold
-\begin_inset ERT
-status collapsed
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\series default
+AbC
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $\mathsf{AbC}$
+\end_inset
-\backslash
-spce
\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 Info
+type "shortcuts"
+arg "font-sans"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+mathtt
+\series bold
+
+\begin_inset space \textvisiblespace{}
+\end_inset
\series default
\begin_layout Standard
The style commands work also for letters in mathematical constructs:
-\begin_inset Formula \[
-\mathfrak{A=\frac{b}{C}}\]
+\begin_inset Formula
+\[
+\mathfrak{A=\frac{b}{C}}
+\]
\end_inset
Text Style
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/math/font.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\font"
\end_inset
can be used.
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
-\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{equation with \textbackslash mathbf}\]
+\begin_inset Formula
+\[
+\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{equation with \textbackslash mathbf}
+\]
\end_inset
boldsymbol
\series default
is used:
-\begin_inset Formula \[
-\boldsymbol{\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{equation with \textbackslash boldsymbol}}\]
+\begin_inset Formula
+\[
+\boldsymbol{\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{equation with \textbackslash boldsymbol}}
+\]
\end_inset
\end_inset
-\begin_inset Formula \[
-\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{equation in a boldmath environment}\]
+\begin_inset Formula
+\[
+\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{equation in a boldmath environment}
+\]
\end_inset
\family default
dialog.
Here is a formula in magenta:
-\begin_inset Formula \[
-{\color{magenta}\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}\]
+\begin_inset Formula
+\[
+{\color{magenta}\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}
+\]
\end_inset
\end_inset
-\begin_inset Formula \[
-\int A\,\mathrm{d}x=\frac{{\color{red}\sqrt[5]{B}}}{\ln\left(\frac{1}{3}\right)}\]
+\begin_inset Formula
+\[
+\int A\,\mathrm{d}x=\frac{{\color{red}\sqrt[5]{B}}}{\ln\left(\frac{1}{3}\right)}
+\]
\end_inset
\end_layout
\begin_layout Standard
-The size produced by the commands depends on the document font size, that
- corresponds with the command
+The size produced by the commands depends on the document font size, which
+ corresponds to the command
\series bold
\backslash
\end_layout
\begin_layout Standard
-\begin_inset Newpage newpage
+Within a formula the size can be changed using the following size commands
+ or the toolbar button
+\begin_inset Info
+type "icon"
+arg "math-insert \\style"
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-Within a formula the size can be changed using the following size commands:
+:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
-\begin_inset Formula \[
-A=\frac{B}{c}\cdot\maltese\]
+\begin_inset Formula
+\[
+A=\frac{B}{c}\cdot\maltese
+\]
\end_inset
-\begin_inset Formula \[
-\maltese A\textrm{\Large\maltese\textit{A}}\textrm{\tiny\maltese\textit{A}}\]
+\begin_inset Formula
+\[
+\maltese A\textrm{\Large\maltese\textit{A}}\textrm{\tiny\maltese\textit{A}}
+\]
\end_inset
\backslash
maltese
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A Alt+M M
\backslash
Large
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
maltese
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
textit
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
M
\backslash
tiny
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
maltese
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
textit
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
in the default size.
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
\begin_layout Section
Greek Letters
\begin_inset Index idx
\end_layout
\begin_layout Standard
-All Greek letters can also be inserted via the toolbar button
-\begin_inset Graphics
- filename ../images/math/alpha.png
- scale 85
-
+Greek letters can also be inserted via the toolbar button
+\begin_inset Info
+type "icon"
+arg "math-insert \\alpha"
\end_inset
.
+ All international typesetting norms purport that Greek letters in math
+ have to be typeset italic/slanted.
+ In some languages, like French or Russian, they are nevertheless sometimes
+ typeset upright.
\end_layout
\begin_layout Subsection
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="12" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_layout
\begin_layout Standard
-How to create upright Greek letters is explained in
+How to create special upright Greek letters is explained in
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Upright-small-Greek"
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\backslash
varGamma
\series default
- produces:
+ produces
\begin_inset Formula $\varGamma$
\end_inset
+.
+ Another way is to load the package
+\series bold
+fixmath
+\series default
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\series bold
+fixmath
+\series default
+ is part of the LaTeX-package
+\series bold
+was
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! was
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! fixmath
+\end_layout
+
+\end_inset
+
+ with the LaTeX-preamble line
+\end_layout
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage{fixmath}
+\end_layout
+
+\begin_layout Standard
+Then all big Greek letters in a document will automatically be typeset italic.
\end_layout
\begin_layout Subsection
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
Many of the symbols listed in this section can also be inserted via the
toolbar buttons
-\begin_inset Graphics
- filename ../images/math/nabla.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\nabla"
\end_inset
and
-\begin_inset Graphics
- filename ../images/math/digamma.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\digamma"
\end_inset
.
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset VSpace medskip
\end_inset
-More symbols are listed in
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Miscellaneous-special-Characters"
-
-\end_inset
-.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\end_layout
\begin_layout Standard
-All relations can also be inserted via the toolbar button
-\begin_inset Graphics
- filename ../images/math/leq.png
- scale 85
-
+All following relations can also be inserted via the toolbar button
+\begin_inset Info
+type "icon"
+arg "math-insert \\leq"
\end_inset
.
\begin_inset Tabular
<lyxtabular version="3" rows="17" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="17" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="17" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
, respectively.
\end_layout
+\begin_layout Standard
+LyX supports also many special relations.
+ Use the toolbar button
+\begin_inset Info
+type "icon"
+arg "math-insert \\leqq"
+\end_inset
+
+ to see a list of these relations.
+\end_layout
+
\begin_layout Standard
Relations are, in contrary to symbols, always surrounded by space.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
A(r)
\backslash
stackrel
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
r
to
\backslash
infty
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
approx
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
B
\end_inset
.
- Therefore there are predefined functions, that are additionally a bit separated
+ Therefore there are predefined functionswhich are additionally a bit separated
from prefactors.
They are inserted as commands starting with a backslash before their name.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="4">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="4">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\begin_layout Standard
They can also be inserted with the math toolbar button
-\begin_inset Graphics
- filename ../images/math/functions.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\functions"
\end_inset
.
sgn
\emph default
, and change it to mathematical text.
- At last a space is inserted between prefactor and function.
+ Finally, a space is inserted between prefactor and function.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_layout
\begin_layout Standard
-For limits there are defined besides
+For limits, in addition to the commands
\series bold
\backslash
\backslash
limsup
\series default
- furthermore the following functions:
+ the following functions are defined:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
lim_x
\backslash
to
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
x=B
\begin_layout Standard
In a displayed formula the limit is set below the formula, as usual:
-\begin_inset Formula \[
-\lim_{x\to A}x=B\]
+\begin_inset Formula
+\[
+\lim_{x\to A}x=B
+\]
\end_inset
\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+How to adjust the typesetting of the limits see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Operator-Limits"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Subsection
Modulo-Functions
\begin_inset Index idx
\begin_layout Standard
The modulo-function is special, because it exists in four variants.
-\end_layout
-
-\begin_layout Standard
-The variants in a displayed formula:
-\begin_inset Formula \begin{align*}
+ The variants in a displayed formula are:
+\begin_inset Formula
+\begin{align*}
\underline{\textrm{Command}\raisebox{-0.9mm}{}} & & \underline{\textrm{Result}}\\
-\mathrm{a\backslash mod\textrm{\spce}b} & & a\mod b\\
-\mathrm{a\backslash pmod\textrm{\spce}b} & & a\pmod b\\
-\mathrm{a\backslash bmod\textrm{\spce}b} & & a\bmod b\\
-\mathrm{a\backslash pod\textrm{\spce}b} & & a\pod b
+\mathrm{a\backslash mod\textrm{␣}b} & & a\mod b\\
+\mathrm{a\backslash pmod\textrm{␣}b} & & a\pmod b\\
+\mathrm{a\backslash bmod\textrm{␣}b} & & a\bmod b\\
+\mathrm{a\backslash pod\textrm{␣}b} & & a\pod b
\end{align*}
\end_inset
\begin_layout Standard
In an inline formula less space is set before the function names for all
variants.
+ By default the modulo-functions take only the first following character
+ into account.
+ To use more than one character, one has to put them into TeX-braces:
+\begin_inset Formula
+\begin{align*}
+\underline{\textrm{Command}\raisebox{-0.9mm}{}} & & \underline{\textrm{Result}}\\
+\mathrm{a\backslash pod\textrm{␣}bcd} & & a\pod bcd\\
+\mathrm{a\backslash pod\backslash\{bc\to d} & & a\pod{bc}d
+\end{align*}
+
+\end_inset
+
+
\end_layout
\begin_layout Section
\end_inset
+\end_layout
+
+\begin_layout Standard
+The characters ^ and _ would normally create a subscript and subscript,
+ respectively.
+ To get these characters you have to insert them with a leading
+\backslash
+:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" 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" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\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 $\mathcircumflex$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+_
+\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
+\begin_inset Formula $\_$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
\end_layout
\begin_layout Subsection
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
-<column alignment="block" valignment="top" width="0">
-<column alignment="block" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
-<column alignment="block" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
`
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\end_inset
`
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\end_inset
can also be inserted via the math toolbar button
-\begin_inset Graphics
- filename ../images/math/digamma.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-insert \\digamma"
\end_inset
.
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
-<column alignment="block" valignment="top" width="0">
-<column alignment="block" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e
\backslash
u
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e
\backslash
b
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e
\backslash
t
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
ee
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features tabularvalignment="middle">
-<column alignment="block" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
H
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e
\backslash
v
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e
\backslash
d
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e
\backslash
c
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
e
\backslash
t
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
sz
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_layout
\begin_layout Subsection
-Minuscule Numbers
+Old-style Figures
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Minuscule numbers
+Old-style Figures
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Minuscule numbers are created with the command
+Old-style figures (also known as old-style numerals) are created with the
+ command
\series bold
\backslash
\end_layout
-\begin_layout Subsection
-Miscellaneous special Characters
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Miscellaneous-special-Characters"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Special characters ! miscellaneous
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The following characters can only be inserted to formulas by using commands:
-\end_layout
-
-\begin_layout Standard
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<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" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\backslash
-^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\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 $\mathcircumflex$
-\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
-_
-\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 $\_$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
-\end_inset
-
-
-\backslash
-circ
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-@°
-\end_layout
-
-\end_inset
-
-
-\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
-\begin_inset Formula $^{\circ}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The degree sign ° can nevertheless be directly inserted if the LaTeX-preamble
- contains the following line
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-More about this is described in
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Text-Characters-in"
-
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
-:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-DeclareInputtext{176}{
-\backslash
-ifmmode^
-\backslash
-circ
-\backslash
-else
-\backslash
-textdegree
-\backslash
-fi}
-\end_layout
-
\begin_layout Section
Formula Styles
\begin_inset CommandInset label
\begin_layout Standard
In LyX multiline formulas are created by pressing
-\series bold
-
\begin_inset Info
type "shortcut"
arg "newline-insert newline"
\end_inset
-
-\series default
inside a formula.
This creates either an
\series bold
\end_inset
.
+ The align environment is recommended because it provides in any case a
+ typographically correct output.
\end_layout
\begin_layout Standard
.
To add or delete lines, the math toolbar buttons
-\begin_inset Graphics
- filename ../images/tabular-feature_append-row.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular append-row"
\end_inset
or
-\begin_inset Graphics
- filename ../images/tabular-feature_delete-row.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular delete-row"
\end_inset
, respectively, or the menu
\begin_layout Standard
There is sometimes not enough space in multiline formulas between the lines:
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & = & \textrm{-}4x^{2}B^{2}+4x_{0}xB^{2}\\
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right) & = & 0
\end{eqnarray*}
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & = & \textrm{-}4x^{2}B^{2}+4x_{0}xB^{2}\\
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right) & = & 0
\end{eqnarray*}
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & B\\
C & \ne & A
\end{eqnarray*}
\end_inset
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & B\\
C & \ne & A
\end{eqnarray*}
\end_layout
\begin_layout Itemize
-When one side of the equation is much shorther than the line width, this
+When one side of the equation is much shorter than the line width, this
one is chosen for the left side and the right side is typeset over two
lines:
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
H & = & W_{SB}+W_{mv}+W_{D}-\frac{\hbar^{2}}{2m_{0}}\Delta-\frac{\hbar^{2}}{2m_{1}}\Delta_{1}-\frac{\hbar^{2}}{2m_{2}}\Delta_{2}-\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{1}|}\nonumber \\
& & -\hspace{3pt}\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{2}|}+\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{R}_{1}-\mathbf{R}_{2}|}\label{eq:shortlong}
\end{eqnarray}
\end_inset
The minus sign at the beginning of the second line does normally not appear
- as operator because it is the first character of the line.
+ as an operator because it is the first character of the line.
Thus it would not be surrounded by space and could not be distinguished
from the fraction bar.
To avoid this, 3
status collapsed
\begin_layout Plain Layout
-more about
+for more about
\series bold
\backslash
\end_inset
is used.
- It is inserted to the first column of the first line and effects that all
- further insertions overwrite the following columns:
-\begin_inset Formula \begin{eqnarray}
+ It is inserted in the first column of the first line and causes all further
+ insertions to overwrite the following columns:
+\begin_inset Formula
+\begin{eqnarray}
\lefteqn{4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right)+D^{2}}\nonumber \\
& & -\hspace{3pt}B^{2}-2B\sqrt{r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}+r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}\nonumber \\
& & =B^{2}+2\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)+\frac{\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)^{2}}{B^{2}}\label{eq:lefteqn}
.
\end_layout
+\begin_layout Subsubsection
+Multiline Fractions
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Multiline-Fractions"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Fractions ! multiline
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+There are cases where the denominator and/or the numerator of a fraction
+ is so long that the fraction does not fit into one line.
+ It is then necessary to add a line break within the fraction.
+ This can be done using the command
+\series bold
+
+\backslash
+splitfrac
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! S !
+\backslash
+splitfrac
+\end_layout
+
+\end_inset
+
+.
+ To activate it, set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! mathtools
+\end_layout
+
+\end_inset
+
+ the option
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+
+\series bold
+
+\backslash
+splitfrac
+\series default
+ has the scheme
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+splitfrac{first line}{second line}
+\end_layout
+
+\begin_layout Standard
+and is used as denominator and/or numerator:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula
+\[
+a=\frac{\splitfrac{xy+xy+xy+xy+xy}{+wy+wy+wy+wy}}{z}\ne\frac{\splitdfrac{xy+\frac{xy}{z}+xy+xy+xy}{+xy+xy+xy+xy}}{z}
+\]
+
+\end_inset
+
+The command for the first numerator above is:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+splitfrac{xy+xy+xy+xy+xy
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\backslash
+{+wy+wy+wy+wy
+\end_layout
+
\begin_layout Subsubsection
Multiline Brackets
\begin_inset CommandInset label
\begin_layout Standard
For brackets spanning multiple lines the following problem occurs:
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & \sin(x)\left[\prod_{R=1}^{\infty}\frac{1}{R}+\cdots\right.\\
& & \left.\cdots+B-D\right]
\end{eqnarray*}
vphantom
\series default
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
prod
\series default
^
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
infty
\series default
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\begin_layout Standard
The result is this:
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
A & = & \sin(x)\left[\prod_{R=1}^{\infty}\frac{1}{R}+\cdots\right.\\
& & \left.\vphantom{\prod_{R=1}^{\infty}}\cdots+B-D\right]
\end{eqnarray*}
\begin_layout Standard
Align environments can be used for every kind of multiline formulas.
- They are specially useful to set several formulas side by side.
+ They are especially useful to set several formulas side by side.
\end_layout
\begin_layout Standard
\begin_layout Standard
To add or delete columns, the math toolbar buttons
-\begin_inset Graphics
- filename ../images/tabular-feature_append-column.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular append-column"
\end_inset
or
-\begin_inset Graphics
- filename ../images/tabular-feature_delete-column.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular delete-column"
\end_inset
, respectively, or the menu
\end_layout
\begin_layout Standard
-This Align environment is created by presssing
+This Align environment is created by pressing
\begin_inset Info
type "shortcut"
arg "newline-insert newline"
\begin_layout Standard
An example for two formulas set side by side, that are created with a four
column align environment:
-\begin_inset Formula \begin{align*}
+\begin_inset Formula
+\begin{align*}
A & =\sin(B) & C & =D\\
C & \ne A & B & \ne D
\end{align*}
\end_inset
cm space was inserted at the beginning of the second formula:
-\begin_inset Formula \begin{alignat*}{2}
+\begin_inset Formula
+\begin{alignat*}{2}
A & =\sin(B) & \hspace{1cm}C & =D\\
C & \ne A & B & \ne D
\end{alignat*}
In this environment the first two columns are always set as much as possible
to the left and the last two ones to the right.
An example:
-\begin_inset Formula \begin{flalign*}
+\begin_inset Formula
+\begin{flalign*}
A & =1 & B & =2 & C & =3\\
X & =\textrm{-}1 & Y & =\textrm{-}2 & Z & =4
\end{flalign*}
\end_inset
:
-\begin_inset Formula \begin{flalign}
-\hspace{30pt}\iiint\limits _{V}X\,\mathrm{d}V & =U & {}\end{flalign}
+\begin_inset Formula
+\begin{flalign}
+\hspace{30pt}\iiint\limits _{V}X\,\mathrm{d}V & =U & {}
+\end{flalign}
\end_inset
one left aligned.
The content of the middle box appears centered and a bit smaller, because
it is designed to insert there only relation characters.
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
\frac{ABC}{D} & \frac{ABC}{D} & \frac{ABC}{D}\\
AB & AB & AB\\
A & = & A
\begin_layout Standard
This environment consists of only one centered column.
Every line can be numbered.
-\begin_inset Formula \begin{gather}
+\begin_inset Formula
+\begin{gather}
A=1\\
X=\textrm{-}1
\end{gather}
\end_inset
in the multline environment:
-\begin_inset Formula \begin{multline}
+\begin_inset Formula
+\begin{multline}
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right)+D^{2}\\
-B^{2}-2B\sqrt{r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}+r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}\\
=B^{2}+2\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)+\frac{\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)^{2}}{B^{2}}
\end_inset
-\begin_inset Formula \begin{multline}
+\begin_inset Formula
+\begin{multline}
4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right)+D^{2}\\
\shoveleft{-B^{2}-2B\sqrt{r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}+r_{g}^{2}-x^{2}+2x_{0}x-x_{0}^{2}}\\
=B^{2}+2\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)+\frac{\left(r_{g}^{2}+2x_{0}x-x_{0}^{2}-r_{k}^{2}\right)^{2}}{B^{2}}
\begin_layout Standard
To display only parts of a formula with multiple lines, one of the following
- environments are used:
+ environments is used:
\series bold
aligned
\series default
formula environments, but it is possible to set further formula parts beside
them.
An example:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left.\begin{aligned}\Delta x\Delta p & \ge\frac{\hbar}{2}\\
\Delta E\Delta t & \ge\frac{\hbar}{2}
\end{aligned}
-\right\} \textrm{Uncertainty relations}\]
+\right\} \textrm{Uncertainty relations}
+\]
\end_inset
\end_inset
in the aligned environment:
-\begin_inset Formula \begin{equation}
+\begin_inset Formula
+\begin{equation}
\begin{aligned}H=\; & W_{SB}+W_{mv}+W_{D}-\frac{\hbar^{2}}{2m_{0}}\Delta-\frac{\hbar^{2}}{2m_{1}}\Delta_{1}-\frac{\hbar^{2}}{2m_{2}}\Delta_{2}-\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{1}|}\\
& -\hspace{3pt}\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{2}|}+\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{R}_{1}-\mathbf{R}_{2}|}
\end{aligned}
must hereby be at the beginning of a line and appears in the output above
this line.
An example where the text was inserted at the beginning of the second line:
-\begin_inset Formula \begin{align}
+\begin_inset Formula
+\begin{align}
I & =a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\
\intertext{\text{integrand is symmetric to \ensuremath{\phi=\pi}, therefore}} & =2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi
\end{align}
\end_inset
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+intertext
+\series default
+ always creates some vertical space between the text and the formula lines.
+ To avoid this space, set in the document settings under
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! mathtools
+\end_layout
+
+\end_inset
+
+ the option
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+ Then you can use the command
+\series bold
+
+\backslash
+shortintertext
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! S !
+\backslash
+shortintertext
+\end_layout
+
+\end_inset
+
+ instead of
+\series bold
+
+\backslash
+intertext
+\series default
+:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula
+\begin{align}
+I & =a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\
+\shortintertext{\text{integrand is symmetric to \ensuremath{\phi=\pi}, therefore}} & =2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi
+\end{align}
+
+\end_inset
+
+
\end_layout
\begin_layout Section
\end_inset
).
- The formula number is displayed in LyX behind the formula as number sign
+ The formula number is displayed in LyX behind the formula as a number sign
in parentheses.
The number sign is replaced in the output by the formula number.
\end_layout
Line
\family default
- (shortcut
+ (shortcut
\begin_inset Info
type "shortcut"
arg "math-number-line-toggle"
Label
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/label-insert.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "label-insert"
\end_inset
.
The cursor must hereby be inside a displayed formula.
+ Alternatively you can right-click on the formula and choose
+\family sans
+Equation Label
+\family default
+.
A dialog pops up displaying the prefix
\series bold
eq:
Insert\SpecialChar \menuseparator
Label
\family default
- is used again.
+ is used again or you right-click on a formula and then on
+\family sans
+Equation Label
+\family default
+.
\end_layout
\begin_layout Standard
Cross-Reference
\family default
or with the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_ref.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset ref"
\end_inset
.
\begin_layout Standard
An example:
-\begin_inset Formula \begin{equation}
-A=C-B\label{eq:a}\end{equation}
+\begin_inset Formula
+\begin{equation}
+A=C-B\label{eq:a}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-B=C-A\label{eq:b}\end{equation}
+\begin_inset Formula
+\begin{equation}
+B=C-A\label{eq:b}
+\end{equation}
\end_inset
-\begin_inset Formula \begin{equation}
-C=A+B\label{eq:c}\end{equation}
+\begin_inset Formula
+\begin{equation}
+C=A+B\label{eq:c}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
A & = & (B-Z)^{2}=(B-Z)(B-Z)\label{eq:d}\\
& = & B^{2}-ZB-BZ+Z^{2}\nonumber \\
& = & B^{2}-2BZ+Z^{2}\label{eq:f}
\end_inset
is used:
-\begin_inset Formula \begin{equation}
-A+B=C\tag{something}\label{eq:tag}\end{equation}
+\begin_inset Formula
+\begin{equation}
+A+B=C\tag{something}\label{eq:tag}
+\end{equation}
\end_inset
\backslash
tag
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
something
\series default
- was inserted to the formula.
+ was inserted in the formula.
\end_layout
\begin_layout Standard
\backslash
tag*
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
something
\series default
is inserted instead, the star prevents the parentheses around the expression:
-\begin_inset Formula \[
-A+B=C\tag*{something}\]
+\begin_inset Formula
+\[
+A+B=C\tag*{something}
+\]
\end_inset
\end_layout
\begin_layout Standard
-Thus in our case the following LaTeX-preamble or TeX-Code line is used:
+Thus in our case the following LaTeX-preamble or TeX code line is used:
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset Formula \begin{equation}
-A+B=C\end{equation}
+\begin_inset Formula
+\begin{equation}
+A+B=C
+\end{equation}
\end_inset
\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 TeX-Code or to the LaTeX-preamble:
+ as TeX code or to the LaTeX-preamble:
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\series bold
+\color none
Note:
\series default
- Only maximal 26 formulas can be numbered with Latin letters in one document.
+ Only maximal 26
+\begin_inset space ~
+\end_inset
+
+formulas can be numbered with Latin letters in one document.
+\end_layout
+
+\end_inset
+
+
\end_layout
+\begin_layout Standard
+\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula \begin{equation}
-A=\textrm{small roman}\end{equation}
+\begin_inset Formula
+\begin{equation}
+A=\textrm{small roman}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-B=\textrm{big Roman}\label{eq:Rom}\end{equation}
+\begin_inset Formula
+\begin{equation}
+B=\textrm{big Roman}\label{eq:Rom}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-C=\textrm{small Latin}\end{equation}
+\begin_inset Formula
+\begin{equation}
+C=\textrm{small Latin}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-D=\textrm{big Latin}\label{eq:Lat}\end{equation}
+\begin_inset Formula
+\begin{equation}
+D=\textrm{big Latin}\label{eq:Lat}
+\end{equation}
\end_inset
\end_inset
-\begin_inset Formula \begin{equation}
-E=\textrm{Arabic}\end{equation}
+\begin_inset Formula
+\begin{equation}
+E=\textrm{Arabic}
+\end{equation}
\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}
+\begin_inset Formula
+\begin{equation}
+\mathrm{2\, Na^{+}+SO_{4}^{2-}\longrightarrow Na_{2}SO_{4}}\label{eq:chem-reaction}
+\end{equation}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
H2CO3
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
SO4^2-
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
(NH4)2S
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
KCr(SO4)2.12H2O
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A-B
\backslash
dbond
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
C
\backslash
tbond
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
D
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
^227
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
CO2
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
+
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
C
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
<=>
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2CO
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
CO2
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
+
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
C
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
->[
alpha][
\backslash
beta]
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2CO}
\begin_layout Plain Layout
\series bold
+\color none
Note:
\series default
Inserting a formula to a
\backslash
ce
\series default
- box will lead to LaTeX errors.
+ box will lead to LaTeX errors due to a LyX bug.
+\color inherit
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+name "LyX-bug #8566"
+target "http://www.lyx.org/trac/ticket/8566"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\color none
In this case TeX code has to be used like for
\series bold
\end_inset
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\color none
+Note:
+\series default
+ It is not possible in 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
\backslash
ce
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
2Na+
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
+
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
SO4^2-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
->
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
Na2SO4
are an example of a multi-stage chemical reaction where every equation
has its own number.
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
\ce{TEOS + 4O} & \ce{->} & \ce{Si(OH)4 + 4C2H4O}\label{eq:TEOS-reaction-1}\\
\ce{Si(OH)4} & \ce{->} & \ce{SiO2 + 2H2O}\label{eq:TEOS-reaction-2}
\end{eqnarray}
.
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
\begin_layout Section
Diagrams
\end_layout
\begin_layout Standard
Diagrams of this type visualize relations by vertical and horizontal lines
or arrows:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\begin{CD}A@>>>B@>>>C\\
@AAA@.@VVV\\
F@<<<E@<<<D
-\end{CD}\]
+\end{CD}
+\]
\end_inset
\series bold
@VVV
\series default
- an down arrow and
+ a down arrow and
\series bold
@|
\series default
\end_layout
\begin_layout Itemize
-Is text inserted between the first and second < or >, resp., it is placed
+If text inserted between the first and second < or >, resp., it is placed
above the arrow.
When it is inserted between the second and third one, it appears under
the arrow.
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\begin{CD}A@>j>>B@>>k>C@=F\\
@AmAA@.@VV{V}V@|\\
D@<<j<E@>k>>F@=C
-\end{CD}\]
+\end{CD}
+\]
\end_inset
\backslash
CD
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A@>j>>B@>>k>C@=F Ctrl+Return
\backslash
CD
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
CD
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
fcolorbox
\series default
- where the color for the box needn't to be specified, the argument for the
+ where the color for the box need not be specified, the argument for the
color is defined optional:
\begin_inset VSpace medskip
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
A
\backslash
gr
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
B
{
\backslash
int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
{
\backslash
int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
{
\backslash
int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\begin_layout Standard
User-defined commands are especially convenient for complex expressions.
- When you are for example dealing in a document with quadratic equations,
+ When you are for example dealing with a document that has quadratic equations,
the same solution type occurs several times.
The general form of a quadratic equation is
-\begin_inset Formula \[
-0=\lambda^{2}+p\lambda+q\]
+\begin_inset Formula
+\[
+0=\lambda^{2}+p\lambda+q
+\]
\end_inset
The general form of the solution is
-\begin_inset Formula \[
-\lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p²}{4}-q}\]
+\begin_inset Formula
+\[
+\lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p²}{4}-q}
+\]
\end_inset
Macro
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/math-macro_newmacroname_newcommand.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-macro newmacroname_newcommand"
\end_inset
.
#1
\series default
or by using the macro toolbar button
-\begin_inset Graphics
- filename ../images/math-macro-add-param.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-macro-add-param"
\end_inset
.
Argument placeholders are displayed red.
- Maximum 9 arguments are possible.
- Optional arguments are created with the toolbar button
-\begin_inset Graphics
- filename ../images/math-macro-add-optional-param.png
- scale 85
+ A maximum of 9
+\begin_inset space ~
+\end_inset
+arguments are possible.
+ Optional arguments are created with the toolbar button
+\begin_inset Info
+type "icon"
+arg "math-macro-add-optional-param"
\end_inset
.
The first non-optional argument can be transformed to an optional one with
the toolbar button
-\begin_inset Graphics
- filename ../images/math-macro-make-optional.png
- scale 85
-
+\begin_inset Info
+type "icon"
+arg "math-macro-make-optional"
\end_inset
.
\end_layout
\begin_layout Standard
-\begin_inset Formula \[
-\qG x{\ln(x)}B\]
+\begin_inset Formula
+\[
+\qG x{\ln(x)}B
+\]
\end_inset
\end_layout
\begin_layout Standard
-Math macros can also be directly be created from a
+Math macros can also be directly created from a
\series bold
\backslash
\end_layout
\begin_layout Standard
-Math macros currently yet have the problem that further formulas in macro
- definitions are handled wrongly.
+Math macros currently have the problem that further formulas in macro definition
+s are handled wrongly.
Therefore the example
\series bold
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="2">
-<features islongtable="true" longtabularalignment="center">
-<column alignment="left" valignment="top" width="0">
+<features rotate="0" islongtable="true" longtabularalignment="center">
+<column alignment="left" valignment="top">
<column alignment="left" valignment="top" width="85col%">
<row interlinespace="2.5mm">
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-remove-param.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
+\begin_inset Info
+type "icon"
+arg "math-macro-remove-param"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-add-param.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
+\begin_inset Info
+type "icon"
+arg "math-macro-add-param"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-make-optional.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
+\begin_inset Info
+type "icon"
+arg "math-macro-make-optional"
\end_inset
\end_inset
Definition\SpecialChar \menuseparator
-Make First Non-Optional into
+Transform First Non-Optional to
\begin_inset Newline newline
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-make-nonoptional.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
+\begin_inset Info
+type "icon"
+arg "math-macro-make-nonoptional"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+Transform Last Optional to
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\end_layout
+
+\end_inset
+
+Non-Optional Argument
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row interlinespace="2.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "math-macro-remove-optional-param"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+Remove Optional Argument
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row interlinespace="2.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "math-macro-add-optional-param"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+Insert Optional Argument
+\end_layout
\end_inset
+</cell>
+</row>
+<row interlinespace="2.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "math-macro-remove-greedy-param"
+\end_inset
\end_layout
\end_inset
Definition\SpecialChar \menuseparator
-Make Last Optional into
+Remove Last Argument
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\end_layout
+
+\end_inset
+
+Spitting Out To The Right
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row interlinespace="2.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "math-macro-append-greedy-param"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+Append Argument
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\end_layout
+
+\end_inset
+
+Eating From The Right
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row interlinespace="2.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "math-macro-add-greedy-optional-param"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family sans
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+Append Optional Argument
\begin_inset Newline newline
\end_inset
\end_inset
-Non-Optional Argument
+Eating From The Right
\end_layout
\end_inset
</cell>
</row>
-<row interlinespace="2.5mm">
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-remove-optional-param.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
-\end_inset
-
-
-\end_layout
+</lyxtabular>
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\family sans
-Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
-\end_inset
-Definition\SpecialChar \menuseparator
-Remove Optional Argument
\end_layout
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-add-optional-param.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
-\end_inset
-
-
+\begin_layout Section
+Computer Algebra Systems
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
+\begin_layout Standard
+LyX offers the exchange between mathematical expressions written in LyX's
+ math editor and external applications or user defined scripts.
+ Currently supported applications are
\family sans
-Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
-\end_inset
-
-Definition\SpecialChar \menuseparator
-Insert Optional Argument
+Maple
+\family default
+,
+\family sans
+Mathematica
+\family default
+,
+\family sans
+Maxima
+\family default
+ and
+\family sans
+Octave
+\family default
+.
+ Note that the set of supported mathematical constructs is limited only
+ to very simple cases.
\end_layout
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-remove-greedy-param.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
-\end_inset
-
-
+\begin_layout Subsection
+Usage
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
+\begin_layout Standard
+Write some expression in a formula, go to the
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
-\end_inset
-
-Definition\SpecialChar \menuseparator
-Remove Last Argument
-\begin_inset Newline newline
+Use Computer Algebra System
+\family default
+ menu and choose the application you have installed on the computer.
+ After that the result of computation should show on the right side of the
+ expression together with the
+\begin_inset Quotes eld
\end_inset
-
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\family sans
-Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
+=
+\begin_inset Quotes erd
\end_inset
-Definition\SpecialChar \menuseparator
-
+ operator.
\end_layout
-\end_inset
-
-Spitting Out To The Right
+\begin_layout Standard
+Here are few simple examples (with results from
+\family typewriter
+Maxima
+\family default
+) to show what kind of computations can be performed:
\end_layout
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-append-greedy-param.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
+\begin_layout Itemize
+\begin_inset Formula $\frac{37}{3}*2-\sum_{i=1}^{3}i^{i}=-\frac{22}{3}$
\end_inset
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
-\end_inset
-
-Definition\SpecialChar \menuseparator
-Append Argument
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\family sans
-Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
+\begin_layout Itemize
+\begin_inset Formula $\frac{37.0}{3}=12.33333333333333$
\end_inset
-Definition\SpecialChar \menuseparator
\end_layout
-\end_inset
-
-Eating From The Right
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro-add-greedy-optional-param.png
- BoundingBox 0bp 5bp 20bp 25bp
- rotateOrigin center
-
+\begin_layout Itemize
+\begin_inset Formula $\int_{1}^{2}\sin(x)dx=\cos1-\cos2$
\end_inset
\end_layout
+\begin_layout Itemize
+\begin_inset Formula $\det\left[\begin{array}{ccc}
+1 & 6 & 7\\
+2 & 5 & 8\\
+3 & 4 & 17
+\end{array}\right]=-56$
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
-\end_inset
-
-Definition\SpecialChar \menuseparator
-Append Optional Argument
-\begin_inset Newline newline
-\end_inset
-
-\begin_inset Phantom HPhantom
-status open
-\begin_layout Plain Layout
+\end_layout
-\family sans
-Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
-Macro
-\begin_inset space ~
+\begin_layout Itemize
+\begin_inset Formula $\lim_{x\rightarrow0}\left(\frac{\sin(x)}{x}\right)=1$
\end_inset
-Definition\SpecialChar \menuseparator
\end_layout
-\end_inset
-
-Eating From The Right
+\begin_layout Subsection
+Keyboard shortcut
\end_layout
+\begin_layout Standard
+Currently there is no keyboard shortcut for calling the algebra applications.
+ One can easily bind a shortcut to the
+\family sans
+math-extern
+\family default
+ LyX function (see the
+\family sans
+\emph on
+LyX Functions
+\family default
+\emph default
+ manual).
+ One could e.
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-</row>
-</lyxtabular>
+g.
+\begin_inset space \space{}
\end_inset
-
+bind the
+\family sans
+Return
+\family default
+ key inside the math editor.
+ To bind it to
+\family typewriter
+Maxima
+\family default
+ one would use this shortcut definition command:
\end_layout
\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
+\series bold
+command-alternatives paragraph-break;math-extern maxima
\end_layout
\begin_layout Section
-Tips
+Miscellaneous
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Tips
+Miscellaneous
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="right" valignment="top">
+<column alignment="left" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
Braket
\series default
assures that all vertical bars are set in the size of the surrounding brackets:
-\begin_inset Formula \[
-\Braket{\phi|J=\frac{3}{2}\,,\, M_{J}}\]
+\begin_inset Formula
+\[
+\Braket{\phi|J=\frac{3}{2}\,,\, M_{J}}
+\]
\end_inset
Commands ! G !
\backslash
genfrac
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
A test:
-\begin_inset Formula \begin{align*}
+\begin_inset Formula
+\begin{align*}
\text{Command} & & \mathrm{\backslash fracS[1mm]\backslash\{A\to\backslash\{B} & & \mathrm{\backslash fracS[5mm]\backslash\{A\to\backslash\{B}\\
\text{Result} & & \fracS[1mm]{A}{B} & & \fracS[5mm]{A}{B}
\end{align*}
\end_layout
\begin_layout Standard
-To cancel formulas or formula parts, the LaTeX-package
-\series bold
-cancel
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Packages ! cancel
-\end_layout
-
-\end_inset
-
- has to be loaded with the LaTeX-preamble line
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage[samesize]{cancel}
+There are four ways to cancel formulas or parts of formulas:
\end_layout
\begin_layout Standard
\end_layout
-\begin_layout Standard
-There are four ways to cancel formulas:
-\end_layout
-
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<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
\backslash
-cancel{
-\backslash
-int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+cancel
+\begin_inset space \textvisiblespace{}
+\end_inset
\backslash
-spce
-\end_layout
-
+int
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\begin_layout Plain Layout
\backslash
-bcancel{
-\backslash
-int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+bcancel
+\begin_inset space \textvisiblespace{}
+\end_inset
\backslash
-spce
-\end_layout
-
+int
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\begin_layout Plain Layout
\backslash
-xcancel{
-\backslash
-int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+xcancel
+\begin_inset space \textvisiblespace{}
+\end_inset
\backslash
-spce
-\end_layout
-
+int
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
\begin_layout Plain Layout
\backslash
-cancelto{1
-\begin_inset Formula $\to$
+cancelto
+\begin_inset space \textvisiblespace{}
\end_inset
-\backslash
-{
\backslash
int
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
A=B
+\begin_inset Formula $\to$
+\end_inset
+
+1
\end_layout
\end_inset
cancelto
\series default
is especially suitable to visualize the reduction of fractions within formulas:
-\begin_inset Formula \[
-\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}}\]
+\begin_inset Formula
+\[
+\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To change the size of
+\series bold
+
+\backslash
+cancelto
+\series default
+'s
+\begin_inset Quotes eld
+\end_inset
+
+subscript
+\begin_inset Quotes erd
+\end_inset
+
+ value one can add the LaTeX-preamble line
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+PassOptionsToPackage{option}{cancel}
+\end_layout
+
+\begin_layout Standard
+where
+\series bold
+option
+\series default
+ is either
+\series bold
+samesize
+\series default
+ which leads to the same size as for the canceled value, or
+\series bold
+Smaller
+\series default
+ which makes is it a bit smaller than normal.
+\end_layout
+
+\begin_layout Standard
+To color the cancellation bar one adds this command as TeX code:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{red}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+red
+\series default
+ can be replaced by a color of your choice.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{red}}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula
+\[
+\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+CancelColor}{
+\backslash
+color{black}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+reset the color
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+For further customizations, see the documentation of the package
+\series bold
+cancel
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "cancel"
+
+\end_inset
+
+.
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! cancel
+\end_layout
\end_inset
\end_inset
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
status open
\begin_layout Plain Layout
-Note herby that the setting
+Note that in this case the setting
\family sans
Two-column
\begin_inset space ~
\end_inset
-\begin_inset Formula \begin{equation}
-S(t)=S_{0}(t)\int_{-\infty}^{\infty}P(\phi,t)\mathrm{e}^{\mathrm{i}\phi}\,\mathrm{d}\phi\end{equation}
+\begin_inset Formula
+\begin{equation}
+S(t)=S_{0}(t)\int_{-\infty}^{\infty}P(\phi,t)\mathrm{e}^{\mathrm{i}\phi}\,\mathrm{d}\phi
+\end{equation}
\end_inset
\end_inset
- consists of five columns whereas in the first two columns contain the equation,
+ consists of five columns where in the first two columns contain the equation,
the third the matrix and the last one an empty TeX-brace.
-\begin_inset Formula \begin{flalign}
+\begin_inset Formula
+\begin{flalign}
\hspace{30pt}F_{A} & =\rho·V·g & \footnotesize\begin{array}{ll}
\rho & \textrm{density}\\
V & \textrm{volume}\\
g & \textrm{gravitational acceleration}
-\end{array} & & {}\label{eq:within}\end{flalign}
+\end{array} & & {}\label{eq:within}
+\end{flalign}
\end_inset
\end_inset
- They are created when the command for a small Greek letters is started
- with
+ They are created when the command for a small Greek letter is started with
+
\series bold
up
\series default
\begin_layout Standard
With these commands reactions of elementary particles can be typeset:
-\begin_inset Formula \[
-\uppi^{+}\to\upmu^{+}+\upnu_{\upmu}\]
+\begin_inset Formula
+\[
+\uppi^{+}\to\upmu^{+}+\upnu_{\upmu}
+\]
\end_inset
\begin_layout Subsection
Text Characters in Formulas
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Text-Characters-in"
-
-\end_inset
-
-
\begin_inset Index idx
status collapsed
\begin_layout Standard
The encoding of several characters is saved in definition files.
- Fore example the encoding
+ For example the encoding
\series bold
latin9
\series default
\series bold
latin9.def
\series default
- that is in the installation folder of LaTeX.
+ which is in the installation folder of LaTeX.
Encodings should only be changed via the LaTeX-preamble and not in the
definition files.
- Otherwise own documents could not be edited by other LyX users working
- on other computers.
+ Otherwise documents could not be edited by other LyX users working on other
+ computers.
\end_layout
\begin_layout Standard
\end_inset
Besides the centered dot, in this document the degree sign ° is defined
- with the following LaTeX-preamble line so that it can directly be inserted
- to a formula:
+ with the following LaTeX-preamble line so that it can be directly inserted
+ into a formula:
\end_layout
\begin_layout Standard
i}
\end_layout
+\begin_layout Subsection
+LaTeX-comments in formulas
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-comments
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+In text you can insert a comment that will only be visible in the LaTeX
+ source code of your file with the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Note\SpecialChar \menuseparator
+Comment
+\family default
+.
+ This is not possible in a formula but you can insert LaTeX-comments with
+ the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+%
+\end_layout
+
+\begin_layout Standard
+This creates a box in which you can write your comment.
+ Due to a bug in LyX
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+name "LyX-bug #9002"
+target "http://www.lyx.org/trac/ticket/9002"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ you cannot write normal text into the comment, even when you use mathematical
+ text, you will see its LaTeX-commands in the LaTeX-output.
+\begin_inset Newline newline
+\end_inset
+
+This a formula with a LaTeX-comment:
+\begin_inset Formula
+\[
+A=B%\text{This is the comment}
+\]
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\begin_inset Newline newline
\end_inset
-1,2
+1.2
\begin_inset space \thinspace{}
\end_inset
\backslash
mathscr
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce
-\end_layout
-
+\begin_inset space \textvisiblespace{}
\end_inset
F
\begin_inset Tabular
<lyxtabular version="3" rows="12" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="12" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "TLC2"
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Mathmode"
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "AMS"
\begin_inset CommandInset href
LatexCommand href
name "Description"
-target "ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf"
+target "http://mirrors.ctan.org/macros/latex/required/amslatex/math/amsldoc.pdf"
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Symbols"
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "hyperref"
+key "cancel"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
-target "http://www.tug.org/applications/hyperref/ftp/doc/manual.pdf"
+target "http://mirrors.ctan.org/macros/latex/contrib/cancel/cancel.pdf"
\end_inset
of the LaTeX-package
\series bold
-hyperref
+cancel
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Packages ! hyperref
+Packages ! cancel
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "mhchem"
+key "hyperref"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/mhchem/mhchem.pdf"
+target "http://www.tug.org/applications/hyperref/ftp/doc/manual.pdf"
\end_inset
of the LaTeX-package
\series bold
-mhchem
+hyperref
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Packages ! mhchem
+Packages ! hyperref
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "Mathclap"
+key "mhchem"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "Description"
-target "http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf"
+name "Documentation"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/mhchem/mhchem.pdf"
\end_inset
- of the command
+ of the LaTeX-package
\series bold
-
-\backslash
-mathclap
+mhchem
\series default
-, described in
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Operator-Limits"
-
-\end_inset
-
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Commands ! M !
-\backslash
-mathclap
+Packages ! mhchem
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Duden"
\end_layout
\begin_layout Bibliography
-\labelwidthstring References
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "Checklist"