]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/es/Math.lyx
Math.lyx: use inset-info instead of images for LyX-icons (part 1)
[lyx.git] / lib / doc / es / Math.lyx
index f34395507aa04603df72e11a376a08235196f286..0c5a2efeee87a17421fcb4459554f2b4a2b6eb9d 100644 (file)
 % example macro from sec. 19.4
 %\def\tagform@#1{\maketag@@@{|#1|}}
 
-% macro from sec. 10.2
-\def\clap#1{\hbox to 0pt{\hss #1\hss}}
-\def\mathclap {\mathpalette \mathclapinternal}
-\def\mathclapinternal #1#2{\clap{$\mathsurround =0pt #1{#2}$}}
-
 
 % ------------------------------------
 % used to check for needed LaTeX packages
 \use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
 \use_package mhchem 1
 \use_package stackrel 0
 \use_package stmaryrd 0
@@ -293,7 +288,7 @@ status open
 Para exportar este documento a PDF, PS o DVI deberían estar instalados los
  paquetes LaTeX 
 \series bold
-braket, cancel, eurosym, mathdots, mhchem, undertilde
+braket, cancel, eurosym, mathdots, mathtools, mhchem, undertilde
 \series default
  y 
 \series bold
@@ -491,10 +486,9 @@ Ecuación ! en línea
 Ctrl+M, Alt+C M, Alt+M M
 \family default
  o pulsa el botón 
-\begin_inset Graphics
-       filename ../../images/math-mode.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-mode"
 \end_inset
 
  de la barra de herramientas.
@@ -640,10 +634,9 @@ T@TeX ! modo
 \end_inset
 
  se inicia pulsando el botón 
-\begin_inset Graphics
-       filename ../../images/ert-insert.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "ert-insert"
 \end_inset
 
  de la barra de herramientas o con el menú 
@@ -1471,10 +1464,9 @@ _
 \end_inset
 
  o con el botón de la barra de herramientas de ecuaciones 
-\begin_inset Graphics
-       filename ../../images/math-subscript.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-subscript"
 \end_inset
 
 , los superíndices con un circunflejo 
@@ -1486,10 +1478,9 @@ _
 \end_inset
 
  o con el botón de la barra de herramientas de ecuaciones 
-\begin_inset Graphics
-       filename ../../images/math-superscript.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-superscript"
 \end_inset
 
 .
@@ -1681,23 +1672,21 @@ frac
 \end_inset
 
  o con el botón 
-\begin_inset Graphics
-       filename ../../images/math/frac.png
-       scale 50
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\frac"
 \end_inset
 
  de la barra de herramientas.
  El tamaño de tipografía se ajusta automáticamente, dependiendo de si la
  fracción está en línea o en estilo presentación.
  Con el botón 
-\begin_inset Graphics
-       filename ../../images/math/frac-square.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\frac-square"
 \end_inset
 
-de la barra de herramientas matemáticas puedes seleccionar distintos tipos
+ de la barra de herramientas matemáticas puedes seleccionar distintos tipos
  de fracciones.
 \end_layout
 
@@ -2263,10 +2252,9 @@ sqrt
 \end_inset
 
  o con el botón 
-\begin_inset Graphics
-       filename ../../images/math/sqrt.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\sqrt"
 \end_inset
 
  de la barra de ecuaciones; todas las demás raíces con el comando 
@@ -2288,10 +2276,9 @@ root
 \end_inset
 
  o con el botón 
-\begin_inset Graphics
-       filename ../../images/math/root.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\root"
 \end_inset
 
 .
@@ -2580,13 +2567,12 @@ binom
 \end_inset
 
  o con el submenú del botón 
-\begin_inset Graphics
-       filename ../../images/math/frac-square.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\frac-square"
 \end_inset
 
-de la barra de herramientas de ecuaciones.
+ de la barra de herramientas de ecuaciones.
  Como en las fracciones, además de 
 \series bold
 
@@ -3027,10 +3013,9 @@ Después de insertar
 cases
 \series default
  o usar el botón 
-\begin_inset Graphics
-       filename ../../images/math/cases.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\cases"
 \end_inset
 
  de la barra de ecuaciones puedes añadir líneas nuevas con el atajo 
@@ -3042,10 +3027,9 @@ Ctrl+Entrar
  
 \family default
 
-\begin_inset Graphics
-       filename ../../images/tabular-feature_append-row.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "inset-modify tabular append-row"
 \end_inset
 
  de la barra de cuadros.
@@ -3440,12 +3424,15 @@ status collapsed
 
 \begin_layout Plain Layout
 Botón 
-\begin_inset Graphics
-       filename ../../images/math/space.png
-       scale 85
+\family sans
 
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\space"
 \end_inset
 
+
+\family default
  de la barra de ecuaciones
 \end_layout
 
@@ -4155,14 +4142,13 @@ Puntos
 \begin_layout Standard
 Hay distintos tipos de puntos disponibles.
 \begin_inset Foot
-status open
+status collapsed
 
 \begin_layout Plain Layout
 En la barra de herramientas de ecuaciones, en el panel del botón 
-\begin_inset Graphics
-       filename ../../images/math/ldots.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\ldots"
 \end_inset
 
 .
@@ -4753,10 +4739,9 @@ Matrices
 
 \begin_layout Standard
 Se pueden insertar con el botón 
-\begin_inset Graphics
-       filename ../../images/dialog-show_mathmatrix.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "dialog-show mathmatrix"
 \end_inset
 
  de la barra de ecuaciones o con el menú 
@@ -4885,17 +4870,15 @@ C & F & 10000
 \begin_layout Standard
 Para añadir o borrar filas y columnas posteriormente, se pueden usar los
  botones 
-\begin_inset Graphics
-       filename ../../images/tabular-feature_append-row.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "inset-modify tabular append-row"
 \end_inset
 
 , 
-\begin_inset Graphics
-       filename ../../images/tabular-feature_delete-row.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "inset-modify tabular delete-row"
 \end_inset
 
 , etc.
@@ -6616,10 +6599,9 @@ right
 \end_inset
 
  o con el botón de la barra de ecuaciones 
-\begin_inset Graphics
-       filename ../../images/dialog-show_mathdelimiter.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "dialog-show mathdelimiter"
 \end_inset
 
 .
@@ -7449,10 +7431,9 @@ Flechas
 
 \begin_layout Standard
 Las flechas se pueden insertar con el botón 
-\begin_inset Graphics
-       filename ../../images/math/leftarrow.png
-       scale 85
-
+\begin_inset Info
+type  "icon"
+arg   "math-insert \\leftarrow"
 \end_inset
 
  de la barra de ecuaciones o mediante los comandos listados en las subsecciones
@@ -15655,54 +15636,7 @@ reference "eq:substack"
 \end_inset
 
 , porque éstos se colocan junto a los límites.
-\end_layout
-
-\begin_layout Standard
-Para evitarlo se puede usar la siguiente macro en el preámbulo:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-def
-\backslash
-clap#1{
-\backslash
-hbox to 0pt{
-\backslash
-hss #1
-\backslash
-hss}}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-def
-\backslash
-mathclap {
-\backslash
-mathpalette 
-\backslash
-mathclapinternal}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-def
-\backslash
-mathclapinternal #1#2{
-\backslash
-clap{$
-\backslash
-mathsurround =0pt #1{#2}$}}
-\end_layout
-
-\begin_layout Standard
-En ella se define el comando 
+ Para evitarlo se puede usar comando 
 \series bold
 
 \backslash
@@ -15720,27 +15654,18 @@ mathclap
 
 \end_inset
 
- que establece la anchura del límite en 0
+ que 
+\lang english
+sets the width of its content to
+\lang spanish
+ 0
 \begin_inset space \thinspace{}
 \end_inset
 
 pt.
- El esquema del comando es:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-mathclap{límite}
-\end_layout
-
-\begin_layout Standard
-donde el límite puede consistir en varias condiciones.
-\end_layout
+\begin_inset Newline newline
+\end_inset
 
-\begin_layout Standard
 Aplicado en la ecuación 
 \begin_inset CommandInset ref
 LatexCommand eqref
@@ -15758,7 +15683,7 @@ reference "eq:substack"
 \backslash
 sum_
 \backslash
-mathclap{
+mathclap
 \backslash
 substack
 \begin_inset space \textvisiblespace{}
@@ -15782,6 +15707,102 @@ k\,\in\,\mathbb{N}
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+When several consecutive operators have limits the typesetting of the limits
+ looks often imperfect in the output, see this example:
+\lang spanish
+
+\begin_inset Formula 
+\[
+\text{a)}\lim_{n\to\infty}\max_{p\ge n}\quad\text{b)}\lim_{n\to\infty}\max_{p^{2}\ge n}\quad\text{c)}\lim_{n\to\infty}\sup_{p^{2}\ge nK}\quad\text{d)}\limsup_{n\to\infty}\max_{p\ge n}
+\]
+
+\end_inset
+
+
+\lang english
+To improve the typesetting set in the document settings under 
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ for the package
+\lang spanish
+\series bold
+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
+.
+ Then insert into your formula the command 
+\series bold
+\lang spanish
+
+\backslash
+adjustlimits
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Comandos ! A ! 
+\backslash
+adjustlimits
+\end_layout
+
+\end_inset
+
+\lang english
+directly before the first operator.
+ The example will then look like this:
+\lang spanish
+
+\begin_inset Formula 
+\[
+\text{a)}\adjustlimits\lim_{n\to\infty}\max_{p\ge n}\quad\text{b)}\adjustlimits\lim_{n\to\infty}\max_{p^{2}\ge n}\quad\text{c)}\adjustlimits\lim_{n\to\infty}\sup_{p^{2}\ge nK}\quad\text{d)}\adjustlimits\limsup_{n\to\infty}\max_{p\ge n}
+\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 \begin_inset VSpace bigskip
 \end_inset
 
@@ -25504,6 +25525,28 @@ En una ecuación presentada el límite se imprime debajo, como es habitual:
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+How to adjust the typesetting of the limits see
+\lang spanish
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Límites-de-operadores"
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Subsection
 Función módulo
 \begin_inset Index idx
@@ -33984,7 +34027,7 @@ name "sub:Vectores-cuánticos"
 
 
 \begin_inset Index idx
-status open
+status collapsed
 
 \begin_layout Plain Layout
 Vectores cuánticos
@@ -33994,7 +34037,7 @@ Vectores cuánticos
 
 
 \begin_inset Index idx
-status open
+status collapsed
 
 \begin_layout Plain Layout
 Notación bra-ket