commit 40b78831610a38e8a327259f2a21bdff36deca49
Author: Uwe Stöhr <uwesto...@lyx.org>
Date:   Sun Mar 2 22:21:12 2014 +0100

    Math.lyx: describe \smashoperator and how to insert ^ and _

diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx
index b5f10d8..cc51bb0 100644
--- a/lib/doc/Math.lyx
+++ b/lib/doc/Math.lyx
@@ -180,7 +180,7 @@
 \use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 1
+\use_package mathtools 2
 \use_package mhchem 1
 \use_package stackrel 0
 \use_package stmaryrd 0
@@ -16782,22 +16782,59 @@ reference "eq:substack"
 \series bold
 
 \backslash
-mathclap
+smashoperator
 \series default
 
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Commands ! M ! 
+Commands ! S ! 
 \backslash
-mathclap
+smashoperator
 \end_layout
 
 \end_inset
 
  can be used.
- It sets the width of its content to 0
+ To activate it, set in the document settings under 
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package 
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Packages ! mathtools
+\end_layout
+
+\end_inset
+
+ the option 
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+ 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ sets the space besides the operator to 0
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -16820,27 +16857,69 @@ reference "eq:substack"
 \series bold
 
 \backslash
-sum_
-\backslash
-mathclap
-\backslash
-substack
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-0<k<1000 Ctrl+Return
+smashoperator{
 \end_layout
 
 \begin_layout Standard
-to create the lower limit.
- The summand is now directly behind the summation operator:
+and inserts the operator with its limits into the braces.
+ Behind the brace one continues the formula:
 \begin_inset Formula 
 \[
-\sum_{\mathclap{\substack{0<k<1000\\
+\smashoperator{\sum_{\begin{subarray}{c}
+0<k<1000\\
 \\
 k\,\in\,\mathbb{N}
-}
-}}^{n}k^{-2}
+\end{subarray}}^{n}}k^{-2}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+It is possible to set the space of only one side of the operator to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ To do this write either 
+\series bold
+[l]
+\series default
+ or 
+\series bold
+[r]
+\series default
+ between 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ and its brace.
+ 
+\series bold
+l
+\series default
+ stands for the left and 
+\series bold
+r
+\series default
+ for the right side of the operator.
+ Here is an example of the possible 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ forms:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula 
+\[
+Y\smashoperator{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[l]{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[r]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}
 \]
 
 \end_inset
@@ -26371,6 +26450,103 @@ Special characters
 
 \end_layout
 
+\begin_layout Standard
+The characters ^ and _ would normally create a subscript 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
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Command
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Result
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathcircumflex$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+_
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\_$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 Special Characters in Mathematical Text
 \end_layout
@@ -31632,6 +31808,13 @@ formulas can be numbered with Latin letters in one 
document.
 \end_layout
 
 \begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 \begin_inset ERT
 status collapsed
 
@@ -31819,13 +32002,6 @@ target "run:Formula-numbering.lyx"
 .
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Section
 Chemical Symbols and Equations
 \begin_inset CommandInset label
@@ -32924,13 +33100,6 @@ Manuals
 .
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Section
 User-defined Commands
 \begin_inset Index idx
@@ -35945,13 +36114,6 @@ fi
 
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Subsection
 Formulas in Section Headings
 \begin_inset CommandInset label
@@ -36879,13 +37041,6 @@ fi
 
 \begin_layout Subsection
 Text Characters in Formulas
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Text-Characters-in"
-
-\end_inset
-
-
 \begin_inset Index idx
 status collapsed
 
@@ -38144,49 +38299,6 @@ Packages ! mhchem
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "Mathclap"
-
-\end_inset
-
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Description"
-target "http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf";
-
-\end_inset
-
- of the command 
-\series bold
-
-\backslash
-mathclap
-\series default
-, described in 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Operator-Limits"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Commands ! M ! 
-\backslash
-mathclap
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
 key "Duden"
 
 \end_inset
diff --git a/lib/doc/de/Math.lyx b/lib/doc/de/Math.lyx
index 5f5e989..3ca3057 100644
--- a/lib/doc/de/Math.lyx
+++ b/lib/doc/de/Math.lyx
@@ -190,7 +190,7 @@
 \use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 1
+\use_package mathtools 2
 \use_package mhchem 1
 \use_package stackrel 0
 \use_package stmaryrd 0
@@ -16550,25 +16550,59 @@ reference "eq:substack"
 \series bold
 
 \backslash
-mathclap
+smashoperator
 \series default
 
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Befehle ! M ! 
+Befehle ! S ! 
 \backslash
-mathclap
+smashoperator
 \end_layout
 
 \end_inset
 
- verwenden, der die Breite seines Inhalts auf 0
+ verwenden.
+ Um ihn zu aktivieren, stellt man in den Dokumenteinstellungen unter 
+\family sans
+Mathe-Optionen
+\family default
+ für das Paket 
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Pakete ! mathtools
+\end_layout
+
+\end_inset
+
+ die Option 
+\family sans
+Immer
+\begin_inset space ~
+\end_inset
+
+laden
+\family default
+ ein.
+ 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ setzt den Leerraum um den Operator auf 0
 \begin_inset space \thinspace{}
 \end_inset
 
-pt setzt.
+pt.
 \begin_inset Newline newline
 \end_inset
 
@@ -16579,7 +16613,7 @@ reference "eq:substack"
 
 \end_inset
 
- angewandt, gibt man den Befehl
+ angewandt, verwendet man den Befehl
 \end_layout
 
 \begin_layout Standard
@@ -16587,27 +16621,69 @@ reference "eq:substack"
 \series bold
 
 \backslash
-sum_
-\backslash
-mathclap
-\backslash
-substack
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-0<k<1000 Strg+Enter
+smashoperator{
 \end_layout
 
 \begin_layout Standard
-ein, um die untere Grenze zu erstellen.
- Der Summand befindet sich nun direkt hinter dem Summenzeichen:
+und fügt den Operator mit seinen Grenze in die geschweifte Klammer ein.
+ Nach der geschweiften Klammer setzt man die Formel fort:
 \begin_inset Formula 
 \[
-\sum_{\mathclap{\substack{0<k<1000\\
+\smashoperator{\sum_{\begin{subarray}{c}
+0<k<1000\\
 \\
 k\,\in\,\mathbb{N}
-}
-}}^{n}k^{-2}
+\end{subarray}}^{n}}k^{-2}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Es ist möglich den Leerraum auf nur einer Seite des Operators auf 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt zu setzen.
+ Dazu schreibt man entweder 
+\series bold
+[l]
+\series default
+ oder 
+\series bold
+[r]
+\series default
+ zwischen 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ und seine geschweifte Klammer.
+ 
+\series bold
+l
+\series default
+ steht dabei für die linke und 
+\series bold
+r
+\series default
+ für die rechten Seite des Operators.
+ Hier ist ein Beispiel der möglichen Formen von 
+\series bold
+
+\backslash
+smashoperator
+\series default
+:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula 
+\[
+Y\smashoperator{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[l]{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[r]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}
 \]
 
 \end_inset
@@ -26185,6 +26261,106 @@ Sonderzeichen
 
 \end_layout
 
+\begin_layout Standard
+Die Zeichen ^ und _ erzeugen normalerweise Exponenten bzw.
+\begin_inset space \space{}
+\end_inset
+
+Indizes.
+ Um diese Zeichen zu erhalten, müssen sie mit einem 
+\backslash
+ eingegeben werden:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Befehl
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Ergebnis
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathcircumflex$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+_
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\_$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 Sonderzeichen im mathematischen Text
 \end_layout
@@ -32836,13 +33012,6 @@ Handbücher
  zu finden ist.
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Section
 Benutzerdefinierte Befehle
 \begin_inset CommandInset label
@@ -36705,13 +36874,6 @@ fi
 
 \begin_layout Subsection
 Textzeichen in Formeln
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Textzeichen-in-Formeln"
-
-\end_inset
-
-
 \begin_inset Index idx
 status collapsed
 
@@ -37976,49 +38138,6 @@ Pakete ! mhchem
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "Mathclap"
-
-\end_inset
-
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Beschreibung"
-target "http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf";
-
-\end_inset
-
- des in 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Operatorgrenzen"
-
-\end_inset
-
- vorgestellten Befehls 
-\series bold
-
-\backslash
-mathclap
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Befehle ! M ! 
-\backslash
-mathclap
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
 key "Duden"
 
 \end_inset
diff --git a/lib/doc/es/Math.lyx b/lib/doc/es/Math.lyx
index c0e0ba8..6e68efa 100644
--- a/lib/doc/es/Math.lyx
+++ b/lib/doc/es/Math.lyx
@@ -181,7 +181,7 @@
 \use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 1
+\use_package mathtools 2
 \use_package mhchem 1
 \use_package stackrel 0
 \use_package stmaryrd 0
@@ -16643,23 +16643,64 @@ reference "eq:substack"
 \series bold
 
 \backslash
-mathclap
+smashoperator
 \series default
 
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Comandos ! M ! 
+Comandos ! S ! 
 \backslash
-mathclap
+smashoperator
 \end_layout
 
 \end_inset
 
- que 
+.
+ 
 \lang english
-sets the width of its content to
+To activate it, set in the document settings under 
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package 
+\series bold
+\lang spanish
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetes ! mathtools
+\end_layout
+
+\end_inset
+
+ 
+\lang english
+the option 
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+ 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ sets the space besides the operator to
 \lang spanish
  0
 \begin_inset space \thinspace{}
@@ -16684,27 +16725,75 @@ reference "eq:substack"
 \series bold
 
 \backslash
-sum_
-\backslash
-mathclap
-\backslash
-substack
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-0<k<1000 Ctrl+Entrar
+smashoperator{
 \end_layout
 
 \begin_layout Standard
-para componer el límite inferior.
- Ahora el sumando está junto al sumatorio:
+
+\lang english
+and inserts the operator with its limits into the braces.
+ Behind the brace one continues the formula:
+\lang spanish
+
 \begin_inset Formula 
 \[
-\sum_{\mathclap{\substack{0<k<1000\\
+\smashoperator{\sum_{\begin{subarray}{c}
+0<k<1000\\
 \\
 k\,\in\,\mathbb{N}
-}
-}}^{n}k^{-2}
+\end{subarray}}^{n}}k^{-2}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+It is possible to set the space of only one side of the operator to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ To do this write either 
+\series bold
+[l]
+\series default
+ or 
+\series bold
+[r]
+\series default
+ between 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ and its brace.
+ 
+\series bold
+l
+\series default
+ stands for the left and 
+\series bold
+r
+\series default
+ for the right side of the operator.
+ Here is an example of the possible 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ forms:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula 
+\[
+Y\smashoperator{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[l]{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[r]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}
 \]
 
 \end_inset
@@ -17072,6 +17161,13 @@ a
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 Operadores binarios
 \begin_inset CommandInset label
@@ -18454,13 +18550,6 @@ sum
 _i,j=1
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Section
 Tipografías
 \begin_inset Index idx
@@ -22352,15 +22441,6 @@ bot
 
 \end_layout
 
-\begin_layout Standard
-\noindent
-\align center
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Subsection
 Símbolos misceláneos
 \begin_inset CommandInset label
@@ -26217,15 +26297,6 @@ A
 El primer método es preferible si la función se va a usar varias veces.
 \end_layout
 
-\begin_layout Standard
-\noindent
-\align center
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Subsection
 Límites
 \begin_inset Index idx
@@ -26629,6 +26700,105 @@ Caracteres especiales
 
 \end_layout
 
+\begin_layout Standard
+
+\lang english
+The characters ^ and _ would normally create a subscript 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
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Comando
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Resultado
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathcircumflex$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+_
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\_$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 Caracteres especiales en texto matemático
 \end_layout
@@ -33561,15 +33731,6 @@ primer
 \end_layout
 
 \begin_layout Standard
-\noindent
-\align center
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
 Veamos unos ejemplos:
 \end_layout
 
@@ -37231,22 +37392,8 @@ fi
 
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Subsection
 Caracteres de texto en ecuaciones
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Caracteres-de-texto"
-
-\end_inset
-
-
 \begin_inset Index idx
 status collapsed
 
@@ -38532,49 +38679,6 @@ Paquetes ! mhchem
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "Mathclap"
-
-\end_inset
-
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Descripción"
-target "http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf";
-
-\end_inset
-
- del comando 
-\series bold
-
-\backslash
-mathclap
-\series default
-, descrito en 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Límites-de-operadores"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Comandos ! M ! 
-\backslash
-mathclap
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
 key "Duden"
 
 \end_inset
diff --git a/lib/doc/fr/Math.lyx b/lib/doc/fr/Math.lyx
index 5d7327b..7efe7f4 100644
--- a/lib/doc/fr/Math.lyx
+++ b/lib/doc/fr/Math.lyx
@@ -184,7 +184,7 @@
 \use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 1
+\use_package mathtools 2
 \use_package mhchem 1
 \use_package stackrel 0
 \use_package stmaryrd 0
@@ -6911,7 +6911,7 @@ status collapsed
 
 
 \begin_inset Index idx
-status open
+status collapsed
 
 \begin_layout Plain Layout
 Commandes ! O ! 
@@ -16570,23 +16570,64 @@ s qui suivent l'opérateur se trouvent après la limite.
 \series bold
 
 \backslash
-mathclap
+smashoperator
 \series default
 
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Commandes ! M ! 
+Commandes ! S ! 
 \backslash
-mathclap
+smashoperator
+\end_layout
+
+\end_inset
+
+.
+ 
+\lang english
+To activate it, set in the document settings under 
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package 
+\series bold
+\lang french
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetages ! mathtools
 \end_layout
 
 \end_inset
 
- qui met la largeur 
+ 
 \lang english
-of its content
+the option 
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+ 
+\series bold
+
+\backslash
+smashoperator 
+\series default
+sets the space besides the operator
 \lang french
  à 0
 \begin_inset space \thinspace{}
@@ -16611,27 +16652,75 @@ reference "eq:substack"
 \series bold
 
 \backslash
-sum_
-\backslash
-mathclap
-\backslash
-substack
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-0<k<1000 Ctrl+Entrée
+smashoperator{
 \end_layout
 
 \begin_layout Standard
-pour créer la limite inférieure.
- L'opérande est maintenant juste après l'opérateur de sommation:
+
+\lang english
+and inserts the operator with its limits into the braces.
+ Behind the brace one continues the formula:
+\lang french
+
 \begin_inset Formula 
 \[
-\sum_{\mathclap{\substack{0<k<1000\\
+\smashoperator{\sum_{\begin{subarray}{c}
+0<k<1000\\
 \\
 k\,\in\,\mathbb{N}
-}
-}}^{n}k^{-2}
+\end{subarray}}^{n}}k^{-2}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+It is possible to set the space of only one side of the operator to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ To do this write either 
+\series bold
+[l]
+\series default
+ or 
+\series bold
+[r]
+\series default
+ between 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ and its brace.
+ 
+\series bold
+l
+\series default
+ stands for the left and 
+\series bold
+r
+\series default
+ for the right side of the operator.
+ Here is an example of the possible 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ forms:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula 
+\[
+Y\smashoperator{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[l]{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[r]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}
 \]
 
 \end_inset
@@ -18401,13 +18490,6 @@ sum
 _i,j=1
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Section
 Polices de caractères
 \begin_inset Index idx
@@ -20784,13 +20866,6 @@ reference "sub:minuscules-grecques-droites"
 .
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Subsection
 Lettres majuscules
 \begin_inset Index idx
@@ -26259,6 +26334,105 @@ Caractères spéciaux
 
 \end_layout
 
+\begin_layout Standard
+
+\lang english
+The characters ^ and _ would normally create a subscript 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
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Commande
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Résultat
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathcircumflex$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+_
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\_$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 Caractères spéciaux en  texte mathématique
 \end_layout
@@ -31648,6 +31822,13 @@ formules avec des lettres latines dans un même 
document.
 \end_layout
 
 \begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 \begin_inset ERT
 status collapsed
 
@@ -32905,13 +33086,6 @@ spécifiques
 .
 \end_layout
 
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Section
 Commandes personnalisées
 \begin_inset CommandInset label
@@ -35106,13 +35280,6 @@ braket
 \end_layout
 
 \begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
 Les commandes suivantes sont définies:
 \end_layout
 
@@ -37048,13 +37215,6 @@ fi
 
 \begin_layout Subsection
 Caractères texte dans les formules
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Caractères-texte"
-
-\end_inset
-
-
 \begin_inset Index idx
 status collapsed
 
@@ -38312,49 +38472,6 @@ Paquetages ! mhchem
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "Mathclap"
-
-\end_inset
-
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Description"
-target "http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf";
-
-\end_inset
-
- de la commande 
-\series bold
-
-\backslash
-mathclap
-\series default
-, décrite dans 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Limites-des-opérateurs"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Commandes ! M ! 
-\backslash
-mathclap
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
 key "Duden"
 
 \end_inset
diff --git a/lib/doc/ja/Math.lyx b/lib/doc/ja/Math.lyx
index bd21b0c..8e490e5 100644
--- a/lib/doc/ja/Math.lyx
+++ b/lib/doc/ja/Math.lyx
@@ -193,7 +193,7 @@ End
 \font_sf_scale 100
 \font_tt_scale 100
 \graphics default
-\default_output_format pdf
+\default_output_format default
 \output_sync 0
 \bibtex_command default
 \index_command default
@@ -221,7 +221,7 @@ End
 \use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 1
+\use_package mathtools 2
 \use_package mhchem 1
 \use_package stackrel 0
 \use_package stmaryrd 0
@@ -16396,16 +16396,16 @@ To avoid this the command
 \lang japanese
 
 \backslash
-mathclap
+smashoperator
 \series default
 
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-こまんど@コマンド ! M ! 
+こまんど@コマンド ! S ! 
 \backslash
-mathclap
+smashoperator
 \end_layout
 
 \end_inset
@@ -16413,7 +16413,48 @@ mathclap
 
 \lang english
  can be used.
- It sets the width of its content to 0
+ To activate it, set in the document settings under 
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\lang japanese
+ 
+\series bold
+mathtools
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ぱっけーじ@パッケージ ! mathtools
+\end_layout
+
+\end_inset
+
+ 
+\lang english
+the option 
+\family sans
+Load
+\begin_inset space ~
+\end_inset
+
+always
+\family default
+.
+ 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ sets the space besides the operator to 0
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -16438,34 +16479,75 @@ reference "eq:substack"
 \series bold
 
 \backslash
-sum_
-\backslash
-mathclap
-\backslash
-substack
-\begin_inset space \textvisiblespace{}
-\end_inset
+smashoperator{
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+and inserts the operator with its limits into the braces.
+ Behind the brace one continues the formula:
+\lang japanese
+
+\begin_inset Formula 
+\[
+\smashoperator{\sum_{\begin{subarray}{c}
+0<k<1000\\
+\\
+k\,\in\,\mathbb{N}
+\end{subarray}}^{n}}k^{-2}
+\]
 
-0
-\begin_inset Formula $\boldsymbol{<}$
 \end_inset
 
-k
-\begin_inset Formula $\boldsymbol{<}$
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+It is possible to set the space of only one side of the operator to 0
+\begin_inset space \thinspace{}
 \end_inset
 
-1000 Ctrl+Return
+pt.
+ To do this write either 
+\series bold
+[l]
+\series default
+ or 
+\series bold
+[r]
+\series default
+ between 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ and its brace.
+ 
+\series bold
+l
+\series default
+ stands for the left and 
+\series bold
+r
+\series default
+ for the right side of the operator.
+ Here is an example of the possible 
+\series bold
+
+\backslash
+smashoperator
+\series default
+ forms:
 \end_layout
 
 \begin_layout Standard
-を使用して下限を作成することになります。これによって、足される要素は、和演算子の直後に来ることになります。
 \begin_inset Formula 
 \[
-\sum_{\mathclap{\substack{0<k<1000\\
-\\
-k\,\in\,\mathbb{N}
-}
-}}^{n}k^{-2}
+Y\smashoperator{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[l]{\sum_{1\le i\le j\le 
n}^{n=3456}}X_{ij}=Y\smashoperator[r]{\sum_{1\le i\le j\le n}^{n=3456}}X_{ij}
 \]
 
 \end_inset
@@ -26203,6 +26285,105 @@ status collapsed
 
 \end_layout
 
+\begin_layout Standard
+
+\lang english
+The characters ^ and _ would normally create a subscript 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
+<lyxtabular version="3" rows="3" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="block" valignment="top">
+<column alignment="block" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+コマンド
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+出力
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+^
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathcircumflex$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+_
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\_$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 数式テキストにおける特殊文字
 \end_layout
@@ -27764,209 +27945,6 @@ oldstylenums{0123456789}
 のようになります。
 \end_layout
 
-\begin_layout Subsection
-他の特殊文字
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:他の特殊文字"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-とくしゅもじ@特殊文字 ! たの@他の
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-以下の各文字は、数式中でコマンドを使用してのみ、挿入することができます。
-\end_layout
-
-\begin_layout Standard
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-コマンド
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-出力
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\backslash
-^
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\mathcircumflex$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\backslash
-_
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\_$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-^
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-
-\backslash
-circ
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-
-\backslash
-@°
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $^{\circ}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-しかしながら、角度記号
-\begin_inset Formula $^{\circ}$
-\end_inset
-
-は、以下の行をLaTeXプリアンブルに書き加えれば、直接挿入することができます
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-この件に関する詳細は、第
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:数式中のテキスト文字"
-
-\end_inset
-
-節にあります。
-\end_layout
-
-\end_inset
-
-。
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-DeclareInputtext{176}{
-\backslash
-ifmmode^
-\backslash
-circ
-\backslash
-else
-\backslash
-textdegree
-\backslash
-fi}
-\begin_inset Newpage newpage
-\end_inset
-
-
-\end_layout
-
 \begin_layout Section
 数式様式
 \begin_inset CommandInset label
@@ -36523,13 +36501,6 @@ fi
 
 \begin_layout Subsection
 数式中のテキスト文字
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:数式中のテキスト文字"
-
-\end_inset
-
-
 \begin_inset Index idx
 status collapsed
 
@@ -37794,49 +37765,6 @@ target 
"http://www.tug.org/applications/hyperref/ftp/doc/manual.pdf";
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "Mathclap"
-
-\end_inset
-
-第
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:演算子の範囲"
-
-\end_inset
-
-節に述べられている
-\series bold
-
-\backslash
-mathclap
-\series default
-コマンドの
-\begin_inset CommandInset href
-LatexCommand href
-name "説明"
-target "http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf";
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-こまんど@コマンド ! M ! 
-\backslash
-mathclap
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
 key "Duden"
 
 \end_inset

Reply via email to