% provides caption formatting
\setkomafont{captionlabel}{\bfseries}
-% used in sec. 24.5
-\usepackage[samesize]{cancel}
-
% enables calculation of values
\usepackage{calc}
% used to check for needed LaTeX packages
\usepackage{ifthen}
+% check for package undertilde
+% used for the command \utilde
+\newboolean{undertilde}
+\IfFileExists{undertilde.sty}
+ {\usepackage{undertilde}
+ \setboolean{undertilde}{true}}
+ {\setboolean{undertilde}{false}}
+
% check for package eurosym
% used for the Euro symbol
\newboolean{eurosym}
Para exportar este documento a PDF, PS o DVI deberían estar instalados los
paquetes LaTeX
\series bold
-braket, cancel, eurosym, mathdots, mhchem
+braket, cancel, eurosym, mathdots, mhchem, undertilde
\series default
y
\series bold
En texto matemático, la diéresis y otros acentos pueden insertarse directamente.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+LyX also supports a tilde under the character if the LaTeX-package
+\lang spanish
+
+\series bold
+undertilde
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetes ! undertilde
+\end_layout
+
+\end_inset
+
+
+\lang english
+is installed on your system:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifundertilde
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+El cuadro siguiente sólo se mostrará en la salida si el paquete LaTeX
+\series bold
+undertilde
+\series default
+ está instalado.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<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" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+utilde
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+A
+\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 $\raisebox{5mm}{}\utilde{A}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Lo que sigue se verá en la salida si el paquete LaTeX
+\series bold
+undertilde
+\series default
+ no está instalado:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Debes instalar el paquete LaTeX
+\series bold
+undertilde
+\series default
+ para ver en la salida el resto de esta subsección.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsection
Acentos para varios caracteres
\begin_inset Index idx
\begin_layout Standard
\noindent
\align center
-\begin_inset VSpace -5mm
-\end_inset
-
-
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="7">
+<lyxtabular version="3" rows="6" columns="3">
<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="6.8cm">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="14col%">
<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-,
+Número de pulsaciones de
+\family sans
+Espacio
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-:
+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
-;
+,
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-quad
+0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $A\, B$
+\end_inset
+
-\backslash
-qquad
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+</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>
-</row>
-<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Número de pulsaciones de
-\family sans
-Espacio
-\family default
- tras insertar el espacio protegido
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0
+\begin_inset Formula $A\: B$
+\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
-1
+
+\backslash
+;
\end_layout
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3
+\begin_inset Formula $A\; B$
+\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
-4
+
+\backslash
+quad
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-5
+3
\end_layout
\end_inset
</cell>
-</row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\quad B$
+\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
-Resultado
+
+\backslash
+qquad
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\, B$
+4
+\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 $A\qquad B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset space \hfill{}
\end_inset
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="3">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="14col%">
+<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
+Comando
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\: B$
+Número de pulsaciones de
+\family sans
+Espacio
+\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
+hfill
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\; B$
+5
+\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 $A\hfill B$
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\quad B$
+
+\backslash
+hspace*{1em}
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+6
+\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 $A\hspace*{1em}B$
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\qquad B$
+
+\backslash
+hspace{1em}
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7
+\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 $A\hspace{1em}B$
\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
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+8
+\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 $A\ B$
+\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" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+9
+\end_layout
+
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\end_layout
\begin_layout Standard
-El último tamaño parece no generar espacio.
+
+\lang english
+Space
+\begin_inset space ~
+\end_inset
+
+5
+\begin_inset space \thinspace{}
+\end_inset
+
+--
+\begin_inset space \thinspace{}
+\end_inset
+
+7 are variable spaces which are explained in
+\lang spanish
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Espacio-variable"
+
+\end_inset
+
+.
+ El tamaño
+\begin_inset space ~
+\end_inset
+
+9 parece no generar espacio.
A diferencia de los otros se muestra en rojo en LyX, porque es un espacio
negativo.
Hay otros dos espacios negativos:
\begin_inset Text
\begin_layout Plain Layout
-6
+10
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-7
+11
\end_layout
\end_inset
\end_layout
\begin_layout Standard
+\noindent
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
Relaciones como por ejemplo el signo igual siempre están rodeadas por espacios.
Para suprimirlos, el signo igual se coloca entre llaves TeX.
El siguiente ejemplo lo ilustra:
.
La longitud también puede ser negativa.
- Para insertar en una ecuación tanto espacio como esté disponible se usa
+
+\lang english
+When a space would be the first character in a line it would be omitted.
+ To force its output use the command
+\series bold
+
+\backslash
+hspace*
+\series default
+ instead of
+\series bold
+
+\backslash
+hspace
+\series default
+ or left-click on the
+\begin_inset Quotes eld
+\end_inset
+
+
+\color blue
+
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+
+\color inherit
+
+\begin_inset Quotes erd
+\end_inset
+
+ and check the option
+\family sans
+Protect
+\family default
+.
+\lang spanish
+
+\begin_inset Newline newline
+\end_inset
+
+Para insertar en una ecuación tanto espacio como esté disponible se usa
el comando
\series bold
\begin_inset space \textvisiblespace{}
\end_inset
-
-\begin_inset Formula $\to$
-\end_inset
-
A
\backslash
not=C (3
\begin_inset space \textvisiblespace{}
\end_inset
-
-\begin_inset Formula $\to$
-\end_inset
-
A
\backslash
not=A (-1
\end_inset
se pueden poner caracteres delante y detrás de un operador grande.
- El esquema del comando es:
\end_layout
\begin_layout Standard
+\lang english
+There are 4
+\begin_inset space ~
+\end_inset
+
+variants of
\series bold
\backslash
-sideset{carácter
+sideset
\series default
-
-\series bold
-anterior}{carácter posterior}
+:
\end_layout
-\begin_layout Standard
+\begin_layout Itemize
\series bold
+\lang english
\backslash
sideset
\series default
- siempre debe estar delante del operador.
- Se puede decorar con varios caracteres e incluso con otros operadores y
- símbolos.
- Para colocar con
+ is used to set characters at the corners of the operator
+\end_layout
+
+\begin_layout Itemize
+
\series bold
-
+\lang english
+
+\backslash
+sidesetn
+\series default
+ is used to set characters before and/or behind the operator (this variant
+ represents LaTeX's original
+\series bold
+
\backslash
sideset
\series default
- caracteres sólo detrás del operador grande, por ejemplo, no se escribe
- nada en el primer par de llaves, pero sin quitarlas.
-
+ command)
\end_layout
-\begin_layout Standard
-Por ejemplo, el comando
+\begin_layout Itemize
+
\series bold
+\lang english
\backslash
-sideset{
-\begin_inset Formula $\to$
-\end_inset
+sidesetl
+\series default
+ is used to set characters at the left corners and/or behind the operator
+\end_layout
+
+\begin_layout Itemize
+\series bold
+\lang english
\backslash
-{
+sidesetr
\series default
-'
+ is used to set characters at the right corners and/or before the operator
+\end_layout
+
+\begin_layout Standard
+Por ejemplo, el comando
\series bold
-\begin_inset Formula $\to$
+\backslash
+sidesetn
+\begin_inset space \textvisiblespace{}
\end_inset
\backslash
-sum_k=1
+sum
\begin_inset space \textvisiblespace{}
\end_inset
-\series default
-^
-\series bold
+\begin_inset Formula $\to$
+\end_inset
+
+'
+\begin_inset Formula $\to$
+\end_inset
+_k=1
\begin_inset space \textvisiblespace{}
\end_inset
+
+\series default
+^
+\series bold
n
\series default
genera: