]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Math.lyx
documentation files: remove unused labels
[lyx.git] / lib / doc / Math.lyx
index 49f428bef4f1ec3568da3a6f415968859164b823..50455e01b4468bd8c329f85152f0e2d885fd4745 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 338
+\lyxformat 340
 \begin_document
 \begin_header
 \textclass scrartcl
@@ -70,9 +70,6 @@
 % provides caption formatting
 \setkomafont{captionlabel}{\bfseries}
 
-% used in Kap. 22.4
-\usepackage{braket}
-
 % used in Kap. 22.6
 \usepackage[samesize]{cancel}
 
@@ -83,9 +80,6 @@
 \usepackage{multirow}
 \usepackage{multicol}
 
-% needed for diagrams
-\usepackage{amscd}
-
 % needed in sec. 19.4
 \usepackage{remreset}
 
@@ -311,13 +305,6 @@ http://wiki.lyx.org/LyX/DocumentationDevelopment#Math
 
 \begin_layout Section
 Introduction
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Introduction"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -463,13 +450,6 @@ target "ftp://ctan.tug.org/tex-archive/macros/amstex/doc/amsguide.ps"
 
 \begin_layout Section
 General Instructions
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:General-Instructions"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -2630,12 +2610,12 @@ produces a correct typeset formula:
 \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
@@ -3019,7 +2999,7 @@ B
 \end_layout
 
 \begin_layout Subsection
-Case differentiations 
+Case Differentiations
 \begin_inset Index
 status collapsed
 
@@ -4270,6 +4250,18 @@ Custom lines can be created using the command
 \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
 
@@ -9998,7 +9990,11 @@ status collapsed
 \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
 
@@ -10351,13 +10352,6 @@ sideset
 
 \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
 
@@ -12632,8 +12626,7 @@ A=B
 \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
 
 
@@ -17878,7 +17871,7 @@ AbC
 \begin_inset Text
 
 \begin_layout Plain Layout
--
+Ctrl-b
 \end_layout
 
 \end_inset
@@ -17929,7 +17922,7 @@ AbC
 \begin_inset Text
 
 \begin_layout Plain Layout
-Alt-c b
+Alt-c b or Ctrl-Alt-b
 \end_layout
 
 \end_inset
@@ -18519,6 +18512,133 @@ unboldmath
 \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
@@ -18894,13 +19014,6 @@ All Greek letters can also be inserted via the toolbar button
 
 \begin_layout Subsection
 Small Letters
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Small-Letters"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
@@ -21272,13 +21385,6 @@ bot
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
@@ -22075,7 +22181,7 @@ diagdown
 More symbols are listed in 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:Miscellaneous-Special-Characters"
+reference "sub:Miscellaneous-special-Characters"
 
 \end_inset
 
@@ -22109,6 +22215,9 @@ Symbols ! Euro-symbol
 status collapsed
 
 \begin_layout Plain Layout
+
+\backslash
+@
 \begin_inset ERT
 status collapsed
 
@@ -24160,10 +24269,6 @@ sin(x)+B
 \end_inset
 
 
-\begin_inset Newpage pagebreak
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
 status collapsed
 
 \begin_layout Plain Layout
+
+\backslash
+@
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
 
-\backslash
-@
 \backslash
 textrm{
 \backslash
@@ -26880,10 +26986,10 @@ oldstylenums{0123456789
 \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
 
@@ -27019,7 +27125,9 @@ circ
 status collapsed
 
 \begin_layout Plain Layout
+
+\backslash
+@°
 \end_layout
 
 \end_inset
@@ -29227,13 +29335,6 @@ reference "sec:Formula-Styles"
 
 \begin_layout Subsection
 Cross-References
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Cross-References"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
@@ -30401,13 +30502,6 @@ makeatother
 
 \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
 
@@ -30499,7 +30593,7 @@ newcommand
  that is described in 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:User-defined-commands"
+reference "sec:User-defined-Commands"
 
 \end_inset
 
@@ -30834,10 +30928,10 @@ target "Formula-numbering.lyx"
 \end_layout
 
 \begin_layout Section
-User-defined commands
+User-defined Commands
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:User-defined-commands"
+name "sec:User-defined-Commands"
 
 \end_inset
 
@@ -31565,7 +31659,7 @@ xymatrix
 \end_layout
 
 \begin_layout Subsection
-amscd diagrams
+Amscd Diagrams
 \begin_inset Index
 status collapsed
 
@@ -31579,48 +31673,8 @@ Diagrams ! amscd
 \end_layout
 
 \begin_layout Standard
-To create this type of diagrams, the LaTeX-package 
-\series bold
-amscd
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-
-\series bold
-amscd
-\series default
- is part of every LaTeX standard installation.
-\end_layout
-
-\end_inset
-
-
-\series default
-
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-Packages ! amscd
-\end_layout
-
-\end_inset
-
- is needed.
- It is loaded in the LaTeX-preamble with the line
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage{amscd}
-\end_layout
-
-\begin_layout Standard
-Diagrams visualize relations and look like this:
+Diagrams of this type visualize relations by vertical and horizontal lines
+ or arrows:
 \begin_inset Formula \[
 \begin{CD}A@>>>B@>>>C\\
 @AAA@.@VVV\\
@@ -31862,7 +31916,7 @@ D@<<j<E@>k>>F@=C
 \end_layout
 
 \begin_layout Subsection
-xymatrix diagrams
+Xymatrix Diagrams
 \begin_inset Index
 status collapsed
 
@@ -31900,8 +31954,10 @@ reference "sec:Matrices"
 \end_layout
 
 \begin_layout Standard
-xymatrix offers many possibilities to create commutative diagrams and decoration
-s that are explained in detail in this manual: 
+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 this manual: 
 \begin_inset CommandInset href
 LatexCommand href
 target "http://wiki.lyx.org/LyX/XY-pic#xy-manual"
@@ -32244,7 +32300,7 @@ solution:
 \end_layout
 
 \begin_layout Subsection
-Comma as Decimal Separator
+Comma as decimal Separator
 \begin_inset Index
 status collapsed
 
@@ -32964,13 +33020,6 @@ As one can see, the distance of the numerator and the denominator to the
 
 \begin_layout Subsection
 Canceled Formulas
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Canceled-Formulas"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
 
 \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