X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FMath.lyx;h=3947cd25f4e36df214b480fd2231f73845d39b8d;hb=8bbd4c5e58c6f1dbcdb675f0198ab7195602cd9e;hp=a14a4913dd1cfedb30aef8ba673a728df6f22972;hpb=e76389721a7bbe135bf8b5c5a5429dc7f5c6713f;p=lyx.git diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index a14a4913dd..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} @@ -209,12 +208,11 @@ \bullet 1 0 6 -1 \bullet 2 2 35 -1 \bullet 3 2 7 -1 -\tracking_changes true +\tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false -\author -1853239151 "scott" \end_header \begin_body @@ -999,13 +997,11 @@ An arrow like \end_inset denotes the usage of the corresponding arrow key on the keyboard. - -\change_inserted -1853239151 1332304617 - + The \family sans Tab \family default - can often be used to replace + key can often be used instead of \begin_inset Formula $\to$ \end_inset @@ -1017,7 +1013,7 @@ Tab \family sans Shift+Tab \family default - for + instead of \begin_inset Formula $\leftarrow$ \end_inset @@ -1026,8 +1022,6 @@ Shift+Tab \end_inset . -\change_unchanged - \end_layout \begin_layout Subsection* @@ -2000,19 +1994,6 @@ spce \end_inset e^ -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -spce -\end_layout - -\end_inset - - \backslash frac \begin_inset ERT @@ -5845,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 @@ -10456,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 @@ -11199,6 +10908,13 @@ A=B \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Section @@ -12880,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 @@ -15534,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 @@ -16147,6 +15883,13 @@ dotsint \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Subsection @@ -16707,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 @@ -21221,13 +21198,6 @@ theta \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Section @@ -27991,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 @@ -28221,11 +28184,8 @@ reference "sub:Standard-align-Environment" \end_inset . - -\change_inserted -1853239151 1334713000 - The align environment is recommended. -\change_unchanged - + The align environment is recommended because it provides in any case a + typographically correct output. \end_layout \begin_layout Standard @@ -28779,10 +28739,6 @@ hspace \end_inset -\change_inserted -1853239151 1334712095 - Note that the label is only applied to the second line. -\change_unchanged - \end_layout \begin_layout Itemize @@ -29204,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" @@ -29972,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 @@ -30144,6 +30093,11 @@ Label . The cursor must hereby be inside a displayed formula. + Alternatively you can right-click on the formula and choose +\family sans +Equation Label +\family default +. A dialog pops up displaying the prefix \series bold eq: @@ -30173,18 +30127,10 @@ section labels. Insert\SpecialChar \menuseparator Label \family default - is used again -\change_inserted -1853239151 1334715366 - or you can right-click on the formula and click on -\begin_inset Quotes eld -\end_inset - -equation label -\begin_inset Quotes erd -\end_inset - - -\change_unchanged + is used again or you right-click on a formula and then on +\family sans +Equation Label +\family default . \end_layout @@ -31546,9 +31492,14 @@ status open \begin_layout Plain Layout \series bold +\color none Note: \series default - Only maximal 26 formulas can be numbered with Latin letters in one document. + Only maximal 26 +\begin_inset space ~ +\end_inset + +formulas can be numbered with Latin letters in one document. \end_layout \end_inset @@ -31744,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 @@ -32399,6 +32357,7 @@ status open \begin_layout Plain Layout \series bold +\color none Note: \series default Inserting a formula to a @@ -32407,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 @@ -32441,6 +32420,40 @@ hyphen$Cl} \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\color none +Note: +\series default + It is not possible in LyX to use the character ^ to get an up-arrow as + described in the +\series bold +mhchem +\series default + manual. + One instead uses a negative thin space followed by the command +\series bold + +\backslash +uparrow +\series default +: +\begin_inset Formula $\ce{Fe + 2H+ -> Fe^{2+} + H2\negthinspace\uparrow}$ +\end_inset + + +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -33030,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 @@ -34770,7 +34790,7 @@ LyX Functions \end_inset g. -\begin_inset space ~ +\begin_inset space \space{} \end_inset bind the @@ -34791,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 @@ -35347,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 @@ -35607,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 @@ -36133,6 +36152,13 @@ fi \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Subsection @@ -37058,13 +37084,6 @@ fi \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Subsection @@ -38158,7 +38177,6 @@ Vert \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "TLC2" @@ -38179,7 +38197,6 @@ The LaTeX Companion \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Mathmode" @@ -38198,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" @@ -38230,7 +38246,6 @@ AmS \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Symbols" @@ -38249,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" @@ -38282,7 +38296,6 @@ Packages ! cancel \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "hyperref" @@ -38315,7 +38328,6 @@ Packages ! hyperref \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "mhchem" @@ -38348,7 +38360,6 @@ Packages ! mhchem \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Mathclap" @@ -38392,7 +38403,6 @@ mathclap \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Duden" @@ -38409,7 +38419,6 @@ Duden Band 1 \end_layout \begin_layout Bibliography -\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Checklist"