summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/english/mathmode/Mathmode.tex')
-rw-r--r--Master/texmf-doc/doc/english/mathmode/Mathmode.tex72
1 files changed, 65 insertions, 7 deletions
diff --git a/Master/texmf-doc/doc/english/mathmode/Mathmode.tex b/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
index 73288690e72..a06ee5e5e10 100644
--- a/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
+++ b/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
@@ -13,7 +13,7 @@
%% DESCRIPTION:
%% `Mathmode' is a document how the math mode works inside LaTeX
%%
-\def\MathmodeVersion{2.23}
+\def\MathmodeVersion{2.24}
%\ifvtex\title{\logo Math mode - v.\MathmodeVersion}\else
\ifpdf\title{Math mode - v.\MathmodeVersion}\else
\title{\logo Math mode - v.\MathmodeVersion}\fi%\fi
@@ -26,7 +26,7 @@
Sabine Glaser;
Azzam Hassam; Henning Heinze; Martin Hensel;
Morten H\o{}gholm; M. Kalidoss; Dan Lasley;
- Angus Leeming; Tim Love; Dan Luecking;
+ Angus Leeming; Vladimir Lomov; Tim Love; Dan Luecking;
Hendrik Maryns; Heinz Mezera;
David Neuway;
Joachim Punter;
@@ -905,8 +905,8 @@ cases structure\index{cases@\textbackslash cases} with the \verb|array| environm
\begin{LTXexample}[pos=b]
\begin{equation}
x=\left\{ \begin{array}{cl}
-0 & \textrm{if A=...}\\
-1 & \textrm{if B=...}\\
+0 & \textrm{if }A=\ldots\\
+1 & \textrm{if }B=\ldots\\
x & \textrm{this runs with as much text as you like, but without an raggeright text.}\end{array}\right.
\end{equation}
\end{LTXexample}
@@ -918,8 +918,8 @@ It is obvious, that we need a \CMD{parbox} if the text is longer than the possib
\begin{equation}
x = \left\{%
\begin{array}{l>{\raggedright}p{.5\textwidth}}%
- 0 & if A=...\tabularnewline
- 1 & if B=...\tabularnewline
+ 0 & if $A=\ldots$\tabularnewline
+ 1 & if $B=\ldots$\tabularnewline
x & \parbox{0.5\columnwidth}{this runs with as much text as you like, %
because an automatic linebreak is given with %
a raggedright text. Without this %
@@ -6648,7 +6648,7 @@ $\threesim ABC$
\part{Examples}
\section{Tuning math typesetting}
-Chapter 18 of the \TeX book is named "`Fine Points of Mathematics Typing"'~\cite{knuth86}
+Chapter 18 of the \TeX book is named ,,Fine Points of Mathematics Typing``~\cite{knuth86}
and it
shows on 20 pages some more or less important facts when typesetting mathematical
expressions. Often inline formulas contain a \Index{punctuation} character like a
@@ -7930,6 +7930,64 @@ the \LIndex{abovedisplayskip}. The formula has to be raised up for exactly this
\end{itemize}
+\section{Roots}
+There exists no special symbol for roots\index{Root} which are longer than one line. In such
+cases the root should be split into two or more one, like $\sqrt{a\cdot b\cdot c}=\sqrt{a}\cdot\sqrt{a}\cdot\sqrt{b}\cdot\sqrt{c}$
+if possible. If nothing helps one can use \CMD{overline}\cIndex{overline} for
+following lines of the root. The following example uses the \verb+multline+ environment
+to get only one equation number:
+
+\begin{multline}
+d(P,Q)|_{Stat.,Dependent}=\\
+ \sqrt{\left[a_{11}(x_{1}-y_{1})^{2}+a_{22}(x_{2}-y_{2})^{2}+
+ \ldots+a_{pp}(x_{p}-y_{p})^{2}\right]+} \\
+ \overline{\rule{0pt}{2.5ex}
+ \left[2a_{12}(x_{1}-y_{1})(x_{2}-y_{2})+2a_{13}
+ (x_{1}-y_{1})(x_{3}-y_{3}) + \right.}\\
+ \overline{\rule{0pt}{2.5ex}
+ \left.\ldots +2a_{p-1,p}(x_{p-1}-y_{p-1})(x_{p}-y_{p})\right]}
+\end{multline}
+
+
+\begin{lstlisting}
+\begin{multline}
+d(P,Q)|_{Stat.,Dependent}=\\
+ \sqrt{\left[a_{11}(x_{1}-y_{1})^{2}+a_{22}(x_{2}-y_{2})^{2}+
+ \ldots+a_{pp}(x_{p}-y_{p})^{2}\right]+} \\
+ \overline{\rule{0pt}{2.5ex}
+ \left[2a_{12}(x_{1}-y_{1})(x_{2}-y_{2})+2a_{13}
+ (x_{1}-y_{1})(x_{3}-y_{3}) + \right.}\\
+ \overline{\rule{0pt}{2.5ex}
+ \left.\ldots +2a_{p-1,p}(x_{p-1}-y_{p-1})(x_{p}-y_{p})\right]}
+\end{multline}
+\end{lstlisting}
+
+
+Alternative:
+
+\begin{multline}
+d(P,Q)|_{Stat.,Dependent}=\\
+ \Big(\left[a_{11}(x_{1}-y_{1})^{2}+a_{22}(x_{2}-y_{2})^{2}+
+ \ldots+a_{pp}(x_{p}-y_{p})^{2}\right]+ \\
+ \left[2a_{12}(x_{1}-y_{1})(x_{2}-y_{2})+2a_{13}
+ (x_{1}-y_{1})(x_{3}-y_{3}) + \right.\\
+ \left.\ldots +2a_{p-1,p}(x_{p-1}-y_{p-1})(x_{p}-y_{p})\right]\Big)^{1/2}
+\end{multline}
+
+
+\begin{lstlisting}
+\begin{multline}
+d(P,Q)|_{Stat.,Dependent}=\\
+ \left\{\left[a_{11}(x_{1}-y_{1})^{2}+a_{22}(x_{2}-y_{2})^{2}+
+ \ldots+a_{pp}(x_{p}-y_{p})^{2}\right]+\right. \\
+ \left[2a_{12}(x_{1}-y_{1})(x_{2}-y_{2})+2a_{13}
+ (x_{1}-y_{1})(x_{3}-y_{3}) + \right.\\
+ \left.\left.\ldots +2a_{p-1,p}(x_{p-1}-y_{p-1})(x_{p}-y_{p})\right]\right\}^{1/2}
+\end{multline}
+\end{lstlisting}
+
+
+
\part{Lists, bibliography and index}
\bgroup
\lhead{}\rhead{}