-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 328
+#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 348
\begin_document
\begin_header
\textclass scrartcl
% the documentation team
% email: lyx-docs@lists.lyx.org
-
% if pdflatex is used
\usepackage{ifpdf}
\ifpdf
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
% increase link area for cross-references and autoname them,
-% see sec. 22.18.1
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-%\renewcommand{\sectionautorefname}{sec.\negthinspace}
-\renewcommand{\subsectionautorefname}{sec.\negthinspace}
-\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
\newlength{\abc}
\settowidth{\abc}{\space}
-\renewcommand{\equationautorefname}{\hspace{-\abc}}
+\addto\extrasenglish{
+ \renewcommand{\equationautorefname}{\hspace{-\abc}}
+ \renewcommand{\sectionautorefname}{sec.\negthinspace}
+ \renewcommand{\subsectionautorefname}{sec.\negthinspace}
+ \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}}
% don't load packages twice
% see first footnote in sec. 9.3
% the pages of the TOC are numbered roman
% and a PDF-bookmark for the TOC is added
-\pagenumbering{Roman}
+\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand{\tableofcontents}{%
\vspace{1cm}
- \pdfbookmark[1]{Contents}{}
+ \pdfbookmark[1]{\contentsname}{}
\myTOC
\cleardoublepage
\pagenumbering{arabic}}
% insert additional vertical space of 1.5 mm between footnotes,
-% see sec. 22.16
\let\myFoot\footnote
\renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
% provides caption formatting
\setkomafont{captionlabel}{\bfseries}
-% used in Kap. 22.4
-\usepackage{braket}
-
% used in Kap. 22.6
\usepackage[samesize]{cancel}
\usepackage{multirow}
\usepackage{multicol}
-% needed for diagrams
-\usepackage{amscd}
-
% needed in sec. 19.4
\usepackage{remreset}
\renewenvironment{lyxgreyedout}
{\textcolor{blue}\bgroup}{\egroup}
+% ------------------------------------
+% used to check for needed LaTeX packages
+\usepackage{ifthen}
+
% check for package eurosym
% used for the Euro symbol
\newboolean{eurosym}
{\setboolean{upgreek}{false}}
\end_preamble
\options bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\use_default_options false
\language english
\inputencoding auto
\font_roman default
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
+
\graphics default
\paperfontsize 12
\spacing single
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
-\pdf_pagebackref false
\pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
\papersize a4paper
\family sans
-Version 1.6svn
+Version 2.0.x
\end_layout
\begin_layout Standard
\begin_layout Section
Introduction
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Introduction"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
It is therefore required that you have read the section
\family typewriter
Mathematical
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Formulas
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Options
\begin_layout Section
General Instructions
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:General-Instructions"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\end_inset
- that is embedded into a text line, press
-\family sans
-Ctrl-m
-\family default
+ that is embedded into a text line, use one of the shortcuts
+\begin_inset Info
+type "shortcuts"
+arg "math-mode"
+\end_inset
+
or the toolbar button
\begin_inset Graphics
filename ../images/math-mode.png
\end_inset
- that will appear bigger and in an own paragraph, press
-\family sans
-Ctrl-M
-\family default
+ that will appear bigger and in an own paragraph, use one of these shortcuts:
+
+\begin_inset Info
+type "shortcuts"
+arg "math-display"
+\end_inset
+
.
\end_layout
\begin_layout Standard
To change a display style formula to an inline formula, set the cursor into
- the formula and press
-\family sans
-Ctrl-M
-\family default
- or use the menu
+ the formula and use one of the shortcuts
+\begin_inset Info
+type "shortcuts"
+arg "math-mode"
+\end_inset
+
+ or the menu
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
\end_inset
Math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
(auto)
status collapsed
\begin_layout Plain Layout
-T@
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-TeX-mode
+T@TeX-mode
\end_layout
\end_inset
or by using the menu
\family sans
Insert\SpecialChar \menuseparator
-T
+Te
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-{
-\end_layout
-
-\end_inset
-
-e
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+{}
\end_layout
\end_inset
X Code
\family default
(shortcut
-\family sans
-Ctrl-l
-\family default
+\begin_inset Info
+type "shortcut"
+arg "ert-insert"
+\end_inset
+
).
\begin_inset Note Note
status collapsed
\end_layout
\begin_layout Plain Layout
-To avoid that these names are recognized as proper names, TeX-braces are
- set around one of the letters of the name.
+To avoid that these names are recognized as proper names, a TeX-brace pair
+ is inserted.
\end_layout
\end_inset
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
-La
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-T
+LaT
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+{}
\end_layout
\end_inset
\family sans
Edit\SpecialChar \menuseparator
Rows
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
&
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Columns,
is used.
This mode is invoked with the the shortcut
-\family sans
-Alt-m
-\begin_inset Space ~
+\begin_inset Info
+type "shortcut"
+arg "math-mode"
\end_inset
-m
-\family default
or by the insertion of the command
\series bold
status collapsed
\begin_layout Plain Layout
-T@
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-TeX-braces
+T@TeX-braces
\end_layout
\end_inset
\begin_layout Standard
A protected space is inserted with
-\family sans
-Ctrl-Space
-\family default
+\begin_inset Info
+type "shortcut"
+arg "space-insert protected"
+\end_inset
+
.
\end_layout
\end_inset
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
denotes a space character to be input.
\end_layout
\begin_layout Subsection*
-Used units
+Available units
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Used-units"
+name "tab:Available-units"
\end_inset
-Used units
+Available units
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_layout Plain Layout
Inch (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in = 2,54
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm)
\begin_layout Plain Layout
Point (72.27
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt = 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in)
\begin_layout Plain Layout
Pica (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pc = 12
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt)
\begin_layout Plain Layout
scaled point (65536
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
sp = 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt)
\begin_layout Plain Layout
big point (72
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
bp = 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in)
\begin_layout Plain Layout
Didot (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
dd
\end_inset
0.376
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm)
\begin_layout Plain Layout
Cicero (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cc = 12
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
dd)
\begin_layout Plain Layout
math unit (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mu =
\end_inset
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em)
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}B^{V}$
+\begin_inset Formula $\raisebox{5mm}{}B^{V}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}B^{A}$
+\begin_inset Formula $\raisebox{5mm}{}B^{A}$
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\frac{A}{B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\frac{A}{B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7mm}{}\dfrac{A}{B}\raisebox {-4mm}{}$
+\begin_inset Formula $\raisebox{7mm}{}\dfrac{A}{B}\raisebox{-4mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {8mm}{}\dfrac{e^{\frac{1}{2}}}{3}\raisebox {-4mm}{}$
+\begin_inset Formula $\raisebox{8mm}{}\dfrac{e^{\frac{1}{2}}}{3}\raisebox{-4mm}{}$
\end_inset
\begin_layout Standard
\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*}
+\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*}
\end_inset
\emph default
.
l or r aligns the numerator to the left or right, resp.
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
with the fraction stroke.
\series bold
-\begin_inset Formula $\cfrac [l]{A}{B+C}$
+\begin_inset Formula $\cfrac[l]{A}{B+C}$
\end_inset
,
-\begin_inset Formula $\cfrac {A}{B+C}$
+\begin_inset Formula $\cfrac{A}{B+C}$
\end_inset
,
-\begin_inset Formula $\cfrac [r]{A}{B+C}$
+\begin_inset Formula $\cfrac[r]{A}{B+C}$
\end_inset
\series default
:
\begin_inset Formula \[
-\cfrac {A}{B+\cfrac {C+\frac{E}{F}}{D}}\]
+\cfrac{A}{B+\cfrac{C+\frac{E}{F}}{D}}\]
\end_inset
\backslash
nicefrac
+\series default
+
\begin_inset Index
status collapsed
\end_inset
+:
+\begin_inset Formula $\nicefrac{5}{31}$
+\end_inset
+ or
+\series bold
+
+\backslash
+unitfrac
\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! U !
+\backslash
+unitfrac
+\end_layout
+
+\end_inset
+
:
-\begin_inset Formula $\nicefrac{5}{31}$
+\begin_inset Formula $\unitfrac{5}{31}$
+\end_inset
+
+ There is furthermore the command
+\series bold
+
+\backslash
+unitfracthree
+\series default
+ that offers to write a fraction in combination with a number:
+\begin_inset Formula $\unitfrac[2]{1}{3}$
\end_inset
+\begin_inset Newline newline
+\end_inset
+
+Note that
+\series bold
+
+\backslash
+unitfracthree
+\series default
+ is not a real LaTeX command but the command
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+unitfrac[number]{numerator}{denominator}
+\series default
+, therefore you cannot use it in TeX code.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\sqrt{A-B}$
+\begin_inset Formula $\raisebox{4.5mm}{}\sqrt{A-B}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\sqrt[3]{A-B}$
+\begin_inset Formula $\raisebox{4.5mm}{}\sqrt[3]{A-B}$
\end_inset
\series default
produces a correct typeset formula:
-\begin_inset Formula $\sqrt[\leftroot {-1}\uproot {2}\beta]{B}$
+\begin_inset Formula $\sqrt[\leftroot{-1}\uproot{2}\beta]{B}$
\end_inset
\end_layout
\begin_layout Subsection
-Binomial coefficients
+Binomial Coefficients
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Binomial coefficient s
+Binomial coefficients
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\binom{A}{B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\binom{A}{B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\dbinom{A}{B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\dbinom{A}{B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\tbinom{A}{B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\tbinom{A}{B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}{A \brack B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}{A \brack B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}{A \brace B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}{A \brace B}\raisebox{-2.5mm}{}$
\end_inset
\end_layout
\begin_layout Subsection
-Case differentiations
+Case Differentiations
\begin_inset Index
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-Ctrl-Enter
+
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
you can create new lines with the shortcut
-\family sans
-Ctrl-Return
-\family default
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
or the table toolbar button
\begin_inset Graphics
filename ../images/tabular-feature_append-row.png
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Standard
When displaying e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
isotopes
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $_{9}^{19}\mathrm{F}\raisebox {-3mm}{}$
+\begin_inset Formula $_{9}^{19}\mathrm{F}\raisebox{-3mm}{}$
\end_inset
\end_inset
or the math toolbar button
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}{}_{\phantom{1}9}^{19}\mathrm{F}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}{}_{\phantom{1}9}^{19}\mathrm{F}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}{}_{\phantom{23}9}^{235}\mathrm{F}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}{}_{\phantom{23}9}^{235}\mathrm{F}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\Lambda_{MMt}^{\phantom{ii}t}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\Lambda_{MMt}^{\phantom{ii}t}\raisebox{-2.5mm}{}$
\end_inset
\end_inset
(toolbar button
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
(toolbar button
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\overline{A+B}$
+\begin_inset Formula $\raisebox{5mm}{}\overline{A+B}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\underline{A+B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\underline{A+B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\overline{\underline{A+B}}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\overline{\underline{A+B}}\raisebox{-2.5mm}{}$
\end_inset
\begin_layout Standard
To double underline e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
- results, one uses
+\begin_inset space \space{}
+\end_inset
+
+results, one uses
\series bold
\backslash
It is possible to place up to 6 lines above or below characters.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Custom lines can be created using the command
+\series bold
+
+\backslash
+rule
+\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! R !
+\backslash
+rule
+\end_layout
+
+\end_inset
+
+ which has the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rule[vertical offset]{length}{thickness}
+\end_layout
+
+\begin_layout Standard
+The optional vertical offset shifts the line upwards (or downwards, when
+ the value is negative).
+ The units listed in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Available-units"
+
+\end_inset
+
+ can be used for the values.
+ Here are two example lines created with the commands
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+rule[-2ex]{3cm}{2pt}
+\series default
+ and
+\series bold
+
+\backslash
+rule{2cm}{1pt}
+\series default
+:
+\end_layout
+
+\begin_layout Standard
+This is a sentence
+\begin_inset Formula $\rule[-2ex]{3cm}{2pt}\rule{2cm}{1pt}$
+\end_inset
+
+ with two lines.
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rule
+\series default
+ can also be used for text when it is inserted in TeX-mode.
+\end_layout
+
\begin_layout Subsection
Ellipses
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Ellipses"
+
+\end_inset
+
+
\begin_inset Index
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Plain Layout
3×3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
matrix with the different dots
\family sans
Insert\SpecialChar \menuseparator
Special
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Character
\begin_inset Formula \[
\left(\begin{array}{cccc}
A & B & C & D\\
-\hdotsfor [2]{4}\\
+\hdotsfor[2]{4}\\
q & w & e & r\end{array}\right)\]
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula $A\dotfill B$
+\begin_inset Formula $A\dotfill B$
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Formula $A\hrulefill B$
+\begin_inset Formula $A\hrulefill B$
\end_inset
×
\series default
4
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
matrix where the first column is left aligned, the second and third are
\end_inset
, etc.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
, or the menu
\family default
can be used.
New rows can also be created with
-\family sans
-Ctrl-Return
-\family default
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
.
\end_layout
(shortcut
\family sans
-Alt-m
-\begin_inset Space ~
+Alt+M
+\begin_inset space ~
\end_inset
-parenthesis
+Parenthesis
\family default
), see
\begin_inset CommandInset ref
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
×
\series default
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
matrix
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7.5mm}{}\begin{bmatrix}\begin{array}{cc}
+\begin_inset Formula $\raisebox{7.5mm}{}\begin{bmatrix}\begin{array}{cc}
0 & \textrm{-}\mathrm{i}\\
-\mathrm{i} & 0\end{array}\end{bmatrix}\raisebox {-5.3mm}{}$
+\mathrm{i} & 0\end{array}\end{bmatrix}\raisebox{-5.3mm}{}$
\end_inset
×
\series default
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
matrix
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7.5mm}{}\begin{Bmatrix}\begin{array}{cc}
+\begin_inset Formula $\raisebox{7.5mm}{}\begin{Bmatrix}\begin{array}{cc}
0 & \textrm{-}\mathrm{i}\\
-\mathrm{i} & 0\end{array}\end{Bmatrix}\raisebox {-5.3mm}{}$
+\mathrm{i} & 0\end{array}\end{Bmatrix}\raisebox{-5.3mm}{}$
\end_inset
×
\series default
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
matrix
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7.5mm}{}\begin{pmatrix}\begin{array}{cc}
+\begin_inset Formula $\raisebox{7.5mm}{}\begin{pmatrix}\begin{array}{cc}
0 & \textrm{-}\mathrm{i}\\
-\mathrm{i} & 0\end{array}\end{pmatrix}\raisebox {-5.3mm}{}$
+\mathrm{i} & 0\end{array}\end{pmatrix}\raisebox{-5.3mm}{}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
×
\series default
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
matrix
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7.5mm}{}\begin{vmatrix}\begin{array}{cc}
+\begin_inset Formula $\raisebox{7.5mm}{}\begin{vmatrix}\begin{array}{cc}
0 & \textrm{-}\mathrm{i}\\
-\mathrm{i} & 0\end{array}\end{vmatrix}\raisebox {-5.3mm}{}$
+\mathrm{i} & 0\end{array}\end{vmatrix}\raisebox{-5.3mm}{}$
\end_inset
×
\series default
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
matrix
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7.5mm}{}\begin{Vmatrix}\begin{array}{cc}
+\begin_inset Formula $\raisebox{7.5mm}{}\begin{Vmatrix}\begin{array}{cc}
0 & \textrm{-}\mathrm{i}\\
-\mathrm{i} & 0\end{array}\end{Vmatrix}\raisebox {-5.3mm}{}$
+\mathrm{i} & 0\end{array}\end{Vmatrix}\raisebox{-5.3mm}{}$
\end_inset
×
\series default
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
matrix
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7.5mm}{}\begin{matrix}\begin{array}{cc}
+\begin_inset Formula $\raisebox{7.5mm}{}\begin{matrix}\begin{array}{cc}
0 & \textrm{-}\mathrm{i}\\
-\mathrm{i} & 0\end{array}\end{matrix}\raisebox {-5.3mm}{}$
+\mathrm{i} & 0\end{array}\end{matrix}\raisebox{-5.3mm}{}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_inset
When e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
\series default
.
To double e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
the row separation, use the factor 2.
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $((A+B)(A-B))^{C}\raisebox {-4mm}{}$
+\begin_inset Formula $((A+B)(A-B))^{C}\raisebox{-4mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\Big ((A+B)(A-B)\Big )^{C}$
+\begin_inset Formula $\Big((A+B)(A-B)\Big)^{C}$
\end_inset
\begin_layout Standard
\align center
-\begin_inset Formula $\Bigg (\exp\bigg <\Big [\big \{\ln(3x)\big \}^{2}\sin(x)\Big ]^{A}\bigg >\Bigg )^{0,5}$
+\begin_inset Formula $\Bigg(\exp\bigg<\Big[\big\{\ln(3x)\big\}^{2}\sin(x)\Big]^{A}\bigg>\Bigg)^{0,5}$
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
Besides the
\series bold
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="0">
<column alignment="center" valignment="middle" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5.5mm}{}\Bigm(\bigm(\ln(3x)\bigm)^{2}\Bigm)\raisebox {-3.25mm}{}$
+\begin_inset Formula $\raisebox{5.5mm}{}\Bigm(\bigm(\ln(3x)\bigm)^{2}\Bigm)\raisebox{-3.25mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5.5mm}{}\Big (\big (\ln(3x)\big )^{2}\Big )\raisebox {-3.25mm}{}$
+\begin_inset Formula $\raisebox{5.5mm}{}\Big(\big(\ln(3x)\big)^{2}\Big)\raisebox{-3.25mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5.5mm}{}\Bigl(\bigl(\ln(3x)\bigr)^{2}\Bigr)\raisebox {-3.25mm}{}$
+\begin_inset Formula $\raisebox{5.5mm}{}\Bigl(\bigl(\ln(3x)\bigr)^{2}\Bigr)\raisebox{-3.25mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\bigl)\ln(3x)\bigr(\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\bigl)\ln(3x)\bigr(\raisebox{-2mm}{}$
\end_inset
\series default
the shortcut
\family sans
-Alt-m
-\begin_inset Space ~
+Alt+M
+\begin_inset space ~
\end_inset
-bracket
+Bracket
\family default
can be used.
This has the advantage that you can see in LyX immediately the real bracket
\series bold
\backslash
-ln Alt-m
+ln Alt+M
\series default
\series bold
is additionally available for all brackets and limits.
With this command the height of the following character is adapted to the
one of the surrounding brackets, what is e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
needed for physical vectors:
\begin_inset Formula \[
-\left\langle \phi\:\middle |\: J=\frac{3}{2}\,,\, M_{J}\right\rangle \]
+\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>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
must be changed to -6
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt before the formula with the command
jot
\series default
is set back after the formula to the standard value of 3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt using the same command.
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
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hspace{}
+\begin_inset space \hspace{}
\length 25pt
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_inset
Arrows used as accent like e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
vector arrows are listed in
Commands ! X !
\backslash
xrightarrow
-\begin_inset VSpace 4mm
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\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{5mm}{}F(a)\xleftarrow[x>0]{x=a}F(x)\raisebox{-4mm}{}$
\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{5mm}{}F(x)\xrightarrow[x>0]{x=a}F(a)\raisebox{-4mm}{}$
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\dot{A}$
+\begin_inset Formula $\raisebox{5mm}{}\dot{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\ddot{A}$
+\begin_inset Formula $\raisebox{5mm}{}\ddot{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\dddot{A}$
+\begin_inset Formula $\raisebox{5mm}{}\dddot{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\ddddot {A}$
+\begin_inset Formula $\raisebox{5mm}{}\ddddot{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\vec{A}$
+\begin_inset Formula $\raisebox{5mm}{}\vec{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\bar{A}$
+\begin_inset Formula $\raisebox{5mm}{}\bar{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\mathring{A}$
+\begin_inset Formula $\raisebox{5mm}{}\mathring{A}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\tilde{A}$
+\begin_inset Formula $\raisebox{5mm}{}\tilde{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\hat{A}$
+\begin_inset Formula $\raisebox{5mm}{}\hat{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\check{A}$
+\begin_inset Formula $\raisebox{5mm}{}\check{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\acute{A}$
+\begin_inset Formula $\raisebox{5mm}{}\acute{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\grave{A}$
+\begin_inset Formula $\raisebox{5mm}{}\grave{A}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\breve{A}$
+\begin_inset Formula $\raisebox{5mm}{}\breve{A}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset VSpace bigskip
\end_inset
-To create umlauts
+
+\end_layout
+
+\begin_layout Standard
+You can directly insert accents like é to formulas.
+ LyX will transform them to the corresponding accent command.
+ For umlauts
\begin_inset Index
status collapsed
\end_inset
- in formulas, a quotation mark is inserted before the vowel.
+ it is better to insert a quotation mark before the vowel.
These two characters are then treated by LaTeX as
\emph on
one
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\backslash
raisebox
\series default
- is only used as spacer.
+ and the 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt space are only used as spacer.
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset space \hspace{}
+\length 0pt
+\end_inset
+
\lang ngerman
+
\begin_inset Formula $"i$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\ddot{i}$
+\begin_inset Formula $\raisebox{5mm}{}\ddot{i}$
\end_inset
To convert an accented character to mathematical text, only the character
under the accent may be converted.
This applies also for all other conversions, e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
to italic or bold.
\series default
produces:
\begin_inset Formula \[
-\sideset {}{'}\sum_{k=1}^{n}\]
+\sideset{}{'}\sum_{k=1}^{n}\]
\end_inset
\begin_layout Subsection
Accents for several Characters
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Accents-for-several"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\overleftarrow{A=B}\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\overleftarrow{A=B}\raisebox{-2mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\underleftarrow{A=B}\raisebox {-3mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\underleftarrow{A=B}\raisebox{-3mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\overleftrightarrow{A=B}\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\overleftrightarrow{A=B}\raisebox{-2mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\underleftrightarrow{A=B}\raisebox {-3mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\underleftrightarrow{A=B}\raisebox{-3mm}{}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\overrightarrow{A=B}\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\overrightarrow{A=B}\raisebox{-2mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\underrightarrow{A=B}\raisebox {-3mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\underrightarrow{A=B}\raisebox{-3mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\widetilde{A=B}\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\widetilde{A=B}\raisebox{-2mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\widehat{A=B}\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\widehat{A=B}\raisebox{-2mm}{}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_layout Standard
Sometimes it is necessary to insert horizontal space to a formula.
This is done by inserting a protected space (shortcut
-\family sans
-Ctrl-Space
-\family default
+\begin_inset Info
+type "shortcut"
+arg "space-insert protected"
+\end_inset
+
).
- A blue
+ A
\begin_inset Quotes eld
\end_inset
-\series bold
\color blue
\begin_inset ERT
\end_inset
-\series default
\color inherit
\begin_inset Quotes erd
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="7">
-<features>
+<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">
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features 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_layout Standard
Negative spaces can lead to characters overlapping each other.
Thus they can be used to enforce ligatures, what is e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
useful for summation operators:
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\sum\sum f_{kl}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\sum\sum f_{kl}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\sum\negmedspace\sum f_{kl}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\sum\negmedspace\sum f_{kl}\raisebox{-2.5mm}{}$
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Formula $\raisebox {5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}$
\end_inset
equation without space
Insert\SpecialChar \menuseparator
Formatting\SpecialChar \menuseparator
Thin
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Space
\family default
(shortcut
-\family sans
-Ctrl-Shift-Space
-\family default
+\begin_inset Info
+type "shortcut"
+arg "space-insert thin"
+\end_inset
+
).
\end_layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="left" valignment="top" width="0">
<column alignment="left" valignment="top" width="0">
<row>
\begin_layout Plain Layout
24
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
kW
\end_layout
\begin_layout Standard
-Space with a defined length can be inserted in LyX with the command
-\begin_inset Newline newline
-\end_inset
-
-
+Space with a defined length can be inserted with the command
\series bold
\backslash
-hspace{length}
+hspace
\series default
\begin_inset Index
\end_inset
.
- For the length all units listed in
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Used-units"
+ Then a long
+\begin_inset Quotes eld
+\end_inset
+
+
+\color blue
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+spce
+\end_layout
\end_inset
- are allowed, except of the unit
+
+\color inherit
+
+\begin_inset Quotes erd
+\end_inset
+
+ appears.
+ The length can be specified by left-clicking on the
\begin_inset Quotes eld
\end_inset
-mu
+
+\color blue
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+spce
+\end_layout
+
+\end_inset
+
+
+\color inherit
+
\begin_inset Quotes erd
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-Command
+Command (
+\backslash
+hspace length)
\end_layout
\end_inset
\begin_layout Plain Layout
A=B
\backslash
-hspace{3cm
+hspace
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+spce
+\end_layout
+
+\end_inset
+
+
\begin_inset Formula $\to$
\end_inset
A
\backslash
-not=C
+not=C (3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A=B\hspace {3cm}A\not=C$
+\begin_inset Formula $A=B\hspace{3cm}A\not=C$
\end_inset
\begin_layout Plain Layout
A
\backslash
-hspace{-1mm
+hspace
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+spce
+\end_layout
+
+\end_inset
+
+
\begin_inset Formula $\to$
\end_inset
A
\backslash
-not=A
+not=A (-1
+\begin_inset space \thinspace{}
+\end_inset
+
+mm)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\hspace {-1mm}A\not=A$
+\begin_inset Formula $A\hspace{-1mm}A\not=A$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A=A\hfill B=B$
+\begin_inset Formula $A=A\hfill B=B$
\end_inset
.)
\end_layout
+\begin_layout Standard
+Besides
+\series bold
+
+\backslash
+hfill
+\series default
+, there are the commands
+\series bold
+
+\backslash
+dotfill
+\series default
+ and
+\series bold
+
+\backslash
+hrulefill
+\series default
+ that fill the space with a pattern, see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Ellipses"
+
+\end_inset
+
+ for an example.
+\end_layout
+
\begin_layout Standard
For text, variable space can be inserted via the menu
\family sans
Insert\SpecialChar \menuseparator
Formatting\SpecialChar \menuseparator
Horizontal
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Space
\family default
-, what is not possible in formulas:
+:
\end_layout
\begin_layout Standard
This is a line with
-\begin_inset Space \hspace{}
+\begin_inset space \hspace{}
\length 2cm
\end_inset
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm space.
\begin_layout Standard
This is a line with
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
maximum space.
mathsurround
\series default
to the value 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm, the command
\begin_layout Standard
is inserted in TeX-mode.
5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm space will now be set around all inline formulas:
\end_inset
with 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm surrounding space.
mathsurround
\series default
is set to the value 0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
status collapsed
\begin_layout Plain Layout
-Frames | see
+Frames | see
\begin_inset ERT
status collapsed
in the
\family typewriter
Embedded
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Objects
\series default
an additional formula has to be created by
\family sans
-Ctrl-m
+Ctrl+M
\family default
within this box
\begin_inset Foot
\begin_layout Plain Layout
Due to a bug in LyX it is not possible to create a new formula with
\family sans
-Ctrl-m
+Ctrl+M
\family default
, see
\begin_inset CommandInset href
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_layout Plain Layout
Due to a bug in LyX it is not possible to create a new formula with
\family sans
-Ctrl-m
+Ctrl+m
\family default
, see
\begin_inset CommandInset href
\family sans
-Ctrl-m
+Ctrl+M
\family default
\backslash
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula \raisebox {6mm}{}\fbox{$\int A=B$}\raisebox {-4mm}{}
-
+\begin_inset Formula $\raisebox{6mm}{}\fbox{$\int A=B$}\raisebox{-4mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {8.5mm}{}\boxed{\int A=B}\raisebox {-6.5mm}{}$
+\begin_inset Formula $\raisebox{8.5mm}{}\boxed{\int A=B}\raisebox{-6.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}A+\fbox{B}\raisebox {-3mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}A+\fbox{B}\raisebox{-3mm}{}$
\end_inset
\family sans
-Ctrl-m
+Ctrl+M
\family default
\backslash
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}$
\end_inset
\end_inset
-\begin_inset Formula $\raisebox {-4mm}{}$
+\begin_inset Formula $\raisebox{-4mm}{}$
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $H\raisebox {2mm}{al}lo$
+\begin_inset Formula $H\raisebox{2mm}{al}lo$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $H\raisebox {-2mm}{al}lo$
+\begin_inset Formula $H\raisebox{-2mm}{al}lo$
\end_inset
\backslash
{
\family sans
-Ctrl-m
+Ctrl+M
\family default
\backslash
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\colorbox {yellow}{A=B}\raisebox {-3mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\colorbox{yellow}{A=B}\raisebox{-3mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\colorbox {green}{\fbox{A=B}}\raisebox {-3mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\colorbox{green}{\fbox{A=B}}\raisebox{-3mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\fbox{\colorbox {green}{A=B}}\raisebox {-3mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\fbox{\colorbox{green}{A=B}}\raisebox{-3mm}{}$
\end_inset
color is chosen in the
\family sans
Text
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Style
\family sans
Edit\SpecialChar \menuseparator
Text
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Style\SpecialChar \menuseparator
\begin_inset Formula \[
-\fcolorbox {cyan}{magenta}{A=B}\]
+\fcolorbox{cyan}{magenta}{A=B}\]
\end_inset
The four comma separated numbers are the portion factor for the corresponding
colors of the color space.
The factors can be in the range of 0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
1.
\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}
+\colorbox{darkgreen}{\color{yellow}\boxed{\int A\,\mathrm{d}x=\frac{\sqrt[5]{B}}{\ln\left(\frac{1}{3}\right)}}}\end{equation}
\end_inset
\begin_layout Plain Layout
This is a paragraph box.
It is exactly 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm long and can also contain formulas:
Width
\emph default
: 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm,
of the
\emph on
Embedded
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Objects
\series default
is hereby the line width set for the document.
Because the frame is outside the parbox, 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
times the frame separation and the frame thickness must be subtracted from
must be set in the document settings under
\family sans
Math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Options
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Plain Layout
\backslash
-sum
+int
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Commands ! S !
+Commands ! I !
\backslash
-sum
+int
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\sum$
+\begin_inset Formula $\int$
\end_inset
\begin_layout Plain Layout
\backslash
-int
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-Commands ! I !
-\backslash
-int
-\end_layout
-
-\end_inset
-
-
+oint
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\int$
+\begin_inset Formula $\oint$
\end_inset
\begin_layout Plain Layout
\backslash
-intop
+ointctrclockwise
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\intop$
+\begin_inset Formula $\ointctrclockwise$
\end_inset
\begin_layout Plain Layout
\backslash
-oint
+ointclockwise
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\oint$
+\begin_inset Formula $\ointclockwise$
\end_inset
\begin_layout Plain Layout
\backslash
-ointop
+sqint
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\ointop$
+\begin_inset Formula $\sqint$
\end_inset
\begin_layout Plain Layout
\backslash
-ointctrclockwise
+fint
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\ointctrclockwise$
+
+\begin_inset Formula $\fint$
\end_inset
\begin_layout Plain Layout
\backslash
-ointclockwise
+landupint
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\ointclockwise$
+
+\begin_inset Formula $\landupint$
\end_inset
\begin_layout Plain Layout
\backslash
-sqint
+landdownint
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\sqint$
+
+\begin_inset Formula $\landdownint$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
-<lyxtabular version="3" rows="10" columns="2">
-<features>
+<lyxtabular version="3" rows="11" columns="2">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Plain Layout
+\backslash
+sum
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! S !
+\backslash
+sum
+\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 $\sum$
+\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
prod
\begin_inset Index
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_layout
\begin_layout Standard
-The operators
+For all integral operators there is a second version available, ending on
+
\series bold
-
-\backslash
-intop
+op
\series default
- and
+:
\series bold
\backslash
-ointop
+intop,
\series default
- are different from
+
\series bold
\backslash
-int
+ointop
\series default
- and
+ etc..
+ These operators are different from
\series bold
\backslash
-oint
+int
\series default
-, resp.
-\begin_inset Space ~
+ etc.
+\begin_inset space \space{}
\end_inset
in the style the operator limits are displayed, see
d
\emph default
and using the keyboard shortcut
-\family sans
-Alt-c
-\begin_inset Space ~
+\begin_inset Info
+type "shortcut"
+arg "font-roman"
\end_inset
-r
-\family default
\begin_inset Foot
status collapsed
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\iint\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\iint\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\oiint\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\oiint\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\sqiint\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\sqiint\raisebox{-2.5mm}{}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\iiint\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\iiint\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\iiiint\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\iiiint\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\dotsint\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\dotsint\raisebox{-2.5mm}{}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}\prod_{0}^{\infty}A(x)\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{5mm}{}\prod_{0}^{\infty}A(x)\raisebox{-2.5mm}{}$
\end_inset
\family default
\series default
(shortcut
-\family sans
-Alt-m
-\begin_inset Space ~
+\begin_inset Info
+type "shortcut"
+arg "math-limits"
\end_inset
-l
-\family default
).
An example:
\end_layout
\end_inset
-For integrals, except of
+For integrals, except those ending with
+\series bold
+op
+\series default
+ like
\series bold
\backslash
intop
\series default
- and
+,
\series bold
\backslash
ointop
\series default
-, the limits are by default set beside the operator.
+ etc., the limits are by default set beside the operator.
But for multiple integrals the limits are often set below the operator.
In the following example the limits type was therefore set to
\series bold
The blue box is now within a purple box and now several lines can be written
among each other.
A new line is created by inserting a line break (
-\family sans
-Ctrl-Return
-\family default
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
).
When now
\begin_inset Newline newline
\series bold
-0<k<1000 Ctrl-Return
+0<k<1000 Ctrl+Return
\begin_inset Newline newline
\end_inset
\end_inset
that sets the width of the limit to 0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\end_inset
-0<k<1000 Ctrl-Enter
+0<k<1000 Ctrl+Return
\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\\
+\sum_{\mathclap{\substack{0<k<1000\\
\\k\,\in\,\mathbb{N}}
}}^{n}k^{-2}\]
.
\end_layout
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsection
Binary Operators
\begin_inset CommandInset label
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="13" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
:
\begin_inset Formula \[
-\Lozenge _{n=1}^{\infty}\]
+\Lozenge_{n=1}^{\infty}\]
\end_inset
mathop
\series default
can e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
be used to use one limit for several operators:
\begin_layout Standard
\begin_inset Formula \[
-\mathop {\sum\negmedspace\sum}_{i,j=1}^{N}\]
+\mathop{\sum\negmedspace\sum}_{i,j=1}^{N}\]
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_inset Text
\begin_layout Plain Layout
-Alt-c c
+\begin_inset Info
+type "shortcut"
+arg "font-noun"
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+\begin_inset Info
+type "shortcut"
+arg "font-bold"
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Alt-c b
+\begin_inset Info
+type "shortcuts"
+arg "font-boldsymbol"
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Alt-c e
+\begin_inset Info
+type "shortcut"
+arg "font-emph"
+\end_inset
+
+
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_inset Text
\begin_layout Plain Layout
-Alt-c r
+\begin_inset Info
+type "shortcut"
+arg "font-roman"
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Alt-c s
+\begin_inset Info
+type "shortcut"
+arg "font-sans"
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Alt-c p
+\begin_inset Info
+type "shortcut"
+arg "font-typewriter"
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Formula \[
-\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{equation with \textbackslash mathbf}\]
+\mathbf{\int_{n}^{2}f(\theta)=\Gamma}\qquad\textrm{equation with \textbackslash mathbf}\]
\end_inset
\series default
is used:
\begin_inset Formula \[
-\boldsymbol{\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{equation with \textbackslash boldsymbol}}\]
+\boldsymbol{\int_{n}^{2}f(\theta)=\Gamma\qquad\textrm{equation with \textbackslash boldsymbol}}\]
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Subsection
+Colored Formulas
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Formula ! colored
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Formulas can be colored like normal text: Highlight a formula or a formula
+ part and use the
+\family sans
+Text Style
+\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)}}\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You can also define your own colors as described in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Colored-Boxes"
+
+\end_inset
+
+.
+ They can be used with the TeX code command
+\series bold
+
+\backslash
+textcolor
+\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Commands ! T !
+\backslash
+textcolor
+\end_layout
+
+\end_inset
+
+ in the scheme
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+textcolor{color}{characters or formula}
+\end_layout
+
+\begin_layout Standard
+The following example was colored completely dark green and partly red:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+textcolor{darkgreen}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Formula \[
+\int A\,\mathrm{d}x=\frac{{\color{red}\sqrt[5]{B}}}{\ln\left(\frac{1}{3}\right)}\]
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Due to a bug in LyX only complete formulas can be colored with self-defined
+ colors.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+name "LyX-bug #5269"
+target "http://bugzilla.lyx.org/show_bug.cgi?id=5269"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Subsection
.
The font size can however not exceed a certain value.
Is for example the document font size 12
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt, the command
\begin_inset Formula \[
-\maltese A\textrm{\Large \maltese\textit{A}}\textrm{\tiny \maltese\textit{A}}\]
+\maltese A\textrm{\Large\maltese\textit{A}}\textrm{\tiny\maltese\textit{A}}\]
\end_inset
\end_inset
-A Alt-m m
+A Alt+M M
\backslash
Large
\begin_inset ERT
\end_inset
-\begin_inset Space \hspace*{}
+\begin_inset space \hspace*{}
\length 1cm
\end_inset
-Alt-m
+Alt+M
\series default
\series bold
-m
+M
\backslash
tiny
\begin_inset ERT
\begin_layout Subsection
Small Letters
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Small-Letters"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="12" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
varGamma
\series default
produces:
-\begin_inset Formula $\varGamma $
+\begin_inset Formula $\varGamma$
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\dag $
+\begin_inset Formula $\dag$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\ddag $
+\begin_inset Formula $\ddag$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
+\begin_inset space \hfill{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\pounds $
+\begin_inset Formula $\pounds$
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Tabular
<lyxtabular version="3" rows="10" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\P $
+\begin_inset Formula $\P$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\copyright $
+\begin_inset Formula $\copyright$
\end_inset
More symbols are listed in
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Miscellaneous-Special-Characters"
+reference "sub:Miscellaneous-special-Characters"
\end_inset
status collapsed
\begin_layout Plain Layout
+
+\backslash
+@
\begin_inset ERT
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\euro $
+\begin_inset Formula $\euro$
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="17" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="17" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="17" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {5mm}{}A(r)\stackrel{r\to\infty}{\approx}B$
+\begin_inset Formula $\raisebox{5mm}{}A(r)\stackrel{r\to\infty}{\approx}B$
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="4">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\end_inset
-\begin_inset Newpage pagebreak
-\end_inset
-
-
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="9" columns="4">
-<features>
+<features 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="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\sgn (x)+B$
+\begin_inset Formula $A\sgn(x)+B$
\end_inset
A
\backslash
,
-\begin_inset Formula $\underbrace{\textrm{sgn}}_{\textrm{Alt-m}\,\textrm{m}}$
+\begin_inset Formula $\underbrace{\textrm{sgn}}_{\textrm{Alt+M}\,\textrm{M}}$
\end_inset
(x)+B
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\varliminf $
+\begin_inset Formula $\varliminf$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\varlimsup $
+\begin_inset Formula $\varlimsup$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\varprojlim $
+\begin_inset Formula $\varprojlim$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\varinjlim $
+\begin_inset Formula $\varinjlim$
\end_inset
-\begin_inset Formula $\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{-2.5mm}{}$
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Space \hspace{}
+\begin_inset space \hspace{}
\length 1cm
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\hspace {1cm}\raisebox {5mm}{}\lim_{x\to A}x=B$
+\begin_inset Formula $\hspace{1cm}\raisebox{5mm}{}\lim_{x\to A}x=B$
\end_inset
\begin_layout Standard
The variants in a displayed formula:
\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\end{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\end{align*}
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="block" valignment="top" width="0">
<column alignment="block" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\oe }$
+\begin_inset Formula $\textrm{œ}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\OE }$
+\begin_inset Formula $\textrm{Œ}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\ae }$
+\begin_inset Formula $\textrm{æ}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\AE }$
+\begin_inset Formula $\textrm{Æ}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\aa }$
+\begin_inset Formula $\textrm{\aa}$
\end_inset
status collapsed
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
@
\begin_inset ERT
status collapsed
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-textrm
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
+textrm{
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-AA
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+AA}
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\AA}$
+\begin_inset Formula $\textrm{Å}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\i }$
+\begin_inset Formula $\textrm{ı}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="block" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\o }$
+\begin_inset Formula $\textrm{ø}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\O}$
+\begin_inset Formula $\textrm{Ø}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\l }$
+\begin_inset Formula $\textrm{ł}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\L }$
+\begin_inset Formula $\textrm{Ł}$
\end_inset
\begin_layout Plain Layout
!
-\begin_inset Space \hspace{}
+\begin_inset space \hspace{}
\length 0mm
\end_inset
\begin_layout Plain Layout
?
-\begin_inset Space \hspace{}
+\begin_inset space \hspace{}
\length 0mm
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\textrm{\j }$
+\begin_inset Formula $\textrm{ȷ}$
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
An exception are the commands
\series bold
!
-\begin_inset Space \hspace{}
+\begin_inset space \hspace{}
\length 0mm
\end_inset
and
\series bold
?
-\begin_inset Space \hspace{}
+\begin_inset space \hspace{}
\length 0mm
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="block" valignment="top" width="0">
<column alignment="block" valignment="top" width="0">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="block" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}$
\end_inset
\end_inset
-\begin_inset Formula $\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{-2mm}{}$
\end_inset
oldstylenums{0123456789
\series default
produces:
-\begin_inset Formula $\oldstylenums {0123456789}$
+\begin_inset Formula $\oldstylenums{0123456789}$
\end_inset
\end_layout
\begin_layout Subsection
-Miscellaneous Special Characters
+Miscellaneous special Characters
\begin_inset CommandInset label
LatexCommand label
-name "sub:Miscellaneous-Special-Characters"
+name "sub:Miscellaneous-special-Characters"
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\_{} {}{}{}{}{}{}{}$
+\begin_inset Formula $\_$
\end_inset
status collapsed
\begin_layout Plain Layout
-°
+
+\backslash
+@°
\end_layout
\end_inset
\backslash
textdegree
\backslash
-f\SpecialChar \textcompwordmark{}
-i}
+fi}
\end_layout
\begin_layout Section
under
\family sans
Document
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Class
.
Should the distance be 15
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm, the following command line is inserted in the LaTeX-preamble
\begin_layout Standard
When no length is specified, the predefined value of 30
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt will be used.
under
\family sans
Document
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Class
\begin_layout Standard
In LyX multiline formulas are created by pressing
-\family sans
\series bold
-Ctrl-Return
-\family default
+
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+
\series default
inside a formula.
- This creates an
+ This creates either an
+\series bold
+eqnarray environment
+\series default
+ that is described in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Eqnarray-Environment"
+
+\end_inset
+
+ or, when the option
+\family sans
+Use AMS math package
+\family default
+ in the document settings is selected, an
\series bold
align environment
\series default
\begin_layout Standard
In all multiline formula environments a new line is created by pressing
-\family sans
-Ctrl-Return
-\family default
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
.
To add or delete lines, the math toolbar buttons
\begin_inset Graphics
jot
\series default
is the value 3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
To create 3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm additional line separation as in the previous example, the command
jot
\series default
is set to the value 3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\end_inset
column separation = 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard
inserted in TeX-mode, sets for all following formulas a column separation
of 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm.
arraycolsep
\series default
is set to 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\begin_layout Standard
A formula with 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm column separation:
\end_inset
A formula with the predefined column separation for matrices of 10
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt:
\begin_layout Itemize
When one side of the equation is much shorther than the line width, this
one is chosen for the left side and the right side is typeset over two
- lines:
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
-\end_inset
-
-
+ lines:
\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:kurzlang}\end{eqnarray}
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-smallskip
-\end_layout
-
-\end_inset
-
+ & & -\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}
-\begin_inset Newline newline
\end_inset
The minus sign at the beginning of the second line does normally not appear
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 ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
-\end_inset
-
-
\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 \\
+ & & -\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{eqnarray}
\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-smallskip
-\end_layout
-
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
After the insertion of
\series bold
, the cursor is in a purple box that is a bit shifted to the left from the
blue one.
In this the formula is inserted.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
-\end_inset
-
-
\begin_inset Newline newline
\end_inset
The content of the further lines is inserted to the second or another formula
column.
The greater the column number where it was inserted, the larger the indentation.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
\begin_layout Itemize
The formula doesn't use the full page width.
When e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
the term
\begin_layout Standard
This Align environment is created by presssing
-\family sans
-Ctrl-Return
-\family default
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
in a formula or by the menu
\family sans
Insert\SpecialChar \menuseparator
\begin_layout Standard
The above example in the alignat environment where 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm space was inserted at the beginning of the second formula:
\begin_inset Formula \begin{alignat*}{2}
-A & =\sin(B) & \hspace {1cm}C & =D\\
+A & =\sin(B) & \hspace{1cm}C & =D\\
C & \ne A & B & \ne D\end{alignat*}
\end_inset
:
\begin_inset Formula \begin{flalign}
-\hspace {30pt}\iiint\limits _{V}X\,\mathrm{d}V & =U & {}\end{flalign}
+\hspace{30pt}\iiint\limits _{V}X\,\mathrm{d}V & =U & {}\end{flalign}
\end_inset
Indented
\series default
, 30
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt space was inserted at the beginning of the first column.
\begin_layout Subsection
Eqnarray Environment
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Eqnarray-Environment"
+
+\end_inset
+
+
\begin_inset Index
status collapsed
\series default
specifies the distance of the first line from the left page margin.
Predefined is the length 0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\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}}\\
+\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}}\end{multline}
\end_inset
As example formula
\begin_inset CommandInset ref
LatexCommand eqref
-reference "eq:kurzlang"
+reference "eq:shortlong"
\end_inset
in the aligned environment:
\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}
+ & -\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}
\end{equation}
\end_inset
An example where the text was inserted at the beginning of the second line:
\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 $\phi=\pi$, therefore}} & =2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\end{align}
+\intertext{\text{integrand is symmetric to $\phi=\pi$, therefore}} & =2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\end{align}
\end_inset
Insert\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Numbered
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Formula
\family default
(shortcut
\family sans
-Ctrl-Alt
-\begin_inset Space ~
+Ctrl+Alt
+\begin_inset space ~
\end_inset
-n
+N
\family default
).
Existing formulas can be numbered with the menu
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Toggle
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Numbering
\family default
(shortcut
-\family sans
-Alt-m
-\begin_inset Space ~
+\begin_inset Info
+type "shortcut"
+arg "math-number-toggle"
\end_inset
-n
-\family default
).
The formula number is displayed in LyX behind the formula as number sign
in parentheses.
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Toggle
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Numbering
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Line
\family default
- (shortcut
-\family sans
-Alt-m
-\begin_inset Space ~
+ (shortcut
+\begin_inset Info
+type "shortcut"
+arg "math-number-line-toggle"
\end_inset
-N
-\family default
) for every line.
\end_layout
\begin_layout Subsection
Cross-References
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Cross-References"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
and makes it easier to find labels in large documents because it marks
it as formula label to divide it from e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
section labels.
By inserting the commands in TeX-mode, a space is created between the first
two formulas.
To revert this -5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm vertical space is inserted after the command
\series default
is used, -7
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm space is inserted instead.
\begin_inset Formula \begin{eqnarray}
A & = & (B-Z)^{2}=(B-Z)(B-Z)\label{eq:d}\\
- & = & B^{2}-ZB-BZ+Z^{²}\nonumber \\
+ & = & B^{2}-ZB-BZ+Z^{2}\nonumber \\
& = & B^{2}-2BZ+Z^{2}\label{eq:f}\end{eqnarray}
\end_inset
\end_layout
\begin_layout Standard
-Thus in our case the following LaTeX-preamble or ERT line is used:
+Thus in our case the following LaTeX-preamble or TeX-Code line is used:
\end_layout
\begin_layout Standard
\begin_layout Standard
To number e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
tables so that the number of the part is the sectioning,
\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 ERT or to the LaTeX-preamble:
+ as TeX-Code or to the LaTeX-preamble:
\end_layout
\begin_layout Standard
\begin_layout Subsection
Numbering with Roman Numbers and Letters
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Numbering-with-Roman"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\backslash
roman{equation}
\series default
-
+.
\begin_inset Foot
status collapsed
that is described in
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:User-defined-commands"
+reference "sub:The-Command-newcommand"
\end_inset
\end_inset
-.
\series bold
equation
\end_layout
\begin_layout Section
-User-defined commands
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:User-defined-commands"
-
-\end_inset
-
-
+User-defined Commands
\begin_inset Index
status collapsed
\end_layout
\begin_layout Standard
-Many LaTeX-commands are too long to be used frequently.
- But it is possible to define with the command
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
\series bold
+Note:
+\series default
+ The names of user-defined commands and macros may only consist of Latin
+ letters.
+\end_layout
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+The Command
\backslash
newcommand
-\series default
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:The-Command-newcommand"
+
+\end_inset
+
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+User-defined commands !
+\backslash
+newcommand
+\end_layout
+
+\end_inset
+
\begin_inset Index
status collapsed
\end_inset
+
+\end_layout
+
+\begin_layout Standard
+Many LaTeX-commands are too long to be used frequently.
+ But it is possible to define with the command
+\series bold
+
+\backslash
+newcommand
+\series default
new shorter commands.
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- The names of user-defined commands may only consist of Latin letters.
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
The number of arguments is an integer in the range 0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
9 and specifies how many arguments the new command should have.
Longrightarrow
\series default
, the LaTeX-preamble line is:
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
-\series bold
-
\begin_inset Newline newline
\end_inset
+\series bold
+
\backslash
newcommand{
\backslash
\series default
, the argument (that should be underlined) must be taken into account.
For this the preamble line is:
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
-\series bold
-
\begin_inset Newline newline
\end_inset
+\series bold
+
\backslash
newcommand{
\backslash
underline{#1}}
\series default
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
-\series bold
-
\begin_inset Newline newline
\end_inset
-
-\series default
The character
\series bold
#
framebox
\series default
one can e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
define the command
fb
\series default
:
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
-\series bold
-
\begin_inset Newline newline
\end_inset
+\series bold
+
\backslash
newcommand{
\backslash
framebox#1#2{$#3$}}
\series default
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
-\series bold
-
\begin_inset Newline newline
\end_inset
-
-\series default
The two Dollar signs creates the extra formula needed for
\series bold
\series default
where the color for the box needn't to be specified, the argument for the
color is defined optional:
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
-\series bold
-
\begin_inset Newline newline
\end_inset
+\series bold
+
\backslash
newcommand{
\backslash
fcolorbox{#2}{#1}{$#3$}}
\series default
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-medskip
-\end_layout
-
+\begin_inset VSpace medskip
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\gr B$
+\begin_inset Formula $A\gr B$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\us {ABcd}\raisebox {-2mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\us{ABcd}\raisebox{-2mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\fb {[2cm]}{}{\int A=B}\raisebox {-4mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\fb{[2cm]}{}{\int A=B}\raisebox{-4mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\cb {red}{\int A=B}\raisebox {-4mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\cb{red}{\int A=B}\raisebox{-4mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {6mm}{}\cb [green]{red}{\int A=B}\raisebox {-4mm}{}$
+\begin_inset Formula $\raisebox{6mm}{}\cb[green]{red}{\int A=B}\raisebox{-4mm}{}$
\end_inset
\end_layout
-\begin_layout Section
-Diagrams
+\begin_layout Subsection
+Math Macros
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Diagrams
+User-defined commands! Math macros
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Macros
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-To create diagrams, the LaTeX-package
+User-defined commands are especially convenient for complex expressions.
+ When you are for example dealing in a document with 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\]
+
+\end_inset
+
+The general form of the solution is
+\begin_inset Formula \[
+\lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p²}{4}-q}\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To define a command for the solution formula where only the three parameters
+
+\begin_inset Formula $\lambda$
+\end_inset
+
+,
+\begin_inset Formula $p$
+\end_inset
+
+, and
+\begin_inset Formula $q$
+\end_inset
+
+ need to be specified and the index of
+\begin_inset Formula $\lambda$
+\end_inset
+
+ can be given optionally, the LaTeX-preamble line is
+\begin_inset Newline newline
+\end_inset
+
+
\series bold
-amscd
-\begin_inset Foot
+
+\backslash
+newcommand{
+\backslash
+qG}[4][1,
+\backslash
+,2]{#2_{#1}=-
+\backslash
+frac{#3}{2}
+\backslash
+pm
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+
+\backslash
+hphantom{
+\end_layout
+
+\end_inset
+
+
+\backslash
+newcommand
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\backslash
+sqrt{
+\backslash
+frac{#3^{2}}{4}-#4}}
+\end_layout
+
+\begin_layout Standard
+To create with this the solution formula, the command
+\begin_inset Newline newline
+\end_inset
+
+
\series bold
-amscd
+
+\backslash
+qG{
+\backslash
+lambda
+\begin_inset Formula $\to$
+\end_inset
+
+
+\backslash
+{p
+\begin_inset Formula $\to$
+\end_inset
+
+
+\backslash
+{q
\series default
- is part of every LaTeX standard installation.
+ is inserted to a formula
+\series bold
+.
+\end_layout
+
+\begin_layout Standard
+The definition of the new command is unintuitive because one has to know
+ the schemes of all used LaTeX commands, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+that a fraction is inserted in LaTeX as
+\series bold
+
+\backslash
+frac{numerator}{denominator}
+\series default
+.
+ Furthermore one can easily forget a brace in the definition and cannot
+ see in LyX what the new command is doing.
+ To avoid these problems LyX offers the possibility to use math macros instead
+ of the command
+\series bold
+
+\backslash
+newcommand
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+A math macro is created by using the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\family default
+ or the toolbar button
+\begin_inset Graphics
+ filename ../images/math-macro_newmacroname_newcommand.png
+ scale 85
+
+\end_inset
+
+.
+ The math macro toolbar appears together with the following box where the
+ macro is defined:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/macrobox.png
+ lyxscale 90
+ scale 90
+
+\end_inset
+
+
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset FormulaMacro
+\newcommand{\qG}[4][1,\,2]{#2_{#1}=-\frac{#3}{2}\pm\sqrt{\frac{#3^{2}}{4}-#4}}
+\end_inset
+
+
+\backslash
+newmacroname is the default name of the macro that should be changed to
+ something sensible.
+ The wanted formula is inserted in the first blue box.
+ An argument placeholder is inserted with the command
+\series bold
+
+\backslash
+#argumentnumber
+\series default
+, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g
+\begin_inset space \space{}
+\end_inset
+
+
+\series bold
+
+\backslash
+#1
+\series default
+ or by using the macro toolbar button
+\begin_inset Graphics
+ filename ../images/math-macro-add-param.png
+ scale 85
+
+\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
+
+\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
+
+\end_inset
+
+.
+ In the second blue box the appearance of the macro in LyX can be defined.
+ Normally you want to see it as it is defined, so the box is kept empty.
+ But when you have created a macro that needs lot of space on the screen,
+ you can insert in the box for example
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+qG:
+\backslash
+#1
+\series default
+
+\series bold
+,
+\series default
+
+\series bold
+
+\backslash
+#2
+\series default
+
+\series bold
+,
+\series default
+
+\series bold
+
+\backslash
+#3,
+\backslash
+#4
+\begin_inset Newline newline
+\end_inset
+
+
+\series default
+For the macro only the arguments with the macro name in front of them will
+ then be displayed in LyX, leading to a better overview.
+ The formula appears in the output as defined in the first box.
+\begin_inset Newline newline
+\end_inset
+
+The appearance of macros in formulas can furthermore be changed for single
+ macros by setting the cursor in the macro and using the menu
+\family sans
+View\SpecialChar \menuseparator
+(Un)fold
+\begin_inset space ~
+\end_inset
+
+Math
+\begin_inset space ~
+\end_inset
+
+Macro
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+To use a macro, the macro name is inserted as command to a formula, in our
+ case
+\series bold
+
+\backslash
+qG
+\series default
+.
+ Our macro looks in LyX like this:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/macrouse.png
+ lyxscale 75
+ scale 75
+
+\end_inset
+
+
+\begin_inset space \hspace*{\fill}
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+Here is our macro example with the arguments
+\begin_inset Formula $x$
+\end_inset
+
+,
+\begin_inset Formula $\ln(x)$
+\end_inset
+
+, and
+\begin_inset Formula $B$
+\end_inset
+
+:
\end_layout
+\begin_layout Standard
+\begin_inset Formula \[
+\qG x{\ln(x)}B\]
+
\end_inset
+\end_layout
+
+\begin_layout Standard
+A math macro is transformed internally to a
+\series bold
+
+\backslash
+newcommand
+\series default
+ command when exporting the document.
+ The created
+\series bold
+
+\backslash
+newcommand
+\series default
+ command is not placed in the LaTeX-preamble, therefore macros can only
+ be used in formulas that are in the document below the macro definition
+ box.
+\end_layout
+
+\begin_layout Standard
+Math macros can also be directly be created from a
+\series bold
+
+\backslash
+newcommand
\series default
+ command.
+ When writing for example the command
+\series bold
+
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+newcommand{
+\backslash
+larrow}[2]{
+\backslash
+xleftarrow[#2]{#1}}
+\begin_inset Newline newline
+\end_inset
+
+
+\series default
+in LyX as normal text, highlighting it completely and using then the shortcut
+
+\family sans
+Ctrl+M
+\family default
+, the command will be transformed to a math macro.
+ Using this method you need to be careful that the
+\series bold
+
+\backslash
+newcommand
+\series default
+ command is typed correctly, otherwise you get a faulty macro leading to
+ LaTeX errors.
+\end_layout
+
+\begin_layout Standard
+Math macros currently yet have the problem that further formulas in macro
+ definitions are handled wrongly.
+ Therefore the example
+\series bold
+
+\backslash
+fb
+\series default
+ from
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:The-Command-newcommand"
+
+\end_inset
+
+ cannot be created as macro.
+\end_layout
+
+\begin_layout Standard
+When the cursor is in a macro definition box, you will see the macro toolbar
+ in LyX:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Graphics
+ filename clipart/MacroToolbar.png
+
+\end_inset
+
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Packages ! amscd
+Macros ! Toolbar
\end_layout
\end_inset
- is needed.
- It is loaded in the LaTeX-preamble with the line
+
\end_layout
\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The macro toolbar contains from left to right the following buttons:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Tabular
+<lyxtabular version="3" rows="9" columns="2">
+<features islongtable="true" tabularvalignment="middle">
+<column alignment="left" valignment="top" width="0">
+<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
+
+\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 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-param.png
+ BoundingBox 0bp 5bp 20bp 25bp
+ rotateOrigin center
+
+\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 Last 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-make-optional.png
+ BoundingBox 0bp 5bp 20bp 25bp
+ rotateOrigin center
+
+\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
+Make First Non-Optional into
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{
+\end_layout
+
+\end_inset
+
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+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-make-nonoptional.png
+ BoundingBox 0bp 5bp 20bp 25bp
+ rotateOrigin center
+
+\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
+Make Last Optional into
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{
+\end_layout
+
+\end_inset
+
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\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 Graphics
+ filename ../images/math-macro-remove-optional-param.png
+ BoundingBox 0bp 5bp 20bp 25bp
+ rotateOrigin center
+
+\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 Graphics
+ filename ../images/math-macro-add-optional-param.png
+ BoundingBox 0bp 5bp 20bp 25bp
+ rotateOrigin center
+
+\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 Graphics
+ filename ../images/math-macro-remove-greedy-param.png
+ BoundingBox 0bp 5bp 20bp 25bp
+ rotateOrigin center
+
+\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 Last Argument
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-usepackage{amscd}
+hphantom{
+\end_layout
+
+\end_inset
+
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\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 Graphics
+ filename ../images/math-macro-append-greedy-param.png
+ BoundingBox 0bp 5bp 20bp 25bp
+ rotateOrigin center
+
+\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 ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{
+\end_layout
+
+\end_inset
+
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\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
+
+\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
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{
+\end_layout
+
+\end_inset
+
+Edit\SpecialChar \menuseparator
+Math\SpecialChar \menuseparator
+Macro
+\begin_inset space ~
+\end_inset
+
+Definition\SpecialChar \menuseparator
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+Eating From The Right
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-Diagrams visualize relations and look like this:
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Diagrams
+\end_layout
+
+\begin_layout Standard
+LyX supports two types of commutative diagrams:
+\series bold
+amscd
+\series default
+ and
+\series bold
+xymatrix
+\series default
+ that are explained in the following.
+\end_layout
+
+\begin_layout Subsection
+Amscd Diagrams
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Diagrams ! amscd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Diagrams of this type visualize relations by vertical and horizontal lines
+ or arrows:
\begin_inset Formula \[
\begin{CD}A@>>>B@>>>C\\
@AAA@.@VVV\\
A blue box appears with two dashed lines where further commands can be
inserted.
With
-\family sans
-Ctrl-Return
-\family default
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
a new line is created.
Horizontal relations are inserted in odd, vertical in even formula lines.
\end_layout
\end_inset
-A@>j>>B@>>k>C@=F Ctrl-Enter
+A@>j>>B@>>k>C@=F Ctrl+Return
\begin_inset Newline newline
\end_inset
\series bold
-V@| Ctrl-Enter
+V@| Ctrl+Return
\begin_inset Newline newline
\end_inset
D@<<j<E@>k>>F@=C
\end_layout
+\begin_layout Subsection
+Xymatrix Diagrams
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Diagrams ! xymatrix
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To be able to use xymatrices, the LaTeX-package
+\series bold
+xypic
+\series default
+ must be installed.
+ A xymatrix is created by inserting the command
+\series bold
+
+\backslash
+xymatrix
+\series default
+ in a formula.
+ Then you are able to add new matrix columns and rows like for normal matrices,
+ see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Matrices"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+In contrary to amscd diagrams, xymatrices supports diagonal and curved arrows,
+ and much more.
+ All possibilities to create commutative diagrams and decorations are explained
+ in detail in the
+\emph on
+XY-pic manual
+\emph default
+ that you find in the menu
+\family sans
+Help\SpecialChar \menuseparator
+Specific
+\begin_inset space ~
+\end_inset
+
+Manuals\SpecialChar \menuseparator
+XY-pic
+\begin_inset space ~
+\end_inset
+
+Manual
+\family default
+.
+\end_layout
+
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
This chemical equation can directly be created as formula.
To avoid that the symbols appear italic, everything is highlighted and
changed by the shortcut
-\family sans
-Alt-c
-\begin_inset Space ~
+\begin_inset Info
+type "shortcut"
+arg "font-roman"
\end_inset
-r
-\family default
to the upright font style.
\begin_inset Foot
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="right" valignment="top" width="0">
<column alignment="left" valignment="top" width="0">
<row>
\end_layout
\begin_layout Subsection
-Comma as Decimal Separator
+Comma as decimal Separator
\begin_inset Index
status collapsed
\begin_layout Standard
To avoid this, the comma is highlighted and changed to mathematical text
(shortcut
-\family sans
-Alt-m
-\begin_inset Space ~
+\begin_inset Info
+type "shortcut"
+arg "math-mode"
\end_inset
-m
-\family default
).
\end_layout
\begin_layout Plain Layout
Packages ! was
-\begin_inset VSpace 4mm
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\Bra {\psi}$
+\begin_inset Formula $\Bra{\psi}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\Ket {\psi}$
+\begin_inset Formula $\Ket{\psi}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\Braket {\psi|\phi}$
+\begin_inset Formula $\Braket{\psi|\phi}$
\end_inset
\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}}\]
+\Braket{\phi|J=\frac{3}{2}\,,\, M_{J}}\]
\end_inset
\begin_layout Standard
The style is a number in the range of 0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
3.
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_layout Standard
When no fraction bar thickness is given, the predefined value of 0.4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt will be used.
A test:
\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*}
+\text{Result} & & \fracS[1mm]{A}{B} & & \fracS[5mm]{A}{B}\end{align*}
\end_inset
\begin_layout Subsection
Canceled Formulas
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Canceled-Formulas"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\cancel {\int A=B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\cancel{\int A=B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\bcancel {\int A=B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\bcancel{\int A=B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {4.5mm}{}\xcancel {\int A=B}\raisebox {-2.5mm}{}$
+\begin_inset Formula $\raisebox{4.5mm}{}\xcancel{\int A=B}\raisebox{-2.5mm}{}$
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\raisebox {7mm}{}\cancelto {1}{\int A=B}\raisebox {-2.5mm}{}\hspace {3mm}$
+\begin_inset Formula $\raisebox{7mm}{}\cancelto{1}{\int A=B}\raisebox{-2.5mm}{}\hspace{3mm}$
\end_inset
\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}}}\]
+\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
support is enabled in the document settings dialog under
\family sans
PDF
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Properties
\family sans
Insert\SpecialChar \menuseparator
Short
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Title
To get the same formatting as for the other headings, the complete heading
was set into a
\series bold
-boldmath environment
+boldmath
\series default
-
+ environment
\begin_inset Foot
status collapsed
Note herby that the setting
\family sans
Two-column
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
document
under
\family sans
Text
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Layout
\begin_layout Standard
is written in TeX-mode.
The column number is a number in the range of 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
10.
\begin_layout Standard
Due to the command some space is automatically added before the formula.
To revert this, -6
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm vertical space is inserted before the formula.
\series default
is used, -9
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm space is inserted instead.
\begin_inset Formula \begin{equation}
-S(t)=S_{0}(t)\int_{-\infty}^{\infty}P(\phi,t)\mathrm{e}^{\mathrm{i}\phi}\,\mathrm{d}\phi\label{eq:fouriertrafo}\end{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
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-rf-Puls beginnt sich the Magnetisierung zu entfokussieren, wodurch sich
\end_inset
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
matrix is used with left aligned columns for the
\end_inset
To set the description in a smaller size, before the matrix e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
the command
consists of five columns whereas 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}
-\hspace {30pt}F_{A} & =\rho·V·g & \footnotesize \begin{array}{ll}
+\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}
\begin_layout Plain Layout
Packages ! was
-\begin_inset VSpace 4mm
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
\end_inset
uptau
\series default
creates this:
-\begin_inset Formula $\uptau $
+\begin_inset Formula $\uptau$
\end_inset
\begin_layout Standard
With these commands reactions of elementary particles can be typeset:
\begin_inset Formula \[
-\uppi ^{+}\to\upmu ^{+}+\upnu _{\upmu }\]
+\uppi^{+}\to\upmu^{+}+\upnu_{\upmu}\]
\end_inset
\begin_layout Section
\start_of_appendix
-Typographic Advises
+Typographic Advice
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Typographic Advises
+Typographic advice
\end_layout
\end_inset
\end_inset
: 30
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
km/h
\end_inset
.
+\begin_inset Newline newline
+\end_inset
+
+This convention is automatically fulfilled when the command
+\series bold
+
+\backslash
+unittwo
+\series default
+ is used.
+ When it is entered to a formula, two boxes appear.
+ In the first one the value is inserted, in the second one the unit, and
+ one gets as above:
+\begin_inset Formula $\unit[30]{km/h}$
+\end_inset
+
+
+\begin_inset space \thinspace{}
+\end_inset
+
+.
+ Note that
+\series bold
+
+\backslash
+unittwo
+\series default
+ is not a real LaTeX command but the command
+\series bold
+
+\backslash
+unit[value]{unit}
+\series default
+, therefore you cannot use it in TeX code.
\end_layout
\begin_layout Itemize
\end_inset
1,2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
‰ alcohol in blood
\begin_layout Itemize
The degree sign follows directly on the value: 15°, but not when it is used
in units: 15
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
°C
\noun off
\color none
18
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
473
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
588
\end_layout
\begin_layout Itemize
-For dimensionings like 120×90×40
-\begin_inset Space \thinspace{}
+For dimensions like 120×90×40
+\begin_inset space \thinspace{}
\end_inset
cm the multiplication sign
\end_inset
is used.
- It is available with the LaTeX-command
-\series bold
-
-\backslash
-texttimes
-\series default
-, but can also directly be inserted with some keyboard definitions.
+ It is available via the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Special Character\SpecialChar \menuseparator
+Symbols
+\family default
+.
+ With some keyboard definitions it can also be inserted directly.
\end_layout
\begin_layout Itemize
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="12" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="12" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset