X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FMath.lyx;h=3947cd25f4e36df214b480fd2231f73845d39b8d;hb=8bbd4c5e58c6f1dbcdb675f0198ab7195602cd9e;hp=36dd725bf701dfdb0aa937a711f68e1a33ba72ba;hpb=e43295640e953fa51d7008587cde5243bfda0ef5;p=lyx.git diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index 36dd725bf7..3947cd25f4 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -23,12 +23,10 @@ \fi % end if pdflatex is used -% Folgendes Problem lösen: -% Besteht die Kapitelnummer aus zu vielen Ziffern, wird die -% Kapitelüberschrift im Inhaltsverzeichnis direkt an oder über -% die Kapitelnummer geschrieben. -% Als Lösung wird mehr Platz zwischen Nummer und -% Überschrift eingefügt. +% solves the following problem: +% If the dection number consits of too many numerals the section heading +% will be printed in the TOC without a space between it and the section number. +% As solution more space between the number and the heading is inserted: \renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}} \renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}} @@ -39,6 +37,7 @@ % increase link area for cross-references and autoname them, \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}} +\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{} \addto\extrasenglish{% \renewcommand*{\equationautorefname}[1]{} \renewcommand{\sectionautorefname}{sec.\negthinspace} @@ -5827,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 @@ -10439,12 +10400,12 @@ In mathematical text, umlauts and other accented characters can directly \end_layout \begin_layout Subsection -Accents for Operators +Accents for several Characters \begin_inset Index idx status collapsed \begin_layout Plain Layout -Accents ! for operators +Accents ! for several characters \end_layout \end_inset @@ -10453,124 +10414,97 @@ Accents ! for operators \end_layout \begin_layout Standard -With the commands -\series bold +\begin_inset space \hfill{} +\end_inset -\backslash -overset -\series default -\begin_inset Index idx -status collapsed +\begin_inset Tabular + + + + + + +\begin_inset Text \begin_layout Plain Layout -Commands ! O ! -\backslash -overset +Command \end_layout \end_inset + + +\begin_inset Text - and -\series bold - -\backslash -underset -\series default - -\begin_inset Index idx +\begin_layout Plain Layout +Result +\begin_inset Note Note 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 +raisebox \series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! S ! -\backslash -sideset + is only used as spacer. \end_layout \end_inset - characters can be set before and behind an operator. - The command scheme is: + \end_layout -\begin_layout Standard +\end_inset + + + + +\begin_inset Text -\series bold +\begin_layout Plain Layout \backslash -sideset{character -\series default - -\series bold -before}{character -\series default - -\series bold -behind} -\end_layout +overleftarrow +\begin_inset ERT +status collapsed -\begin_layout Standard +\begin_layout Plain Layout -\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 +spce +\end_layout -\backslash -sideset -\series default - for example only characters behind an operator, write nothing between the - first braces but don't omit the braces. +\end_inset + +A=B \end_layout -\begin_layout Standard -For example the command -\series bold +\end_inset + + +\begin_inset Text -\backslash -sideset{ -\begin_inset Formula $\to$ +\begin_layout Plain Layout +\begin_inset Formula $\raisebox{6mm}{}\overleftarrow{A=B}\raisebox{-2mm}{}$ \end_inset -\backslash -{ -\series default -' -\series bold +\end_layout -\begin_inset Formula $\to$ \end_inset + + + + +\begin_inset Text +\begin_layout Plain Layout \backslash -sum_k=1 +underleftarrow \begin_inset ERT status collapsed @@ -10583,44 +10517,32 @@ spce \end_inset - -\series default -^ -\series bold -n -\series default - produces: -\begin_inset Formula -\[ -\sideset{}{'}\sum_{k=1}^{n} -\] - -\end_inset - - +A=B \end_layout -\begin_layout Standard -The command -\series bold - -\backslash -overset -\begin_inset ERT -status collapsed +\end_inset + + +\begin_inset Text \begin_layout Plain Layout +\begin_inset Formula $\raisebox{5mm}{}\underleftarrow{A=B}\raisebox{-3mm}{}$ +\end_inset -\backslash -spce \end_layout \end_inset + + + + +\begin_inset Text +\begin_layout Plain Layout \backslash -maltese +overleftrightarrow \begin_inset ERT status collapsed @@ -10633,262 +10555,67 @@ spce \end_inset +A=B +\end_layout -\series default +\end_inset + + +\begin_inset Text -\begin_inset Formula $\uparrow$ +\begin_layout Plain Layout +\begin_inset Formula $\raisebox{6mm}{}\overleftrightarrow{A=B}\raisebox{-2mm}{}$ \end_inset -\series bold -a -\series default - produces: -\begin_inset Formula -\[ -\overset{a}{\maltese} -\] +\end_layout \end_inset + + + + +\begin_inset Text -As seen in the last example, with -\series bold +\begin_layout Plain Layout \backslash -overset -\series default - and -\series bold +underleftrightarrow +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout -\backslash -underset -\series default - symbols and characters can also be accented; with -\series bold \backslash -sideset -\series default - this is not possible. +spce \end_layout -\begin_layout Subsection -Accents for several Characters -\begin_inset Index idx -status collapsed +\end_inset -\begin_layout Plain Layout -Accents ! for several characters +A=B \end_layout \end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\raisebox{5mm}{}\underleftrightarrow{A=B}\raisebox{-3mm}{}$ +\end_inset \end_layout -\begin_layout Standard -\begin_inset space \hfill{} -\end_inset - - -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -Command -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -Result -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout - -\series bold - -\backslash -raisebox -\series default - is only used as spacer. -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -overleftarrow -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - -A=B -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\raisebox{6mm}{}\overleftarrow{A=B}\raisebox{-2mm}{}$ -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -underleftarrow -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - -A=B -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\raisebox{5mm}{}\underleftarrow{A=B}\raisebox{-3mm}{}$ -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -overleftrightarrow -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - -A=B -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\raisebox{6mm}{}\overleftrightarrow{A=B}\raisebox{-2mm}{}$ -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\backslash -underleftrightarrow -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - -A=B -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\raisebox{5mm}{}\underleftrightarrow{A=B}\raisebox{-3mm}{}$ -\end_inset - - -\end_layout - -\end_inset - - - - -\end_inset - - +\end_inset + + + + +\end_inset + + \begin_inset space \hfill{} \end_inset @@ -11181,6 +10908,13 @@ A=B \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Section @@ -12862,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 @@ -15516,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 @@ -16129,6 +15883,13 @@ dotsint \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Subsection @@ -16689,8 +16450,242 @@ reference "sub:Self-defined-Operators" . \end_layout +\begin_layout Subsection +Decoration for Operators +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Operators ! Decoration +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard -\begin_inset Newpage newpage +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. + 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 a big 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. + You can decorate with several characters and even with other operators + and symbols. + To place for example only characters behind a big 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 +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\backslash +sideset +\series default + can only be used to decorate big operators, binary operators are not allowed. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +overset +\series default + and +\series bold + +\backslash +underset +\series default + can also be used to decorate symbols and characters. + For example, the command +\series bold + +\backslash +overset +\begin_inset 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 @@ -21203,13 +21198,6 @@ theta \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Section @@ -27973,13 +27961,6 @@ textdegree fi} \end_layout -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - \begin_layout Section Formula Styles \begin_inset CommandInset label @@ -29179,7 +29160,7 @@ Formula ! multiline ! align environment \end_layout \begin_layout Standard -This Align environment is created by presssing +This Align environment is created by pressing \begin_inset Info type "shortcut" arg "newline-insert newline" @@ -29947,13 +29928,6 @@ I & =a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\ \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Section @@ -31721,6 +31695,13 @@ target "run:Formula-numbering.lyx" . \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Section Chemical Symbols and Equations \begin_inset CommandInset label @@ -32385,7 +32366,27 @@ Note: \backslash ce \series default - box will lead to LaTeX errors. + box will lead to LaTeX errors due to a LyX bug. +\color inherit + +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +\begin_inset CommandInset href +LatexCommand href +name "LyX-bug #8566" +target "http://www.lyx.org/trac/ticket/8566" + +\end_inset + + +\end_layout + +\end_inset + + +\color none In this case TeX code has to be used like for \series bold @@ -33042,6 +33043,13 @@ Manuals . \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Section User-defined Commands \begin_inset Index idx @@ -34782,7 +34790,7 @@ LyX Functions \end_inset g. -\begin_inset space ~ +\begin_inset space \space{} \end_inset bind the @@ -34803,20 +34811,13 @@ Maxima command-alternatives break-paragraph;math-extern maxima \end_layout -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - \begin_layout Section -Tips +Miscellaneous \begin_inset Index idx status collapsed \begin_layout Plain Layout -Tips +Miscellaneous \end_layout \end_inset @@ -35359,6 +35360,19 @@ status collapsed Commands ! G ! \backslash genfrac +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +vspace{4mm} +\end_layout + +\end_inset + + \end_layout \end_inset @@ -35619,13 +35633,6 @@ fracS}[3][]{ genfrac{}{}{#1}{}{#2}{#3}} \end_layout -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - \begin_layout Standard A test: \begin_inset Formula @@ -36145,6 +36152,13 @@ fi \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Subsection @@ -37070,13 +37084,6 @@ fi \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Subsection @@ -38170,7 +38177,6 @@ Vert \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "TLC2" @@ -38191,7 +38197,6 @@ The LaTeX Companion \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Mathmode" @@ -38210,7 +38215,6 @@ target "ftp://ftp.dante.de/tex-archive/info/math/voss/mathmode/Mathmode.pdf" \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "AMS" @@ -38242,7 +38246,6 @@ AmS \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Symbols" @@ -38261,7 +38264,6 @@ target "ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "cancel" @@ -38294,7 +38296,6 @@ Packages ! cancel \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "hyperref" @@ -38327,7 +38328,6 @@ Packages ! hyperref \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "mhchem" @@ -38360,7 +38360,6 @@ Packages ! mhchem \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Mathclap" @@ -38404,7 +38403,6 @@ mathclap \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Duden" @@ -38421,7 +38419,6 @@ Duden Band 1 \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Checklist"