]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/es/UserGuide.lyx
UserGuide.lyx: describe the Verbatim environment
[lyx.git] / lib / doc / es / UserGuide.lyx
index 509d1f86d6c26291d1aeae533c293c27b33e982d..b03bc14237216d8b2c4e18267dc57ed2ea198208 100644 (file)
@@ -5049,7 +5049,7 @@ Puedes usar etiquetas y referencias cruzadas a sus números.
 \end_layout
 
 \begin_layout Subsection
-Espacios para Citas y Versos
+Citas y Versos
 \end_layout
 
 \begin_layout Standard
@@ -7474,21 +7474,11 @@ Cartas
 \end_layout
 
 \begin_layout Subsubsection
-Introducción a 
-\family sans
-Dirección
-\family default
- y 
-\family sans
-Dirección
+Introducción a Dirección y Dirección
 \begin_inset space ~
 \end_inset
 
-
-\family default
-d
-\family sans
-erecha
+derecha
 \end_layout
 
 \begin_layout Standard
@@ -7732,8 +7722,6 @@ Los escritos académicos suelen comenzar con un resumen y finalizar con una
 
 \begin_layout Subsubsection
 Resumen
-\family sans
-
 \begin_inset Index idx
 status collapsed
 
@@ -8008,6 +7996,19 @@ reference "sec:Bibliografía"
 \end_layout
 
 \begin_layout Subsection
+
+\lang english
+Special environments
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+LyX provides two environments that can be used to emulate the behavior of
+ a computer console/terminal and a typewriter.
+\end_layout
+
+\begin_layout Subsubsection
 Código LyX
 \family sans
 
@@ -8015,7 +8016,7 @@ Código LyX
 status collapsed
 
 \begin_layout Plain Layout
-Párrafos! Código LyX
+Código LyX
 \end_layout
 
 \end_inset
@@ -8035,13 +8036,13 @@ El entorno
 \family sans
 Código-LyX
 \family default
- es otra extensión de LyX.
+ es una extensión de LyX.
  Escribe el texto en estilo máquina de escribir.
  Trata la tecla 
 \family sans
 Espacio
 \family default
- como espacio fijo
+ como espacio fijo.
 \begin_inset Foot
 status collapsed
 
@@ -8067,7 +8068,18 @@ protegido
 
 \end_inset
 
-; es el único caso en LyX en que puedes teclear múltiples espacios.
+\family sans
+\lang english
+LyX-Code
+\family default
+ and 
+\family sans
+Verbatim
+\family default
+ are the only environments
+\lang spanish
+ en que puedes teclear múltiples espacios.
  Si necesitas insertar líneas en blanco debes usar 
 \family sans
 Ctrl+Entrar
@@ -8215,7 +8227,7 @@ Hello world!
 Código-LyX
 \family default
  tiene un propósito: escribir lenguaje informático, tales como código de
- programa, guiones de shell, archivos rc, y otros.
+ programa, guiones de shell, y otros.
  Úsalo solo en casos muy especiales en los que necesites generar texto como
  en una máquina de escribir.
 \begin_inset Index idx
@@ -8239,6 +8251,124 @@ Objetos insertados
 .
 \end_layout
 
+\begin_layout Subsubsection
+Verbatim
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Verbatim
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The 
+\family sans
+Verbatim
+\family default
+ environment is similar to the 
+\family sans
+LyX-Code
+\family default
+ environment with the difference that its content will be treated like a
+ computer console text.
+\family sans
+Verbatim
+\family default
+ does therefore not have paragraphs so that 
+\family sans
+Return
+\family default
+ breaks lines.
+ Compared to 
+\family sans
+LyX-Code
+\family default
+ the 
+\family sans
+Space
+\family default
+ key is treated like a normal space in text (not as a protected space) and
+ you can have empty lines.
+ In contrary to 
+\family sans
+LyX-Code,
+\family default
+\family sans
+Verbatim
+\family default
+ cannot
+\end_layout
+
+\begin_layout Itemize
+
+\lang english
+have a certain language and a text style
+\end_layout
+
+\begin_layout Itemize
+
+\lang english
+contain hyperlinks, boxes, foot- and margin notes, notes, math, citations,
+ index- and nomenclature entries, labels, tables, graphics, listings, floats
+ and TeX-Code
+\end_layout
+
+\begin_layout Itemize
+
+\lang english
+contain the following characters (you will get LaTeX errors): µ ; ´ ; ³
+ ; ²
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Because of these properties 
+\family sans
+Verbatim
+\family default
+ works like a typewriter.
+ Here is an example:
+\end_layout
+
+\begin_layout Verbatim
+
+This is verbatim.
+\end_layout
+
+\begin_layout Verbatim
+\noindent
+\align block
+
+The following 2 lines are empty:
+\end_layout
+
+\begin_layout Verbatim
+
+\end_layout
+
+\begin_layout Verbatim
+
+\end_layout
+
+\begin_layout Verbatim
+
+Almost everything is allowed in verbatim:"%&$§#~'`
+\backslash
+}][{|
+\end_layout
+
 \begin_layout Section
 Anidación de entornos
 \begin_inset Index idx
@@ -12391,8 +12521,11 @@ Tradicionalmente, LaTeX usa sus propias tipografías.
  Además, el rango de tipografías soportadas por el tradicional LaTeX ha
  ido aumentando considerablemente y se pueden encontrar paquetes para muchas
  tipografías libres y comerciales.
- En LyX, solo un subconjunto de estas es directamente accesible en la interfaz
- de usuario, (véase la sección
+ LyX 
+\lang english
+supports the fonts that are under a free license
+\lang spanish
+ directamente en la interfaz de usuario, (véase la sección
 \begin_inset space ~
 \end_inset
 
@@ -13283,6 +13416,150 @@ reference "sub:Tipografías-en-pantalla"
 
 \end_layout
 
+\begin_layout Subsection
+
+\lang english
+Math Fonts
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In LaTeX the font used for characters in equations is different from the
+ document font.
+ For the case that you use TeX fonts for your document, you can explicitly
+ choose a math font in the dialog 
+\family sans
+\lang spanish
+Documento\SpecialChar \menuseparator
+Configuración
+\family default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Documentos ! Configuración
+\end_layout
+
+\end_inset
+
+.
+
+\lang english
+ The default setting is that LyX automatically selects a math font.
+ For most cases this will be LaTeX's default -- the math variant of LaTeX's
+ default font family 
+\begin_inset Quotes fld
+\end_inset
+
+
+\family typewriter
+Computer
+\begin_inset space ~
+\end_inset
+
+Modern
+\family default
+
+\begin_inset Quotes frd
+\end_inset
+
+.
+ LyX will automatically only load another math font if a math variant of
+ the document font is available.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Note that the math font will not be used for 
+\emph on
+mathematical text
+\emph default
+ (which is inserted with the shortcut 
+\begin_inset Info
+type  "shortcut"
+arg   "font-default"
+\end_inset
+
+ or by the insertion of the command 
+\series bold
+
+\backslash
+text
+\series default
+ into a formula).
+ Also note that some math fonts are sans
+\begin_inset space ~
+\end_inset
+
+serif.
+ Your document might therefore look strange when the document text has serifs
+ while the math characters do not.
+ Sans
+\begin_inset space ~
+\end_inset
+
+serif math fonts make therefore in most cases only sense if you select 
+\family sans
+Sans
+\begin_inset space ~
+\end_inset
+
+Serif
+\family default
+ for the 
+\family sans
+Default
+\begin_inset space ~
+\end_inset
+
+family
+\family default
+ in the document font settings.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+If you use non-TeX fonts for the document, you can only choose for math
+ to use either the document's class default TeX font (in most cases 
+\begin_inset Quotes fld
+\end_inset
+
+
+\family typewriter
+Computer
+\begin_inset space ~
+\end_inset
+
+Modern
+\family default
+
+\begin_inset Quotes frd
+\end_inset
+
+) or to use the non-TeX variant of the document's class default font (in
+ most cases 
+\begin_inset Quotes fld
+\end_inset
+
+
+\family typewriter
+Latin
+\begin_inset space ~
+\end_inset
+
+Modern
+\family default
+
+\begin_inset Quotes frd
+\end_inset
+
+).
+\end_layout
+
 \begin_layout Subsection
 Usar diferentes estilos de carácter
 \begin_inset Index idx