X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FMath.lyx;h=3947cd25f4e36df214b480fd2231f73845d39b8d;hb=8bbd4c5e58c6f1dbcdb675f0198ab7195602cd9e;hp=5acf7921fb199c4999237135fb6c8ab35cdc18fd;hpb=11c56abc5bc6dc4822d4d70341567540dfd3fafd;p=lyx.git diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index 5acf7921fb..3947cd25f4 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -5826,44 +5826,6 @@ vmatrix Note that decorated matrices ignore the vertical alignment. \end_layout -\begin_layout Standard -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -Note: -\series default - LaTeX limits the number of matrix columns with decorations to 10. - If you need more than 10 -\begin_inset space ~ -\end_inset - -columns, you have to add this line to the document preamble: -\end_layout - -\begin_layout Plain Layout - -\series bold - -\backslash -setcounter{MaxMatrixCols}{number} -\end_layout - -\begin_layout Plain Layout -where -\emph on -number -\emph default - is the number of columns between 11 and 99. -\end_layout - -\end_inset - - -\end_layout - \begin_layout Standard \begin_inset VSpace bigskip \end_inset @@ -10437,240 +10399,6 @@ In mathematical text, umlauts and other accented characters can directly be inserted. \end_layout -\begin_layout Subsection -Accents for Operators -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Accents ! for operators -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -With the commands -\series bold - -\backslash -overset -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! O ! -\backslash -overset -\end_layout - -\end_inset - - and -\series bold - -\backslash -underset -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! U ! -\backslash -underset -\end_layout - -\end_inset - - characters can be placed above or below an operator, respectively, to accent - it. - With the command -\series bold - -\backslash -sideset -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! S ! -\backslash -sideset -\end_layout - -\end_inset - - characters can be set before and behind an operator. - The command scheme is: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -sideset{character -\series default - -\series bold -before}{character -\series default - -\series bold -behind} -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -sideset -\series default - must always be before the operator that should be accented. - You can accent with several characters and even with other operators and - symbols. - To place with -\series bold - -\backslash -sideset -\series default - for example only characters behind an operator, write nothing between the - first braces but don't omit the braces. -\end_layout - -\begin_layout Standard -For example the command -\series bold - -\backslash -sideset{ -\begin_inset Formula $\to$ -\end_inset - - -\backslash -{ -\series default -' -\series bold - -\begin_inset Formula $\to$ -\end_inset - - -\backslash -sum_k=1 -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - - -\series default -^ -\series bold -n -\series default - produces: -\begin_inset Formula -\[ -\sideset{}{'}\sum_{k=1}^{n} -\] - -\end_inset - - -\end_layout - -\begin_layout Standard -The command -\series bold - -\backslash -overset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - - -\backslash -maltese -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - - -\series default - -\begin_inset Formula $\uparrow$ -\end_inset - - -\series bold -a -\series default - produces: -\begin_inset Formula -\[ -\overset{a}{\maltese} -\] - -\end_inset - -As seen in the last example, with -\series bold - -\backslash -overset -\series default - and -\series bold - -\backslash -underset -\series default - symbols and characters can also be accented; with -\series bold - -\backslash -sideset -\series default - this is not possible. -\end_layout - \begin_layout Subsection Accents for several Characters \begin_inset Index idx @@ -11180,6 +10908,13 @@ A=B \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Section @@ -12861,6 +12596,13 @@ fbox . \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Standard \align center \begin_inset Tabular @@ -15515,6 +15257,19 @@ status collapsed Commands ! P ! \backslash prod +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +vspace{4mm} +\end_layout + +\end_inset + + \end_layout \end_inset @@ -16128,6 +15883,13 @@ dotsint \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Subsection @@ -16547,89 +16309,319 @@ To avoid this, the following macro can be used in the LaTeX-preamble: \series bold \backslash -def -\backslash -clap#1{ -\backslash -hbox to 0pt{ -\backslash -hss #1 -\backslash -hss}} -\begin_inset Newline newline -\end_inset +def +\backslash +clap#1{ +\backslash +hbox to 0pt{ +\backslash +hss #1 +\backslash +hss}} +\begin_inset Newline newline +\end_inset + + +\backslash +def +\backslash +mathclap { +\backslash +mathpalette +\backslash +mathclapinternal} +\begin_inset Newline newline +\end_inset + + +\backslash +def +\backslash +mathclapinternal #1#2{ +\backslash +clap{$ +\backslash +mathsurround =0pt #1{#2}$}} +\end_layout + +\begin_layout Standard +This defines the command +\series bold + +\backslash +mathclap +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Commands ! M ! +\backslash +mathclap +\end_layout + +\end_inset + + that sets the width of the limit to 0 +\begin_inset space \thinspace{} +\end_inset + +pt. + The command scheme is +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +mathclap{limit} +\end_layout + +\begin_layout Standard +where the limit can consist of several conditions. +\end_layout + +\begin_layout Standard +Applied on formula +\begin_inset CommandInset ref +LatexCommand eqref +reference "eq:substack" + +\end_inset + +, one uses the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +sum_ +\backslash +mathclap{ +\backslash +substack +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +spce +\end_layout + +\end_inset + +0