]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Math.lyx
Polish the counter UI a bit and add some to the documentation.
[lyx.git] / lib / doc / Math.lyx
index e543126af88780c4af4241a21fa82233132fa40c..0546a7633e73730e46dc03f35a7b3162361b69b5 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.3 created this file. For more info see http://www.lyx.org/
-\lyxformat 544
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 582
 \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
@@ -140,8 +141,8 @@ subequations
 \maintain_unincluded_children false
 \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"
@@ -149,7 +150,9 @@ subequations
 \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
@@ -158,7 +161,7 @@ subequations
 \default_output_format pdf2
 \output_sync 0
 \bibtex_command default
-\index_command default
+\index_command makeindex
 \paperfontsize 12
 \spacing single
 \use_hyperref true
@@ -198,6 +201,7 @@ subequations
 \justification true
 \use_refstyle 0
 \use_minted 0
+\use_lineno 0
 \notefontcolor #0000ff
 \index Index
 \shortcut idx
@@ -214,14 +218,17 @@ subequations
 \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
+\tracking_changes true
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
+\author -563046850 "Jean-Marc LASGOUTTES"
+\author 47243155 "Jean-Marc"
 \end_header
 
 \begin_body
@@ -278,7 +285,13 @@ author: Uwe Stöhr
 
 
 \family sans
-Version 2.3.x
+Version 2.
+\change_inserted 47243155 1563226038
+4
+\change_deleted 47243155 1563226038
+3
+\change_unchanged
+.x
 \end_layout
 
 \begin_layout Standard
@@ -321,7 +334,7 @@ The latest PDF-version of this document can be found here:
 
 
 \series bold
-http://wiki.lyx.org/LyX/Manuals#Math
+https://wiki.lyx.org/LyX/Manuals#Math
 \end_layout
 
 \end_inset
@@ -470,7 +483,7 @@ AmS
 \begin_inset CommandInset href
 LatexCommand href
 name "amsguide.pdf"
-target "http://mirrors.ctan.org/macros/amstex/doc/amsguide.pdf"
+target "https://www.ctan.org/tex-archive/macros/amstex/doc/amsguide.pdf"
 literal "false"
 
 \end_inset
@@ -977,6 +990,7 @@ Available units
 \align center
 \begin_inset Float table
 placement H
+alignment document
 wide false
 sideways false
 status open
@@ -4797,13 +4811,64 @@ arg   "newline-insert newline"
 \begin_inset VSpace bigskip
 \end_inset
 
+
+\change_deleted 47243155 1563226130
 The 
+\change_deleted -563046850 1563190969
+
 \family sans
 Decoration
+\change_inserted -563046850 1563190971
+Appearance
+\change_unchanged
+
 \family default
- adds parentheses in the selected style around the matrix.
- Alternatively, parentheses can can either be created with the commands
  
+\change_deleted -563046850 1563192602
+adds
+\change_inserted -563046850 1563192607
+can be used to add
+\change_unchanged
+ parentheses in the selected style around the matrix
+\change_inserted -563046850 1563192780
+ 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
+
+
+\change_unchanged
+.
+
+\change_inserted -563046850 1563192943
+ 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
+
+\change_deleted -563046850 1563192735
+\change_unchanged
+Alternatively, parentheses can can 
+\change_deleted -563046850 1563192971
+either 
+\change_unchanged
+be created with the commands 
 \series bold
 
 \backslash
@@ -5313,7 +5378,13 @@ arraystretch
 \end_layout
 
 \begin_layout Standard
-To set matrices into a text line, the command 
+
+\change_inserted 47243155 1563226178
+Small inline matrices can also be obtained using 
+\change_deleted 47243155 1563226182
+To set matrices into a text line,
+\change_unchanged
+ the command 
 \series bold
 
 \backslash
@@ -5331,7 +5402,11 @@ smallmatrix
 
 \end_inset
 
- is used.
+
+\change_deleted 47243155 1563226186
+ is used
+\change_unchanged
+.
  When it is inserted a blue box with two dashed lines appears.
  In this box the matrix is inserted.
 \end_layout
@@ -5343,7 +5418,11 @@ C & D
 \end{smallmatrix}\right)$
 \end_inset
 
- in a text line.
+ in a text line
+\change_inserted 47243155 1563226243
+ with automatic delimiters around it
+\change_unchanged
+.
 \end_layout
 
 \begin_layout Section
@@ -7495,7 +7574,7 @@ 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
@@ -18741,7 +18820,7 @@ 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
@@ -19032,7 +19111,7 @@ 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
@@ -26152,7 +26231,7 @@ AA
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\textrm{}$
+\begin_inset Formula $\textrm{Å}$
 \end_inset
 
 
 
 \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 
@@ -27749,7 +27828,7 @@ 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
@@ -28326,7 +28405,7 @@ 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
@@ -29961,7 +30040,7 @@ The equations to be subnumbered are put into the
 \family sans
 Subequations
 \family default
environment.
inset.
  An example:
 \begin_inset Formula 
 \begin{equation}
@@ -30007,7 +30086,7 @@ Every formula in the
 \family sans
 Subequations
 \family default
environment will be subnumbered with a, b, c, \SpecialChar ldots
inset will be subnumbered with a, b, c, \SpecialChar ldots
  in the output.
  For multiline formulas every line will be subnumbered.
 \end_layout
@@ -30033,7 +30112,7 @@ reference "eq:c"
 \family sans
 Subequations
 \family default
environment.
inset.
  Formula 
 \begin_inset CommandInset ref
 LatexCommand eqref
@@ -30057,7 +30136,7 @@ mm vertical space right before the
 \family sans
 Subequations
 \family default
environment.
inset.
  If the formula style 
 \series bold
 Indented
@@ -30093,7 +30172,7 @@ To get another subnumber instead of small Latin letters, insert this command
 \family sans
 Subequations
 \family default
environment:
inset:
 \end_layout
 
 \begin_layout Standard
@@ -30432,7 +30511,6 @@ status open
 \begin_layout Plain Layout
 
 \series bold
-\color none
 Note:
 \series default
  Only maximal 26
@@ -30655,6 +30733,63 @@ Formula numbering ! user-defined
 \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
@@ -30677,12 +30812,33 @@ With the standard numbering parentheses are set around the formula number.
 
 \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|}}
+maketag@@@{|#1|}} }
 \series default
 
 \begin_inset Note Note
@@ -30691,7 +30847,7 @@ 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.
+ To activate it, remove the percent signs at the beginning.
 \end_layout
 
 \end_inset
@@ -31824,7 +31980,6 @@ status open
 \begin_layout Plain Layout
 
 \series bold
-\color none
 Note:
 \series default
  It is not possible in \SpecialChar LyX
@@ -36550,7 +36705,7 @@ 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
@@ -37476,6 +37631,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
@@ -37541,7 +37705,7 @@ literal "true"
 \begin_inset CommandInset href
 LatexCommand href
 name "Description"
-target "http://mirrors.ctan.org/macros/latex/required/amslatex/math/amsldoc.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/amsldoc.pdf"
 literal "false"
 
 \end_inset
@@ -37596,7 +37760,7 @@ literal "true"
 \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
@@ -37631,7 +37795,7 @@ literal "true"
 \begin_inset CommandInset href
 LatexCommand href
 name "Documentation"
-target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/manual.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf"
 literal "false"
 
 \end_inset
@@ -37666,7 +37830,7 @@ literal "true"
 \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
@@ -37699,11 +37863,18 @@ literal "true"
 
 
 \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
@@ -37718,7 +37889,7 @@ literal "true"
 \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