X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FMath.lyx;h=a393eeb36243ca5293ef1ef852cbf68c8fded736;hb=d302d6b20f7994a74637555a2ce92ba55e97c294;hp=846a07f16107dec100b73f3e2068e2c2ebaffe57;hpb=12559b33c3d7fec2d3755ae11868b33d9198d2b3;p=lyx.git diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index 846a07f161..a393eeb362 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 506 +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 620 \begin_document \begin_header \save_transient_properties true @@ -87,8 +87,9 @@ \newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}} % example macro from sec. 19.4 +%\AtBeginDocument{ %\def\tagform@#1{\maketag@@@{|#1|}} - +%} % ------------------------------------ % used to check for needed LaTeX packages @@ -134,11 +135,15 @@ \end_preamble \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false -\maintain_unincluded_children false +\begin_modules +subequations +logicalmkup +\end_modules +\maintain_unincluded_children no \language english \language_package default -\inputencoding auto -\fontencoding global +\inputencoding utf8 +\fontencoding auto \font_roman "lmodern" "default" \font_sans "lmss" "default" \font_typewriter "lmtt" "default" @@ -146,14 +151,20 @@ \font_default_family default \use_non_tex_fonts false \font_sc false -\font_osf false +\font_roman_osf false +\font_sans_osf false +\font_typewriter_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false \graphics default \default_output_format pdf2 \output_sync 0 \bibtex_command default -\index_command default +\index_command makeindex +\float_placement class +\float_alignment class \paperfontsize 12 \spacing single \use_hyperref true @@ -171,17 +182,17 @@ \pdf_backref false \pdf_pdfusetitle false \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" -\papersize a4paper +\papersize a4 \use_geometry false \use_package amsmath 2 \use_package amssymb 2 -\use_package cancel 0 +\use_package cancel 1 \use_package esint 1 \use_package mathdots 1 \use_package mathtools 2 \use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 +\use_package stackrel 1 +\use_package stmaryrd 1 \use_package undertilde 0 \cite_engine basic \cite_engine_type default @@ -192,6 +203,9 @@ \suppress_date false \justification true \use_refstyle 0 +\use_formatted_ref 0 +\use_minted 0 +\use_lineno 0 \notefontcolor #0000ff \index Index \shortcut idx @@ -200,26 +214,34 @@ \secnumdepth 4 \tocdepth 3 \paragraph_separation skip -\defskip medskip -\quotes_language english +\defskip halfline +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 2 \paperpagestyle plain +\tablestyle default \bullet 1 0 6 -1 \bullet 2 2 35 -1 \bullet 3 2 7 -1 \tracking_changes false \output_changes false +\change_bars false +\postpone_fragile_content false \html_math_output 0 \html_css_as_file 0 \html_be_strict false +\docbook_table_output 0 +\docbook_mathml_prefix 1 \end_header \begin_body \begin_layout Title \SpecialChar LyX -'s detailed Math manual +'s Detailed Math Manual \end_layout \begin_layout Author @@ -230,9 +252,10 @@ status collapsed \begin_layout Plain Layout \noindent -If you have comments or error corrections, please send them to the \SpecialChar LyX - Documentatio -n mailing list: +If you have comments or error corrections, + please send them to the \SpecialChar LyX + Documentation mailing list: + \family typewriter \begin_inset CommandInset href @@ -240,6 +263,7 @@ LatexCommand href name "lyx-docs@lists.lyx.org" target "lyx-docs@lists.lyx.org?subject=LyX's Math manual" type "mailto:" +literal "false" \end_inset @@ -253,7 +277,8 @@ type "mailto:" status collapsed \begin_layout Plain Layout -author: Uwe Stöhr +author: + Uwe Stöhr \end_layout \end_inset @@ -268,7 +293,7 @@ author: Uwe Stöhr \family sans -Version 2.2.x +Version 2.4.x \end_layout \begin_layout Standard @@ -285,23 +310,31 @@ LatexCommand tableofcontents status open \begin_layout Plain Layout -To export this document to PDF, PS or DVI the \SpecialChar LaTeX +To export this document to PDF, + PS or DVI the \SpecialChar LaTeX -packages \series bold -braket, cancel, eurosym, mathdots, mathtools, mhchem, undertilde +braket, + cancel, + eurosym, + mathdots, + mathtools, + mhchem, + undertilde \series default and \series bold was \series default should be installed. - If they are not installed the document can be exported anyway but the sections - where the packages are required will not appear in the output. + If they are not installed the document can be exported anyway but the sections where the packages are required will not appear in the output. An exception is \series bold mhchem \series default -; if it is not installed, this file cannot be exported. +; + if it is not installed, + this file cannot be exported. \end_layout \begin_layout Plain Layout @@ -311,7 +344,7 @@ The latest PDF-version of this document can be found here: \series bold -http://wiki.lyx.org/LyX/DocumentationDevelopment#Math +https://wiki.lyx.org/LyX/Manuals#Math \end_layout \end_inset @@ -331,12 +364,11 @@ Introduction \end_layout \begin_layout Standard -This document explains \SpecialChar LyX -'s math features and is furthermore a collection - of \SpecialChar LaTeX +This document details \SpecialChar LyX +'s math features and the \SpecialChar LaTeX -commands used for mathematical characters and constructs. - The explanations are designed for the usage of commands. - It is therefore required that you have read the section + It is oriented toward the use of commands. + The user should read the \family typewriter Mathematical \begin_inset space ~ @@ -344,12 +376,11 @@ Mathematical Formulas \family default - of the User's Guide. + section of the User's Guide before proceeding. \end_layout \begin_layout Standard -Most of the characters and many constructs explained in this manual are - also accessible via the menu +Most of the characters and many constructs explained in this manual are also accessible via the menu \family sans Insert \series bold @@ -369,15 +400,15 @@ math toolbar \family default . - But everybody who has to write lots of formulas will notice that it is - much faster to use commands instead of the math toolbar. - Therefore this manual is focused on commands but also mentions the correspondin -g toolbar buttons when available. + But everybody who has to write lots of formulas will notice that it is much faster to use commands instead of the math toolbar. + Therefore this manual is focused on commands but also mentions the corresponding toolbar buttons when available. \end_layout \begin_layout Standard -If not specially mentioned the commands are only available within formulas. - To be able to use all commands explained in this document, the option +Unless specially mentioned, + math commands are only available within formulas. + To be able to use all of the commands explained in this document, + the option \family sans Use AMS math package \family default @@ -438,10 +469,10 @@ AmS -math commands \begin_inset Foot -status collapsed +status open \begin_layout Plain Layout -A list with all +A list containing all \begin_inset ERT status collapsed @@ -459,14 +490,16 @@ AmS \begin_inset CommandInset href LatexCommand href -name "amsguide.ps" -target "ftp://ftp.ams.org/pub/tex/doc/amstex/amsguide.pdf" +name "amsguide.pdf" +target "https://www.ctan.org/tex-archive/macros/amstex/doc/amsguide.pdf" +literal "false" \end_inset \family default -, which is part of every \SpecialChar LaTeX +, + which is part of every \SpecialChar LaTeX standard installation. \end_layout @@ -482,15 +515,28 @@ General Instructions \begin_layout Standard To create an inline formula \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! inline +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +inline \end_layout \end_inset - that is embedded into a text line, use one of the shortcuts + +\end_layout + +\end_inset + + that is embedded in a text line, + use one of the shortcuts \begin_inset Info type "shortcuts" arg "math-mode" @@ -508,16 +554,31 @@ arg "math-mode" To create a display style formula \begin_inset Index idx -status collapsed +range none +pageformat default +status open + +\begin_layout Plain Layout +Formula +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout -Formula ! display style +display style \end_layout \end_inset - which will appear bigger, has a different format, and will be in a separate - paragraph, use one of these shortcuts: + +\end_layout + +\end_inset + + which will appear bigger, + has a different format, + and will be in a separate paragraph, + use one of these shortcuts: + \begin_inset Info type "shortcuts" arg "math-display" @@ -527,11 +588,11 @@ arg "math-display" \end_layout \begin_layout Standard -To change a display style formula to an inline formula, set the cursor into - the formula and use one of the shortcuts +To change a display style formula to an inline formula, + place the cursor inside the formula and use the shortcut \begin_inset Info type "shortcuts" -arg "math-mode" +arg "math-mutate simple" \end_inset or the menu @@ -541,7 +602,14 @@ Math\SpecialChar menuseparator Change formula type \family default . - The same way is used to change an inline formula to a display style formula. + Similarly you can use the shortcut +\begin_inset Info +type "shortcuts" +arg "math-mutate equation" +\end_inset + + to change from an inline to a display style formula. + \end_layout \begin_layout Standard @@ -554,18 +622,40 @@ displaystyle \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! D ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash displaystyle \end_layout \end_inset - to a formula. - Then a new blue box appears in which the desired formula part is inserted. + +\end_layout + +\end_inset + + in a formula. + A new blue box will appear in which the desired formula part is inserted. \end_layout \begin_layout Standard @@ -573,78 +663,57 @@ Only inline formulas are allowed inside tables. \end_layout \begin_layout Standard -The + \family sans -math toolbar +Math toolbar \family default - can be turned on in the menu + visibility is controlled in the menu \family sans View\SpecialChar menuseparator -Toolbars -\family default -. - When you click there on -\begin_inset Quotes eld -\end_inset - -Math -\begin_inset Quotes erd -\end_inset - - the toolbar will be shown permanently at the bottom; this state is visualized - in the -\family sans -Toolbars -\family default - menu with a checkmark. - When you click in this state again on -\begin_inset Quotes eld -\end_inset - +Toolbars\SpecialChar menuseparator Math -\begin_inset Quotes erd -\end_inset - - in the -\family sans -Toolbars -\family default - menu, the -\family sans -math toolbar \family default - is only shown when the cursor is within a formula; this state is visualized - by the renaming of the menu entry from -\begin_inset Quotes eld -\end_inset - -Math -\begin_inset Quotes erd -\end_inset +. + Three options will be presented, + On, + Off, + and Automatic. + Selecting On will cause the toolbar to be shown permanently at the bottom of the screen. + Selecting Off will disable the toolbar. + Selecting Automatic will cause the toolbar to automatically appear when the cursor is located within a formula. + The active state of the toolbar is indicated by a checkmark next to the current menu selection. +\begin_inset Note Note +status open - to -\begin_inset Quotes eld -\end_inset +\begin_layout Plain Layout +The menu functionality appears to have changed, + I rewrote the paragraph for the current functionality +\end_layout -Math -\begin_inset space ~ \end_inset -(auto) -\begin_inset Quotes erd -\end_inset -. \end_layout \begin_layout Standard -The \SpecialChar TeX +\SpecialChar TeX mode \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -T@\SpecialChar TeX +\begin_inset IndexMacro sortkey +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + +\SpecialChar TeX -mode \end_layout @@ -674,16 +743,28 @@ arg "ert-insert" To change the \SpecialChar LaTeX -preamble \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -L@\SpecialChar LaTeX +\begin_inset IndexMacro sortkey +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + +\SpecialChar LaTeX -preamble \end_layout \end_inset -, use the menu +, + use the menu \family sans Document\SpecialChar menuseparator Settings\SpecialChar menuseparator @@ -697,7 +778,8 @@ Preamble \end_layout \begin_layout Standard -To edit matrices, case differentiations and multiline formulas subsequently, +To edit matrices, + case differentiations and multiline formulas, use the menus \family sans Edit\SpecialChar menuseparator @@ -715,17 +797,18 @@ Rows \end_inset Columns, + \family default or the \family sans table toolbar \family default . - When lines and columns are swapped via the menu, the column or line where - the cursor is in is exchanged with the column to the right or the line - below, respectively. - Is the cursor in the last column or row, the exchange is done with the - column to the left or the line above. + When lines and columns are swapped via the menu, + the column or line where the cursor is in is exchanged with the column to the right or the line below, + respectively. + If the cursor is in the last column or row, + the exchange is done with the column to the left or the line above. \end_layout \begin_layout Standard @@ -740,10 +823,12 @@ For multiline formulas the command \backslash intertext \series default - is used, see + is used, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Text-in-multiline" +nolink "false" \end_inset @@ -758,16 +843,30 @@ mathematical text \emph default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Text ! in formulas +Text +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +in formulas +\end_layout + +\end_inset + + \end_layout \end_inset \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -791,22 +890,43 @@ text \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash text \end_layout \end_inset + +\end_layout + +\end_inset + . The text appears black in \SpecialChar LyX - and can therefore be distinguished from the - other formula parts which appear blue. - In the output mathematical text is set upright, in contrary to other formula - parts. + and can therefore be distinguished from the other formula parts which appear blue. + In the output, + mathematical text is set upright contrary to other formula parts. \end_layout \begin_layout Subsection* @@ -814,8 +934,8 @@ Command Scheme \end_layout \begin_layout Standard -Most of the \SpecialChar LaTeX --commands for math constructs have the following scheme: +Most \SpecialChar LaTeX +-commands for math constructs have the following syntax: \end_layout \begin_layout Standard @@ -850,63 +970,108 @@ A command always starts with a backslash \end_inset . - To omit optional arguments, also omit the associated brackets. - The braces around the required arguments are named in this document as - \SpecialChar TeX + To omit the +\series bold +optional +\series default + +\series bold +argument +\series default +s, + also omit the associated brackets. + The braces around the +\series bold +required +\series default + +\series bold +arguments +\series default + are referred to in this document as \SpecialChar TeX braces \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -T@\SpecialChar TeX +\begin_inset IndexMacro sortkey +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + +\SpecialChar TeX -braces \end_layout \end_inset . - If you add in a formula a left brace to a command name, \SpecialChar LyX - automatically - creates a \SpecialChar TeX + If you append a left brace to a command name inside a formula, + \SpecialChar LyX + automatically creates a right \SpecialChar TeX brace. - In all other cases \SpecialChar TeX + In all other cases standalone \SpecialChar TeX braces are created in formulas with the command \series bold \backslash { \series default +. + Normal braces are created by typing +\series bold +{ +\series default . \SpecialChar TeX braces appear red in \SpecialChar LyX -, in contrary to normal braces which appear blue. +, + normal braces appear blue. In \SpecialChar TeX - mode no command is needed to get \SpecialChar TeX + mode a command is not needed to get \SpecialChar TeX braces. \SpecialChar TeX - braces don't appear in the output. + braces don't appear in the output while normal braces do. \end_layout \begin_layout Standard -When commands without arguments, like commands for symbols are entered in - \SpecialChar TeX - mode, a space character must +When commands without arguments, + like commands for symbols, + are entered in \SpecialChar TeX + mode, + a space character must \emph on always \emph default be behind the command to end it. This space doesn't appear in the output. - When the space should appear in the output, the space must be followed - by a protected space in normal text. + When the space should appear in the output, + the space must be followed by a non-breaking space in normal text. \end_layout \begin_layout Standard -A protected space is inserted with +A non-breaking space is inserted with \begin_inset Info type "shortcuts" -arg "command-alternatives space-insert protected ; math-space" +arg "command-alternatives math-space ; space-insert protected" \end_inset +or with the menu selection +\family sans + Insert\SpecialChar menuseparator +Formatting\SpecialChar menuseparator +Non-Breaking Normal Space +\family default + or +\family sans +Ctrl+Space +\family default . \end_layout @@ -914,7 +1079,7 @@ arg "command-alternatives space-insert protected ; math-space" \begin_inset Newpage newpage \end_inset -Syntax Explanation +Explanation of Syntax Used in this Manual \end_layout \begin_layout Itemize @@ -922,7 +1087,7 @@ The symbol \begin_inset space \textvisiblespace{} \end_inset - denotes a space character to be input. + denotes a space character to be input by the user. \end_layout \begin_layout Itemize @@ -943,7 +1108,8 @@ Tab \begin_inset Formula $\downarrow$ \end_inset -, and +, + and \family sans Shift+Tab \family default @@ -959,13 +1125,14 @@ Shift+Tab \end_layout \begin_layout Subsection* -Available units +Available Units \end_layout \begin_layout Standard \align center \begin_inset Float table placement H +alignment document wide false sideways false status open @@ -1074,7 +1241,7 @@ Inch (1 \begin_inset space \thinspace{} \end_inset -in = 2,54 +in = 2.54 \begin_inset space \thinspace{} \end_inset @@ -1362,13 +1529,6 @@ em) \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Section @@ -1378,6 +1538,8 @@ Basic Functions \begin_layout Subsection Exponents \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -1388,6 +1550,8 @@ Exponents and Indices \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -1398,27 +1562,17 @@ Indices \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Superscripts|see -\begin_inset ERT -status collapsed +Superscripts +\begin_inset IndexMacro see +status open \begin_layout Plain Layout - -{ -\end_layout - -\end_inset - Exponents -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset @@ -1430,27 +1584,17 @@ status collapsed \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Subscripts|see -\begin_inset ERT -status collapsed +Subscripts +\begin_inset IndexMacro see +status open \begin_layout Plain Layout - -{ -\end_layout - -\end_inset - Indices -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset @@ -1478,7 +1622,8 @@ type "icon" arg "math-subscript" \end_inset -, exponents with a caret +, + exponents with a caret \begin_inset Quotes eld \end_inset @@ -1493,10 +1638,6 @@ arg "math-superscript" \end_inset . -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -1607,20 +1748,20 @@ A \end_layout \begin_layout Standard -As the caret is in some languages an accent, vowels will be accentuated - in this case and not set as exponents +As the caret is in some languages an accent, + vowels will be accentuated in this case and not set as exponents \begin_inset Foot -status collapsed +status open \begin_layout Plain Layout -Depending on the used keyboard settings this can also happen for characters - other than vowels. +Depending on the keyboard settings used this can also happen for characters other than vowels. \end_layout \end_inset . - To get exponents in this case, press + To get exponents in this case, + press \family sans Space \family default @@ -1637,6 +1778,8 @@ name "subsec:Fractions" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -1657,14 +1800,36 @@ frac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! F ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +F +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash frac \end_layout +\end_inset + + +\end_layout + \end_inset or via the math toolbar button @@ -1674,8 +1839,8 @@ arg "math-insert \\frac" \end_inset . - The font size is adjusted automatically, depending on whether the fraction - is in an inline or display style formula. + The font size is adjusted automatically, + depending on whether the fraction is in an inline or display style formula. With the math toolbar button \begin_inset Info type "icon" @@ -1694,14 +1859,36 @@ dfrac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! D ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash dfrac \end_layout +\end_inset + + +\end_layout + \end_inset a fraction can be created that always has the size of a display style formula. @@ -1713,14 +1900,36 @@ tfrac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash tfrac \end_layout +\end_inset + + +\end_layout + \end_inset the fraction appears always with the size of an inline formula. @@ -1753,10 +1962,6 @@ A line with the fraction dfrac \series default . -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -1918,14 +2123,36 @@ cfrac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! C ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +C +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash cfrac \end_layout +\end_inset + + +\end_layout + \end_inset can be used. @@ -2002,8 +2229,8 @@ D \backslash cfrac \series default - sets the fraction always in the size of a displayed formula, also when - it is part of another fraction. + always sets the fraction size to that of a displayed formula, + even when it is part of another fraction. \end_layout \begin_layout Standard @@ -2014,7 +2241,8 @@ It is possible to specify the alignment of the numerator. \backslash cfracleft \series default - is used to left align it, the command + is used to left align it, + the command \series bold \backslash @@ -2052,6 +2280,7 @@ status open \series bold Note: + \series default \series bold @@ -2065,7 +2294,7 @@ cfracleft \backslash cfracright \series default - are no real \SpecialChar LaTeX + are not real \SpecialChar LaTeX commands but represent the command \series bold @@ -2110,8 +2339,7 @@ frac \end_layout \begin_layout Standard -For inline fractions with a sloped fraction stroke you can use the command - +For inline fractions with a sloped fraction stroke you can use the command \series bold \backslash @@ -2119,17 +2347,40 @@ nicefrac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! N ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +N +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash nicefrac \end_layout \end_inset -: + +\end_layout + +\end_inset + +: + \begin_inset Formula $\nicefrac{5}{31}$ \end_inset @@ -2141,27 +2392,51 @@ unitfrac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! U ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +U +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash unitfrac \end_layout \end_inset -: + +\end_layout + +\end_inset + +: + \begin_inset Formula $\unitfrac{5}{31}$ \end_inset - There is furthermore the command + There is also the command \series bold \backslash unitfracthree \series default - that offers to write a fraction in combination with a number: + which allows you to write a fraction in combination with a number: + \begin_inset Formula $\unitfrac[2]{1}{3}$ \end_inset @@ -2176,6 +2451,7 @@ status open \series bold Note: + \series default \series bold @@ -2205,11 +2481,11 @@ unitfrac[number]{numerator}{denominator} \end_layout \begin_layout Standard -How to define own fractions where the fraction stroke can be changed, is - explained in +How to define your own fractions where the fraction stroke can be changed is explained in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Self-defined-Fractions" +nolink "false" \end_inset @@ -2221,6 +2497,7 @@ Multiline fractions are explained in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Multiline-Fractions" +nolink "false" \end_inset @@ -2230,6 +2507,8 @@ reference "subsec:Multiline-Fractions" \begin_layout Subsection Roots \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -2250,14 +2529,36 @@ sqrt \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash sqrt \end_layout +\end_inset + + +\end_layout + \end_inset or the math toolbar button @@ -2266,7 +2567,8 @@ type "icon" arg "math-insert \\sqrt" \end_inset -, all other roots with the command +, + all other roots with the command \series bold \backslash @@ -2274,14 +2576,36 @@ root \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! R ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash root \end_layout +\end_inset + + +\end_layout + \end_inset or with the math toolbar button @@ -2291,10 +2615,6 @@ arg "math-insert \\root" \end_inset . -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -2404,8 +2724,9 @@ root \end_layout \begin_layout Standard -With certain indices the distance to the root is too small, like in this - formula: +With certain indices the distance to the root is too small, + like in this formula: + \begin_inset Formula $\sqrt[\beta]{B}$ \end_inset @@ -2418,7 +2739,8 @@ The \end_inset touches the root. - To avoid this, the commands + To avoid this, + the commands \series bold \backslash @@ -2426,14 +2748,36 @@ leftroot \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash leftroot \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -2444,14 +2788,36 @@ uproot \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! U ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +U +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash uproot \end_layout +\end_inset + + +\end_layout + \end_inset are used with the following scheme: @@ -2472,11 +2838,14 @@ uproot{distance} \end_layout \begin_layout Standard -Distance is the number of Big Points (unit bp; +Distance is the number of Big Points (unit bp; + \begin_inset Formula $\mathrm{72\,bp=1\,inch}$ \end_inset -), that the index should be moved to the left or top, resp.. +), + that the index should be moved to the left or up, + resp.. The commands are written to the index. This way the command \begin_inset Newline newline @@ -2514,7 +2883,8 @@ B \series default -produces a correct typeset formula: +produces a correct typeset formula: + \begin_inset Formula $\sqrt[\leftroot{-1}\uproot{2}\beta]{B}$ \end_inset @@ -2524,6 +2894,8 @@ produces a correct typeset formula: \begin_layout Subsection Binomial Coefficients \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -2544,14 +2916,36 @@ binom \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash binom \end_layout +\end_inset + + +\end_layout + \end_inset or with the submenu of the math toolbar button @@ -2581,14 +2975,36 @@ dbinom \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! D ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash dbinom \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -2599,18 +3015,40 @@ tbinom \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash tbinom \end_layout \end_inset + +\end_layout + +\end_inset + . - For other brackets around binomial coeficients there are the commands + For other brackets around binomial coefficients there are the commands \series bold \backslash @@ -2618,14 +3056,36 @@ brace \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash brace \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -2636,21 +3096,39 @@ brack \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash brack \end_layout \end_inset -. -\begin_inset Separator parbreak -\end_inset +\end_layout +\end_inset + +. \end_layout \begin_layout Standard @@ -2855,10 +3333,12 @@ B \begin_layout Subsection Case Differentiations \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Case differentiations +Case differentiations \end_layout \end_inset @@ -2910,10 +3390,27 @@ A B>0 \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! C ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +C +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash cases \end_layout @@ -2921,6 +3418,11 @@ cases \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -3031,6 +3533,8 @@ Cases-Environment \begin_layout Subsection Negations \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -3051,22 +3555,40 @@ not \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! N ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +N +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash not \end_layout \end_inset - every character can be displayed canceled. - The characters are quasi accentuated by a slash. -\begin_inset Separator parbreak -\end_inset +\end_layout + +\end_inset + every character can be displayed canceled. + The characters are quasi accentuated by a slash. \end_layout \begin_layout Standard @@ -3188,6 +3710,7 @@ The last example shows that not all negations look good. \begin_inset CommandInset ref LatexCommand ref reference "subsec:Mathematical-Symbols" +nolink "false" \end_inset @@ -3195,6 +3718,7 @@ reference "subsec:Mathematical-Symbols" \begin_inset CommandInset ref LatexCommand ref reference "sec:Relations" +nolink "false" \end_inset @@ -3211,6 +3735,8 @@ name "subsec:Placeholders" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -3221,37 +3747,39 @@ Placeholders \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Chemical characters ! Isotopes +Chemical characters +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +Isotopes \end_layout \end_inset -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Isotopes|see -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{ \end_layout \end_inset -Chemical characters -\begin_inset ERT -status collapsed + +\begin_inset Index idx +range none +pageformat default +status open \begin_layout Plain Layout +Isotopes +\begin_inset IndexMacro see +status open -} +\begin_layout Plain Layout +Chemical characters \end_layout \end_inset @@ -3282,6 +3810,7 @@ Typesetting isotopes and chemical symbols is described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Chemical-Symbols-and" +nolink "false" \end_inset @@ -3291,10 +3820,6 @@ reference "subsec:Chemical-Symbols-and" \end_inset the following problem occurs: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -3332,7 +3857,7 @@ Indices created with sub- and superscripts: \begin_inset Text \begin_layout Plain Layout -correct indices: +Correct indices: \end_layout \end_inset @@ -3358,9 +3883,8 @@ correct indices: \end_layout \begin_layout Standard -The shorter index is by default placed below or above the first character - of the longer index. - To avoid this there is the command +The shorter index is placed by default below or above the first character of the longer index. + This is corrected using the command \series bold \backslash @@ -3368,14 +3892,36 @@ phantom \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! P ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +P +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash phantom \end_layout +\end_inset + + +\end_layout + \end_inset or the math toolbar button @@ -3387,7 +3933,7 @@ phantom status collapsed \begin_layout Plain Layout -can be found in the submenu of the toolbar button +Found in the submenu of the toolbar button \begin_inset Info type "icon" arg "math-insert \\space" @@ -3404,21 +3950,10 @@ type "icon" arg "math/phantom" \end_inset - that creates one or more phantom characters. - When inserting -\series bold - -\backslash -phantom -\series default - a small blue box appears that is superposed with two red arrows. - The arrows indicate that the complete width and height of the box content - will be created as placeholder. - Phantom characters are accordingly placeholders with the size of the characters. -\begin_inset Separator parbreak -\end_inset - - + to create one or more phantom characters. + When inserting phantom characters a small blue box appears that is superposed with two red arrows. + The arrows indicate the width and height of the box to be created as a placeholder. + Phantom characters are placeholders with the same character size. \end_layout \begin_layout Standard @@ -3471,6 +4006,12 @@ phantom \begin_inset space \textvisiblespace{} \end_inset + +\backslash +mathrm +\begin_inset space \textvisiblespace{} +\end_inset + F \end_layout @@ -3512,6 +4053,12 @@ phantom \begin_inset space \textvisiblespace{} \end_inset + +\backslash +mathrm +\begin_inset space \textvisiblespace{} +\end_inset + F \end_layout @@ -3537,11 +4084,11 @@ F \begin_layout Plain Layout \backslash -Lambda^ +Lambda \begin_inset space \textvisiblespace{} \end_inset - +^ \backslash phantom \begin_inset space \textvisiblespace{} @@ -3589,14 +4136,36 @@ vphantom \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! V ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +V +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash vphantom \end_layout +\end_inset + + +\end_layout + \end_inset (toolbar button @@ -3613,14 +4182,36 @@ hphantom \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! H ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +H +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash hphantom \end_layout +\end_inset + + +\end_layout + \end_inset (toolbar button @@ -3636,8 +4227,7 @@ arg "math/hphantom" \backslash hphantom \series default - creates only space for the maximal height of the characters in the box - but not for its width. + creates only space for the maximal height of the characters in the box but not for its width. \series bold @@ -3672,10 +4262,12 @@ The command \backslash int \series default - creates an integral sign, see + creates an integral sign, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Big-Operators" +nolink "false" \end_inset @@ -3689,6 +4281,7 @@ reference "subsec:Big-Operators" \begin_inset CommandInset ref LatexCommand ref reference "subsec:Multiline-Brackets" +nolink "false" \end_inset @@ -3696,8 +4289,7 @@ reference "subsec:Multiline-Brackets" \end_layout \begin_layout Standard -Placeholders can also be used for text when they are inserted via the menu - +Placeholders can also be used for text when they are inserted via the menu \family sans Insert\SpecialChar menuseparator Formatting\SpecialChar menuseparator @@ -3727,6 +4319,8 @@ This \begin_layout Subsection Lines \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -3737,10 +4331,22 @@ Lines \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! underlined +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +underlined +\end_layout + +\end_inset + + \end_layout \end_inset @@ -3788,10 +4394,27 @@ overline A+B \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! O ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +O +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash overline \end_layout @@ -3799,6 +4422,11 @@ overline \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -3829,10 +4457,27 @@ underline A+B \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! U ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +U +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash underline \end_layout @@ -3840,6 +4485,11 @@ underline \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -3900,7 +4550,7 @@ A+B \end_layout \begin_layout Standard -In the last example it doesn't matter if first +In the last example it doesn't matter if \series bold \backslash @@ -3912,7 +4562,7 @@ overline \backslash underline \series default - is inserted. + is inserted first. \end_layout \begin_layout Standard @@ -3922,11 +4572,7 @@ To double underline use \backslash underline \series default - twice. -\end_layout - -\begin_layout Standard -It is possible to place up to 6 lines above or below characters. + twice (or as many times you want). \end_layout \begin_layout Standard @@ -3941,14 +4587,36 @@ rule \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! R ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash rule \end_layout +\end_inset + + +\end_layout + \end_inset which has the following scheme: @@ -3963,12 +4631,13 @@ rule[vertical offset]{length}{thickness} \end_layout \begin_layout Standard -The optional vertical offset shifts the line upwards (or downwards, when - the value is negative). +The optional vertical offset shifts the line upwards (or downwards, + when the value is negative). The units listed in \begin_inset CommandInset ref LatexCommand ref reference "tab:Available-units" +nolink "false" \end_inset @@ -4043,6 +4712,8 @@ name "subsec:Ellipses" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -4071,7 +4742,8 @@ arg "math-insert \\ldots" \end_inset - For listings dots at the baseline are used ( + For listings, + dots at the baseline are used ( \series bold \backslash @@ -4079,18 +4751,41 @@ ldots \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash ldots \end_layout \end_inset -), while for operations dots are needed that are on the same height as the - operators ( + +\end_layout + +\end_inset + +), + while for operations, + dots are needed that are on the same height as the operators ( \series bold \backslash @@ -4098,16 +4793,38 @@ cdots \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! C ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +C +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash cdots \end_layout \end_inset + +\end_layout + +\end_inset + ). When using the command \series bold @@ -4117,22 +4834,41 @@ dots \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! D ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash dots \end_layout \end_inset -, \SpecialChar LaTeX - decides on the basis of the next character what type is used. -\begin_inset Separator parbreak -\end_inset +\end_layout + +\end_inset +, + \SpecialChar LaTeX + decides on the basis of the next character what type is used. \end_layout \begin_layout Standard @@ -4436,7 +5172,8 @@ To use \backslash iddots \series default -, one of the options +, + the option \family sans Use mathdots package (automatically) \family default @@ -4456,8 +5193,7 @@ Using the option \family sans Use mathdots package \family default - will improve the appearance of all dots in the documents if their font - style or size is not the default. + will improve the appearance of all dots in the documents if their font style or size is not the default. \end_layout \begin_layout Standard @@ -4473,17 +5209,55 @@ hdotsfor \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! H ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +H +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash hdotsfor \end_layout \end_inset -, that has the following scheme: + +\end_layout + +\end_inset + + and have the following scheme ( +\family sans +mathtools +\family default + must be loaded +\family sans +always +\family default + under +\family sans +Math +\begin_inset space ~ +\end_inset + +Options +\family default + for this to work): \end_layout \begin_layout Standard @@ -4506,8 +5280,7 @@ In the following matrix the command \backslash hdotsfor[2]{4} \series default - was inserted in the first box of the second line, to get an ellipsis with - a dot distance twice as long as with the command + was inserted in the first box of the second line to get an ellipsis with a dot distance twice as long as with the command \series bold \backslash @@ -4525,8 +5298,8 @@ q & w & e & r \end_inset -Note that the matrix fields that should be spanned must be empty, otherwise - you get \SpecialChar LaTeX +Note that the matrix fields that should be spanned must be empty, + otherwise you get \SpecialChar LaTeX -errors. \end_layout @@ -4542,14 +5315,36 @@ dotfill \series default \begin_inset Index idx -status collapsed +range none +pageformat default +status open + +\begin_layout Plain Layout +Commands +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout -Commands ! D ! +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash dotfill \end_layout +\end_inset + + +\end_layout + \end_inset the rest of a line with dots. @@ -4559,10 +5354,12 @@ dotfill \backslash hfill \series default -, see +, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Variable-Space" +nolink "false" \end_inset @@ -4605,16 +5402,38 @@ hrulefill \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! H ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +H +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash hrulefill \end_layout \end_inset + +\end_layout + +\end_inset + : \end_layout @@ -4626,7 +5445,8 @@ hrulefill \end_layout \begin_layout Standard -To use the commands for text, they have to be inserted in \SpecialChar TeX +To use the commands for text, + they have to be inserted in \SpecialChar TeX mode. \end_layout @@ -4640,6 +5460,8 @@ name "sec:Matrices" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -4665,8 +5487,8 @@ Math\SpecialChar menuseparator Matrix \family default . - In the matrix dialog you can specify the number of columns and rows, the - alignment and the decoration. + In the matrix dialog you can specify the number of columns and rows, + the alignment and the decoration. The vertical alignment is only of importance for matrices in inline formulas: \end_layout @@ -4679,7 +5501,8 @@ C & F & I & L \end{array}$ \end_inset -, the second middle +, + the second middle \begin_inset Formula $\begin{array}{cccc} A & D & G & J\\ B & E & H & K\\ @@ -4705,7 +5528,8 @@ The horizontal alignment specifies how the column entries should be aligned. \emph on l \emph default - denotes left aligned, + denotes left aligned, + \emph on c \emph default @@ -4722,15 +5546,15 @@ r \begin_inset space ~ \end_inset -matrix where the first column is left aligned, the second and third are - centered and the last one is right aligned, one enters for the horizontal - alignment +matrix where the first column is left aligned, + the second and third are centered and the last one is right aligned, + one enters for the horizontal alignment \series bold lccr \series default . - Normally in a matrix all columns are centered, therefore the default for - every column is a + Normally in a matrix all columns are centered, + therefore the default for every column is a \series bold c \series default @@ -4746,7 +5570,8 @@ Horizontal alignment: \series bold lll \series default - : + : + \begin_inset Formula $\begin{array}{lll} 10000 & D & G\\ B & 10000 & H\\ @@ -4754,11 +5579,13 @@ C & F & 10000 \end{array}$ \end_inset - , + , + \series bold ccc \series default - : + : + \begin_inset Formula $\begin{array}{ccc} 10000 & D & G\\ B & 10000 & H\\ @@ -4766,11 +5593,13 @@ C & F & 10000 \end{array}$ \end_inset - , + , + \series bold rrr \series default - : + : + \begin_inset Formula $\begin{array}{rrr} 10000 & D & G\\ B & 10000 & H\\ @@ -4782,24 +5611,27 @@ C & F & 10000 \end_layout \begin_layout Standard -To add or delete rows and columns subsequently, the math toolbar buttons - +To subsequently add or delete rows and columns, + the math toolbar buttons \begin_inset Info type "icon" arg "tabular-feature append-row" \end_inset -, +, + \begin_inset Info type "icon" arg "tabular-feature delete-row" \end_inset -, etc. +, + etc. \begin_inset space \thinspace{} \end_inset -, or the menu +, + or the menu \family sans Edit\SpecialChar menuseparator Rows & Columns @@ -4818,13 +5650,38 @@ arg "newline-insert newline" \begin_inset VSpace bigskip \end_inset -The + \family sans -Decoration +Appearance \family default - adds parentheses in the selected style around the matrix. - Alternatively, parentheses can can either be created with the commands - + can be used to add parentheses in the selected style around the matrix or to select the +\family sans +small +\family default + style, + suitable for an inline matrix like this one +\begin_inset Formula $\bigl(\begin{smallmatrix}0 & \textrm{-}\mathrm{i}\\ +\mathrm{i} & 0 +\end{smallmatrix}\bigr)$ +\end_inset + +. + Here the parentheses have been added manually using commands +\series bold + +\backslash +bigl( +\series default + and +\series bold + +\backslash +bigr). +\end_layout + +\begin_layout Standard +Alternatively, + parentheses can be created with the commands \series bold \backslash @@ -4832,14 +5689,36 @@ left \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash left \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -4850,14 +5729,36 @@ right \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! R ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash right \end_layout +\end_inset + + +\end_layout + \end_inset (shortcut @@ -4868,14 +5769,17 @@ Alt+M Parenthesis \family default -), see +), + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Automatic-Bracket-Size" +nolink "false" \end_inset -, or by using the following commands: +, + or by using the following commands: \begin_inset VSpace medskip \end_inset @@ -5215,8 +6119,8 @@ g. \backslash vmatrix \series default - is inserted, a blue box appears between two vertical lines where the matrix - is inserted. + is inserted, + a blue box appears between two vertical lines where the matrix is inserted. \begin_inset Newline newline \end_inset @@ -5227,7 +6131,8 @@ Note that decorated matrices ignore the vertical alignment. \begin_inset VSpace bigskip \end_inset -As all multiline formulas are matrices, the length +As all multiline formulas are matrices, + the length \series bold \backslash @@ -5235,20 +6140,43 @@ arraycolsep \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash arraycolsep \end_layout +\end_inset + + +\end_layout + \end_inset that is described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Column-Separation" +nolink "false" \end_inset @@ -5256,7 +6184,8 @@ reference "subsec:Column-Separation" \end_layout \begin_layout Standard -To change the row separation, the command +To change the row separation, + the command \series bold \backslash @@ -5264,18 +6193,39 @@ arraystretch \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash arraystretch \end_layout \end_inset - is used. - It is used as follows: + +\end_layout + +\end_inset + + is used as follows: \end_layout \begin_layout Standard @@ -5287,10 +6237,27 @@ renewcommand{ \backslash arraystretch}{stretch factor} \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! R ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash renewcommand \end_layout @@ -5298,6 +6265,11 @@ renewcommand \end_inset +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -5314,17 +6286,11 @@ renewcommand arraystretch \series default . - To double e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space \space{} -\end_inset - -the row separation, use the factor 2. + For example to double the row separation, + use a stretch factor of 2. This is then used for all following matrices. - To go back to the original separation, assign the factor 1 to + To restore the original separation, + assign a stretch factor of 1 to \series bold \backslash @@ -5334,7 +6300,7 @@ arraystretch \end_layout \begin_layout Standard -To set matrices into a text line, the command +Small inline matrices can also be obtained using the command \series bold \backslash @@ -5342,19 +6308,41 @@ smallmatrix \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash smallmatrix \end_layout \end_inset - is used. - When it is inserted a blue box with two dashed lines appears. - In this box the matrix is inserted. + +\end_layout + +\end_inset + +. + When it is inserted in a line a blue box with two dashed lines appears. + Adjust the matrix rows and columns as desired. \end_layout \begin_layout Standard @@ -5364,12 +6352,14 @@ C & D \end{smallmatrix}\right)$ \end_inset - in a text line. + in a text line with automatic delimiters around it. \end_layout \begin_layout Section Brackets and Delimiters \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -5380,6 +6370,8 @@ Brackets \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -5394,10 +6386,22 @@ Delimiters \begin_layout Subsection Vertical Brackets and Delimiters \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Brackets ! vertical +Brackets +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +vertical +\end_layout + +\end_inset + + \end_layout \end_inset @@ -5876,6 +6880,7 @@ status open \series bold Note: + \series default In \SpecialChar TeX mode the command @@ -5886,17 +6891,40 @@ textbackslash \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash textbackslash \end_layout \end_inset - must be used for the backslash, because the command + +\end_layout + +\end_inset + + must be used for the backslash, + because the command \series bold \backslash @@ -5913,10 +6941,9 @@ textbackslash \end_layout \begin_layout Standard -For all characters listed above the size can be adjusted with the commands - described in the following two subsections. - When using these commands, the characters < and > can directly be used - instead of the commands +For all characters listed above the size can be adjusted with the commands described in the following two subsections. + When using these commands, + the characters < and > can directly be used instead of the commands \series bold \backslash @@ -5941,10 +6968,22 @@ name "subsec:Manual-Bracket-Size" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Bracket size ! manual +Bracket size +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +manual +\end_layout + +\end_inset + + \end_layout \end_inset @@ -5962,23 +7001,47 @@ big \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash big \end_layout \end_inset -, + +\end_layout + +\end_inset + +, + \series bold \backslash Big \series default -, +, + \series bold \backslash @@ -6008,10 +7071,6 @@ Bigg \begin_layout Standard These commands are used to emphasize levels of brackets: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -6026,7 +7085,7 @@ These commands are used to emphasize levels of brackets: \begin_inset Text \begin_layout Plain Layout -all brackets in the same size: +All brackets in the same size: \end_layout \end_inset @@ -6049,7 +7108,7 @@ all brackets in the same size: \begin_inset Text \begin_layout Plain Layout -this looks better: +This looks better: \end_layout \end_inset @@ -6091,11 +7150,7 @@ C \end_layout \begin_layout Standard -Here is an overview about all bracket sizes: -\begin_inset Separator parbreak -\end_inset - - +Here is an example containing all bracket sizes: \end_layout \begin_layout Standard @@ -6146,13 +7201,14 @@ Bigg)^0,5 \end_layout \begin_layout Standard -Besides the +In addition to the \series bold \backslash big \series default --commands there is the variant +-commands there is a variant, + \series bold \backslash @@ -6160,44 +7216,90 @@ bigm \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash bigm \end_layout \end_inset - that adds a bit more space between the bracket and its content, and the - variant + +\end_layout + +\end_inset + +, + that adds a bit more space between the bracket and its content. + Other variants \series bold \backslash -bigl +bigl \series default -- +and \series bold - + \backslash bigr \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash -bigl - +bigl – \backslash bigr \end_layout \end_inset -, that don't add additional space. + +\end_layout + +\end_inset + +, + don't add additional space. The \emph on l @@ -6208,8 +7310,8 @@ l \backslash bigl \series default - is for a left bracket; for a right bracket this will be replaced by an - + is for a left bracket; + for a right bracket this is replaced by an \emph on r \emph default @@ -6218,11 +7320,7 @@ r \end_layout \begin_layout Standard -In the following table is a comparison of the variants: -\begin_inset Separator parbreak -\end_inset - - +The following table contains comparisons of the variants: \end_layout \begin_layout Standard @@ -6409,10 +7507,22 @@ name "subsec:Automatic-Bracket-Size" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Bracket size ! automatic +Bracket size +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +automatic +\end_layout + +\end_inset + + \end_layout \end_inset @@ -6421,7 +7531,7 @@ Bracket size ! automatic \end_layout \begin_layout Standard -Brackets with variable size can be inserted with the commands +Variably sized brackets can be inserted with the commands \series bold \backslash @@ -6429,14 +7539,36 @@ left \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash left \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -6447,14 +7579,36 @@ right \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! R ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash right \end_layout +\end_inset + + +\end_layout + \end_inset or via the math toolbar button @@ -6464,7 +7618,7 @@ arg "dialog-show mathdelimiter" \end_inset . - Directly behind + The desired bracket must be inserted directly behind the \series bold \backslash @@ -6476,17 +7630,14 @@ left \backslash right \series default - the wanted bracket must be inserted. + commands. The bracket size will then automatically be calculated for the output. -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard \align center -normal bracket: The command +normal bracket: + The command \series bold \backslash @@ -6519,7 +7670,8 @@ C \begin_layout Standard \align center -multiline bracket: The command +multiline bracket: + The command \series bold \backslash @@ -6577,12 +7729,12 @@ Bracket \family default can be used. This has the advantage that you can see in \SpecialChar LyX - immediately the real bracket - size and that the matching right bracket will be created too. + immediately the real bracket size and that the matching right bracket will be created too. \begin_inset Newline newline \end_inset -The command for the last example would then be: +The command for the last example would then be: + \series bold \backslash @@ -6604,7 +7756,8 @@ C \end_layout \begin_layout Standard -To omit a left or right bracket, a dot is inserted for the omitted bracket. +To omit a left or right bracket, + a dot is inserted for the omitted bracket. For example the command \series bold @@ -6652,8 +7805,7 @@ left right \series default will be converted by \SpecialChar LyX - to brackets in the right size when the document is - reloaded and an omitted bracket will appear as dashed line. + to brackets with the correct size when the document is reloaded and an omitted bracket will appear as dashed line. \end_layout \begin_layout Standard @@ -6662,9 +7814,10 @@ right Because all popular \SpecialChar LaTeX distributions use e\SpecialChar TeX -, an extension to \SpecialChar LaTeX -, the command - +, + an extension to \SpecialChar LaTeX +, + the command \series bold \backslash @@ -6672,27 +7825,41 @@ middle \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! M ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +M +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash middle \end_layout \end_inset - is additionally available for all brackets and limits. - With this command the height of the following character is adapted to the - one of the surrounding brackets, what is e. -\begin_inset space \thinspace{} -\end_inset -g. -\begin_inset space \space{} +\end_layout + \end_inset -needed for physical vectors: + is available for all brackets and limits. + With this command the height of the following character is adapted to the one of the surrounding brackets, + for example in the case of physical vectors: \begin_inset Formula \[ \left\langle \phi\:\middle|\:J=\frac{3}{2}\,,\,M_{J}\right\rangle @@ -6701,10 +7868,12 @@ needed for physical vectors: \end_inset For physical vectors there is a special \SpecialChar LaTeX --package, described in +-package, + described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Physical-Vectors" +nolink "false" \end_inset @@ -6714,10 +7883,22 @@ reference "subsec:Physical-Vectors" \begin_layout Subsection Horizontal Brackets \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Brackets ! horizontal +Brackets +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +horizontal +\end_layout + +\end_inset + + \end_layout \end_inset @@ -6769,10 +7950,27 @@ A+B ^3 \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! O ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +O +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash overbrace \end_layout @@ -6780,6 +7978,11 @@ overbrace \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -6814,10 +8017,27 @@ A+B _5 \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! U ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +U +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash underbrace \end_layout @@ -6825,6 +8045,11 @@ underbrace \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -6917,7 +8142,7 @@ overbrace \backslash underbrace \series default - is inserted at first. + is inserted first. \end_layout \begin_layout Standard @@ -6928,7 +8153,7 @@ underbrace \end_layout \begin_layout Standard -If you set in the document settings under +If in document settings under \family sans Math \begin_inset space ~ @@ -6936,21 +8161,33 @@ Math Options \family default - for the package + the option for the package \series bold mathtools \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! mathtools +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +mathtools \end_layout \end_inset - the option + +\end_layout + +\end_inset + + is set to \family sans Load \begin_inset space ~ @@ -6958,11 +8195,8 @@ Load always \family default -, you have access to square backets: -\begin_inset Separator parbreak -\end_inset - - +, + you will also have access to square brackets: \end_layout \begin_layout Standard @@ -7029,10 +8263,27 @@ overbracket ^3 \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! O ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +O +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash overbracket \end_layout @@ -7040,6 +8291,11 @@ overbracket \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -7094,10 +8350,27 @@ bracket _5 \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! U ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +U +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash under \family roman @@ -7117,6 +8390,11 @@ bracket \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -7159,11 +8437,7 @@ _7 \begin_inset space \textvisiblespace{} \end_inset -^ -\begin_inset space \textvisiblespace{} -\end_inset - -C +^C \end_layout \end_inset @@ -7201,12 +8475,7 @@ overbracket \backslash underbracket \series default - you can change the thickness of the bracket's stroke by specifying the - desired thickness in square brackets behind the command: -\begin_inset Separator parbreak -\end_inset - - + you can change the thickness of the bracket's stroke by specifying the desired thickness in square brackets behind the command: \end_layout \begin_layout Standard @@ -7357,15 +8626,16 @@ _5 \begin_inset VSpace bigskip \end_inset -When brackets should overlap each other, multiline formulas, as described - in +When brackets overlap each other, + multiline formulas as described in \begin_inset CommandInset ref LatexCommand ref reference "sec:Multiline-Formulas" +nolink "false" \end_inset -, must be used: + must be used: \begin_inset Formula \begin{eqnarray*} A & = & \underbrace{gggg+bbqq}_{r}+\:dddd\\ @@ -7374,8 +8644,9 @@ A & = & \underbrace{gggg+bbqq}_{r}+\:dddd\\ \end_inset -In the first row the formula is inserted together with the first brace. - It is hereby important that the space command +In the first row, + the formula is inserted together with the first brace. + It is important that the space command \begin_inset Foot status collapsed @@ -7384,6 +8655,7 @@ Space commands are explained in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Predefined-Space" +nolink "false" \end_inset @@ -7397,16 +8669,17 @@ reference "subsec:Predefined-Space" \backslash : + \series default is inserted before the first \begin_inset Formula $d$ \end_inset -, because the brace that ends behind the + because the brace that ends behind the \begin_inset Formula $q$ \end_inset - prevents that the following + prevents the following \begin_inset Quotes eld \end_inset @@ -7414,15 +8687,17 @@ reference "subsec:Predefined-Space" \begin_inset Quotes erd \end_inset - is surrounded by space. + from being surrounded by spaces. \begin_inset Foot status collapsed \begin_layout Plain Layout -because a bracket is not handled as a character, see +Because a bracket is not handled as a character, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Binary-Operators" +nolink "false" \end_inset @@ -7431,12 +8706,13 @@ reference "subsec:Binary-Operators" \end_inset - In the second row the second brace is inserted. + The second brace is inserted in the second row. As it should begin before the \begin_inset Formula $b$ \end_inset -, first the command +, + first the command \series bold \backslash @@ -7449,7 +8725,7 @@ hphantom{gggg+ status collapsed \begin_layout Plain Layout -more about +More about \series bold \backslash @@ -7459,6 +8735,7 @@ hphantom \begin_inset CommandInset ref LatexCommand ref reference "subsec:Placeholders" +nolink "false" \end_inset @@ -7475,7 +8752,7 @@ reference "subsec:Placeholders" \begin_inset Quotes erd \end_inset - is also surrounded by space in the formula. + is surrounded by spaces in the formula. The brace is placed under the command \series bold @@ -7486,8 +8763,7 @@ hphantom{bbqq+dddd} \end_layout \begin_layout Standard -It gets more complicated when brackets overlap each other above and under - the formula, like in the following example: +It gets more complicated when brackets overlap each other above and under the formula as in the following example: \begin_inset ERT status collapsed @@ -7529,9 +8805,9 @@ jot}{3pt} The first formula row is the same as the second row of the previous example, with the difference that the brace is above. The second row contains the formula together with the second brace. - To avoid that there is space between the upper brace in the first row and - the formula, the row spacing needs to be reduced. - This is not easily possible due to a bug in \SpecialChar LyX + To avoid the space between the upper brace in the first row and the formula, + the row spacing needs to be reduced. + This is not easily done due to a bug in \SpecialChar LyX . \begin_inset Foot status collapsed @@ -7540,7 +8816,8 @@ status collapsed \begin_inset CommandInset href LatexCommand href name "LyX-bug #1505" -target "http://www.lyx.org/trac/ticket/1505" +target "https://www.lyx.org/trac/ticket/1505" +literal "false" \end_inset @@ -7549,7 +8826,8 @@ target "http://www.lyx.org/trac/ticket/1505" \end_inset - As a solution for the problem, the global formula row separation + As a solution for the problem, + the global formula row separation \series bold \backslash @@ -7557,14 +8835,36 @@ jot \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! J ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +J +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash jot \end_layout +\end_inset + + +\end_layout + \end_inset must be changed to -6 @@ -7596,6 +8896,7 @@ pt using the same command. \begin_inset CommandInset ref LatexCommand ref reference "subsec:Line-Separation" +nolink "false" \end_inset @@ -7605,6 +8906,8 @@ reference "subsec:Line-Separation" \begin_layout Section Arrows \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -7629,10 +8932,22 @@ arg "math-insert \\leftarrow" \begin_layout Subsection Horizontal Arrows \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Arrows ! horizontal +Arrows +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +horizontal +\end_layout + +\end_inset + + \end_layout \end_inset @@ -8374,18 +9689,11 @@ dasharrow \begin_inset VSpace medskip \end_inset -Arrows used as accents like e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space \space{} -\end_inset - -vector arrows are listed in +Arrows used as accents such as vector arrows are listed in \begin_inset CommandInset ref LatexCommand ref reference "sec:Accents" +nolink "false" \end_inset @@ -8396,17 +9704,29 @@ reference "sec:Accents" \begin_inset VSpace bigskip \end_inset -Furthermore there are the labeled arrows +Labeled arrows \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Arrows ! labeled +Arrows +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +labeled \end_layout \end_inset - + +\end_layout + +\end_inset + + are also available using the commands \series bold \backslash @@ -8414,14 +9734,36 @@ xleftarrow \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! X ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +X +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash xleftarrow \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -8432,20 +9774,29 @@ xrightarrow \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! X ! -\backslash -xrightarrow -\begin_inset ERT -status collapsed +Commands +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout +X +\end_layout +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout \backslash -vspace{4mm} +xrightarrow \end_layout \end_inset @@ -8456,8 +9807,8 @@ vspace{4mm} \end_inset . - When inserting one of these commands in a formula, an arrow with two blue - boxes appear where the label can be inserted. + When inserting one of these commands in a formula, + an arrow with two blue boxes appears indicating where the labels can be inserted. The length of the arrow adapts to the label width. \end_layout @@ -8577,7 +9928,7 @@ F(a) \end_layout \begin_layout Standard -If you set in the document settings under +If in the document settings under \family sans Math \begin_inset space ~ @@ -8591,10 +9942,22 @@ mathtools \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! mathtools +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +mathtools +\end_layout + +\end_inset + + \end_layout \end_inset @@ -8607,7 +9970,8 @@ Load always \family default -, you have access to the following labeled arrows: + is set, + you will have access to the following labeled arrows: \end_layout \begin_layout Standard @@ -8615,10 +9979,6 @@ always \end_inset -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -9142,11 +10502,7 @@ xrightleftharpoons \end_layout \begin_layout Standard -The command scheme is for all these arrows: -\begin_inset Separator parbreak -\end_inset - - +The command scheme for all of these arrows is: \end_layout \begin_layout Standard @@ -9215,22 +10571,46 @@ F(x) \end_layout \begin_layout Subsection -Vertical and diagonal Arrows +Vertical and Diagonal Arrows \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Arrows ! diagonal +Arrows +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +diagonal +\end_layout + +\end_inset + + \end_layout \end_inset \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Arrows ! vertical +Arrows +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +vertical +\end_layout + +\end_inset + + \end_layout \end_inset @@ -9567,11 +10947,11 @@ nwarrow \begin_inset VSpace medskip \end_inset -Vertical arrows can be used also as delimiters together with the commands - described in +Vertical arrows can also be used as delimiters together with the commands described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Manual-Bracket-Size" +nolink "false" \end_inset @@ -9579,6 +10959,7 @@ reference "subsec:Manual-Bracket-Size" \begin_inset CommandInset ref LatexCommand ref reference "subsec:Automatic-Bracket-Size" +nolink "false" \end_inset @@ -9595,6 +10976,8 @@ name "sec:Accents" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -9617,7 +11000,7 @@ arg "math-insert \\hat" \end_layout \begin_layout Subsection -Accents for one Character +Accents for One Character \begin_inset ERT status collapsed @@ -9635,10 +11018,11 @@ texorpdfstring{ status collapsed \begin_layout Plain Layout -accents in text see +For accents in text see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Accents-in-Text" +nolink "false" \end_inset @@ -9683,6 +11067,7 @@ texorpdfstring \begin_inset CommandInset ref LatexCommand ref reference "subsec:Formulas-in-Section" +nolink "false" \end_inset @@ -9700,10 +11085,22 @@ name "subsec:Accents-for-one" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Accents ! for one character +Accents +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +for one character +\end_layout + +\end_inset + + \end_layout \end_inset @@ -9870,6 +11267,8 @@ vec A \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -10181,11 +11580,13 @@ A \end_layout \begin_layout Standard -You can directly insert accents like é to formulas. +You can directly insert accents such as é in formulas. \SpecialChar LyX will transform them to the corresponding accent command. For umlauts \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -10194,20 +11595,21 @@ Umlauts \end_inset - it is better to insert a quotation mark before the vowel. + however it is better to insert a quotation mark before the vowel. These two characters are then treated by \SpecialChar LaTeX as \emph on one \emph default character when the formula part with the umlaut is marked as German. - In contrary to + In contrast to \series bold \backslash ddot \series default -, with this method +, + with this method \begin_inset Quotes eld \end_inset @@ -10322,14 +11724,13 @@ i \end_layout \begin_layout Standard -Another advantage to +One advantage with \series bold \backslash ddot \series default - is that umlauts can directly be converted to mathematical text because - the accent commands above are + is that umlauts can be directly converted to mathematical text because the accent commands above are \emph on not allowed \emph default @@ -10338,9 +11739,10 @@ not allowed in mathematical text \emph default . - To convert an accented character to mathematical text, only the character - under the accent may be converted. - This applies also for all other conversions, e. + To convert an accented character to mathematical text, + only the character under the accent may be converted. + This applies for all conversions, + e. \begin_inset space \thinspace{} \end_inset @@ -10351,11 +11753,6 @@ g. to italic or bold. \end_layout -\begin_layout Standard -In mathematical text, umlauts and other accented characters can directly - be inserted. -\end_layout - \begin_layout Standard \begin_inset VSpace bigskip \end_inset @@ -10372,10 +11769,22 @@ undertilde \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! undertilde +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +undertilde +\end_layout + +\end_inset + + \end_layout \end_inset @@ -10412,10 +11821,6 @@ undertilde \end_inset -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -10536,22 +11941,27 @@ fi \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Subsection -Accents for several Characters +Accents for Several Characters \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Accents ! for several characters +Accents +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +for several characters +\end_layout + +\end_inset + + \end_layout \end_inset @@ -10870,7 +12280,7 @@ A=B \begin_inset VSpace medskip \end_inset -With these commands as many characters as you like can be accented. +Using these commands you can accent as many characters as you like. But the accents \series bold @@ -10883,8 +12293,8 @@ widetilde \backslash widehat \series default - will only be set in the output with a length of three characters, as shown - in the following example: + will only be set in the output with a length of three characters, + as shown in the following example: \begin_inset Formula \[ \widetilde{A+B=C-D} @@ -10896,7 +12306,7 @@ widehat \end_layout \begin_layout Standard -With the commands +It is also possible to accent several characters using the commands \series bold \backslash @@ -10904,14 +12314,36 @@ overset \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! O ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +O +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash overset \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -10922,18 +12354,39 @@ underset \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! U ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +U +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash underset \end_layout \end_inset - described in the previous subsection it is also possible to accent several - characters. + +\end_layout + +\end_inset + + described in the previous subsection. The command \series bold @@ -10969,10 +12422,22 @@ name "subsec:Space" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Space ! horizontal +Space +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +horizontal +\end_layout + +\end_inset + + \end_layout \end_inset @@ -10990,10 +12455,32 @@ name "subsec:Predefined-Space" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Space ! horizontal ! predefined +Space +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +horizontal +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +predefined +\end_layout + +\end_inset + + \end_layout \end_inset @@ -11003,10 +12490,10 @@ Space ! horizontal ! predefined \begin_layout Standard Sometimes it is necessary to insert horizontal space into a formula. - This is done by inserting a protected space (shortcut + This is done by inserting a non-breaking space (shortcut \begin_inset Info type "shortcut" -arg "command-alternatives space-insert protected ; math-space" +arg "command-alternatives math-space ; space-insert protected" \end_inset ). @@ -11038,16 +12525,17 @@ arg "math-insert \\space" \end_inset or special commands. - Independent from the inserted command, one can select the size again by - pressing + The size can be adjusted at any time by positioning the cursor on the +\begin_inset Info +type "icon" +arg "math-insert \\space" +\end_inset + + and pressing \family sans Space \family default - afterwards. -\begin_inset Separator parbreak -\end_inset - - + until the desired size is achieved. \end_layout \begin_layout Standard @@ -11492,7 +12980,7 @@ hspace{1em} \end_layout \begin_layout Standard -Space +Space's \begin_inset space ~ \end_inset @@ -11508,6 +12996,7 @@ Space \begin_inset CommandInset ref LatexCommand ref reference "subsec:Variable-Space" +nolink "false" \end_inset @@ -11516,15 +13005,11 @@ reference "subsec:Variable-Space" \begin_inset space ~ \end_inset -9 seems to produce no space. +9 appears to produce no space. It is displayed red in \SpecialChar LyX - contrary to the other sizes, because it is a negative - space. + contrary to the other sizes, + because it is a negative space. There are two more negative spaces: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -11577,7 +13062,7 @@ Number of \family sans Space \family default - keystrokes after inserting the protected space + keystrokes after inserting the non-breaking space \end_layout \end_inset @@ -11645,19 +13130,8 @@ Result \begin_layout Standard Negative spaces can lead to characters overlapping each other. - Thus they can be used to enforce ligatures, which are e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space \space{} -\end_inset - -useful for summation operators: -\begin_inset Separator parbreak -\end_inset - - + Thus they can be used to enforce ligatures, + which are useful for things such as summation operators: \end_layout \begin_layout Standard @@ -11768,14 +13242,13 @@ f_kl \begin_layout Standard \noindent -Relations like for example equal signs, are always surrounded by space. - To suppress this, the equal sign is placed into a \SpecialChar TeX +Relational operators, + for example equal or less than signs, + are always surrounded by space. + To suppress this, + the operator is placed into a \SpecialChar TeX brace. The following example demonstrates this: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -11790,7 +13263,7 @@ Relations like for example equal signs, are always surrounded by space. \begin_inset Text \begin_layout Plain Layout -normal equation +Normal equation \end_layout \end_inset @@ -11813,7 +13286,7 @@ normal equation \begin_inset Text \begin_layout Plain Layout -equation without space +Equation without space \end_layout \end_inset @@ -11840,7 +13313,8 @@ equation without space \begin_layout Standard \noindent -The command for the last formula is: +The command for the last formula is: + \series bold A \backslash @@ -11859,9 +13333,11 @@ B \end_layout \begin_layout Standard -Spaces are needed for physical units, because the space between the value - and the unit is the smallest one and not a normal space. - For units in text, the smallest space is inserted via the menu +Another example of controlled spaces is physical units. + The space between a value and its unit is smaller than a normal space, + typically a thin space is used. + For units in text, + the smaller space is inserted via the menu \family sans Insert\SpecialChar menuseparator Formatting\SpecialChar menuseparator @@ -11908,7 +13384,7 @@ h \begin_inset Text \begin_layout Plain Layout -space between value and unit +Space between value and unit \end_layout \end_inset @@ -11936,7 +13412,7 @@ h \begin_inset Text \begin_layout Plain Layout -smallest space between value and unit +Thin space between value and unit \end_layout \end_inset @@ -11968,10 +13444,11 @@ texorpdfstring{ status collapsed \begin_layout Plain Layout -for vertical space in formulas see +For vertical space in formulas see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Line-Separation" +nolink "false" \end_inset @@ -12008,6 +13485,7 @@ texorpdfstring is in section \begin_inset CommandInset ref LatexCommand ref reference "subsec:Formulas-in-Section" +nolink "false" \end_inset @@ -12025,10 +13503,32 @@ name "subsec:Variable-Space" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Space ! horizontal ! variable +Space +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +horizontal +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +variable +\end_layout + +\end_inset + + \end_layout \end_inset @@ -12045,18 +13545,40 @@ hspace \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! H ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +H +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash hspace \end_layout \end_inset + +\end_layout + +\end_inset + . - Then a long + A long \begin_inset Quotes eld \end_inset @@ -12072,8 +13594,8 @@ hspace \begin_inset Quotes erd \end_inset - appears. - The length can be specified by left-clicking on the + will appear, + the length of which can be specified by left-clicking on the \begin_inset Quotes eld \end_inset @@ -12091,7 +13613,8 @@ hspace . The length may also be negative. - When a space would be the first character in a line it would be omitted. + If the space is the first character in a line, + it will ordinarily be omitted. To force its output use the command \series bold @@ -12128,7 +13651,8 @@ Protect \begin_inset Newline newline \end_inset -To insert as much space as is available, the command +To insert as much space as is available, + the command \series bold \backslash @@ -12136,14 +13660,36 @@ hfill \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! H ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +H +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash hfill \end_layout +\end_inset + + +\end_layout + \end_inset is used. @@ -12285,17 +13831,17 @@ B=B \end_layout \begin_layout Standard -In the last example the available space is given by the longest column entry - of the table. - In an inline formula the space depends on the length of the line in which - +In the last example the available space is given by the longest column entry of the table. + In an inline formula the space depends on the length of the line in which \series bold \backslash hfill \series default is inserted. - Thus, when the line uses the full width, no space will be created. + Thus, + when the line uses the full width, + no space will be created. \series bold @@ -12311,6 +13857,7 @@ Indented \begin_inset CommandInset ref LatexCommand ref reference "sec:Formula-Styles" +nolink "false" \end_inset @@ -12324,7 +13871,9 @@ Besides \backslash hfill \series default -, there are the commands +, + there are also commands, + \series bold \backslash @@ -12334,12 +13883,15 @@ dotfill \series bold \backslash -hrulefill +hrulefill, + \series default - that fill the space with a pattern, see + that fill the space with a pattern. + See \begin_inset CommandInset ref LatexCommand ref reference "subsec:Ellipses" +nolink "false" \end_inset @@ -12347,7 +13899,8 @@ reference "subsec:Ellipses" \end_layout \begin_layout Standard -For text, variable space can be inserted via the menu +For text, + variable space can be inserted via the menu \family sans Insert\SpecialChar menuseparator Formatting\SpecialChar menuseparator @@ -12382,12 +13935,24 @@ maximum space. \end_layout \begin_layout Subsection -Space besides inline Formulas +Space Besides Inline Formulas \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Space ! besides inline formulas +Space +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +besides inline formulas +\end_layout + +\end_inset + + \end_layout \end_inset @@ -12396,8 +13961,7 @@ Space ! besides inline formulas \end_layout \begin_layout Standard -The space that surrounds inline formulas can be adjusted with the length - +The space that surrounds inline formulas can be adjusted with the length \series bold \backslash @@ -12405,16 +13969,38 @@ mathsurround \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! M ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +M +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash mathsurround \end_layout \end_inset + +\end_layout + +\end_inset + . The value of a length is set with the command \series bold @@ -12424,14 +14010,36 @@ setlength \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash setlength \end_layout +\end_inset + + +\end_layout + \end_inset which has the following scheme: @@ -12456,7 +14064,8 @@ mathsurround \begin_inset space \thinspace{} \end_inset -mm, the command +mm, + the command \end_layout \begin_layout Standard @@ -12522,7 +14131,8 @@ mathsurround}{0pt} \end_layout \begin_layout Standard -To return to the predefined value, +To return to the predefined value, + \series bold \backslash @@ -12535,16 +14145,11 @@ mathsurround pt. \end_layout -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - \begin_layout Section Boxes and Frames \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -12555,27 +14160,17 @@ Boxes \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Frames | see -\begin_inset ERT -status collapsed +Frames +\begin_inset IndexMacro see +status open \begin_layout Plain Layout - -{ -\end_layout - -\end_inset - Boxes -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset @@ -12614,10 +14209,22 @@ name "subsec:Boxes-with-Frame" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Boxes ! with frame +Boxes +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +with frame +\end_layout + +\end_inset + + \end_layout \end_inset @@ -12634,14 +14241,36 @@ fbox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! F ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +F +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash fbox \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -12652,22 +14281,44 @@ boxed \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash boxed \end_layout \end_inset + +\end_layout + +\end_inset + . \end_layout \begin_layout Standard -When one of these commands is inserted in a formula, a blue box appears - within a frame to enter formula parts. +When one of these commands is inserted in a formula, + a blue box appears within a frame to enter formula parts. For \series bold @@ -12678,15 +14329,16 @@ fbox \family sans Ctrl+M \family default - within this box, because the box content will otherwise be treated as mathemati -cal text. + within this box, + because the box content will otherwise be treated as mathematical text. When \series bold \backslash boxed \series default - is used, a new formula is automatically created inside the frame. + is used, + a new formula is automatically created inside the frame. \end_layout \begin_layout Standard @@ -12696,16 +14348,14 @@ The command \backslash fbox \series default - is not suitable to frame displayed formulas because the formula will always - be set in the size of the text. - + is not suitable to frame displayed formulas because the formula will always be set in the size of the documents text. + Conversly \series bold \backslash boxed \series default - is in contrary not suitable to frame inline formulas, because the formula - will always be set in the size of a displayed formula. + is not suitable to frame inline formulas because the formula will always be set in the size of a displayed formula. \end_layout \begin_layout Standard @@ -12723,17 +14373,39 @@ framebox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! F ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +F +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash framebox \end_layout \end_inset - where additionally the frame width and the alignment can be specified. + +\end_layout + +\end_inset + + with which the frame width and the alignment can be specified. \series bold @@ -12765,16 +14437,16 @@ r \emph on l \emph default - left aligns, + left aligns and \emph on r \emph default right aligns the formula in the box. - When no position is given, the formula will be centered. + If no position is given the formula will be centered. \begin_inset Newline newline \end_inset -If no width is given, also no position can be given. +If width is not given then position can not be given. In this case the frame width is adjusted to the box content like for \series bold @@ -12791,9 +14463,9 @@ When the command \backslash framebox \series default - is inserted, a box appears containing three blue boxes. - The first two boxes are surrounded by brackets and denote the two optional - arguments. + is inserted, + a box appears containing three blue boxes. + The first two boxes are surrounded by brackets and denote the two optional arguments. The third box is for formula parts like for \series bold @@ -12801,10 +14473,6 @@ framebox fbox \series default . -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -12996,10 +14664,8 @@ B \end_layout \begin_layout Standard -The frame thickness can also be adjusted. - To do this the following commands have to be inserted in \SpecialChar TeX - mode before the - formula +To adjust the frame thickness the following commands are inserted in \SpecialChar TeX + mode before the formula: \end_layout \begin_layout Standard @@ -13048,11 +14714,10 @@ distance \begin_inset Quotes erd \end_inset - specifies the minimal distance between the frame and the first character - in the box. - An example for this is the following framed formula: + specifies the minimum distance between the frame and the first character in the box. + An example of this is given in the following framed formula: \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout @@ -13101,11 +14766,12 @@ fboxsep \begin_layout Standard were inserted in \SpecialChar TeX mode. - The given values are used for all following boxes. + These values are then used for all following boxes. \end_layout \begin_layout Standard -To return to the standard frame size, the command +To return to the standard frame size, + the command \end_layout \begin_layout Standard @@ -13131,7 +14797,7 @@ fboxsep \series default \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout @@ -13153,7 +14819,7 @@ is inserted in \SpecialChar TeX \end_layout \begin_layout Subsection -Boxes without Frame +Boxes Without Frame \begin_inset CommandInset label LatexCommand label name "subsec:Boxes-without-Frame" @@ -13162,10 +14828,22 @@ name "subsec:Boxes-without-Frame" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Boxes ! without frame +Boxes +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +without frame +\end_layout + +\end_inset + + \end_layout \end_inset @@ -13174,7 +14852,8 @@ Boxes ! without frame \end_layout \begin_layout Standard -For boxes without a frame there are the following box commands: +For boxes without a frame the following box commands: + \series bold \backslash @@ -13182,17 +14861,40 @@ mbox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! M ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +M +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash mbox \end_layout \end_inset -, + +\end_layout + +\end_inset + +, + \series bold \backslash @@ -13200,14 +14902,36 @@ makebox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! M ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +M +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash makebox \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -13218,10 +14942,27 @@ raisebox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! R ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash raisebox \end_layout @@ -13231,6 +14972,11 @@ raisebox \end_layout +\end_inset + + are available. +\end_layout + \begin_layout Standard With \series bold @@ -13239,8 +14985,8 @@ With raisebox \series default a box can be super- or subscripted. - But in contrary to normal super- and subscripting, the characters in the - box keep their font size. + But in contrary to normal super- and subscripting, + the characters in the box keep their font size. \series bold @@ -13259,17 +15005,19 @@ raisebox{height}{box content} \end_layout \begin_layout Standard -When the box should contain a formula, an extra formula is needed like for - +When the box contains a formula, + an extra formula is needed like for \series bold \backslash fbox \series default . - -\series medium +\end_layout +\begin_layout Standard + +\series medium \begin_inset Note Greyedout status open @@ -13277,6 +15025,7 @@ status open \series bold Note: + \series default For \series bold @@ -13301,12 +15050,6 @@ raisebox \end_inset -\series default - -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -13483,7 +15226,8 @@ makebox \backslash framebox \series default -, with the difference that there is no frame. +, + except that there is no frame. \end_layout \begin_layout Subsection @@ -13496,10 +15240,22 @@ name "subsec:Colored-Boxes" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Boxes ! colored +Boxes +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +colored +\end_layout + +\end_inset + + \end_layout \end_inset @@ -13508,7 +15264,8 @@ Boxes ! colored \end_layout \begin_layout Standard -To be able to use all commands explained in this section, the \SpecialChar LaTeX +To be able to use all commands explained in this section, + the \SpecialChar LaTeX -package \series bold color @@ -13531,15 +15288,27 @@ color \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! color +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +color \end_layout \end_inset - has to be loaded in the \SpecialChar LaTeX + +\end_layout + +\end_inset + + must be loaded in the \SpecialChar LaTeX -preamble with the line \begin_inset Foot status collapsed @@ -13553,8 +15322,8 @@ When text is colored somewhere in the document with a predefined color, color \series default automatically. - Thus it is possible that the package is loaded twice, but this does not - cause problems. + Thus it is possible that the package is loaded twice, + but this does not cause problems. \end_layout \end_inset @@ -13564,7 +15333,8 @@ color status collapsed \begin_layout Plain Layout -To avoid that the package is loaded twice, a macro was inserted to the \SpecialChar LaTeX +To avoid that the package is loaded twice, + a macro was inserted to the \SpecialChar LaTeX -preamble. \end_layout @@ -13585,7 +15355,8 @@ usepackage{color} \begin_inset VSpace medskip \end_inset -To color boxes, the command +To create color boxes, + the command \series bold \backslash @@ -13593,14 +15364,36 @@ colorbox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! C ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +C +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash colorbox \end_layout +\end_inset + + +\end_layout + \end_inset is used in the following scheme: @@ -13622,7 +15415,8 @@ The box content can also be a box and a colorbox \series default can also be part of another box (see the 2nd and 3rd example). - When the box should contain a formula, an extra formula has to be created, + When the box should contain a formula, + an extra formula has to be created, the same way as for \series bold @@ -13657,36 +15451,40 @@ One of the following predefined colors can be chosen: \series bold black \series default -, +, + \series bold blue \series default -, +, + \series bold cyan \series default -, +, + \series bold green \series default -, +, + \series bold magenta \series default -, +, + \series bold red \series default -, +, + \series bold white \series default and \series bold yellow -\series default - -\begin_inset Separator parbreak +\begin_inset VSpace smallskip \end_inset @@ -13769,6 +15567,10 @@ fbox \begin_inset space \textvisiblespace{} \end_inset + +\begin_inset Formula $\gets\gets$ +\end_inset + A=B \end_layout @@ -13799,6 +15601,10 @@ fbox \end_inset +\begin_inset Formula $\gets\gets$ +\end_inset + + \backslash colorbox{green \begin_inset Formula $\to$ @@ -13843,6 +15649,10 @@ C=D \end_inset +\begin_inset VSpace smallskip +\end_inset + + \end_layout \begin_layout Standard @@ -13852,9 +15662,10 @@ C=D \backslash colorbox \series default - only colors the box but not the characters in the box. - To color all characters, the whole formula is highlighted and the desired - color is chosen in the + only colors the box background, + not the characters in the box. + To color all characters, + the whole formula is highlighted and the desired color is chosen in the \family sans Text \begin_inset space ~ @@ -13876,12 +15687,12 @@ Text \begin_inset space ~ \end_inset -Style\SpecialChar menuseparator +Properties\SpecialChar menuseparator Customized \family default . - The formula number then has the same color as the formula. - When the formula number should get another color than the formula characters, + The formula number will have the same color as the formula. + If a different color for the formula number is desired, the color must be changed within the formula. \end_layout @@ -13917,6 +15728,7 @@ Formula \begin_inset CommandInset ref LatexCommand eqref reference "eq:red" +nolink "false" \end_inset @@ -13928,6 +15740,7 @@ Formula \begin_inset CommandInset ref LatexCommand eqref reference "eq:redgreen" +nolink "false" \end_inset @@ -13939,7 +15752,8 @@ reference "eq:redgreen" \begin_inset VSpace bigskip \end_inset -To color the frame different than the rest of the box, the command +To color the frame different than the rest of the box, + the command \series bold \backslash @@ -13947,14 +15761,36 @@ fcolorbox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! F ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +F +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash fcolorbox \end_layout +\end_inset + + +\end_layout + \end_inset is used in the following scheme: @@ -13982,13 +15818,15 @@ fcolorbox colorbox \series default . - The frame width is set, like for + The frame width is set, + like for \series bold \backslash framebox \series default -, with +, + with \series bold \backslash @@ -14072,7 +15910,8 @@ fcolorbox{cyan \begin_inset VSpace bigskip \end_inset -To use other colors than the predefined ones, they have to be defined first. +To use colors other than predefined ones, + they must be defined first. \end_layout \begin_layout Standard @@ -14098,14 +15937,17 @@ darkgreen \backslash definecolor{darkgreen}{cmyk}{0.5, + \series default \series bold 0, + \series default \series bold 1, + \series default \series bold @@ -14113,10 +15955,27 @@ definecolor{darkgreen}{cmyk}{0.5, \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! D ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash definecolor \end_layout @@ -14124,6 +15983,11 @@ definecolor \end_inset +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -14131,15 +15995,17 @@ definecolor \series bold cmyk \series default - is the color space that denotes the colors + is the color space denoting the colors \series bold cyan \series default -, +, + \series bold magenta \series default -, +, + \series bold yellow \series default @@ -14148,8 +16014,7 @@ yellow black \series default . - The four comma separated numbers are the portion factor for the corresponding - colors of the color space. + The four comma separated numbers are the portion factors for the corresponding colors of the color space. The factors can be in the range of 0 \begin_inset space \thinspace{} \end_inset @@ -14161,13 +16026,14 @@ black 1. Instead of \series bold -cmyk +cmyk, + \series default - also the color space + the color space \series bold rgb \series default - can be used for definitions. + can also be used for definitions. \series bold rgb @@ -14176,7 +16042,8 @@ rgb \series bold red \series default -, +, + \series bold green \series default @@ -14184,8 +16051,8 @@ green \series bold blue \series default -, so that there are in this case three portion factors for the corresponding - colors. +, + so there are three portion factors for the corresponding colors. Furthermore there is the color space \series bold gray @@ -14194,7 +16061,7 @@ gray \end_layout \begin_layout Standard -As example a framed box with the new defined color +As an example here is a framed box with the newly defined color \series bold darkgreen \series default @@ -14214,8 +16081,7 @@ yellow \end_layout \begin_layout Standard -Self-defined colors can also be used for text with the help of the command - +Self-defined colors can also be used for text with the help of the command \series bold \backslash @@ -14223,10 +16089,22 @@ textcolor \series default : \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Text ! colored +Text +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +colored +\end_layout + +\end_inset + + \end_layout \end_inset @@ -14278,14 +16156,36 @@ textcolor \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash textcolor \end_layout +\end_inset + + +\end_layout + \end_inset is used in the scheme @@ -14307,10 +16207,22 @@ name "subsec:Paragraph-Boxes" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Boxes ! as paragraph +Boxes +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +as paragraph +\end_layout + +\end_inset + + \end_layout \end_inset @@ -14319,8 +16231,9 @@ Boxes ! as paragraph \end_layout \begin_layout Standard -A box that can contain several lines and paragraphs, a so-called paragraph - box (parbox), can be created with the menu +A box that can contain several lines and paragraphs, + a so-called paragraph box (parbox), + can be created with the menu \family sans Insert\SpecialChar menuseparator Box @@ -14367,7 +16280,8 @@ This is a paragraph box. \begin_inset space \thinspace{} \end_inset -cm long and can also contain formulas: +cm long and can also contain formulas: + \begin_inset Formula $\int A\,\mathrm{d}s=C$ \end_inset @@ -14389,27 +16303,35 @@ cm long and can also contain formulas: \begin_layout Standard Such a box is created by right-clicking on the gray box inset. A dialog pops up showing the box properties. - In our case set: + In our case set: + \emph on Decoration \emph default -: Rectangular box, +: + Rectangular box, + \emph on Inner Box \emph default -: Parbox, +: + Parbox, + \emph on Width \emph default -: 5 +: + 5 \begin_inset space \thinspace{} \end_inset -cm, +cm, + \emph on Vertical Box Alignment \emph default -: Middle +: + Middle \end_layout \begin_layout Standard @@ -14425,14 +16347,36 @@ parbox \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! P ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +P +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash parbox \end_layout +\end_inset + + +\end_layout + \end_inset which has the following scheme: @@ -14468,8 +16412,7 @@ bottom \begin_inset Quotes erd \end_inset - means that the box is aligned within the surrounding text with its last - line. + means that the box is aligned within the surrounding text with its last line. With \emph on t @@ -14483,8 +16426,9 @@ top \end_inset this is done with the first line. - When no position is given, the box will be vertically centered, see section - + When no position is given, + the box will be vertically centered, + see section \emph on Boxes \emph default @@ -14503,9 +16447,11 @@ Objects \begin_inset VSpace bigskip \end_inset -To frame formulas completely, including the formula number, the formula - must be set into a parbox. - To do this, the command +To frame formulas completely, + including the formula number, + the formula must be set into a parbox. + To do this, + the command \series bold \backslash @@ -14529,24 +16475,43 @@ linewidth \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash linewidth \end_layout \end_inset - is hereby the line width set for the document. - Because the frame is outside the parbox, 2 -\begin_inset space \thinspace{} + +\end_layout + \end_inset -times the frame separation and the frame thickness must be subtracted from - the line width. - To be able to multiply and subtract in arguments, the \SpecialChar LaTeX + is the line width set for the document. + Because the frame is outside the parbox, + two times the frame separation and the frame thickness must be subtracted from the line width. + To be able to multiply and subtract in arguments, + the \SpecialChar LaTeX -package \series bold calc @@ -14568,10 +16533,22 @@ calc \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! calc +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +calc +\end_layout + +\end_inset + + \end_layout \end_inset @@ -14681,7 +16658,8 @@ As a parbox is used as the argument of \backslash fbox \series default -, there is in this case no difference between +, + there is in this case no difference between \series bold \backslash @@ -14701,7 +16679,8 @@ boxed \end_inset Paragraph boxes are very useful to comment formulas directly. - To do this, + To do this, + \series bold \backslash @@ -14724,6 +16703,7 @@ tag \begin_inset CommandInset ref LatexCommand ref reference "subsec:User-defined-Numbering" +nolink "false" \end_inset @@ -14777,8 +16757,7 @@ status collapsed \begin_layout Standard Such a formula must be inserted completely in \SpecialChar TeX mode because \SpecialChar LyX - does not yet - support the command + does not yet support the command \series bold \backslash @@ -14811,7 +16790,8 @@ When the formula style \series bold Indented \series default - is used, + is used, + \series bold \backslash @@ -14830,6 +16810,7 @@ hfill \begin_inset CommandInset ref LatexCommand ref reference "sec:Formula-Styles" +nolink "false" \end_inset @@ -14858,7 +16839,7 @@ reference "sec:Formula-Styles" \backslash ] \series default - hereby create a displayed formula. + create a displayed formula. \end_layout \begin_layout Standard @@ -14890,6 +16871,8 @@ commented \begin_layout Section Operators \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -14911,16 +16894,30 @@ name "subsec:Big-Operators" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Operators ! big +Operators +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +big +\end_layout + +\end_inset + + \end_layout \end_inset \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -14931,6 +16928,8 @@ Sums \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -14943,9 +16942,14 @@ Integrals \end_layout \begin_layout Standard -To be able to use all integral operators listed here, the option +To be able to use all of the integral operators listed here, + the +\family sans +Load automatically +\family default + option for the \family sans -Use esint package automatically + esint package \family default must be set in the document settings under \family sans @@ -14997,10 +17001,27 @@ Result \backslash int \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! I ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +I +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash int \end_layout @@ -15008,6 +17029,11 @@ int \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -15296,10 +17322,27 @@ Result \backslash sum \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash sum \end_layout @@ -15307,6 +17350,11 @@ sum \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -15333,20 +17381,29 @@ sum \backslash prod \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! P ! -\backslash -prod -\begin_inset ERT -status collapsed +Commands +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout +P +\end_layout + +\end_inset + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout \backslash -vspace{4mm} +prod \end_layout \end_inset @@ -15596,49 +17653,41 @@ arg "math-insert \\intop" \end_layout \begin_layout Standard -The operators are called big because they are bigger than the sometimes - equal looking binary operators. +The operators are called big because they are bigger than the sometimes equal looking binary operators. All big operators can have limits as described in the next subsection. \end_layout \begin_layout Standard -For all integral operators there is a second version available, ending in - +For all integral operators there is a second version available, + ending in \series bold op \series default -: +: + \series bold \backslash intop \series default -, +, + \series bold \backslash ointop -\series default - etc.. - These operators are different from -\series bold - -\backslash -int \series default etc. -\begin_inset space \space{} -\end_inset - -in the style the operator limits are displayed, see + These operators differ in the style the operator limits are displayed, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Operator-Limits" +nolink "false" \end_inset . - \end_layout \begin_layout Subsubsection* @@ -15650,7 +17699,7 @@ The letter \emph on d \emph default - in an integral is an operator, that therefore has to be set upright. + in an integral is an operator that has to be set upright. This is done by highlighting the \emph on d @@ -15674,6 +17723,7 @@ see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Font-Styles" +nolink "false" \end_inset @@ -15683,16 +17733,18 @@ reference "subsec:Font-Styles" \end_inset . - Finally the smallest space is inserted before the + Also the smallest space is inserted before the \emph on d \emph default -, as this is usual for operators. +, + as this is usual for operators. An example: \end_layout \begin_layout Standard -incorrect: +incorrect: + \begin_inset Formula $\int A(x)dx$ \end_inset @@ -15710,7 +17762,8 @@ in \end_inset -correct: +correct: + \begin_inset Formula $\int A(x)\,\mathrm{d}x$ \end_inset @@ -15718,7 +17771,7 @@ correct: \end_layout \begin_layout Standard -For multiple integrals there are the following commands: +The following commands exist for multiple integrals: \begin_inset VSpace medskip \end_inset @@ -15960,10 +18013,17 @@ name "subsec:Operator-Limits" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Operators ! Limits +Operators +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +Limits \end_layout \end_inset @@ -15971,14 +18031,15 @@ Operators ! Limits \end_layout -\begin_layout Standard -Limits are created by super- and subscripts: -\begin_inset Separator parbreak \end_inset \end_layout +\begin_layout Standard +Limits are created by super- and subscripts: +\end_layout + \begin_layout Standard \align center \begin_inset Tabular @@ -16053,15 +18114,14 @@ A(x) \end_layout \begin_layout Standard -Limits of inline formulas are set right beside the operator. - Limits in displayed formulas are set above or below the operator, except - for integral limits. +Limits of inline formulas are set on the right side of the operator. + Limits in displayed formulas are set above or below the operator, + except for integral limits. \end_layout \begin_layout Standard -To force that the limits are set beside the operator, the cursor is set - directly behind the operator and the limits type is changed with the menu - +To force the limits to be set beside the operator, + the cursor is placed directly behind the operator and the limits type is changed with the menu \family sans Edit\SpecialChar menuseparator Math\SpecialChar menuseparator @@ -16084,7 +18144,7 @@ arg "math-limits" \end_layout \begin_layout Standard -The default limits type is this: +The default displayed formulas limits type is this: \begin_inset Formula \[ \sum_{x=0}^{\infty}\frac{1}{x^{2}} @@ -16092,7 +18152,7 @@ The default limits type is this: \end_inset -This is how it looks when the limits type was changed to +This is how it looks when the limits type is changed to \family sans \series bold Inline @@ -16101,12 +18161,13 @@ Inline : \begin_inset Formula \[ -\sum\nolimits _{x=0}^{\infty}\frac{1}{x^{2}} +\sum\nolimits_{x=0}^{\infty}\frac{1}{x^{2}} \] \end_inset -For integrals, except those ending with +For integrals, + except those ending with \series bold op \series default @@ -16116,22 +18177,24 @@ op \backslash intop \series default -, +, + \series bold \backslash ointop \series default - etc., the limits are by default set beside the operator. + etc., + the limits by default are set beside the operator. But for multiple integrals the limits are often set below the operator. - In the following example the limits type was therefore set to + In the following example the limits type was set to \series bold Display \series default and so set below the integrals: \begin_inset Formula \begin{equation} -\iiint\limits _{V}X\,\mathrm{d}V=U\label{eq:VolInt} +\iiint\limits_{V}X\,\mathrm{d}V=U\label{eq:VolInt} \end{equation} \end_inset @@ -16143,7 +18206,8 @@ Display \begin_inset VSpace medskip \end_inset -To specify conditions for limits, the commands +To specify conditions for limits, + the commands \series bold \backslash @@ -16151,14 +18215,36 @@ subarray \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash subarray \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -16169,24 +18255,45 @@ substack \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash substack \end_layout +\end_inset + + +\end_layout + \end_inset are used. - To create for example this expression + To create this expression \begin_inset Formula \begin{equation} \sum_{\begin{subarray}{c} 0 + + \begin_inset Text @@ -18252,6 +20622,15 @@ Command Result \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Shortcut +\end_layout + \end_inset @@ -18285,6 +20664,15 @@ ABC \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -18316,6 +20704,20 @@ AbC \end_inset +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "shortcut" +arg "font-bold" +\end_inset + + \end_layout \end_inset @@ -18349,6 +20751,20 @@ AbC \end_inset +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "shortcut" +arg "font-boldsymbol" +\end_inset + + \end_layout \end_inset @@ -18384,6 +20800,15 @@ ABC \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -18417,6 +20842,15 @@ AbC \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -18425,15 +20859,16 @@ AbC \end_inset -\begin_inset space \hfill{} -\end_inset - +\end_layout +\begin_layout Standard +\align center \begin_inset Tabular - + + \begin_inset Text @@ -18451,6 +20886,15 @@ Command Result \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Shortcut +\end_layout + \end_inset @@ -18484,6 +20928,15 @@ AbC \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -18515,6 +20968,20 @@ AbC \end_inset +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "shortcut" +arg "font-roman" +\end_inset + + \end_layout \end_inset @@ -18548,6 +21015,20 @@ AbC \end_inset +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "shortcut" +arg "font-sans" +\end_inset + + \end_layout \end_inset @@ -18581,6 +21062,20 @@ AbC \end_inset +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "shortcut" +arg "font-typewriter" +\end_inset + + \end_layout \end_inset @@ -18618,13 +21113,18 @@ ABC \end_inset - - + +\begin_inset Text -\end_inset +\begin_layout Plain Layout +- +\end_layout +\end_inset + + + -\begin_inset space \hfill{} \end_inset @@ -18638,6 +21138,7 @@ status open \series bold Note: + \series default The styles \series bold @@ -18645,7 +21146,8 @@ Note: \backslash mathbb \series default -, +, + \series bold \backslash @@ -18666,17 +21168,17 @@ mathscr \end_layout \begin_layout Standard -Predefined is the style +The style \series bold \backslash mathnormal \series default -. + is predefined. \end_layout \begin_layout Standard -The style commands work also for letters in mathematical constructs: +The style commands also work for letters in mathematical constructs: \begin_inset Formula \[ \mathfrak{A=\frac{b}{C}} @@ -18688,16 +21190,15 @@ The style commands work also for letters in mathematical constructs: \end_layout \begin_layout Standard -Characters in mathematical text don't appear in a math font style but in - the text font style +Characters in mathematical text don't appear in a math font style but in the text font style \series bold \backslash textrm \series default . - That their style can't be set correctly via the text style dialog is a - bug in \SpecialChar LyX + Note that their style can't be set correctly via the text style dialog. + This is a known bug in \SpecialChar LyX . \begin_inset Foot status collapsed @@ -18706,7 +21207,8 @@ status collapsed \begin_inset CommandInset href LatexCommand href name "LyX-bug #4629" -target "http://www.lyx.org/trac/ticket/4629" +target "https://www.lyx.org/trac/ticket/4629" +literal "false" \end_inset @@ -18719,13 +21221,16 @@ target "http://www.lyx.org/trac/ticket/4629" \end_layout \begin_layout Standard -Instead of the style commands the dialog +Instead of the style commands, + \family sans Edit\SpecialChar menuseparator Math\SpecialChar menuseparator Text Style \family default - or the toolbar button + dialog, + or the toolbar button, + \begin_inset Info type "icon" arg "math-insert \\font" @@ -18744,10 +21249,22 @@ name "subsec:Bold-Formulas" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! bold +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +bold +\end_layout + +\end_inset + + \end_layout \end_inset @@ -18756,16 +21273,16 @@ Formula ! bold \end_layout \begin_layout Standard -To make a complete formula bold, the command +To make a complete formula bold, + the command \series bold \backslash mathbf \series default - from the previous subsection cannot be used, because it doesn't work for - small Greek letters. - Furthermore it prints Latin letters always upright, like in the following - equation: + from the previous subsection cannot be used because it doesn't work for small Greek letters. + Additionally it always prints Latin letters upright, + as in the following equation: \end_layout \begin_layout Standard @@ -18780,7 +21297,8 @@ mathbf \end_layout \begin_layout Standard -To display the formula correctly, the command +To display the formula correctly, + the command \series bold \backslash @@ -18807,19 +21325,42 @@ boldmath \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash boldmath \end_layout +\end_inset + + +\end_layout + \end_inset in \SpecialChar TeX mode. - To end the environment, the command + To end the environment, + the command \series bold \backslash @@ -18827,14 +21368,36 @@ unboldmath \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! U ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +U +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash unboldmath \end_layout +\end_inset + + +\end_layout + \end_inset is inserted in \SpecialChar TeX @@ -18878,10 +21441,22 @@ unboldmath \begin_layout Subsection Colored Formulas \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! colored +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +colored +\end_layout + +\end_inset + + \end_layout \end_inset @@ -18890,8 +21465,8 @@ Formula ! colored \end_layout \begin_layout Standard -Formulas can be colored like normal text: Highlight a formula or a formula - part and use the +Formulas can be colored like normal text: + Highlight a formula or a formula part and use the \family sans Text Style \family default @@ -18912,6 +21487,7 @@ You can also define your own colors as described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Colored-Boxes" +nolink "false" \end_inset @@ -18925,14 +21501,36 @@ textcolor \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash textcolor \end_layout +\end_inset + + +\end_layout + \end_inset in the scheme @@ -18987,8 +21585,7 @@ status collapsed \begin_layout Standard Due to a bug in \SpecialChar LyX - only complete formulas can be colored with self-defined - colors. + only complete formulas can be colored with self-defined colors. \begin_inset Foot status collapsed @@ -18996,7 +21593,8 @@ status collapsed \begin_inset CommandInset href LatexCommand href name "LyX-bug #5269" -target "http://www.lyx.org/trac/ticket/5269" +target "https://www.lyx.org/trac/ticket/5269" +literal "false" \end_inset @@ -19018,10 +21616,22 @@ name "subsec:Font-Sizes" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Font ! size +Font +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +size +\end_layout + +\end_inset + + \end_layout \end_inset @@ -19030,8 +21640,8 @@ Font ! size \end_layout \begin_layout Standard -For characters in formulas there are, analog to characters in text, the - following size commands: +As with characters in text, + the following size commands are available for formula characters: \end_layout \begin_layout Standard @@ -19041,37 +21651,43 @@ For characters in formulas there are, analog to characters in text, the \backslash Huge \series default -, +, + \series bold \backslash huge \series default -, +, + \series bold \backslash LARGE \series default -, +, + \series bold \backslash Large \series default -, +, + \series bold \backslash large \series default -, +, + \series bold \backslash normalsize \series default -, +, + \series bold \backslash @@ -19087,7 +21703,8 @@ small \backslash footnotesize \series default -, +, + \series bold \backslash @@ -19101,27 +21718,28 @@ tiny \end_layout \begin_layout Standard -The size produced by the commands depends on the document font size, which - corresponds to the command +The font size produced by the commands depends on the document's original font size, + which corresponds to the command \series bold \backslash normalsize \series default . - The other commands produce smaller or larger sizes than + The other commands produce character sizes smaller or larger than \series bold \backslash normalsize \series default . - The font size can however not exceed a certain value. - Is for example the document font size 12 + There are however limits to how small or large the font size can be changed. + If for example the document font size is 12 \begin_inset space \thinspace{} \end_inset -pt, the command +pt, + the command \series bold \backslash @@ -19134,36 +21752,31 @@ Huge huge \series default . - \end_layout \begin_layout Standard A size command is inserted in \SpecialChar TeX - mode before the formula and sets the size - for all following formula and text characters. - To switch back to the initial size, the command + mode before a formula and sets the size for all of the following formulas and text characters. + To switch back to the initial size, + the command \series bold \backslash normalsize \series default - is inserted behind the formula in \SpecialChar TeX + is inserted behind the formula, + again in \SpecialChar TeX mode. \end_layout \begin_layout Standard -Within a formula the size can be changed using the following size commands - or the toolbar button +Size can also be changed within a formula using the following size commands or the toolbar button \begin_inset Info type "icon" arg "math-insert \\style" \end_inset : -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -19203,10 +21816,27 @@ Result \backslash displaystyle \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! D ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash displaystyle \end_layout @@ -19214,6 +21844,11 @@ displaystyle \end_inset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -19314,17 +21949,16 @@ scriptscriptstyle \end_layout \begin_layout Standard -After entering these commands, a blue box appears in which the formula parts - are inserted. +After entering these commands, + a blue box appears in which the formula parts are inserted. \end_layout \begin_layout Standard -There is a further method to change the font size, that though only works - for symbols or letters in mathematical text. - To use it, one of the above text size commands is inserted in mathematical - text. - All following characters until the end of the mathematical text or until - another size command will have the selected size. +There is another method for changing the font size, + although it only works for symbols or letters in mathematical text. + To use it, + one of the above text size commands is inserted into mathematical text. + All characters until the end of the mathematical text or until another size command will have the selected size. Two examples: \begin_inset VSpace -2mm \end_inset @@ -19356,7 +21990,7 @@ A=\frac{B}{c}\cdot\maltese \begin_inset Formula \[ -\maltese A\textrm{\Large\maltese\textit{A}}\textrm{\tiny\maltese\textit{A}} +\maltese A\textrm{{\Large \maltese\textit{A}}}\textrm{{\tiny \maltese\textit{A}}} \] \end_inset @@ -19375,13 +22009,10 @@ normalsize \end_inset -\end_layout - -\begin_layout Standard \begin_inset VSpace medskip \end_inset -Before both formulas the command +Before the first formula the command \series bold \backslash @@ -19461,13 +22092,15 @@ A \end_layout \begin_layout Standard -If a symbol cannot be displayed in different sizes, it will always be displayed - in the default size. +If a symbol cannot be displayed in different sizes, + it will always be displayed in the default size. \end_layout \begin_layout Section Greek Letters \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -19480,26 +22113,38 @@ Greek letters \end_layout \begin_layout Standard -Greek letters can also be inserted via the toolbar button +Greek letters can be inserted via the toolbar button \begin_inset Info type "icon" arg "math-insert \\alpha" \end_inset -. - All international typesetting norms purport that Greek letters in math - have to be typeset italic/slanted. - In some languages, like French or Russian, they are nevertheless sometimes - typeset upright. + as well as by command. + All international typesetting norms purport that Greek letters in math have to be typeset italic/slanted. + In some languages, + like French or Russian, + they are nevertheless sometimes typeset upright. \end_layout \begin_layout Subsection Small Letters \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Greek letters ! small +Greek letters +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +small +\end_layout + +\end_inset + + \end_layout \end_inset @@ -20397,10 +23042,11 @@ omega \end_layout \begin_layout Standard -How to create special upright Greek letters is explained in +Creating upright Greek letters is explained in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Upright-small-Greek" +nolink "false" \end_inset @@ -20410,10 +23056,22 @@ reference "subsec:Upright-small-Greek" \begin_layout Subsection Big Letters \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Greek letters ! big +Greek letters +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +big +\end_layout + +\end_inset + + \end_layout \end_inset @@ -20775,10 +23433,10 @@ Omega \begin_inset VSpace medskip \end_inset -That the big Greek letters appear upright is caused by a design bug when - \SpecialChar TeX - was developed. - To get correct italic big letters, begin every command with +The big Greek letters appearing upright is caused by a design bug in \SpecialChar TeX +. + To create correct italic big letters, + begin every command with \series bold var \series default @@ -20814,18 +23472,17 @@ was \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! was -\begin_inset ERT -status collapsed +Packages +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout - - -\backslash -vspace{4mm} +was \end_layout \end_inset @@ -20842,10 +23499,22 @@ vspace{4mm} \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! fixmath +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +fixmath +\end_layout + +\end_inset + + \end_layout \end_inset @@ -20869,10 +23538,22 @@ Then all big Greek letters in a document will automatically be typeset italic. \begin_layout Subsection Bold Letters \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Greek letters ! bold +Greek letters +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +bold +\end_layout + +\end_inset + + \end_layout \end_inset @@ -20890,21 +23571,39 @@ boldsymbol \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! B ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +B +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash boldsymbol \end_layout \end_inset -. -\begin_inset Separator parbreak -\end_inset +\end_layout + +\end_inset +. \end_layout \begin_layout Standard @@ -21023,6 +23722,7 @@ A list with all symbols of most of the \SpecialChar LaTeX \begin_inset CommandInset citation LatexCommand cite key "Symbols" +literal "true" \end_inset @@ -21059,6 +23759,7 @@ texorpdfstring is in section \begin_inset CommandInset ref LatexCommand ref reference "subsec:Formulas-in-Section" +nolink "false" \end_inset @@ -21069,6 +23770,8 @@ reference "subsec:Formulas-in-Section" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -21081,8 +23784,7 @@ Symbols \end_layout \begin_layout Standard -Many of the symbols listed in this section can also be inserted via the - toolbar buttons +Many of the symbols listed in this section can also be inserted via the toolbar buttons \begin_inset Info type "icon" arg "math-insert \\nabla" @@ -21107,10 +23809,22 @@ name "subsec:Mathematical-Symbols" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Symbols ! mathematical +Symbols +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +mathematical +\end_layout + +\end_inset + + \end_layout \end_inset @@ -21932,13 +24646,6 @@ bot \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Subsection @@ -21951,10 +24658,22 @@ name "subsec:Miscellaneous-Symbols" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Symbols ! miscellaneous +Symbols +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +miscellaneous +\end_layout + +\end_inset + + \end_layout \end_inset @@ -22744,10 +25463,12 @@ diagdown \end_layout \begin_layout Standard -Some symbols can be displayed in different sizes, see +Some symbols can be displayed in different sizes, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Font-Sizes" +nolink "false" \end_inset @@ -22757,22 +25478,45 @@ reference "subsec:Font-Sizes" \begin_layout Subsection The Euro-Symbol € \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Symbols ! Euro-symbol +Symbols +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +Euro-symbol +\end_layout + +\end_inset + + \end_layout \end_inset \begin_inset Index idx +range none +pageformat default status collapsed +\begin_layout Plain Layout +\begin_inset IndexMacro sortkey +status open + \begin_layout Plain Layout \backslash -@ + +\end_layout + +\end_inset + + \begin_inset ERT status collapsed @@ -22794,17 +25538,30 @@ officialeuro \end_layout \begin_layout Standard -To use the Euro symbol in formulas, the \SpecialChar LaTeX +To use the Euro symbol in formulas, + the \SpecialChar LaTeX -package \series bold eurosym \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! eurosym +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +eurosym +\end_layout + +\end_inset + + \end_layout \end_inset @@ -22830,22 +25587,44 @@ euro \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! E ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +E +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash euro \end_layout \end_inset + +\end_layout + +\end_inset + . \end_layout \begin_layout Standard -The Euro symbol can directly be inserted with the € key in mathematical - text, without having +The Euro symbol can directly be inserted with the € key in mathematical text, + without having \series bold eurosym \series default @@ -22854,7 +25633,8 @@ eurosym \series bold eurosym \series default - is installed, + is installed, + \series bold \backslash @@ -22870,17 +25650,40 @@ officialeuro \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! O ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +O +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash officialeuro \end_layout \end_inset -, that is only available in \SpecialChar TeX + +\end_layout + +\end_inset + +, + which is also only available in \SpecialChar TeX mode. \end_layout @@ -22917,10 +25720,6 @@ eurosym \begin_layout Standard An overview about the different Euro symbols: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -23169,13 +25968,6 @@ fi \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Section @@ -23188,6 +25980,8 @@ name "sec:Relations" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -23198,27 +25992,17 @@ Relations \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Comparisons|see -\begin_inset ERT -status collapsed +Comparisons +\begin_inset IndexMacro see +status open \begin_layout Plain Layout - -{ -\end_layout - -\end_inset - Relations -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset @@ -23232,7 +26016,7 @@ status collapsed \end_layout \begin_layout Standard -All following relations can also be inserted via the toolbar button +All of the following relations can also be inserted via the toolbar button \begin_inset Info type "icon" arg "math-insert \\leq" @@ -24564,7 +27348,8 @@ triangleleft \backslash triangleright \series default -, respectively. +, + respectively. \end_layout \begin_layout Standard @@ -24580,7 +27365,8 @@ arg "math-insert \\leqq" \end_layout \begin_layout Standard -Relations are, in contrary to symbols, always surrounded by space. +Contrary to symbols, + relations are always surrounded by space. \end_layout \begin_layout Standard @@ -24592,21 +27378,39 @@ stackrel \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash stackrel \end_layout \end_inset -: -\begin_inset Separator parbreak -\end_inset +\end_layout + +\end_inset +: \end_layout \begin_layout Standard @@ -24708,10 +27512,22 @@ name "subsec:Predefined-Functions" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Functions ! predefined +Functions +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +predefined +\end_layout + +\end_inset + + \end_layout \end_inset @@ -24720,11 +27536,14 @@ Functions ! predefined \end_layout \begin_layout Standard -In general, variables are set +In general, + variables are set \emph on italic \emph default - in mathematical expressions, but not function names, because + in mathematical expressions, + but not function names, + because \begin_inset Formula $sin$ \end_inset @@ -24733,13 +27552,8 @@ italic \end_inset . - Therefore there are predefined functionswhich are additionally a bit separated - from prefactors. + Also predefined functions are separated a bit from the character in front of them. They are inserted as commands starting with a backslash before their name. -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -25304,10 +28118,22 @@ arg "math-insert \\functions" \begin_layout Subsection Self-defined Functions \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Functions ! self-defined +Functions +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +self-defined +\end_layout + +\end_inset + + \end_layout \end_inset @@ -25316,12 +28142,13 @@ Functions ! self-defined \end_layout \begin_layout Standard -To use a function that is not predefined, like for example the sign function - sgn(x), there are two possibilities: +To use a function that is not predefined, + for instance the sign function sgn(x), + there are two possibilities: \end_layout \begin_layout Itemize -Define the function by inserting the following line to the \SpecialChar LaTeX +Define the function by inserting the following line in the \SpecialChar LaTeX -preamble \begin_inset Foot status collapsed @@ -25337,6 +28164,7 @@ DeclareMathOperator \begin_inset CommandInset ref LatexCommand ref reference "subsec:Self-defined-Operators" +nolink "false" \end_inset @@ -25367,12 +28195,38 @@ sgn}{sgn} \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! D ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +D +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +\begin_inset IndexMacro sortkey +status collapsed + +\begin_layout Plain Layout + \backslash -dbinom@ +dbinom +\end_layout + +\end_inset + + \backslash DeclareMathOperator \end_layout @@ -25380,6 +28234,11 @@ DeclareMathOperator \end_inset +\end_layout + +\end_inset + + \begin_inset Newline newline \end_inset @@ -25391,7 +28250,7 @@ DeclareMathOperator \begin_inset Newline newline \end_inset -Now the new defined function can be called with the command +Now the newly defined function can be called with the command \series bold \backslash @@ -25401,13 +28260,16 @@ sgn \end_layout \begin_layout Itemize -Write the formula as usual, mark the formula name, in our example the letters - +Write the formula as usual, + mark the formula name, + in our example the letters \emph on sgn \emph default -, and change it to mathematical text. - Finally, a space is inserted between prefactor and function. +, + and change it to mathematical text. + Finally, + insert a space between the prefactor and function. \end_layout \begin_layout Standard @@ -25417,16 +28279,13 @@ status collapsed \begin_layout Plain Layout In \SpecialChar LyX - self-defined functions are displayed red, predefined ones black. + self-defined functions are displayed red, + predefined ones black. \end_layout \end_inset : -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -25518,13 +28377,14 @@ A \end_layout \begin_layout Standard -The first method is more suitable when the self-defined function should - be used several times. +The first method is more suitable when the self-defined function will be used several times. \end_layout \begin_layout Subsection Limits \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -25537,7 +28397,8 @@ Limits \end_layout \begin_layout Standard -For limits, in addition to the commands +For limits, + in addition to the commands \series bold \backslash @@ -25545,17 +28406,40 @@ lim \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash lim \end_layout \end_inset -, + +\end_layout + +\end_inset + +, + \series bold \backslash @@ -25568,10 +28452,6 @@ liminf limsup \series default the following functions are defined: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -25786,7 +28666,8 @@ x=B \end_layout \begin_layout Standard -In a displayed formula the limit is set below the formula, as usual: +In a displayed formula the limit is set below the formula, + as usual: \begin_inset Formula \[ \lim_{x\to A}x=B @@ -25809,6 +28690,7 @@ How to adjust the typesetting of the limits see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Operator-Limits" +nolink "false" \end_inset @@ -25818,84 +28700,244 @@ reference "subsec:Operator-Limits" \begin_layout Subsection Modulo-Functions \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Functions ! modulo- -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -The modulo-function is special, because it exists in four variants. - The variants in a displayed formula are: -\begin_inset Formula -\begin{align*} -\underline{\textrm{Command}\raisebox{-0.9mm}{}} & & \underline{\textrm{Result}}\\ -\mathrm{a\backslash mod\textrm{␣}b} & & a\mod b\\ -\mathrm{a\backslash pmod\textrm{␣}b} & & a\pmod b\\ -\mathrm{a\backslash bmod\textrm{␣}b} & & a\bmod b\\ -\mathrm{a\backslash pod\textrm{␣}b} & & a\pod b -\end{align*} - -\end_inset - +Functions +\begin_inset IndexMacro subentry +status open +\begin_layout Plain Layout +modulo- \end_layout -\begin_layout Standard -In an inline formula less space is set before the function names for all - variants. - By default the modulo-functions take only the first following character - into account. - To use more than one character, one has to put them into \SpecialChar TeX - braces: -\begin_inset Formula -\begin{align*} -\underline{\textrm{Command}\raisebox{-0.9mm}{}} & & \underline{\textrm{Result}}\\ -\mathrm{a\backslash pod\textrm{␣}bcd} & & a\pod bcd\\ -\mathrm{a\backslash pod\backslash\{bc\to d} & & a\pod{bc}d -\end{align*} - \end_inset \end_layout -\begin_layout Section -Special Characters -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Special characters -\end_layout - \end_inset \end_layout \begin_layout Standard -The characters ^ and _ would normally create a superscript and subscript, - respectively. - To get these characters you have to insert them with a leading -\backslash -: -\begin_inset Separator parbreak -\end_inset - - +The modulo-function is special, + because it exists in four variants. + The variants in an inline formula are: \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular - + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +Command +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Result +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\backslash +mod +\begin_inset space \textvisiblespace{} +\end_inset + +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $a\mod b$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\backslash +pmod +\begin_inset space \textvisiblespace{} +\end_inset + +b +\begin_inset space \textvisiblespace{} +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $a\pmod b$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\backslash +bmod +\begin_inset space \textvisiblespace{} +\end_inset + +b +\begin_inset space \textvisiblespace{} +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $a\bmod b$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\backslash +pod +\begin_inset space \textvisiblespace{} +\end_inset + +b +\begin_inset space \textvisiblespace{} +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $a\pod b$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +In a display formula, + more space is set before the function names for all variants but +\series bold + +\backslash +mod. + +\series default + This later version is also the only one that does not take the +\series bold +b +\series default + as argument but acts as a binary operator. + +\end_layout + +\begin_layout Section +Special Characters +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Special characters +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +The characters ^ and _ would normally create a superscript and subscript, + respectively. + To get these characters you have to insert them with a leading +\backslash +. +\end_layout + +\begin_layout Standard +\noindent +\align center +\begin_inset Tabular + @@ -26152,33 +29194,6 @@ aa \backslash AA -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout - -\backslash -@ -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -textrm{ -\backslash -AA} -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - \end_layout \end_inset @@ -26187,7 +29202,7 @@ AA} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\textrm{Å}$ +\begin_inset Formula $\textrm{Å}$ \end_inset @@ -26249,8 +29264,8 @@ The space of 0 \begin_inset space \thinspace{} \end_inset -mm is used for separation, because otherwise the output will be ¡ and ¿ - respectively. +mm is used for separation, + because otherwise the output will be ¡ and ¿ respectively. \end_layout \end_inset @@ -26472,11 +29487,11 @@ j \begin_layout Standard The characters -\begin_inset Formula $\textrm{\textrm{Å}}$ +\begin_inset Formula $\textrm{Å}$ \end_inset and -\begin_inset Formula $\textrm{\textrm{Ø}}$ +\begin_inset Formula $\textrm{Ø}$ \end_inset can also be inserted via the math toolbar button @@ -26489,7 +29504,7 @@ arg "math-insert \\digamma" \end_layout \begin_layout Standard -An exception are the commands +The commands \series bold ! \begin_inset space \hspace{} @@ -26507,7 +29522,7 @@ An exception are the commands ` \series default -, because they can be inserted in \SpecialChar LyX + are exceptions because they can be inserted in \SpecialChar LyX directly to text. \end_layout @@ -26521,10 +29536,22 @@ name "subsec:Accents-in-Text" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Accents ! in text +Accents +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +in text +\end_layout + +\end_inset + + \end_layout \end_inset @@ -26533,7 +29560,7 @@ Accents ! in text \end_layout \begin_layout Standard -With the following commands all letters can be accented. +Any letter can be accented with the following commands. The commands must be inserted in \SpecialChar TeX mode. \end_layout @@ -26941,6 +29968,8 @@ status collapsed \backslash ~e \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -27156,7 +30185,8 @@ t sz \series default - creates: + creates: + \begin_inset ERT status collapsed @@ -27177,7 +30207,8 @@ The accents \series bold ` \series default - , + , + \series bold ' \series default @@ -27185,8 +30216,7 @@ The accents \series bold ^ \series default - can in combination with vowels directly be inserted with the keyboard without - using \SpecialChar TeX + can in combination with vowels be directly inserted with the keyboard without using \SpecialChar TeX mode. The same applies for the tilde \begin_inset Foot @@ -27206,11 +30236,13 @@ This only applies for keyboards where the tilde is defined as accent. \emph on a \emph default - , + , + \emph on n \emph default - , or + , + or \emph on o \emph default @@ -27224,49 +30256,55 @@ The commands \backslash b \series default - , + , + \series bold \backslash c \series default - , + , + \series bold \backslash d \series default - , + , + \series bold \backslash H \series default - , + , + \series bold \backslash t \series default - , + , + \series bold \backslash u \series default - , + , + \series bold \backslash v \series default - and accents that are inserted directly with the keyboard are also available - in mathematical text. - For the other accents there are special math commands to be used in formulas, + and accents that are inserted directly with the keyboard are also available in mathematical text. + For the other accents there are special math commands used in formulas, see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Accents-for-one" +nolink "false" \end_inset @@ -27277,7 +30315,7 @@ reference "subsec:Accents-for-one" \begin_inset VSpace bigskip \end_inset -Furthermore, with the command +With the command \series bold \backslash @@ -27285,18 +30323,41 @@ textcircled \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash textcircled \end_layout \end_inset - all numbers and letters can be set into a circle, quasi accented with a - circle, similar to the copyright symbol. + +\end_layout + +\end_inset + + any number or letter can be set into a circle, + quasi accented with a circle, + similar to the copyright symbol. \end_layout \begin_layout Standard @@ -27418,7 +30479,7 @@ raisebox{-1.5pt}W} \end_layout \begin_layout Standard -One has to take care that the character fits in the circle. +One has to take care that the character fits into the circle. \series bold @@ -27430,10 +30491,11 @@ Large status collapsed \begin_layout Plain Layout -see +See \begin_inset CommandInset ref LatexCommand ref reference "subsec:Font-Sizes" +nolink "false" \end_inset @@ -27442,7 +30504,7 @@ reference "subsec:Font-Sizes" \end_inset - specifies thereby the size of the circle. + specifies the size of the circle. With the help of \series bold @@ -27454,10 +30516,11 @@ raisebox status collapsed \begin_layout Plain Layout -see +See \begin_inset CommandInset ref LatexCommand ref reference "subsec:Boxes-without-Frame" +nolink "false" \end_inset @@ -27472,6 +30535,8 @@ reference "subsec:Boxes-without-Frame" \begin_layout Subsection Old-style Figures \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -27484,8 +30549,7 @@ Old-style Figures \end_layout \begin_layout Standard -Old-style figures (also known as old-style numerals) are created with the - command +Old-style figures (also known as old-style numerals) are created with the command \series bold \backslash @@ -27493,16 +30557,38 @@ oldstylenums \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! O ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +O +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash oldstylenums \end_layout \end_inset + +\end_layout + +\end_inset + . The command can be used in formulas and in \SpecialChar TeX mode. @@ -27522,9 +30608,10 @@ The command \series bold \backslash -oldstylenums{0123456789 +oldstylenums{0123456789} \series default - produces: + produces: + \begin_inset Formula $\oldstylenums{0123456789}$ \end_inset @@ -27541,10 +30628,17 @@ name "sec:Formula-Styles" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! styles +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +styles \end_layout \end_inset @@ -27552,36 +30646,33 @@ Formula ! styles \end_layout -\begin_layout Itemize -There are two different alignment styles: -\begin_inset Separator parbreak \end_inset \end_layout +\begin_layout Itemize +There are two different alignment styles: +\end_layout + \begin_deeper \begin_layout Description -Centered is the predefined standard +Centered is the predefined standard. \end_layout \begin_layout Description -Indented for this the option -\series bold -fleqn -\series default - must be inserted in the menu +Indented can be set using the menu \family sans Document\SpecialChar menuseparator Settings \family default under \family sans -Document +Math \begin_inset space ~ \end_inset -Class +Options. \end_layout \begin_layout Standard @@ -27589,110 +30680,54 @@ When \series bold Indented \series default - is used, the indentation can be adjusted with the length -\series bold - -\backslash -mathindent -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! M ! -\backslash -mathindent -\end_layout - -\end_inset - -. - Should the distance be 15 -\begin_inset space \thinspace{} -\end_inset - -mm, the following command line is inserted in the \SpecialChar LaTeX --preamble -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -setlength{ -\backslash -mathindent}{15mm} -\end_layout - -\begin_layout Standard -When no length is specified, the predefined value of 30 -\begin_inset space \thinspace{} -\end_inset - -pt will be used. + is used, + the indentation can be adjusted. + The default value depends on the document class. \end_layout \end_deeper \begin_layout Itemize -And two different numbering styles: -\begin_inset Separator parbreak -\end_inset - - -\end_layout - -\begin_deeper -\begin_layout Description -Right is the predefined standard -\end_layout - -\begin_layout Description -Left for this the option -\series bold -leqno -\series default - must be inserted in the menu +Two different numbering styles are available in the menu \family sans Document\SpecialChar menuseparator Settings \family default under \family sans -Document +Math \begin_inset space ~ \end_inset -Class +Options +\family default +: \end_layout -\end_deeper -\begin_layout Standard +\begin_deeper +\begin_layout Description +Right is in most cases the default. +\end_layout -\series bold -fleqn -\series default - and -\series bold -leqno -\series default - can also be used together. - In this case both options are inserted, separated by a comma. +\begin_layout Description +Left \end_layout +\end_deeper \begin_layout Standard The chosen styles are used for all displayed formulas of the document. - When both, centered and indented formulas should be created in a document, + When both, + centered and indented formulas should be created in a document, the style \series bold Centered \series default is used. - The indented formulas are then set in a flalign environment, see + The indented formulas are then set in a flalign environment, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Flalign-Environment" +nolink "false" \end_inset @@ -27709,10 +30744,22 @@ name "sec:Multiline-Formulas" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + \end_layout \end_inset @@ -27726,6 +30773,7 @@ General \begin_layout Standard In \SpecialChar LyX +, multiline formulas are created by pressing \begin_inset Info type "shortcut" @@ -27741,14 +30789,17 @@ align environment \begin_inset CommandInset ref LatexCommand ref reference "subsec:Standard-align-Environment" +nolink "false" \end_inset - or, when automatically loading the package + or, + when automatically loading of the package \family sans AMS math \family default - is disabled in the document settings, an + is disabled in the document settings, + an \series bold eqnarray environment \series default @@ -27756,17 +30807,16 @@ eqnarray environment \begin_inset CommandInset ref LatexCommand ref reference "subsec:Eqnarray-Environment" +nolink "false" \end_inset . - The align environment is recommended because it provides in any case a - typographically correct output. + The align environment is recommended as it provides a typographically correct output in all cases. \end_layout \begin_layout Standard -There are other multiline formula environments that can be created via the - menu +There are other multiline formula environments that can be created via the menu \family sans Insert\SpecialChar menuseparator Math @@ -27776,15 +30826,15 @@ Math \end_layout \begin_layout Standard -In all multiline formula environments a new line is created by pressing - +In all multiline formula environments a new line is created by pressing \begin_inset Info type "shortcut" arg "newline-insert newline" \end_inset . - To add or delete lines, the math toolbar buttons + To add or delete lines, + use the math toolbar buttons \begin_inset Info type "icon" arg "tabular-feature append-row" @@ -27796,12 +30846,13 @@ type "icon" arg "tabular-feature delete-row" \end_inset -, respectively, or the menu + respectively, + or the menu option \family sans -Edit\SpecialChar menuseparator + Edit\SpecialChar menuseparator Rows & Columns \family default - can be used. +. \end_layout \begin_layout Subsubsection @@ -27814,10 +30865,32 @@ name "subsec:Line-Separation" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! Line separation +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +Line separation +\end_layout + +\end_inset + + \end_layout \end_inset @@ -27826,7 +30899,7 @@ Formula ! multiline ! Line separation \end_layout \begin_layout Standard -There is sometimes not enough space in multiline formulas between the lines: +Sometimes there is not enough space in multiline formulas between the lines: \begin_inset Formula \begin{eqnarray*} B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & = & \textrm{-}4x^{2}B^{2}+4x_{0}xB^{2}\\ @@ -27840,8 +30913,7 @@ B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & = & \te \begin_layout Standard In \SpecialChar LaTeX - additional line space is specified as optional argument of the new line - command. + additional line space is specified as an optional argument of the new line command. This is not yet possible in \SpecialChar LyX \begin_inset Foot @@ -27852,7 +30924,8 @@ see \begin_inset CommandInset href LatexCommand href name "LyX-bug #1505" -target "http://www.lyx.org/trac/ticket/1505" +target "https://www.lyx.org/trac/ticket/1505" +literal "false" \end_inset @@ -27861,9 +30934,11 @@ target "http://www.lyx.org/trac/ticket/1505" \end_inset -, therefore the whole formula must be inserted in \SpecialChar TeX +, + therefore the whole formula must be inserted in \SpecialChar TeX mode. - To add in our example space, the command + To add in our example space, + the command \series bold \backslash @@ -27872,9 +30947,10 @@ target "http://www.lyx.org/trac/ticket/1505" [3mm] \series default is inserted at the end of the first line. - One gets: + One gets: + \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout @@ -27885,8 +30961,7 @@ begin{eqnarray*} \begin_layout Plain Layout -B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & - = & +B^{2}(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2})+4x_{0}^{2}x^{2}+4x_{0}xD & = & \backslash textrm{-}4x^{2}B^{2}+4x_{0}xB^{2} \backslash @@ -27928,7 +31003,8 @@ end{eqnarray*} \begin_inset VSpace bigskip \end_inset -To set the line separation for all lines in a formula, the length +To set the line separation for all lines in a formula, + the length of \series bold \backslash @@ -27936,29 +31012,52 @@ jot \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! J ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +J +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash jot \end_layout +\end_inset + + +\end_layout + \end_inset is changed. - The definition is: + The definition is: + \begin_inset Formula $\mbox{line separation}=\mathrm{6\,pt+\backslash jot}$ \end_inset . - Predefined for + \series bold \backslash jot \series default - is the value 3 + is predefined as 3 \begin_inset space \thinspace{} \end_inset @@ -27967,7 +31066,8 @@ pt. \begin_inset space \thinspace{} \end_inset -mm additional line separation as in the previous example, the command +mm of additional line separation as in the previous example, + the command \end_layout \begin_layout Standard @@ -28005,10 +31105,22 @@ calc \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! calc +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +calc +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28026,7 +31138,8 @@ usepackage{calc} \end_layout \begin_layout Standard -One gets: +One gets: + \begin_inset ERT status collapsed @@ -28068,7 +31181,14 @@ jot}{3pt} \end_inset - To get back to the predefined distance, + To get restore +\series bold + +\backslash +jot +\series default + to its original value, + \series bold \backslash @@ -28091,10 +31211,32 @@ name "subsec:Column-Separation" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! Column separation +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +Column separation +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28104,10 +31246,9 @@ Formula ! multiline ! Column separation \begin_layout Standard Multiline formulas form a matrix. - A formula in the eqnarray environment is for example a matrix with three - columns. - By changing the column separation in this environment, the space beside - the relation sign can be changed. + A formula in the eqnarray environment for example is a matrix with three columns. + By changing the column separation in this environment, + the space beside the relation sign can be changed. \end_layout \begin_layout Standard @@ -28119,21 +31260,40 @@ arraycolsep \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash arraycolsep \end_layout \end_inset - according to: -\begin_inset Newline newline + +\end_layout + \end_inset -column separation = 2 + according to the formula: + column separation = 2 \begin_inset space \thinspace{} \end_inset @@ -28147,7 +31307,8 @@ arraycolsep \begin_inset Newline newline \end_inset -Thus, the command +Thus, + the command \end_layout \begin_layout Standard @@ -28162,13 +31323,14 @@ arraycolsep}{1cm} \begin_layout Standard inserted in \SpecialChar TeX - mode, sets for all following formulas a column separation of - 2 + mode, + sets all following formula column separations to 2 \begin_inset space \thinspace{} \end_inset cm. - To get back to the predefined distance, + To return to the predefined distance, + \series bold \backslash @@ -28188,7 +31350,7 @@ A formula with 2 cm column separation: \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout @@ -28216,7 +31378,7 @@ A formula with the predefined column separation for matrices of 10 pt: \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout @@ -28239,15 +31401,34 @@ C & \ne & A \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + \end_layout \begin_layout Subsubsection Long Formulas \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! long +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +long +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28260,9 +31441,8 @@ Long formulas can be typeset using these methods: \end_layout \begin_layout Itemize -When one side of the equation is much shorter than the line width, this - one is chosen for the left side and the right side is typeset over two - lines: +If one side of an equation is much shorter than the line width, + this is chosen for the left side and the right side is typeset over two lines: \begin_inset Formula \begin{eqnarray} H & = & W_{SB}+W_{mv}+W_{D}-\frac{\hbar^{2}}{2m_{0}}\Delta-\frac{\hbar^{2}}{2m_{1}}\Delta_{1}-\frac{\hbar^{2}}{2m_{2}}\Delta_{2}-\frac{e^{2}}{4\pi\varepsilon_{0}|\mathbf{r}-\mathbf{R}_{1}|}\nonumber \\ @@ -28271,11 +31451,10 @@ H & = & W_{SB}+W_{mv}+W_{D}-\frac{\hbar^{2}}{2m_{0}}\Delta-\frac{\hbar^{2}}{2m_{ \end_inset -The minus sign at the beginning of the second line does normally not appear - as an operator because it is the first character of the line. - Thus it would not be surrounded by space and could not be distinguished - from the fraction bar. - To avoid this, 3 +The minus sign at the beginning of the second line does normally not appear as an operator because it is the first character of the line. + Thus it would not be surrounded by space and could not be distinguished from the fraction bar. + To avoid this, + a 3 \begin_inset space \thinspace{} \end_inset @@ -28290,7 +31469,7 @@ hspace status collapsed \begin_layout Plain Layout -for more about +For more about \series bold \backslash @@ -28300,6 +31479,7 @@ hspace \begin_inset CommandInset ref LatexCommand ref reference "subsec:Variable-Space" +nolink "false" \end_inset @@ -28310,10 +31490,27 @@ reference "subsec:Variable-Space" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! H ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +H +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash hspace \end_layout @@ -28321,10 +31518,16 @@ hspace \end_inset +\end_layout + +\end_inset + + \end_layout \begin_layout Itemize -When both sides of the equation are too long, the command +When both sides of the equation are long, + the command \series bold \backslash @@ -28332,19 +31535,40 @@ lefteqn \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash lefteqn \end_layout +\end_inset + + +\end_layout + \end_inset is used. - It is inserted in the first column of the first line and causes all further - insertions to overwrite the following columns: + It is inserted in the first column of the first line and causes all further insertions to overwrite the following columns: \begin_inset Formula \begin{eqnarray} \lefteqn{4x^{2}\left(B^{2}+x_{0}^{2}\right)+4x_{0}x\left(D-B^{2}\right)+B^{2}\left(B^{2}-2r_{g}^{2}+2x_{0}^{2}-2r_{k}^{2}\right)+D^{2}}\nonumber \\ @@ -28360,15 +31584,15 @@ After the insertion of \backslash lefteqn \series default -, the cursor is in a purple box that is a bit shifted to the left from the - blue one. - In this the formula is inserted. +, + the cursor is in a purple box that is shifted a bit to the left from the blue one. + The formula is inserted there. \begin_inset Newline newline \end_inset -The content of the further lines is inserted to the second or another formula - column. - The greater the column number where it was inserted, the larger the indentation. +The content of additional lines is inserted in the second or another formula column. + The greater the insertion column number , + the larger the indentation. \begin_inset VSpace medskip \end_inset @@ -28404,16 +31628,15 @@ the term \begin_inset Formula $-B^{2}$ \end_inset - is added to the first line in the above example, it would have been outside - the page margin. - To better use the width, negative space can be inserted at the beginning - of the first line. + is added to the first line in the above example, + it would have been outside the page margin. + To better use the width, + negative space can be inserted at the beginning of the first line. \end_layout \begin_layout Itemize Due to a bug in \SpecialChar LyX - the cursor cannot be set with the mouse into the first - line. + the cursor cannot be set with the mouse in the first line. \begin_inset Foot status collapsed @@ -28421,7 +31644,8 @@ status collapsed \begin_inset CommandInset href LatexCommand href name "LyX-bug #1429" -target "http://www.lyx.org/trac/ticket/1429" +target "https://www.lyx.org/trac/ticket/1429" +literal "false" \end_inset @@ -28430,8 +31654,7 @@ target "http://www.lyx.org/trac/ticket/1429" \end_inset - One can only set the cursor at the beginning of the line and move it with - the arrow keys. + One can only set the cursor at the beginning of the line and move it with the arrow keys. \end_layout \end_inset @@ -28440,11 +31663,11 @@ target "http://www.lyx.org/trac/ticket/1429" \end_layout \begin_layout Itemize -Other methods to set long formulas are offered by the environments described - in +Other methods to set long formulas are offered by the environments described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Multline-Environment" +nolink "false" \end_inset @@ -28452,6 +31675,7 @@ reference "subsec:Multline-Environment" \begin_inset CommandInset ref LatexCommand ref reference "subsec:Multiline-Formula-Parts" +nolink "false" \end_inset @@ -28468,10 +31692,22 @@ name "subsec:Multiline-Fractions" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Fractions ! multiline +Fractions +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28480,8 +31716,7 @@ Fractions ! multiline \end_layout \begin_layout Standard -There are cases where the denominator and/or the numerator of a fraction - is so long that the fraction does not fit into one line. +There are cases where the denominator and/or the numerator of a fraction is so long that the fraction does not fit on one line. It is then necessary to add a line break within the fraction. This can be done using the command \series bold @@ -28491,18 +31726,41 @@ splitfrac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash splitfrac \end_layout \end_inset + +\end_layout + +\end_inset + . - To activate it, set in the document settings under + To activate it, + go to the document settings under \family sans Math \begin_inset space ~ @@ -28516,15 +31774,27 @@ mathtools \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! mathtools +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +mathtools \end_layout \end_inset - the option + +\end_layout + +\end_inset + + and set its option to \family sans Load \begin_inset space ~ @@ -28551,7 +31821,7 @@ splitfrac{first line}{second line} \end_layout \begin_layout Standard -and is used as denominator and/or numerator: +and is used for either the denominator or numerator: \end_layout \begin_layout Standard @@ -28589,10 +31859,22 @@ name "subsec:Multiline-Brackets" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Brackets ! for multiline expressions +Brackets +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +for multiline expressions +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28614,13 +31896,12 @@ A & = & \sin(x)\left[\prod_{R=1}^{\infty}\frac{1}{R}+\cdots\right.\\ \end_layout \begin_layout Standard -The closing bracket is smaller than the opening bracket because brackets - with variable size may not span multiple lines. +The closing bracket is smaller than the opening bracket because brackets with variable size may not span multiple lines. \end_layout \begin_layout Standard -To set the bracket size for the second line correctly, the first line is - ended with +To set the bracket size for the second line correctly, + the first line is ended with \series bold \backslash @@ -28628,14 +31909,36 @@ right. \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! R ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash right \end_layout +\end_inset + + +\end_layout + \end_inset and the second line with @@ -28647,7 +31950,7 @@ left. status collapsed \begin_layout Plain Layout -for more about +For more about \series bold \backslash @@ -28663,6 +31966,7 @@ right \begin_inset CommandInset ref LatexCommand ref reference "subsec:Automatic-Bracket-Size" +nolink "false" \end_inset @@ -28675,16 +31979,38 @@ reference "subsec:Automatic-Bracket-Size" \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! L ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +L +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash left \end_layout \end_inset + +\end_layout + +\end_inset + . After \series bold @@ -28733,19 +32059,40 @@ _R=1} \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! V ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +V +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash vphantom \end_layout \end_inset - is inserted, because the multiplication operator with its limits is the - largest symbol in the first line and this should be the size for the bracket - in the second line. + +\end_layout + +\end_inset + + is inserted, + because the multiplication operator with its limits is the largest symbol in the first line and this should be the size for the bracket in the second line. \end_layout \begin_layout Standard @@ -28772,7 +32119,8 @@ Align environments can be used for every kind of multiline formulas. \begin_layout Standard Align environments consist of columns. - The odd columns are right aligned, the even ones left aligned. + The odd columns are right aligned, + the even ones left aligned. Every line in an Align environment can be numbered. \end_layout @@ -28789,11 +32137,12 @@ Edit\SpecialChar menuseparator Math\SpecialChar menuseparator Change Formula Type \family default - already existing formulas can be converted to Align environments. + pre-existing formulas can be converted to Align environments. \end_layout \begin_layout Standard -To add or delete columns, the math toolbar buttons +To add or delete columns, + use the math toolbar buttons \begin_inset Info type "icon" arg "tabular-feature append-column" @@ -28805,7 +32154,8 @@ type "icon" arg "tabular-feature delete-column" \end_inset -, respectively, or the menu + respectively, + or the menu option \family sans Edit\SpecialChar menuseparator Rows & Columns @@ -28814,7 +32164,7 @@ Rows & Columns \end_layout \begin_layout Subsubsection -Standard align Environment +Standard Align Environment \begin_inset CommandInset label LatexCommand label name "subsec:Standard-align-Environment" @@ -28823,10 +32173,32 @@ name "subsec:Standard-align-Environment" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! align environment +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +align environment +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28835,7 +32207,7 @@ Formula ! multiline ! align environment \end_layout \begin_layout Standard -This Align environment is created by pressing +This align environment is created by pressing \begin_inset Info type "shortcut" arg "newline-insert newline" @@ -28851,8 +32223,8 @@ AMS align Environment \end_layout \begin_layout Standard -An example for two formulas set side by side, that are created with a four - column align environment: +An example for two formulas set side by side, + that are created with a four column align environment: \begin_inset Formula \begin{align*} A & =\sin(B) & C & =D\\ @@ -28861,17 +32233,17 @@ C & \ne A & B & \ne D \end_inset -As it can be seen, the formulas in this environment are placed so as if - there would be a +As it can be seen, + the formulas in this environment are placed so as if there would be a \series bold \backslash hfill \begin_inset Foot -status collapsed +status open \begin_layout Plain Layout -more about +For more about \series bold \backslash @@ -28881,6 +32253,7 @@ hfill \begin_inset CommandInset ref LatexCommand ref reference "subsec:Variable-Space" +nolink "false" \end_inset @@ -28896,13 +32269,14 @@ reference "subsec:Variable-Space" \series bold Indented \begin_inset Foot -status collapsed +status open \begin_layout Plain Layout -formula styles see +For formula styles see \begin_inset CommandInset ref LatexCommand ref reference "sec:Formula-Styles" +nolink "false" \end_inset @@ -28913,7 +32287,8 @@ reference "sec:Formula-Styles" \series default - is used, the formula is set without the + is used, + the formula is set without the \series bold \backslash @@ -28925,10 +32300,32 @@ hfill \begin_layout Subsubsection Alignat Environment \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! alignat environment +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +alignat environment +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28938,10 +32335,11 @@ Formula ! multiline ! alignat environment \begin_layout Standard The alignat environment has no predefined column separation. - It can be inserted manually with the spaces that are described + It can be inserted manually with the spaces that are described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Space" +nolink "false" \end_inset @@ -28949,7 +32347,7 @@ reference "subsec:Space" \end_layout \begin_layout Standard -The above example in the alignat environment where 1 +The above example is shown in the alignat environment where 1 \begin_inset space \thinspace{} \end_inset @@ -28962,9 +32360,8 @@ C & \ne A & B & \ne D \end_inset -Because the column separation can be set separately for every column, this - environment is especially suitable to set three and more formulas side - by side. +Because the column separation can be set separately for every column, + this environment is especially suitable to set three or more formulas side by side. \end_layout \begin_layout Subsubsection @@ -28977,10 +32374,32 @@ name "subsec:Flalign-Environment" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! flalign environment +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +flalign environment +\end_layout + +\end_inset + + \end_layout \end_inset @@ -28989,8 +32408,7 @@ Formula ! multiline ! flalign environment \end_layout \begin_layout Standard -In this environment the first two columns are always set as much as possible - to the left and the last two ones to the right. +In this environment the first column is always set to the left as much as possible and the last one to the right. An example: \begin_inset Formula \begin{flalign*} @@ -29004,10 +32422,10 @@ X & =\textrm{-}1 & Y & =\textrm{-}2 & Z & =4 \end_layout \begin_layout Standard -By creating a flalign environment with an odd number of columns where an - empty \SpecialChar TeX - brace is inserted to the last column, several formulas in a document - can be set to the left, although the formula style +By creating a flalign environment with an odd number of columns where an empty \SpecialChar TeX + brace is inserted in the last column, + several formulas in a document can be set to the left, + although the formula style \series bold Centered \series default @@ -29016,13 +32434,14 @@ Centered \begin_inset CommandInset ref LatexCommand eqref reference "eq:VolInt" +nolink "false" \end_inset : \begin_inset Formula \begin{flalign} -\hspace{30pt}\iiint\limits _{V}X\,\mathrm{d}V & =U & {} +\hspace{30pt}\iiint_{V}X\,\mathrm{d}V & =U & {} \end{flalign} \end_inset @@ -29032,7 +32451,8 @@ The first two columns contain the formula. \series bold Indented \series default -, 30 +, + a 30 \begin_inset space \thinspace{} \end_inset @@ -29049,10 +32469,32 @@ name "subsec:Eqnarray-Environment" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! eqnarray environment +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +eqnarray environment +\end_layout + +\end_inset + + \end_layout \end_inset @@ -29061,11 +32503,11 @@ Formula ! multiline ! eqnarray environment \end_layout \begin_layout Standard -When this environment has been created, three blue boxes appear. - The content of the first box is right aligned, the content of the last - one left aligned. - The content of the middle box appears centered and a bit smaller, because - it is designed to insert there only relation characters. +When this environment is created, + three blue boxes appear. + The content of the first box is right aligned, + the content of the last box left aligned. + The content of the middle box appears centered and a bit smaller because it is intended for relational characters only. \begin_inset Formula \begin{eqnarray*} \frac{ABC}{D} & \frac{ABC}{D} & \frac{ABC}{D}\\ @@ -29081,10 +32523,32 @@ A & = & A \begin_layout Subsection Gather Environment \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! gather environment +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +gather environment +\end_layout + +\end_inset + + \end_layout \end_inset @@ -29093,7 +32557,7 @@ Formula ! multiline ! gather environment \end_layout \begin_layout Standard -This environment consists of only one centered column. +This environment consists of one centered column. Every line can be numbered. \begin_inset Formula \begin{gather} @@ -29116,10 +32580,32 @@ name "subsec:Multline-Environment" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! multline environment +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multline environment +\end_layout + +\end_inset + + \end_layout \end_inset @@ -29128,15 +32614,18 @@ Formula ! multiline ! multline environment \end_layout \begin_layout Standard -The multline environment consists, like the gather environment, of only - one column. - But the first line is left aligned, the last one right aligned. +The multline environment consists, + like the gather environment, + of one column. + But the first line is left aligned, + the last one right aligned. All other lines are centered. Therefore this environment is suitable for long formulas. - As example formula + Using example formula \begin_inset CommandInset ref LatexCommand eqref reference "eq:lefteqn" +nolink "false" \end_inset @@ -29154,16 +32643,18 @@ reference "eq:lefteqn" \end_layout \begin_layout Standard -In the output only the last (first) line of a multline environment appears - numbered when the document numbering is right (left). +In the output, + only the last line of a multline environment appears numbered when the document numbering is on the right . + If the document numbering is on the left then only the first line will appear numbered. \begin_inset Foot status collapsed \begin_layout Plain Layout -numbering styles see +For numbering styles see \begin_inset CommandInset ref LatexCommand ref reference "sec:Formula-Styles" +nolink "false" \end_inset @@ -29184,14 +32675,36 @@ shoveright \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash shoveright \end_layout +\end_inset + + +\end_layout + \end_inset and @@ -29202,17 +32715,40 @@ shoveleft \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash shoveleft \end_layout \end_inset - a centered line can be right or left aligned, respectively. + +\end_layout + +\end_inset + + a centered line can be right or left aligned, + respectively. The commands are used as follows: \end_layout @@ -29242,14 +32778,36 @@ multlinegap \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! M ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +M +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash multlinegap \end_layout +\end_inset + + +\end_layout + \end_inset specifies the distance of the first line from the left page margin. @@ -29335,10 +32893,32 @@ name "subsec:Multiline-Formula-Parts" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! formula parts +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +formula parts +\end_layout + +\end_inset + + \end_layout \end_inset @@ -29347,16 +32927,19 @@ Formula ! multiline ! formula parts \end_layout \begin_layout Standard -To display only parts of a formula with multiple lines, one of the following - environments is used: +To display only parts of a formula with multiple lines, + one of the following environments is used: + \series bold aligned \series default -, +, + \series bold alignedat \series default -, +, + \series bold gathered \series default @@ -29374,9 +32957,8 @@ Math \end_layout \begin_layout Standard -The first three have the same properties as the corresponding multiline - formula environments, but it is possible to set further formula parts beside - them. +The first three have the same properties as the corresponding multiline formula environments, + but it is possible to set additional formula parts beside them. An example: \begin_inset Formula \[ @@ -29392,7 +32974,8 @@ The first three have the same properties as the corresponding multiline \end_layout \begin_layout Standard -To get this formula, a displayed formula is created where the command +To get this formula, + a displayed formula is created where the command \series bold \backslash @@ -29400,32 +32983,52 @@ aligned \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash aligned \end_layout +\end_inset + + +\end_layout + \end_inset is inserted. - A purple box appears around the blue formula box where now columns and - lines can be added. - Outside the multiline environment other formula parts can be set, like - the brace. + A purple box appears around the blue formula box where now columns and lines can be added. + Outside the multiline environment other formula parts can be set, + like the brace. \end_layout \begin_layout Standard -The aligned environment is also suitable for long formulas whose lines are - horizontally aligned. - Using aligned in a displayed formula has the advantage that the formula - number is vertically centered behind the lines. - As example formula +The aligned environment is also suitable for long formulas whose lines are horizontally aligned. + Using aligned in a displayed formula has the advantage that the formula number is vertically centered behind the lines. + For example here is formula \begin_inset CommandInset ref LatexCommand eqref reference "eq:shortlong" +nolink "false" \end_inset @@ -29447,15 +33050,18 @@ To use the environments \series bold alignedat \series default -, +, + \series bold gathered \series default -, or +, + or \series bold split \series default -, the command +, + the command \series bold \backslash @@ -29463,16 +33069,38 @@ alignedat \series default , \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash alignedat \end_layout \end_inset + +\end_layout + +\end_inset + \series bold @@ -29481,17 +33109,40 @@ gathered \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! G ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +G +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash gathered \end_layout \end_inset -, or + +\end_layout + +\end_inset + +, + or \series bold \backslash @@ -29499,23 +33150,45 @@ split \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash split \end_layout \end_inset - are inserted, respectively. - The split environment has the same properties as the aligned environment - but it can only have two columns. + +\end_layout + +\end_inset + + are inserted, + respectively. + The split environment has the same properties as the aligned environment but it can only have two columns. \end_layout \begin_layout Subsection -Text in multiline Formulas +Text in Multiline Formulas \begin_inset CommandInset label LatexCommand label name "subsec:Text-in-multiline" @@ -29524,20 +33197,54 @@ name "subsec:Text-in-multiline" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Text ! in formulas +Text +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +in formulas +\end_layout + +\end_inset + + \end_layout \end_inset \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! multiline ! text +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multiline +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + \end_layout \end_inset @@ -29546,10 +33253,10 @@ Formula ! multiline ! text \end_layout \begin_layout Standard -In the Align environments, and the multline and gather environment, text - can be inserted that will appear in a separate line and doesn't affect - the column alignment. - To do this, the command +In the align environments as well as the multline and gather environment, + text can be inserted that will appear in a separate line and doesn't affect the column alignment. + To do this, + the command \series bold \backslash @@ -29557,14 +33264,36 @@ intertext \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! I ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +I +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash intertext \end_layout +\end_inset + + +\end_layout + \end_inset is used in the following scheme: @@ -29587,15 +33316,15 @@ The text should not be longer than a line because it cannot be hyphenated. \backslash intertext \series default - directly, the text is written as mathematical text. - + directly, + the text is written as mathematical text. + Therefore \series bold \backslash intertext \series default - must hereby be at the beginning of a line and appears in the output above - this line. + must be at the beginning of a line and will appear in the output above this line. An example where the text was inserted at the beginning of the second line: \begin_inset Formula \begin{align} @@ -29616,7 +33345,8 @@ I & =a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\ intertext \series default always creates some vertical space between the text and the formula lines. - To avoid this space, set in the document settings under + To avoid this space, + in the document settings under \family sans Math \begin_inset space ~ @@ -29630,15 +33360,27 @@ mathtools \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! mathtools +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +mathtools \end_layout \end_inset - the option + +\end_layout + +\end_inset + + set the option to \family sans Load \begin_inset space ~ @@ -29655,14 +33397,36 @@ shortintertext \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! S ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +S +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash shortintertext \end_layout +\end_inset + + +\end_layout + \end_inset instead of @@ -29689,6 +33453,8 @@ I & =a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\ \begin_layout Section Formula Numbering \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -29699,27 +33465,27 @@ Formula numbering \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! numbering|see -\begin_inset ERT -status collapsed +Formula +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout - -{ +numbering \end_layout \end_inset -Formula numbering -\begin_inset ERT -status collapsed -\begin_layout Plain Layout +\begin_inset IndexMacro see +status open -} +\begin_layout Plain Layout +Formula numbering \end_layout \end_inset @@ -29748,23 +33514,25 @@ Numbered Formula \family default (shortcut -\family sans -Ctrl+Alt -\begin_inset space ~ +\begin_inset Info +type "shortcuts" +arg "command-sequence math-display; math-number-toggle;" \end_inset -N -\family default ). Existing formulas can be numbered with the menu \family sans Edit\SpecialChar menuseparator Math\SpecialChar menuseparator -Toggle +Number +\begin_inset space ~ +\end_inset + +Whole \begin_inset space ~ \end_inset -Numbering +Formula \family default (shortcut \begin_inset Info @@ -29774,26 +33542,22 @@ arg "math-number-toggle" ). The formula number is displayed in \SpecialChar LyX - behind the formula as a number sign - in parentheses. - The number sign is replaced in the output by the formula number. + behind the formula as a number in parentheses. + \end_layout \begin_layout Standard -When numbering is turned on in multiline formulas, all lines will be numbered. +When numbering is turned on in multiline formulas, + all formulas will be numbered. But the numbering can be controlled with the menu \family sans Edit\SpecialChar menuseparator Math\SpecialChar menuseparator -Toggle -\begin_inset space ~ -\end_inset - -Numbering +Number \begin_inset space ~ \end_inset -of +This \begin_inset space ~ \end_inset @@ -29805,15 +33569,17 @@ type "shortcut" arg "math-number-line-toggle" \end_inset -) for every line. +) for every formula. \end_layout \begin_layout Standard -Except for inline formulas, all formulas can be numbered with two different - styles, see +Except for inline formulas, + all formulas can be numbered with two different styles, + see \begin_inset CommandInset ref LatexCommand ref reference "sec:Formula-Styles" +nolink "false" \end_inset @@ -29823,10 +33589,22 @@ reference "sec:Formula-Styles" \begin_layout Subsection Cross-References \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Cross-references ! to formulas +Cross-references +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +to formulas +\end_layout + +\end_inset + + \end_layout \end_inset @@ -29836,7 +33614,7 @@ Cross-references ! to formulas \begin_layout Standard All labeled formulas can be cross-referenced. - A label is added by the menu + A label is added with the menu \family sans Insert\SpecialChar menuseparator Label @@ -29848,7 +33626,7 @@ arg "label-insert" \end_inset . - The cursor must hereby be inside a displayed formula. + The cursor must be inside a displayed formula. Alternatively you can right-click on the formula and choose \family sans Equation Label @@ -29857,9 +33635,10 @@ Equation Label A dialog pops up displaying the prefix \series bold eq: + \series default in a text field. - The label is inserted there behind the prefix. + The label is inserted behind the prefix. The predefined prefix means \begin_inset Quotes eld \end_inset @@ -29868,8 +33647,7 @@ equation \begin_inset Quotes erd \end_inset - and makes it easier to find labels in large documents because it marks - it as formula label to divide it from e. + and makes it easier to find labels in large documents because it marks it as a formula label to distinguish it from e. \begin_inset space \thinspace{} \end_inset @@ -29878,12 +33656,13 @@ g. \end_inset section labels. - To change a label, the menu + To change a label, + the menu \family sans Insert\SpecialChar menuseparator Label \family default - is used again or you right-click on a formula and then on + is used again or you can right-click on a formula and then on \family sans Equation Label \family default @@ -29892,7 +33671,7 @@ Equation Label \begin_layout Standard The name of the label is displayed in \SpecialChar LyX - within two parentheses behind formula. + within parentheses behind the formula number. A formula with a label is always numbered. \end_layout @@ -29914,14 +33693,14 @@ arg "dialog-show-new-inset ref" \series bold () \series default - is chosen, the cross-reference appears in the output as formula number - in parentheses. + is chosen, + the cross-reference appears in the output as formula number in parentheses. \begin_inset Newline newline \end_inset By right-clicking on a cross-reference in \SpecialChar LyX -, one jumps to the formula that - is referenced. +, + one jumps to the formula that is referenced. \end_layout \begin_layout Standard @@ -29943,6 +33722,7 @@ The equations \begin_inset CommandInset ref LatexCommand eqref reference "eq:tag" +nolink "false" \end_inset @@ -29950,6 +33730,7 @@ reference "eq:tag" \begin_inset CommandInset ref LatexCommand eqref reference "eq:c" +nolink "false" \end_inset @@ -29958,6 +33739,7 @@ reference "eq:c" \begin_inset CommandInset ref LatexCommand ref reference "eq:Lat" +nolink "false" \end_inset @@ -29965,6 +33747,7 @@ reference "eq:Lat" \begin_inset CommandInset ref LatexCommand ref reference "eq:Rom" +nolink "false" \end_inset @@ -29994,6 +33777,7 @@ tag \begin_inset CommandInset ref LatexCommand ref reference "subsec:User-defined-Numbering" +nolink "false" \end_inset @@ -30008,19 +33792,28 @@ reference "subsec:User-defined-Numbering" \begin_inset CommandInset ref LatexCommand ref reference "subsec:Paragraph-Boxes" +nolink "false" \end_inset -, the formula cannot be referenced. +, + the formula cannot be referenced. \end_layout \begin_layout Subsection Subnumbering \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula numbering ! subnumbering +Formula numbering +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +subnumbering \end_layout \end_inset @@ -30028,64 +33821,57 @@ Formula numbering ! subnumbering \end_layout -\begin_layout Standard -With the help of the commands -\series bold +\end_inset -\backslash -begin{subequations} -\series default - and -\series bold -\backslash -end{subequations} -\series default - formulas can be subnumbered. - Both commands are inserted in \SpecialChar TeX - mode. \end_layout \begin_layout Standard -An example: +Formulas can be numbered as subequations. + To activate this feature, + add the module +\family sans +Subequations +\family default + to the document in the menu +\family sans +Document\SpecialChar menuseparator +Settings\SpecialChar menuseparator +Modules +\family default +. + To insert subequations use the menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Subequations +\family default +. +\end_layout + +\begin_layout Standard +The equations to be subnumbered are put into the +\family sans +Subequations +\family default + inset. + An example: \begin_inset Formula \begin{equation} -A=C-B\label{eq:a} +A=C-B \end{equation} \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -addtocounter{equation}{-1} -\end_layout - +\begin_inset VSpace -5mm \end_inset -\begin_inset ERT -status collapsed +\begin_inset Flex Subequations +status open \begin_layout Plain Layout - - -\backslash -begin{subequations} -\end_layout - -\end_inset - - -\begin_inset VSpace -5mm -\end_inset - - \begin_inset Formula \begin{equation} B=C-A\label{eq:b} @@ -30104,210 +33890,184 @@ C=A+B\label{eq:c} \end_layout -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -end{subequations} -\end_layout - \end_inset \end_layout \begin_layout Standard -To create the example, the following is done: -\end_layout - -\begin_layout Enumerate -first formula is inserted +Every formula in the +\family sans +Subequations +\family default + inset will be subnumbered with a, + b, + c, + \SpecialChar ldots + in the output. + For multiline formulas every line will be subnumbered. \end_layout -\begin_layout Enumerate - -\series bold - -\backslash -addtocounter{equation}{-1} -\backslash -begin{subequations} -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! A ! -\backslash -addtocounter -\end_layout +\begin_layout Standard +Referencing subequations works like normal equations: + +\begin_inset CommandInset ref +LatexCommand eqref +reference "eq:b" +nolink "false" \end_inset +, + +\begin_inset CommandInset ref +LatexCommand eqref +reference "eq:c" +nolink "false" -\begin_inset Newline newline \end_inset +. + If you want to reference the subequations collectively, + insert a label as first thing in the +\family sans +Subequations +\family default + inset. + Formula +\begin_inset CommandInset ref +LatexCommand eqref +reference "eq:Here-is-an" +plural "false" +caps "false" +noprefix "false" +nolink "false" -\series default -is inserted after the first formula -\end_layout - -\begin_layout Enumerate -second formula is inserted -\end_layout - -\begin_layout Enumerate -third formula is inserted -\end_layout - -\begin_layout Enumerate - -\series bold +\end_inset -\backslash -end{subequations} -\series default - is inserted after the third formula + is an example. \end_layout \begin_layout Standard -Every formula between the commands -\series bold - -\backslash -begin -\series default - and -\series bold - -\backslash -end -\series default - is subnumbered as a, b, -\begin_inset Newline linebreak +When inserting subequations, + vertical space is added before the equation. + To remove this, + insert -5 +\begin_inset space \thinspace{} \end_inset -c, \SpecialChar ldots - For multiline formulas every line will be subnumbered. - All subnumbered formulas are treated as -\emph on -one -\emph default - numbered formula. - But as every numbered formula increases the counter -\series bold -equation -\series default - by one, the command +mm vertical space right before the +\family sans +Subequations +\family default + inset. + If the formula style \series bold +Indented +\begin_inset Foot +status open -\backslash -addtocounter -\series default - is needed to decrease it. - Otherwise the formulas +\begin_layout Plain Layout +For formula styles see \begin_inset CommandInset ref -LatexCommand eqref -reference "eq:a" +LatexCommand ref +reference "sec:Formula-Styles" +nolink "false" \end_inset -, -\begin_inset CommandInset ref -LatexCommand eqref -reference "eq:b" - -\end_inset -, -\begin_inset CommandInset ref -LatexCommand eqref -reference "eq:c" +\end_layout \end_inset - would be numbered as -\begin_inset CommandInset ref -LatexCommand eqref -reference "eq:a" +\series default + is used, + insert -7 +\begin_inset space \thinspace{} \end_inset -, -\begin_inset CommandInset ref -LatexCommand eqref -reference "eq:d" +mm space instead. +\end_layout -\end_inset +\begin_layout Standard +To get another subnumber instead of small Latin letters, + insert this command as \SpecialChar TeX + code before the equations in the +\family sans +Subequations +\family default + inset: +\end_layout -, -\begin_inset CommandInset ref -LatexCommand eqref -reference "eq:f" +\begin_layout Standard -\end_inset +\series bold -. +\backslash +renewcommand{ +\backslash +theequation}{ +\backslash +theparentequation - +\backslash +roman{equation}} \end_layout \begin_layout Standard -By inserting the commands in \SpecialChar TeX - mode, a space is created between the first - two formulas. - To revert this -5 -\begin_inset space \thinspace{} -\end_inset -mm vertical space is inserted after the command \series bold \backslash -begin{subequations} +theparentequation \series default -. - When the formula style + creates the parent number and \series bold -Indented -\begin_inset Foot -status collapsed -\begin_layout Plain Layout -formula styles see +\backslash +roman{equation} +\series default + adds a small Roman number as subnumber. + For more information about the customization of the numbering, + see \begin_inset CommandInset ref LatexCommand ref -reference "sec:Formula-Styles" +reference "subsec:Numbering-with-Roman" +nolink "false" \end_inset - +. \end_layout -\end_inset +\begin_layout Standard +Here is an example of a multiline formula where the numbering is customized and turned off for the second line: +\begin_inset Flex Subequations +status open +\begin_layout Plain Layout +\begin_inset CommandInset label +LatexCommand label +name "eq:Here-is-an" -\series default - is used, -7 -\begin_inset space \thinspace{} \end_inset -mm space is inserted instead. -\end_layout -\begin_layout Standard -Here is an example for a multiline formula where the numbering was turned - off for the second line: \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout \backslash -begin{subequations} +renewcommand{ +\backslash +theequation}{ +\backslash +theparentequation - +\backslash +roman{equation}} \end_layout \end_inset @@ -30315,22 +34075,14 @@ begin{subequations} \begin_inset Formula \begin{eqnarray} -A & = & (B-Z)^{2}=(B-Z)(B-Z)\label{eq:d}\\ +A & = & (B-Z)^{2}=(B-Z)(B-Z)\\ & = & B^{2}-ZB-BZ+Z^{2}\nonumber \\ - & = & B^{2}-2BZ+Z^{2}\label{eq:f} + & = & B^{2}-2BZ+Z^{2} \end{eqnarray} \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -end{subequations} \end_layout \end_inset @@ -30339,19 +34091,26 @@ end{subequations} \end_layout \begin_layout Subsection -User-defined Numbering +Numbering with Roman Numbers and Letters \begin_inset CommandInset label LatexCommand label -name "subsec:User-defined-Numbering" +name "subsec:Numbering-with-Roman" \end_inset \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula numbering ! user-defined +Formula numbering +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +with letters \end_layout \end_inset @@ -30359,41 +34118,26 @@ Formula numbering ! user-defined \end_layout -\begin_layout Standard +\end_inset + + \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula numbering ! self-defined delimiters -\end_layout - -\end_inset +Formula numbering +\begin_inset IndexMacro subentry +status open -With the standard numbering parentheses are set around the formula number. - To replace the parentheses for example by vertical bars, the following - line is added to the \SpecialChar LaTeX --preamble: +\begin_layout Plain Layout +with Roman numbers \end_layout -\begin_layout Standard - -\series bold - -\backslash -def -\backslash -tagform@#1{ -\backslash -maketag@@@{|#1|}} -\series default +\end_inset -\begin_inset Note Note -status collapsed -\begin_layout Plain Layout -This macro is already declared in the \SpecialChar LaTeX --preamble for testing. - To activate it, remove the percent sign at the beginning. \end_layout \end_inset @@ -30402,46 +34146,815 @@ This macro is already declared in the \SpecialChar LaTeX \end_layout \begin_layout Standard -To use other characters, the vertical bars besides the -\series bold -#1 -\series default - are replaced by one ore more characters. - To get only the formula number the vertical bars are omitted. +Formulas can also be numbered with Roman numbers and Latin letters. + To number with small Roman numbers, + the command \end_layout \begin_layout Standard -\begin_inset VSpace bigskip -\end_inset -When there should be an expression of your choice instead of the consecutive - formula number in parentheses behind the formula, the command \series bold \backslash -tag +renewcommand{ +\backslash +theequation}{ +\backslash +roman{equation}} +\end_layout + +\begin_layout Standard +is inserted before the formula in \SpecialChar TeX + mode. + +\series bold + +\backslash +renewcommand \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash -tag +renewcommand \end_layout \end_inset - is used: -\begin_inset Formula -\begin{equation} -A+B=C\tag{something}\label{eq:tag} -\end{equation} + +\end_layout \end_inset -In this example the command + redefines the predefined command +\series bold + +\backslash +theequation +\series default + to the command +\series bold + +\backslash +roman{equation} +\series default +. +\begin_inset Foot +status open + +\begin_layout Plain Layout +The command +\series bold + +\backslash +renewcommand +\series default + has the same scheme as the command +\series bold + +\backslash +newcommand +\series default + described in +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:The-Command-newcommand" +nolink "false" + +\end_inset + +. +\end_layout + +\end_inset + + +\series bold +equation +\series default + is the formula counter. + When the command +\series bold + +\backslash +the +\series default + is used as prefix for a counter, + the value of the counter is output as Arabic number. + When a formula is numbered, + \SpecialChar LaTeX + sets internally the command +\series bold + +\backslash +theequation +\series default + behind the formula. + +\series bold + +\backslash +roman{equation} +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + +\backslash +roman +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\series default + outputs the counter as small Roman number. +\end_layout + +\begin_layout Standard +All formulas behind the command +\series bold + +\backslash +renew +\series default +c +\series bold +ommand +\series default + are now numbered Roman. + To switch to numbering with big Roman numbers, + the command is inserted again, + but +\series bold + +\backslash +roman +\series default + is replaced by +\series bold + +\backslash +Roman +\series default + +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +R +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +\begin_inset IndexMacro sortkey +status open + +\begin_layout Plain Layout + +\backslash +roman +\end_layout + +\end_inset + + +\backslash +Roman +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +. + To +\begin_inset Quotes eld +\end_inset + +number +\begin_inset Quotes erd +\end_inset + + with small Latin letters there is the command +\series bold + +\backslash +alph +\series default + +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + +\backslash +alph +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +, + for big ones there is the command +\series bold + +\backslash +Alph +\series default + +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +\begin_inset IndexMacro sortkey +status open + +\begin_layout Plain Layout + +\backslash +alph +\end_layout + +\end_inset + + +\backslash +Alph +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: + +\series default + Only a maximum of 26 +\begin_inset space ~ +\end_inset + +formulas can be numbered with Latin letters in one document. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +theequation}{ +\backslash +roman{equation}} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Formula +\begin{equation} +A=\textrm{small roman} +\end{equation} + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +theequation}{ +\backslash +Roman{equation}} +\end_layout + +\end_inset + + +\begin_inset Formula +\begin{equation} +B=\textrm{big Roman}\label{eq:Rom} +\end{equation} + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +theequation}{ +\backslash +alph{equation}} +\end_layout + +\end_inset + + +\begin_inset Formula +\begin{equation} +C=\textrm{small Latin} +\end{equation} + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +theequation}{ +\backslash +Alph{equation}} +\end_layout + +\end_inset + + +\begin_inset Formula +\begin{equation} +D=\textrm{big Latin}\label{eq:Lat} +\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +To switch back to the default numbering, + insert the command: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +theequation}{ +\backslash +arabic{equation}} +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + +\backslash +arabic +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +theequation}{ +\backslash +arabic{equation}} +\end_layout + +\end_inset + + +\begin_inset Formula +\begin{equation} +E=\textrm{Arabic} +\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + +As you see, + formulas are numbered serially independent from the numbering style. + When then numbering should start with +\begin_inset Quotes eld +\end_inset + +1 +\begin_inset Quotes erd +\end_inset + + when the style is changed, + new equation counters have to be defined. + A description of this can be found in the file +\begin_inset CommandInset href +LatexCommand href +name "Formula-numbering.lyx" +target "run:Formula-numbering.lyx" +type "other" +literal "false" + +\end_inset + +. +\end_layout + +\begin_layout Subsection +User-defined Numbering +\begin_inset CommandInset label +LatexCommand label +name "subsec:User-defined-Numbering" + +\end_inset + + +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Formula numbering +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +user-defined +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: + +\series default + If the document language is a right-to-left language such as Arabic, + you must add this to the to the \SpecialChar LaTeX +-preamble to be able to use the commands described in this section: +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout + +\series bold +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + +\backslash +def +\backslash +tagform@#1{ +\backslash +maketag@@@{( +\backslash +ignorespaces#1 +\backslash +unskip)}} } +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Formula numbering +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +self-defined delimiters +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +With standard numbering, + parentheses are set around a formula number. + To replace the parentheses for example with vertical bars, + the following line is added to the \SpecialChar LaTeX +-preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout + +\series bold +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + +\backslash +def +\backslash +tagform@#1{ +\backslash +maketag@@@{|#1|}} } +\series default + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +This macro is already declared in the \SpecialChar LaTeX +-preamble for testing. + To activate it, + remove the percent signs at the beginning. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To use other characters, + the vertical bars besides the +\series bold +#1 +\series default + are replaced by one or more characters. + To display only the formula number the vertical bars are omitted. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +When there should be an expression of your choice instead of the consecutive formula number in parentheses behind the formula, + the command +\series bold + +\backslash +tag +\series default + +\begin_inset Index idx +range none +pageformat default +status collapsed + +\begin_layout Plain Layout +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + +\backslash +tag +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + is used: +\begin_inset Formula +\begin{equation} +A+B=C\tag{something}\label{eq:tag} +\end{equation} + +\end_inset + +In this example the command \series bold \backslash @@ -30465,7 +34978,8 @@ tag* something \series default - is inserted instead, the star prevents the parentheses around the expression: + is inserted instead, + the parentheses are removed: \begin_inset Formula \[ A+B=C\tag*{something} @@ -30480,8 +34994,8 @@ A+B=C\tag*{something} \begin_inset VSpace bigskip \end_inset -To restart the formula numbering with new document parts or sections, the - following command is used: +To restart the formula numbering with new document parts or sections, + the following command is used: \end_layout \begin_layout Standard @@ -30493,10 +35007,16 @@ To restart the formula numbering with new document parts or sections, the \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout \begin_inset ERT status collapsed @@ -30508,17 +35028,16 @@ status collapsed \end_inset @ -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -" \end_layout \end_inset - ! + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash \begin_inset ERT @@ -30531,18 +35050,12 @@ status collapsed \end_inset -@ -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -" +@addtoreset \end_layout \end_inset -addtoreset + \end_layout \end_inset @@ -30564,7 +35077,8 @@ resp. \begin_layout Standard To be able to use these commands in \SpecialChar TeX - mode, the + mode, + the \begin_inset Quotes eld \end_inset @@ -30594,7 +35108,7 @@ makeatletter. \backslash makeatother \series default - reverts this. + disables this. So the command sequence in \SpecialChar TeX mode is: \end_layout @@ -30644,7 +35158,8 @@ To revert \backslash @addtoreset \series default -, the file +, + the file \series bold remreset.sty \series default @@ -30664,10 +35179,22 @@ carlisle \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! carlisle +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +carlisle +\end_layout + +\end_inset + + \end_layout \end_inset @@ -30680,10 +35207,22 @@ Packages ! carlisle \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! remreset +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +remreset +\end_layout + +\end_inset + + \end_layout \end_inset @@ -30709,10 +35248,16 @@ Then the command \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout \begin_inset ERT status collapsed @@ -30724,17 +35269,16 @@ status collapsed \end_inset @ -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -" \end_layout \end_inset - ! + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash \begin_inset ERT @@ -30747,18 +35291,12 @@ status collapsed \end_inset -@ -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -" +@removefromreset \end_layout \end_inset -removefromreset + \end_layout \end_inset @@ -30806,17 +35344,40 @@ numberwithin \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! N ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +N +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash numberwithin \end_layout \end_inset -, which is used with the following scheme: + +\end_layout + +\end_inset + +, + which is used with the following scheme: \end_layout \begin_layout Standard @@ -30828,8 +35389,8 @@ numberwithin{counter}{sectioning} \end_layout \begin_layout Standard -Counter denotes what kind of numbering is affected, sectioning denotes what - number is before the dot. +Counter denotes what kind of numbering is affected, + sectioning denotes what the number before the dot is. \end_layout \begin_layout Standard @@ -30880,7 +35441,7 @@ g. \begin_inset space \space{} \end_inset -tables so that the number of the part is the sectioning, + tables so that the number of the part is the sectioning, \begin_inset Newline newline \end_inset @@ -30894,9 +35455,8 @@ numberwithin{table}{part} \end_layout \begin_layout Standard -To go back to the standard numbering or to prevent this kind of numbering - when it is defined by the document class, the following command is inserted - as \SpecialChar TeX +To go back to the standard numbering or to prevent this kind of numbering when it is defined by the document class, + the following command is inserted as \SpecialChar TeX code or to the \SpecialChar LaTeX preamble: \end_layout @@ -30912,10 +35472,27 @@ theequation}{ \backslash arabic{equation}} \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash arabic \end_layout @@ -30923,6 +35500,11 @@ arabic \end_inset +\end_layout + +\end_inset + + \series default \begin_inset ERT @@ -30971,13 +35553,15 @@ arabic{table}} \backslash numberwithin \series default - uses internally the command + internally uses the command \series bold \backslash @addtoreset \series default -, described above, that also needs to be reverted. +, + described above, + and would also need to be reverted. \begin_inset ERT status collapsed @@ -31007,484 +35591,66 @@ makeatother \end_layout -\begin_layout Subsection -Numbering with Roman Numbers and Letters -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Formula numbering ! with letters -\end_layout - -\end_inset - - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Formula numbering ! with Roman numbers -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Formulas can also be numbered with Roman numbers and Latin letters. - To number for example with small Roman numbers, the command -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewcommand{ -\backslash -theequation}{ -\backslash -roman{equation}} -\end_layout - -\begin_layout Standard -is inserted before the formula in \SpecialChar TeX - mode. - -\series bold - -\backslash -renewcommand -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! R ! -\backslash -renewcommand -\end_layout - -\end_inset - - redefines the predefined command -\series bold - -\backslash -theequation -\series default - to the command -\series bold - -\backslash -roman{equation} -\series default -. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -The command -\series bold - -\backslash -renewcommand -\series default - has the same scheme like the command -\series bold - -\backslash -newcommand -\series default - that is described in -\begin_inset CommandInset ref -LatexCommand ref -reference "subsec:The-Command-newcommand" - -\end_inset - -. -\end_layout - -\end_inset - - -\series bold -equation -\series default - is the formula counter. - When the command -\series bold - -\backslash -the -\series default - is used as prefix for a counter, the value of the counter is output as - Arabic number. - When a formula is numbered, \SpecialChar LaTeX - sets internally the command -\series bold - -\backslash -theequation -\series default - behind the formula. - -\series bold - -\backslash -roman{equation} -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! R ! -\backslash -roman -\end_layout - -\end_inset - - -\series default - outputs the counter as small Roman number. -\end_layout - -\begin_layout Standard -All formulas behind the command -\series bold - -\backslash -renew -\series default -c -\series bold -ommand -\series default - are now numbered Roman. - To switch to numbering with big Roman numbers, the command is inserted - again, but -\series bold - -\backslash -roman -\series default - is replaced by -\series bold - -\backslash -Roman -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! R ! -\backslash -roman@ -\backslash -Roman -\end_layout - -\end_inset - -. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - with small Latin letters there is the command -\series bold - -\backslash -alph -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Commands ! A ! -\backslash -alph -\end_layout +\begin_layout Section +Chemical Symbols and Equations +\begin_inset CommandInset label +LatexCommand label +name "subsec:Chemical-Symbols-and" \end_inset -, for big ones there is the command -\series bold - -\backslash -Alph -\series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! -\backslash -alph@ -\backslash -Alph -\end_layout - -\end_inset - -. -\end_layout - -\begin_layout Standard -\begin_inset Note Greyedout +Chemical characters +\begin_inset IndexMacro subentry status open \begin_layout Plain Layout - -\series bold -\color none -Note: -\series default - Only maximal 26 -\begin_inset space ~ -\end_inset - -formulas can be numbered with Latin letters in one document. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -theequation}{ -\backslash -roman{equation}} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Formula -\begin{equation} -A=\textrm{small roman} -\end{equation} - -\end_inset - - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -theequation}{ -\backslash -Roman{equation}} -\end_layout - -\end_inset - - -\begin_inset Formula -\begin{equation} -B=\textrm{big Roman}\label{eq:Rom} -\end{equation} - -\end_inset - - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -theequation}{ -\backslash -alph{equation}} +Symbols \end_layout \end_inset -\begin_inset Formula -\begin{equation} -C=\textrm{small Latin} -\end{equation} - -\end_inset - - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -theequation}{ -\backslash -Alph{equation}} \end_layout \end_inset -\begin_inset Formula -\begin{equation} -D=\textrm{big Latin}\label{eq:Lat} -\end{equation} - -\end_inset - - -\end_layout - -\begin_layout Standard -To switch back to the default numbering, insert the command: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewcommand{ -\backslash -theequation}{ -\backslash -arabic{equation}} \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! A ! -\backslash -arabic -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -theequation}{ -\backslash -arabic{equation}} -\end_layout - -\end_inset - - -\begin_inset Formula -\begin{equation} -E=\textrm{Arabic} -\end{equation} - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset VSpace medskip -\end_inset - -As you see, formulas are numbered serially independent from the numbering - style. - When then numbering should start with -\begin_inset Quotes eld -\end_inset - -1 -\begin_inset Quotes erd -\end_inset - - when the style is changed, new equation counters have to be defined. - A description about this can be found in the file -\begin_inset CommandInset href -LatexCommand href -name "Formula-numbering.lyx" -target "run:Formula-numbering.lyx" - -\end_inset - -. +Chemical equations \end_layout -\begin_layout Section -Chemical Symbols and Equations -\begin_inset CommandInset label -LatexCommand label -name "subsec:Chemical-Symbols-and" - \end_inset \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Chemical characters ! Symbols -\end_layout - -\end_inset - - -\begin_inset Index idx -status collapsed +Symbols +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout -Chemical equations +chemical \end_layout \end_inset -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Symbols ! chemical \end_layout \end_inset @@ -31522,9 +35688,9 @@ The \end_layout \begin_layout Standard -This chemical equation can directly be created as formula. - To avoid that the symbols appear italic, everything is highlighted and - changed by the shortcut +Chemical equations can be created as formulas. + To avoid the symbols appearing in italic, + everything is highlighted and changed by the shortcut \begin_inset Info type "shortcut" arg "font-roman" @@ -31535,7 +35701,7 @@ arg "font-roman" status collapsed \begin_layout Plain Layout -font styles +For font styles \series bold \series default @@ -31543,6 +35709,7 @@ see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Font-Styles" +nolink "false" \end_inset @@ -31555,8 +35722,7 @@ reference "subsec:Font-Styles" \end_layout \begin_layout Standard -A more convenient way to typeset chemical formulas is to use the command - +A more convenient way to typeset chemical formulas is to use the command \series bold \backslash @@ -31564,27 +35730,61 @@ ce \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! C ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +C +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash ce \end_layout \end_inset - that is available when the \SpecialChar LaTeX + +\end_layout + +\end_inset + + which is available when the \SpecialChar LaTeX -package \series bold mhchem \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! mhchem +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +mhchem +\end_layout + +\end_inset + + \end_layout \end_inset @@ -31596,12 +35796,7 @@ Packages ! mhchem \backslash ce \series default - to a formula a new blue box appears where chemical formulas can be inserted - in an intuitive way. -\begin_inset Separator parbreak -\end_inset - - + in a formula a new blue box appears where chemical formulas can be inserted in an intuitive way. \end_layout \begin_layout Standard @@ -31974,12 +36169,11 @@ status open \begin_layout Plain Layout \series bold -\color none Note: + \series default It is not possible in \SpecialChar LyX - to use the character ^ to get an up-arrow as described - in the + to use the character ^ to get an up-arrow as described in the \series bold mhchem \series default @@ -31990,7 +36184,8 @@ mhchem \backslash uparrow \series default -: +: + \begin_inset Formula $\ce{Fe + 2H+ -> Fe^{2+} + H2\negthinspace\uparrow}$ \end_inset @@ -32017,6 +36212,7 @@ ce \begin_inset CommandInset ref LatexCommand eqref reference "eq:chem-reaction" +nolink "false" \end_inset @@ -32056,11 +36252,11 @@ Na2SO4 \end_layout \begin_layout Standard -To create multiline chemical equations first a multiline formula is created - as described in +To create multiline chemical equations first a multiline formula is created as described in \begin_inset CommandInset ref LatexCommand ref reference "sec:Multiline-Formulas" +nolink "false" \end_inset @@ -32076,6 +36272,7 @@ ce \begin_inset CommandInset ref LatexCommand eqref reference "eq:TEOS-reaction-1" +nolink "false" \end_inset @@ -32083,11 +36280,11 @@ reference "eq:TEOS-reaction-1" \begin_inset CommandInset ref LatexCommand eqref reference "eq:TEOS-reaction-2" +nolink "false" \end_inset - are an example of a multi-stage chemical reaction where every equation - has its own number. + are an example of a multi-stage chemical reaction where every equation has its own number. \begin_inset Formula \begin{eqnarray} \ce{TEOS + 4O} & \ce{->} & \ce{Si(OH)4 + 4C2H4O}\label{eq:TEOS-reaction-1}\\ @@ -32118,17 +36315,39 @@ cf \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! C ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +C +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash cf \end_layout \end_inset - that has to be used for special cases. + +\end_layout + +\end_inset + + that is used for special cases. For more information about \series bold @@ -32139,10 +36358,12 @@ cf \series bold mhchem \series default -, +, + \begin_inset CommandInset citation LatexCommand cite key "mhchem" +literal "true" \end_inset @@ -32155,7 +36376,8 @@ Diagrams \begin_layout Standard \SpecialChar LyX - supports two types of commutative diagrams: + supports two types of commutative diagrams: + \series bold amscd \series default @@ -32163,16 +36385,28 @@ amscd \series bold xymatrix \series default - that are explained in the following. + and are explained below. \end_layout \begin_layout Subsection Amscd Diagrams \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Diagrams ! amscd +Diagrams +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +amscd +\end_layout + +\end_inset + + \end_layout \end_inset @@ -32181,8 +36415,7 @@ Diagrams ! amscd \end_layout \begin_layout Standard -Diagrams of this type visualize relations by vertical and horizontal lines - or arrows: +Diagrams of this type visualize relations by vertical and horizontal lines or arrows: \begin_inset Formula \[ \begin{CD}A@>>>B@>>>C\\ @@ -32197,16 +36430,34 @@ F@<<>> \series default @@ -32253,7 +36510,8 @@ To create the relations there are the following commands: \series bold @AAA \series default - creates an up arrow, + creates an up arrow, + \series bold @VVV \series default @@ -32278,18 +36536,21 @@ All arrows can be labeled as follows: \end_layout \begin_layout Itemize -If text inserted between the first and second < or >, resp., it is placed - above the arrow. - When it is inserted between the second and third one, it appears under - the arrow. +If text inserted between the first and second < or >, + resp., + it is placed above the arrow. + When it is inserted between the second and third one, + it appears under the arrow. \end_layout \begin_layout Itemize -When text for vertical arrows is inserted between the first and second A - or V, resp., it is placed left beside the arrow. - When it is inserted between the second and third one, it appears right - beside the arrow. - If the text contains an A or V, these letters must be set into a \SpecialChar TeX +When text for vertical arrows is inserted between the first and second A or V, + resp., + it is placed left beside the arrow. + When it is inserted between the second and third one, + it appears right beside the arrow. + If the text contains an A or V, + these letters must be set into a \SpecialChar TeX brace. \end_layout @@ -32384,10 +36645,22 @@ D@<k>>F@=C \begin_layout Subsection Xymatrix Diagrams \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Diagrams ! xymatrix +Diagrams +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +xymatrix +\end_layout + +\end_inset + + \end_layout \end_inset @@ -32396,7 +36669,8 @@ Diagrams ! xymatrix \end_layout \begin_layout Standard -To be able to use xymatrices, the \SpecialChar LaTeX +To be able to use xymatrices, + the \SpecialChar LaTeX -package \series bold xypic @@ -32414,6 +36688,7 @@ xymatrix \begin_inset CommandInset ref LatexCommand ref reference "sec:Matrices" +nolink "false" \end_inset @@ -32421,14 +36696,14 @@ reference "sec:Matrices" \end_layout \begin_layout Standard -In contrary to amscd diagrams, xymatrices supports diagonal and curved arrows, +Contrary to amscd diagrams, + xymatrices support diagonal and curved arrows, and much more. - All possibilities to create commutative diagrams and decorations are explained - in detail in the + The commands used to create commutative diagrams and decorations are explained in detail in the \emph on XY-pic manual \emph default - that you find in the menu + found in the menu \family sans Help\SpecialChar menuseparator Specific @@ -32447,10 +36722,22 @@ Feynman \noun default Diagrams \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Diagrams ! Feynman +Diagrams +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +Feynman +\end_layout + +\end_inset + + \end_layout \end_inset @@ -32463,7 +36750,8 @@ To be able to use \noun on Feynman \noun default --diagrams, the \SpecialChar LaTeX +-diagrams, + the \SpecialChar LaTeX -package \series bold feyn @@ -32480,11 +36768,12 @@ Feynman Diagram \series default in a formula. - Then you are able to add new matrix columns and rows like for normal matrices, + Then you will be able to add new matrix columns and rows like for normal matrices, see \begin_inset CommandInset ref LatexCommand ref reference "sec:Matrices" +nolink "false" \end_inset @@ -32492,16 +36781,16 @@ reference "sec:Matrices" \end_layout \begin_layout Standard -Examples how to create +Examples of how to create \noun on Feynman- \noun default diagrams in \SpecialChar LyX - is given in the + are given in the \emph on -Feynman-diagram manual +Feynman-diagram \emph default - that you find in the menu + manual that you find in the menu \family sans Help\SpecialChar menuseparator Specific @@ -32513,16 +36802,11 @@ Manuals . \end_layout -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - \begin_layout Section User-defined Commands \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -32542,9 +36826,9 @@ status open \series bold Note: + \series default - The names of user-defined commands and macros may only consist of Latin - letters. + The names of user-defined commands and macros may only consist of Latin letters. \end_layout \end_inset @@ -32564,10 +36848,17 @@ name "subsec:The-Command-newcommand" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -User-defined commands ! +User-defined commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash newcommand \end_layout @@ -32575,11 +36866,33 @@ newcommand \end_inset +\end_layout + +\end_inset + + \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! N ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +N +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash newcommand \end_layout @@ -32587,6 +36900,11 @@ newcommand \end_inset +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -32649,11 +36967,11 @@ status open \series bold Note: + \series default - Assure that the name of the new command is not already used in your document - or by \SpecialChar LaTeX + Verify that the name of the new command is not already used in your document or by the \SpecialChar LaTeX -packages that you use. - When you for example define the command + If you for example define the command \series bold \backslash @@ -32665,7 +36983,8 @@ le \backslash Leftarrow \series default -, you get an error message because +, + you will get an error message because \series bold \backslash @@ -32702,7 +37021,8 @@ The number of arguments is an integer in the range 0 9 and specifies how many arguments the new command should have. With the optional value a value for an optional argument can be predefined. - When this is done, the + When this is done, + the \emph on first \emph default @@ -32730,7 +37050,8 @@ gr \backslash Longrightarrow \series default -, the \SpecialChar LaTeX +, + the \SpecialChar LaTeX -preamble line is: \begin_inset VSpace medskip \end_inset @@ -32763,7 +37084,8 @@ us \backslash underline \series default -, the argument (that should be underlined) must be taken into account. +, + the argument (that should be underlined) must be taken into account. For this the preamble line is: \begin_inset VSpace medskip \end_inset @@ -32794,7 +37116,8 @@ The character \series bold # \series default - acts as argument placeholder, the + acts as argument placeholder, + the \series bold 1 \series default @@ -32854,10 +37177,12 @@ The two Dollar signs creates the extra formula needed for \backslash framebox \series default -, see +, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Boxes-with-Frame" +nolink "false" \end_inset @@ -32871,8 +37196,8 @@ To create a new command for \backslash fcolorbox \series default - where the color for the box need not be specified, the argument for the - color is defined optional: + where the color for the box need not be specified, + the argument for the color is defined optional: \begin_inset VSpace medskip \end_inset @@ -32904,7 +37229,8 @@ When the color is not specified when using \backslash cb \series default -, the predefined color +, + the predefined color \series bold white \series default @@ -32913,10 +37239,6 @@ white \begin_layout Standard A test of the new defined commands: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -33126,19 +37448,33 @@ A=B \end_layout +\begin_layout Standard +As is obvious, + commands defined in the preamble do not display `nicely' in LyX itself. + Most such commands can be defined in LyX using `math macros', + however, + which we are about to explain, + and these do display nicely. +\end_layout + \begin_layout Subsection Math Macros \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -User-defined commands! Math macros +User-defined commands! + Math macros \end_layout \end_inset \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -33152,7 +37488,7 @@ Macros \begin_layout Standard User-defined commands are especially convenient for complex expressions. - When you are for example dealing with a document that has quadratic equations, + For example if you are dealing with a document that has quadratic equations, the same solution type occurs several times. The general form of a quadratic equation is \begin_inset Formula @@ -33174,12 +37510,12 @@ The general form of the solution is \end_layout \begin_layout Standard -To define a command for the solution formula where only the three parameters - +To define a command for the solution formula where only the three parameters \begin_inset Formula $\lambda$ \end_inset -, +, + \begin_inset Formula $p$ \end_inset @@ -33191,7 +37527,8 @@ To define a command for the solution formula where only the three parameters \begin_inset Formula $\lambda$ \end_inset - can be given optionally, the \SpecialChar LaTeX + can be given optionally, + the \SpecialChar LaTeX -preamble line is \begin_inset Newline newline \end_inset @@ -33234,7 +37571,8 @@ frac{#3^{2}}{4}-#4}} \end_layout \begin_layout Standard -To create with this the solution formula, the command +To create with this the solution formula, + the command \begin_inset Newline newline \end_inset @@ -33264,9 +37602,9 @@ lambda \end_layout \begin_layout Standard -The definition of the new command is unintuitive because one has to know - the schemes of all used \SpecialChar LaTeX - commands, e. +The definition of the new command is unintuitive because one has to know the schemes of all used \SpecialChar LaTeX + commands, + e. \begin_inset space \thinspace{} \end_inset @@ -33282,12 +37620,10 @@ that a fraction is inserted in \SpecialChar LaTeX frac{numerator}{denominator} \series default . - Furthermore one can easily forget a brace in the definition and cannot - see in \SpecialChar LyX + Furthermore one can easily forget a brace in the definition and cannot see in \SpecialChar LyX what the new command is doing. To avoid these problems \SpecialChar LyX - offers the possibility to use math macros instead - of the command + offers the possibility to use math macros instead of the command \series bold \backslash @@ -33310,8 +37646,7 @@ arg "math-macro newmacroname_newcommand" \end_inset . - The math macro toolbar appears together with the following box where the - macro is defined: + The math macro toolbar appears together with the following box where the macro is defined: \begin_inset Newline newline \end_inset @@ -33322,7 +37657,7 @@ arg "math-macro newmacroname_newcommand" \begin_inset Graphics filename clipart/macrobox.png - scale 75 + scale 95 \end_inset @@ -33341,8 +37676,7 @@ arg "math-macro newmacroname_newcommand" \backslash -newmacroname is the default name of the macro that should be changed to - something sensible. +newmacroname is the default name of the macro that should be changed to something sensible. The wanted formula is inserted in the first blue box. An argument placeholder is inserted with the command \series bold @@ -33350,7 +37684,8 @@ newmacroname is the default name of the macro that should be changed to \backslash #argumentnumber \series default -, e. +, + e. \begin_inset space \thinspace{} \end_inset @@ -33384,8 +37719,7 @@ arg "math-macro-add-optional-param" \end_inset . - The first non-optional argument can be transformed to an optional one with - the toolbar button + The first non-optional argument can be transformed to an optional one with the toolbar button \begin_inset Info type "icon" arg "math-macro-make-optional" @@ -33394,7 +37728,8 @@ arg "math-macro-make-optional" . In the second blue box the appearance of the macro in \SpecialChar LyX can be defined. - Normally you want to see it as it is defined, so the box is kept empty. + Normally you want to see it as it is defined, + so the box is kept empty. But when you have created a macro that needs lot of space on the screen, you can insert in the box for example \begin_inset Newline newline @@ -33402,13 +37737,15 @@ arg "math-macro-make-optional" \series bold -qG: +qG: + \backslash #1 \series default \series bold , + \series default \series bold @@ -33419,12 +37756,14 @@ qG: \series bold , + \series default \series bold \backslash -#3, +#3, + \backslash #4 \begin_inset Newline newline @@ -33432,15 +37771,14 @@ qG: \series default -For the macro only the arguments with the macro name in front of them will - then be displayed in \SpecialChar LyX -, leading to a better overview. +For the macro only the arguments with the macro name in front of them will then be displayed in \SpecialChar LyX +, + leading to a better overview. The formula appears in the output as defined in the first box. \begin_inset Newline newline \end_inset -The appearance of macros in formulas can furthermore be changed for single - macros by setting the cursor in the macro and using the menu +The appearance of macros in formulas can furthermore be changed for single macros by setting the cursor in the macro and using the menu \family sans View\SpecialChar menuseparator (Un)fold @@ -33457,8 +37795,9 @@ Macro \end_layout \begin_layout Standard -To use a macro, the macro name is inserted as command to a formula, in our - case +To use a macro, + the macro name is inserted as command to a formula, + in our case \series bold \backslash @@ -33477,7 +37816,7 @@ qG \begin_inset Graphics filename clipart/macrouse.png - scale 75 + scale 95 \end_inset @@ -33493,7 +37832,8 @@ Here is our macro example with the arguments \begin_inset Formula $x$ \end_inset -, +, + \begin_inset Formula $\ln(x)$ \end_inset @@ -33525,8 +37865,8 @@ Editing\SpecialChar menuseparator Control \family default different styles to edit macros. - To find the style that suits you the most, choose a style and set the cursor - in a macro formula to see the difference. + To find the style that suits you best, + choose a style and set the cursor in a macro formula to see the difference. \end_layout \begin_layout Standard @@ -33544,8 +37884,8 @@ newcommand newcommand \series default command is not placed in the \SpecialChar LaTeX --preamble, therefore macros can only be used - in formulas that are in the document below the macro definition box. +-preamble, + therefore macros can only be used in formulas that are in the document below the macro definition box. \end_layout \begin_layout Standard @@ -33575,26 +37915,26 @@ xleftarrow[#2]{#1}} \series default in \SpecialChar LyX - as normal text, highlighting it completely and using then the shortcut - + as normal text, + highlighting it completely and using the shortcut \family sans Ctrl+M \family default -, the command will be transformed to a math macro. +, + the command will be transformed to a math macro. Using this method you need to be careful that the \series bold \backslash newcommand \series default - command is typed correctly, otherwise you get a faulty macro leading to - \SpecialChar LaTeX + command is typed correctly, + otherwise you get a faulty macro leading to \SpecialChar LaTeX errors. \end_layout \begin_layout Standard -Math macros currently have the problem that further formulas in macro definition -s are handled wrongly. +Math macros currently have the problem that further formulas in macro definitions are handled wrong. Therefore the example \series bold @@ -33605,6 +37945,7 @@ fb \begin_inset CommandInset ref LatexCommand ref reference "subsec:The-Command-newcommand" +nolink "false" \end_inset @@ -33612,8 +37953,8 @@ reference "subsec:The-Command-newcommand" \end_layout \begin_layout Standard -When the cursor is in a macro definition box, you will see the macro toolbar - in \SpecialChar LyX +When the cursor is in a macro definition box, + you will see the macro toolbar in \SpecialChar LyX : \end_layout @@ -33632,10 +37973,22 @@ When the cursor is in a macro definition box, you will see the macro toolbar \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Macros ! Toolbar +Macros +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +Toolbar +\end_layout + +\end_inset + + \end_layout \end_inset @@ -34095,6 +38448,57 @@ Eating From The Right \end_layout +\begin_layout Subsection +Math Macros for External Commands +\end_layout + +\begin_layout Standard +Sometimes, + you may need to use a LaTeX package which defines a math command that is not natively supported in LyX. + This is easy enough to do: + Just include the package in the preamble and type out the command in math. + As with commands defined in the preamble, + however, + the display in LyX will not be `nice'. +\end_layout + +\begin_layout Standard +As of LyX 2.4, + this problem has been solved. + Just define a math macro with empty LaTeX slot! + The LyX part will be used for display, + but no corresponding LaTeX will be output. + For example, + the +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +godelnum.sty +\end_layout + +\end_inset + + package defines a Godelnum macro that puts a single argument into corner quotes. + To get a nice LyX display of this macro, + just do: +\end_layout + +\begin_layout Standard +\begin_inset FormulaMacro +\newcommand{\Godelnum}[1]{} +{\ulcorner#1\urcorner} +\end_inset + + +\end_layout + +\begin_layout Standard +The same trick, + of course, + can be used for commands defined in the preamble. +\end_layout + \begin_layout Section Computer Algebra Systems \end_layout @@ -34102,17 +38506,18 @@ Computer Algebra Systems \begin_layout Standard \SpecialChar LyX offers the exchange between mathematical expressions written in \SpecialChar LyX -'s math - editor and external applications or user defined scripts. +'s math editor and external applications or user defined scripts. Currently supported applications are \family sans Maple \family default -, +, + \family sans Mathematica \family default -, +, + \family sans Maxima \family default @@ -34121,8 +38526,7 @@ Maxima Octave \family default . - Note that the set of supported mathematical constructs is limited only - to very simple cases. + Note that the set of supported mathematical constructs is limited only to very simple cases. \end_layout \begin_layout Subsection @@ -34130,15 +38534,15 @@ Usage \end_layout \begin_layout Standard -Write some expression in a formula, go to the +Write some expression in a formula, + go to the \family sans Edit\SpecialChar menuseparator Math\SpecialChar menuseparator Use Computer Algebra System \family default menu and choose the application you have installed on the computer. - After that the result of computation should show on the right side of the - expression together with the + After that the result of computation should show on the right side of the expression together with the \begin_inset Quotes eld \end_inset @@ -34176,6 +38580,36 @@ Maxima \end_inset +\end_layout + +\begin_layout Itemize +\begin_inset Formula $\int\left(\frac{1}{1+x^{3}}\right)dx=-\frac{\log\left(x^{2}-x+1\right)}{6}+\frac{\arctan\left(\frac{2\,x-1}{\sqrt{3}}\right)}{\sqrt{3}}+\frac{\log\left(x+1\right)}{3}$ +\end_inset + + +\begin_inset Newline newline +\end_inset + + +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: + +\series default + One needs to use proper delimiter insets +\begin_inset Formula $\left(\right)$ +\end_inset + + instead of simple '(' ')' characters. +\end_layout + +\end_inset + + \end_layout \begin_layout Itemize @@ -34194,6 +38628,20 @@ Maxima \end_inset +\end_layout + +\begin_layout Itemize +\begin_inset Formula $powerseries\left(-\log\left(5-x\right),x,1\right)=\sum_{{\mathit{i}_{2}}=0}^{\infty}{\frac{4^{-{\mathit{i}_{2}}-1}\,\left(x-1\right)^{{\mathit{i}_{2}}+1}}{{\mathit{i}_{2}}+1}}-\log4$ +\end_inset + + +\end_layout + +\begin_layout Itemize +\begin_inset Formula $solve\left(x_{1}+y_{1}^{3}=y_{1}+x_{1}^{2},x_{1}\right)=\left[x_{1}=-\frac{\sqrt{4\,y_{1}^{3}-4\,y_{1}+1}-1}{2},x_{1}=\frac{\sqrt{4\,y_{1}^{3}-4\,y_{1}+1}+1}{2}\right]$ +\end_inset + + \end_layout \begin_layout Subsection @@ -34244,6 +38692,8 @@ command-alternatives paragraph-break;math-extern maxima \begin_layout Section Miscellaneous \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -34258,10 +38708,22 @@ Miscellaneous \begin_layout Subsection Negative Numbers \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Numbers ! negative +Numbers +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +negative +\end_layout + +\end_inset + + \end_layout \end_inset @@ -34270,23 +38732,18 @@ Numbers ! negative \end_layout \begin_layout Standard -Negative numbers often look ugly in formulas because the minus sign before - the number is set with the same length as the minus operator sign. - When writing the negative number in normal text, the minus sign appears - correctly. +Negative numbers often look ugly in formulas because the minus sign before the number is set with the same length as the minus operator sign. + When writing the negative number in normal text, + the minus sign appears correctly. \end_layout \begin_layout Standard -Thus, the problem disappears when converting the minus sign to mathematical - text. +Thus, + the problem disappears when converting the minus sign to mathematical text. \end_layout \begin_layout Standard An example to visualize the problem: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -34372,6 +38829,8 @@ solution: \begin_layout Subsection Comma as decimal Separator \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -34385,14 +38844,15 @@ Comma \begin_layout Standard In \SpecialChar LaTeX - a comma inside a formula is used, according to the English convention, + a comma inside a formula is used, + according to the English convention, as number group separator. So there will be space added behind all commas in formulas. \end_layout \begin_layout Standard -To avoid this, the comma is highlighted and changed to mathematical text - (shortcut +To avoid this, + the comma is highlighted and changed to mathematical text (shortcut \begin_inset Info type "shortcut" arg "math-mode" @@ -34402,8 +38862,8 @@ arg "math-mode" \end_layout \begin_layout Standard -To use all formula commas in the document as decimal separator, the file - +To use all formula commas in the document as decimal separator, + the file \series bold icomma.sty \series default @@ -34423,18 +38883,17 @@ was \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! was -\begin_inset ERT -status collapsed +Packages +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout - - -\backslash -vspace{4mm} +was \end_layout \end_inset @@ -34451,10 +38910,22 @@ vspace{4mm} \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! icomma +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +icomma +\end_layout + +\end_inset + + \end_layout \end_inset @@ -34481,10 +38952,22 @@ name "subsec:Physical-Vectors" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Vectors ! physical +Vectors +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +physical +\end_layout + +\end_inset + + \end_layout \end_inset @@ -34500,10 +38983,22 @@ braket \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! braket +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +braket +\end_layout + +\end_inset + + \end_layout \end_inset @@ -34553,10 +39048,6 @@ braket \begin_layout Standard The following commands are defined: -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -34760,10 +39251,12 @@ Braket \backslash middle \series default -, that is described in +, + that is described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Automatic-Bracket-Size" +nolink "false" \end_inset @@ -34780,10 +39273,22 @@ name "subsec:Self-defined-Fractions" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Fractions ! self-defined +Fractions +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +self-defined +\end_layout + +\end_inset + + \end_layout \end_inset @@ -34792,7 +39297,8 @@ Fractions ! self-defined \end_layout \begin_layout Standard -To define custom commands for fractions, the command +To define custom commands for fractions, + the command \series bold \backslash @@ -34800,20 +39306,29 @@ genfrac \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! G ! -\backslash -genfrac -\begin_inset ERT -status collapsed +Commands +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout +G +\end_layout +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout \backslash -vspace{4mm} +genfrac \end_layout \end_inset @@ -34870,10 +39385,6 @@ The style is a number in the range of 0 \end_inset 3. -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -34991,8 +39502,8 @@ tiny \end_layout \begin_layout Standard -When no style is given, the size is adjusted to the surrounding environment - like for the command +When no style is given, + the size is adjusted to the surrounding environment like for the command \series bold \backslash @@ -35002,7 +39513,8 @@ frac \end_layout \begin_layout Standard -When no fraction bar thickness is given, the predefined value of 0.4 +When no fraction bar thickness is given, + the predefined value of 0.4 \begin_inset space \thinspace{} \end_inset @@ -35013,7 +39525,8 @@ pt will be used. \begin_inset VSpace medskip \end_inset -For example, the commands +For example, + the commands \series bold \backslash @@ -35029,6 +39542,7 @@ tbinom \begin_inset CommandInset ref LatexCommand ref reference "subsec:Fractions" +nolink "false" \end_inset @@ -35067,8 +39581,8 @@ genfrac{(}{)}{0pt}{1}{#1}{#2}} \begin_inset VSpace medskip \end_inset -To define a fraction where the fraction bar thickness can be given as optional - argument, the following line is inserted to the \SpecialChar LaTeX +To define a fraction where the fraction bar thickness can be given as optional argument, + the following line is inserted to the \SpecialChar LaTeX -preamble: \end_layout @@ -35094,17 +39608,29 @@ A test: \end_inset -As one can see, the distance of the numerator and the denominator to the - fraction bar is round about three times the bar thickness. +As one can see, + the distance of the numerator and the denominator to the fraction bar is round about three times the bar thickness. \end_layout \begin_layout Subsection Canceled Formulas \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! canceled +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +canceled +\end_layout + +\end_inset + + \end_layout \end_inset @@ -35145,10 +39671,6 @@ cancel \end_inset -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -35383,7 +39905,8 @@ option \series bold samesize \series default - which leads to the same size as for the canceled value, or + which leads to the same size as for the canceled value, + or \series bold Smaller \series default @@ -35477,23 +40000,38 @@ reset the color \end_layout \begin_layout Standard -For further customizations, see the documentation of the package +For further customizations, + see the documentation of the package \series bold cancel \series default -, +, + \begin_inset CommandInset citation LatexCommand cite key "cancel" +literal "true" \end_inset . \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! cancel +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +cancel +\end_layout + +\end_inset + + \end_layout \end_inset @@ -35567,10 +40105,22 @@ name "subsec:Formulas-in-Section" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! in section headings +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +in section headings +\end_layout + +\end_inset + + \end_layout \end_inset @@ -35579,8 +40129,8 @@ Formula ! in section headings \end_layout \begin_layout Standard -When formulas are used in section headings, the following has to be taken - into account: +When formulas are used in section headings, + the following has to be taken into account: \end_layout \begin_layout Standard @@ -35594,10 +40144,22 @@ hyperref \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! hyperref +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +hyperref +\end_layout + +\end_inset + + \end_layout \end_inset @@ -35610,10 +40172,11 @@ PDF Properties \family default -, PDF-bookmarks are created for every section heading in the table of contents. - If a section heading contains formulas, they are incorrectly displayed - in the bookmark text, because formulas in bookmarks infringe the PDF convention -s. +, + PDF-bookmarks are created for every section heading in the table of contents. + If a section heading contains formulas, + they are incorrectly displayed in the bookmark text, + because formulas in bookmarks infringe the PDF conventions. \end_layout \end_inset @@ -35622,8 +40185,7 @@ s. \end_layout \begin_layout Standard -Both problems can be solved by inserting at the end of the section heading - a short title with the menu +Both problems can be solved by inserting at the end of the section heading a short title with the menu \family sans Insert\SpecialChar menuseparator Short @@ -35633,10 +40195,8 @@ Short Title \family default . - Short titles are used as alternative for multiline section headings to - keep the table of contents clearly arranged. - Only the short title appears in the table of contents and therefore also - in the PDF-bookmark. + Short titles are used as alternative for multiline section headings to keep the table of contents clearly arranged. + Only the short title appears in the table of contents and therefore also in the PDF-bookmark. \end_layout \begin_layout Standard @@ -35644,7 +40204,8 @@ When formulas should be used in the table of contents but \series bold hyperref \series default - is used, one can use the following command in \SpecialChar TeX + is used, + one can use the following command in \SpecialChar TeX mode: \end_layout @@ -35655,10 +40216,27 @@ hyperref \backslash texorpdfstring{part}{alternative} \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Commands ! T ! +Commands +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +T +\end_layout + +\end_inset + + +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout + \backslash texorpdfstring \end_layout @@ -35666,11 +40244,19 @@ texorpdfstring \end_inset +\end_layout + +\end_inset + + \end_layout \begin_layout Standard Part is the part of the heading that shouldn't appear in the PDF-bookmark. - This can be characters, formulas, footnotes, but also cross-references. + This can be characters, + formulas, + footnotes, + but also cross-references. The alternative is used instead of the part for the bookmark. \end_layout @@ -35758,7 +40344,8 @@ unboldmath \end_inset -In the first heading a short title was used, in the second one +In the first heading a short title was used, + in the second one \series bold \backslash @@ -35768,20 +40355,21 @@ texorpdfstring \end_layout \begin_layout Standard -To get the same formatting as for the other headings, the complete heading - was set into a +To get the same formatting as for the other headings, + the complete heading was set into a \series bold boldmath \series default environment \begin_inset Foot -status collapsed +status open \begin_layout Plain Layout -see +See \begin_inset CommandInset ref LatexCommand ref reference "subsec:Bold-Formulas" +nolink "false" \end_inset @@ -35796,10 +40384,22 @@ reference "subsec:Bold-Formulas" \begin_layout Subsection Formulas in multi-column Text \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! in multi-column text +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +in multi-column text +\end_layout + +\end_inset + + \end_layout \end_inset @@ -35808,8 +40408,7 @@ Formula ! in multi-column text \end_layout \begin_layout Standard -Formulas in multi-column text are often too wide to fit into a column and - thus need to be set over the whole page width. +Formulas in multi-column text are often too wide to fit into a column and thus need to be set over the whole page width. This is done by using the \SpecialChar LaTeX -package \series bold @@ -35832,15 +40431,28 @@ multicol \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! multicol +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +multicol +\end_layout + +\end_inset + + \end_layout \end_inset -, that is loaded with the \SpecialChar LaTeX +, + that is loaded with the \SpecialChar LaTeX -preamble line \end_layout @@ -35935,7 +40547,8 @@ in \SpecialChar TeX \begin_layout Standard Due to the command some space is automatically added before the formula. - To revert this, -6 + To correct this, + -6 \begin_inset space \thinspace{} \end_inset @@ -35944,13 +40557,14 @@ mm vertical space is inserted before the formula. \series bold Indented \begin_inset Foot -status collapsed +status open \begin_layout Plain Layout -formula styles see +For formula styles see \begin_inset CommandInset ref LatexCommand ref reference "sec:Formula-Styles" +nolink "false" \end_inset @@ -35961,7 +40575,8 @@ reference "sec:Formula-Styles" \series default - is used, -9 + is used, + a -9 \begin_inset space \thinspace{} \end_inset @@ -35988,12 +40603,13 @@ begin{multicols}{2} \end_inset Das Spektrum wird fouriertransformiert. - Die Fouriertransformation wird verwendet, um die überlagerten Signale (Netzwerk -, Lösungsmittel) zu trennen. - Nachdem wir die Phasenverschiebung bestimmen konnten, interessiert uns - nun das Aussehen des Ausgangssignals. - Im Experiment haben wir es mit sehr vielen Teilchen zu tun, so dass man - über alle Phasen integrieren muss. + Die Fouriertransformation wird verwendet, + um die überlagerten Signale (Netzwerk, + Lösungsmittel) zu trennen. + Nachdem wir die Phasenverschiebung bestimmen konnten, + interessiert uns nun das Aussehen des Ausgangssignals. + Im Experiment haben wir es mit sehr vielen Teilchen zu tun, + so dass man über alle Phasen integrieren muss. Sei nun \begin_inset Formula $S$ \end_inset @@ -36002,7 +40618,8 @@ Das Spektrum wird fouriertransformiert. \begin_inset Formula $P$ \end_inset - die Phasenverteilungsfunktion, so ergibt sich die Beziehung + die Phasenverteilungsfunktion, + so ergibt sich die Beziehung \begin_inset ERT status collapsed @@ -36058,10 +40675,9 @@ wobei \begin_inset space \thinspace{} \end_inset --rf-Puls beginnt sich die Magnetisierung zu entfokussieren, wodurch sich - das Signal zusätzlich abschwächt. - Diese Abschwächung verläuft exponentiell in Abhängigkeit der so genannten - +-rf-Puls beginnt sich die Magnetisierung zu entfokussieren, + wodurch sich das Signal zusätzlich abschwächt. + Diese Abschwächung verläuft exponentiell in Abhängigkeit der so genannten \begin_inset Formula $T_{2}$ \end_inset @@ -36089,10 +40705,22 @@ end{multicols} \begin_layout Subsection Formulas with Description of Variables \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Formula ! with description of variables +Formula +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +with description of variables +\end_layout + +\end_inset + + \end_layout \end_inset @@ -36101,14 +40729,17 @@ Formula ! with description of variables \end_layout \begin_layout Standard -To describe variables within a formula, like in formula +To describe variables within a formula, + like in formula \begin_inset CommandInset ref LatexCommand eqref reference "eq:within" +nolink "false" \end_inset -, a 2 +, + a 2 \series bold × \series default @@ -36129,10 +40760,11 @@ matrix is used with left aligned columns for the status collapsed \begin_layout Plain Layout -matrices see +For matrices see \begin_inset CommandInset ref LatexCommand ref reference "sec:Matrices" +nolink "false" \end_inset @@ -36141,7 +40773,8 @@ reference "sec:Matrices" \end_inset - To set the description in a smaller size, before the matrix e. + To set the description in a smaller size, + before the matrix e. \begin_inset space \thinspace{} \end_inset @@ -36160,10 +40793,11 @@ footnotesize status collapsed \begin_layout Plain Layout -font sizes see +For font sizes see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Font-Sizes" +nolink "false" \end_inset @@ -36183,10 +40817,11 @@ Indented status collapsed \begin_layout Plain Layout -formula styles see +For formula styles see \begin_inset CommandInset ref LatexCommand ref reference "sec:Formula-Styles" +nolink "false" \end_inset @@ -36197,7 +40832,8 @@ reference "sec:Formula-Styles" \series default - is used, a + is used, + a \series bold \backslash @@ -36218,10 +40854,12 @@ hfill \series bold Indented \series default -, see +, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Variable-Space" +nolink "false" \end_inset @@ -36230,8 +40868,7 @@ reference "subsec:Variable-Space" \end_inset - is inserted before and after the matrix to have the same separation of - the matrix from the equation and the side margin. + is inserted before and after the matrix to have the same separation of the matrix from the equation and the side margin. \end_layout \begin_layout Standard @@ -36239,10 +40876,12 @@ When the formula style \series bold Centered \series default - is used, the method described in + is used, + the method described in \begin_inset CommandInset ref LatexCommand ref reference "subsec:Flalign-Environment" +nolink "false" \end_inset @@ -36251,6 +40890,7 @@ reference "subsec:Flalign-Environment" \begin_inset CommandInset ref LatexCommand eqref reference "eq:within" +nolink "false" \end_inset @@ -36259,11 +40899,11 @@ reference "eq:within" brace. \begin_inset Formula \begin{flalign} -\hspace{30pt}F_{A} & =\rho·V·g & \footnotesize\begin{array}{ll} +\hspace{30pt}F_{A} & =\rho·V·g & {\footnotesize \begin{array}{ll} \rho & \textrm{density}\\ V & \textrm{volume}\\ g & \textrm{gravitational acceleration} -\end{array} & & {}\label{eq:within} +\end{array}} & & {}\label{eq:within} \end{flalign} \end_inset @@ -36281,10 +40921,22 @@ name "subsec:Upright-small-Greek" \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Greek letters ! upright +Greek letters +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +upright +\end_layout + +\end_inset + + \end_layout \end_inset @@ -36294,8 +40946,8 @@ Greek letters ! upright \begin_layout Standard Most of the math fonts only provide italic small Greek letters. - But for symbols of elementary particles like pions and neutrinos, upright - Greek letters are needed. + But for symbols of elementary particles like pions and neutrinos, + upright Greek letters are needed. The file \series bold upgreek.sty @@ -36316,18 +40968,17 @@ was \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! was -\begin_inset ERT -status collapsed +Packages +\begin_inset IndexMacro subentry +status open \begin_layout Plain Layout - - -\backslash -vspace{4mm} +was \end_layout \end_inset @@ -36344,10 +40995,22 @@ vspace{4mm} \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! upgreek +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +upgreek +\end_layout + +\end_inset + + \end_layout \end_inset @@ -36394,8 +41057,7 @@ upgreek \end_inset - They are created when the command for a small Greek letter is started with - + They are created when the command for a small Greek letter is started with \series bold up \series default @@ -36406,7 +41068,8 @@ up \backslash uptau \series default - creates this: + creates this: + \begin_inset Formula $\uptau$ \end_inset @@ -36497,10 +41160,22 @@ fi \begin_layout Subsection Text Characters in Formulas \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Text ! in formulas +Text +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +in formulas +\end_layout + +\end_inset + + \end_layout \end_inset @@ -36510,11 +41185,12 @@ Text ! in formulas \begin_layout Standard In some cases you might want to insert text characters directly into formulas. - When for example the centered dot · is often used in formulas like + For example the centered dot · is often used in formulas like \begin_inset Formula $\nu=5·10^{5}\,\mathrm{Hz}$ \end_inset -, one would have to insert the command +. + One would have to insert the command \series bold \backslash @@ -36525,10 +41201,11 @@ cdot status collapsed \begin_layout Plain Layout -see +See \begin_inset CommandInset ref LatexCommand ref reference "subsec:Binary-Operators" +nolink "false" \end_inset @@ -36537,8 +41214,8 @@ reference "subsec:Binary-Operators" \end_inset - all the time, because this character is defined in all encodings as text - character. + all the time, + because this character is defined in all encodings as a text character. But the encoding can be changed by this \SpecialChar LaTeX -preamble line: \end_layout @@ -36570,7 +41247,8 @@ Settings\SpecialChar menuseparator Language \family default ) specifies what character appears when a keyboard key is pressed. - When the key for the character '·' is pressed, internally the command + When the key for the character '·' is pressed, + internally the command \series bold \backslash @@ -36579,8 +41257,8 @@ textperiodcentered is used. But this command is not available in a formula so that you would get \SpecialChar LaTeX -errors. - With the changed encoding the right command is chosen automatically, depending - on if the character was inserted into a formula or not. + With the changed encoding the correct command is chosen automatically, + depending on if the character was inserted into a formula or not. \end_layout \begin_layout Standard @@ -36596,21 +41274,18 @@ latin9.def which is in the installation folder of \SpecialChar LaTeX . Encodings should only be changed via the \SpecialChar LaTeX --preamble and not in the definition - files. +-preamble and not in the definition files. Otherwise documents could not be edited by other \SpecialChar LyX - users working on other - computers. + users working on other computers. \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset -Besides the centered dot, in this document the degree sign ° is defined - with the following \SpecialChar LaTeX --preamble line so that it can be directly inserted into - a formula: +Besides the centered dot, + in this document the degree sign ° is defined with the following \SpecialChar LaTeX +-preamble line so that it can be directly inserted into a formula: \end_layout \begin_layout Standard @@ -36636,6 +41311,8 @@ i} \SpecialChar LaTeX -comments in formulas \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -36650,8 +41327,7 @@ status collapsed \begin_layout Standard In text you can insert a comment that will only be visible in the \SpecialChar LaTeX - source - code of your file with the menu + source code of your file with the menu \family sans Insert\SpecialChar menuseparator Note\SpecialChar menuseparator @@ -36659,8 +41335,7 @@ Comment \family default . This is not possible in a formula but you can insert \SpecialChar LaTeX --comments with the - command +-comments with the command \end_layout \begin_layout Standard @@ -36682,7 +41357,8 @@ status collapsed \begin_inset CommandInset href LatexCommand href name "LyX-bug #9002" -target "http://www.lyx.org/trac/ticket/9002" +target "https://www.lyx.org/trac/ticket/9002" +literal "false" \end_inset @@ -36691,8 +41367,9 @@ target "http://www.lyx.org/trac/ticket/9002" \end_inset - you cannot write normal text inside the comment, even when you use mathematical - text, you will see its \SpecialChar LaTeX + you cannot write normal text inside the comment, + even when you use mathematical text, + you will see its \SpecialChar LaTeX -commands in the \SpecialChar LaTeX -output. \begin_inset Newline newline @@ -36721,6 +41398,8 @@ A=B%\text{This is the comment} \start_of_appendix Typographic Advice \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -36733,14 +41412,13 @@ Typographic advice \end_layout \begin_layout Standard -This section is a summary of the most important typographic rules, listed - in ISO norms. +This section is a summary of the most important typographic rules, + listed in ISO norms. \begin_inset Foot status collapsed \begin_layout Plain Layout -This collection was partly taken from the German semi-official dictionary - called +This collection was partly taken from the German semi-official dictionary called \begin_inset Quotes eld \end_inset @@ -36752,6 +41430,7 @@ Duden \begin_inset CommandInset citation LatexCommand cite key "Duden" +literal "true" \end_inset @@ -36760,6 +41439,7 @@ key "Duden" \begin_inset CommandInset citation LatexCommand cite key "Checklist" +literal "true" \end_inset @@ -36781,10 +41461,12 @@ always status collapsed \begin_layout Plain Layout -done with font styles, see +Done with font styles, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Font-Styles" +nolink "false" \end_inset @@ -36793,7 +41475,9 @@ reference "subsec:Font-Styles" \end_inset -, no matter if they appear in italic text: 30 +, + no matter if they appear in italic text: + 30 \begin_inset space \thinspace{} \end_inset @@ -36801,10 +41485,12 @@ km/h \begin_inset Newline newline \end_inset -Between the value and the unit is the smallest space, see +Between the value and the unit is the smallest space, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Predefined-Space" +nolink "false" \end_inset @@ -36819,9 +41505,12 @@ This convention is automatically fulfilled when the command unittwo \series default is used. - When it is entered to a formula, two boxes appear. - In the first one the value is inserted, in the second one the unit, and - one gets as above: + When it is entered in a formula, + two boxes appear. + In the first one the value is inserted, + in the second one the unit, + and the result is as above: + \begin_inset Formula $\unit[30]{km/h}$ \end_inset @@ -36843,7 +41532,8 @@ unittwo \backslash unit[value]{unit} \series default -, therefore you cannot use it in \SpecialChar TeX +, + therefore you cannot use it in \SpecialChar TeX code. \end_layout @@ -36860,8 +41550,10 @@ Percent and perthousand signs are set like physical units: \end_layout \begin_layout Itemize -The degree sign follows directly on the value: 15°, but not when it is used - in units: 15 +The degree sign follows the value directly: + 15°, + except when it is used in units: + 15 \begin_inset space \thinspace{} \end_inset @@ -36869,8 +41561,8 @@ The degree sign follows directly on the value: 15°, but not when it is used \end_layout \begin_layout Itemize -In numbers with more than four digits the smallest space is inserted before - every third digit to group them: +In numbers with more than four digits the smallest space is inserted before every third digit to group them: + \family roman \series medium \shape up @@ -36920,11 +41612,12 @@ Symbols \end_layout \begin_layout Itemize -Functions with names consisting of several letters are set upright to avoid - confusions, see +Functions with names consisting of several letters are set upright to avoid confusions, + see \begin_inset CommandInset ref LatexCommand ref reference "subsec:Predefined-Functions" +nolink "false" \end_inset @@ -36932,7 +41625,9 @@ reference "subsec:Predefined-Functions" \end_layout \begin_layout Itemize -Indices consisting of several letters, are set upright: +Indices consisting of several letters, + are set upright: + \begin_inset Formula $E_{\mathrm{kin}}$ \end_inset @@ -36940,7 +41635,8 @@ Indices consisting of several letters, are set upright: \begin_inset Newline newline \end_inset -Components of matrices are set italic: +Components of matrices are set italic: + \begin_inset Formula $\hat{H}_{kl}$ \end_inset @@ -36948,9 +41644,9 @@ Components of matrices are set italic: \end_layout \begin_layout Itemize -The differentiation/integration operator 'd', the Euler's number 'e' and - the imaginary unit 'i' should be set upright, to avoid mixing them up with - other variables. +The differentiation/integration operator 'd', + the Euler's number 'e' and the imaginary unit 'i' should be set upright, + to avoid mixing them up with other variables. \end_layout \begin_layout Itemize @@ -36979,7 +41675,8 @@ Letterlike Symbols \family default -: +: + \begin_inset Formula $\mathscr{F}$ \end_inset @@ -36996,6 +41693,8 @@ Symbols \begin_layout Section Synonyms \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout @@ -37605,6 +42304,15 @@ Vert \end_inset +\begin_inset CommandInset href +LatexCommand href +name "List" +target "https://ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf" +literal "false" + +\end_inset + + \end_layout \begin_layout Standard @@ -37618,27 +42326,33 @@ Vert \begin_inset CommandInset bibitem LatexCommand bibitem key "TLC2" +literal "true" \end_inset \shape smallcaps -Mittelbach, F. - ; Goossens, M. +F. + Mittelbach; + M. + Goossens \shape default -: +: + \shape italic The \SpecialChar LaTeX Companion \shape default . - Addison Wesley, 2004 + Addison Wesley, + 2004 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "Mathmode" +literal "true" \end_inset @@ -37646,7 +42360,8 @@ key "Mathmode" \begin_inset CommandInset href LatexCommand href name "Description" -target "ftp://ftp.dante.de/tex-archive/info/math/voss/mathmode/Mathmode.pdf" +target "http://mirrors.ctan.org/obsolete/info/math/voss/mathmode/Mathmode.pdf" +literal "false" \end_inset @@ -37658,6 +42373,7 @@ target "ftp://ftp.dante.de/tex-archive/info/math/voss/mathmode/Mathmode.pdf" \begin_inset CommandInset bibitem LatexCommand bibitem key "AMS" +literal "true" \end_inset @@ -37665,7 +42381,8 @@ key "AMS" \begin_inset CommandInset href LatexCommand href name "Description" -target "http://mirrors.ctan.org/macros/latex/required/amslatex/math/amsldoc.pdf" +target "http://tug.ctan.org/info/amslatex/english/amsldoc.pdf" +literal "false" \end_inset @@ -37690,6 +42407,7 @@ AmS \begin_inset CommandInset bibitem LatexCommand bibitem key "Symbols" +literal "true" \end_inset @@ -37697,7 +42415,8 @@ key "Symbols" \begin_inset CommandInset href LatexCommand href name "List" -target "ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf" +target "http://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf" +literal "false" \end_inset @@ -37709,6 +42428,7 @@ target "ftp://ftp.dante.de/tex-archive/info/symbols/comprehensive/symbols-a4.pdf \begin_inset CommandInset bibitem LatexCommand bibitem key "cancel" +literal "true" \end_inset @@ -37716,7 +42436,8 @@ key "cancel" \begin_inset CommandInset href LatexCommand href name "Documentation" -target "http://mirrors.ctan.org/macros/latex/contrib/cancel/cancel.pdf" +target "https://www.ctan.org/tex-archive/macros/latex/contrib/cancel/cancel.pdf" +literal "false" \end_inset @@ -37727,10 +42448,22 @@ cancel \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! cancel +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +cancel +\end_layout + +\end_inset + + \end_layout \end_inset @@ -37742,6 +42475,7 @@ Packages ! cancel \begin_inset CommandInset bibitem LatexCommand bibitem key "hyperref" +literal "true" \end_inset @@ -37749,7 +42483,8 @@ key "hyperref" \begin_inset CommandInset href LatexCommand href name "Documentation" -target "http://www.tug.org/applications/hyperref/ftp/doc/manual.pdf" +target "https://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf" +literal "false" \end_inset @@ -37760,10 +42495,22 @@ hyperref \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! hyperref +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +hyperref +\end_layout + +\end_inset + + \end_layout \end_inset @@ -37775,6 +42522,7 @@ Packages ! hyperref \begin_inset CommandInset bibitem LatexCommand bibitem key "mhchem" +literal "true" \end_inset @@ -37782,7 +42530,8 @@ key "mhchem" \begin_inset CommandInset href LatexCommand href name "Documentation" -target "http://www.ctan.org/tex-archive/macros/latex/contrib/mhchem/mhchem.pdf" +target "https://www.ctan.org/tex-archive/macros/latex/contrib/mhchem/mhchem.pdf" +literal "false" \end_inset @@ -37793,10 +42542,22 @@ mhchem \series default \begin_inset Index idx +range none +pageformat default status collapsed \begin_layout Plain Layout -Packages ! mhchem +Packages +\begin_inset IndexMacro subentry +status open + +\begin_layout Plain Layout +mhchem +\end_layout + +\end_inset + + \end_layout \end_inset @@ -37808,22 +42569,33 @@ Packages ! mhchem \begin_inset CommandInset bibitem LatexCommand bibitem key "Duden" +literal "true" \end_inset \emph on -Duden Band 1 +Duden Band +\begin_inset space ~ +\end_inset + +1 \emph default . 22. - Auflage, Duden 2001 +\begin_inset space ~ +\end_inset + +Auflage, + Dudenverlag, + 2000 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "Checklist" +literal "true" \end_inset @@ -37831,7 +42603,8 @@ key "Checklist" \begin_inset CommandInset href LatexCommand href name "Check list" -target "http://physics.nist.gov/Pubs/SP811/sec11.html" +target "https://www.nist.gov/physical-measurement-laboratory/special-publication-811" +literal "false" \end_inset @@ -37842,6 +42615,8 @@ target "http://physics.nist.gov/Pubs/SP811/sec11.html" \begin_inset CommandInset index_print LatexCommand printindex type "idx" +name "Index" +literal "false" \end_inset