@c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
@ignore
- Translation of GIT committish: 312f7ebc83ec9fb8cbbddfcf78b65a8502c16ab2
+ Translation of GIT committish: 73255e50558a62841500aa947ff7cad28636d144
When revising a translation, copy the HEAD committish of the
version that you are working on. For details, see the Contributors'
@}
@end example
-Multiple @code{\layout} blocks can be entered as toplevel expressions.
-This can, for example, be useful if different settings are stored in
-separate files and included optionally. Internally, when
-a @code{\layout} block is evaluated, a copy of the current
-@code{\layout} configuration is made, then any changes defined within
-the block are applied and the result is saved as the new current
-configuration. From the user's perspective the @code{\layout} blocks
-are combined, but in conflicting situations (when the same property
-is changed in different blocks) the later definitions take precedence.
+Se pueden escribir varios bloques @code{\layout} como expresiones del
+nivel superior. Esto puede ser útil, por ejemplo, si hay distintos
+ajustes almacenados en diversos archivos y se incluyen opcionalmente.
+Internamente, cuando se evalúa un bloque @code{\layout}, se hace una
+copia de la configuración de @code{\layout} actual, y después se
+aplican los cambios definidos en el bloque; el resultado se guarda
+como la nueva configuración actual. Desde el punto de vista del
+usuario, los bloques @code{\layout} se combinan, pero en situaciones
+de conflicto (cuando se cambia la misma propiedad en diferentes
+bloques) las definiciones más tarías toman precedencia.
-For example, if this block:
+Por ejemplo: si este bloque:
@example
\layout @{
@}
@end example
-is placed after the one from the preceding example the @code{'padding}
-and @code{'color} overrides for @code{TextScript} are combined, but
-the later @code{'thickness} override for @code{Glissando} replaces
-(or hides) the earlier one.
+se coloca después del del ejemplo anterior, las sobreescrituras de
+@code{'padding} y de @code{'color} para @code{TextScript} se combinan,
+pero la última sobreescritura @code{'thickness} para @code{Glissando}
+sustituye (u oculta) a la anterior.
-@code{\layout} blocks may be assigned to variables for reuse later,
-but the way this works is slightly but significantly different from
-writing them literally.
+Los bloques @code{\layout} se pueden asignar a variables para una
+reutilización posterior, pero la forma en que esto funciona es ligera
+y significativamente diferente del hecho de escribirlas literalmente.
-If a variable is defined like this:
+Si se define una variable de la siguiente manera:
@example
-layoutVariable = \layout @{
+variable_de_Layout = \layout @{
\context @{
\Voice
\override NoteHead #'font-size = #4
@}
@end example
-it will hold the current @code{\layout} configuration with the
-@code{NoteHead #'font-size} override added, but this combination
-is @emph{not} saved as the new current configuration. Be aware
-that the @q{current configuration} is read when the variable is
-defined and not when it is used, so the content of the variable
-is dependent on its position in the source.
+guardará la configuración actual de @code{\layout} con la
+sobreescritura añadida de @code{NoteHead #'font-size}, pero esta
+combinación @emph{no} se guarda como la nueva configuración actual.
+Tenga en cuenta que la @q{configuración actual} se lee cuando la
+variable se define y no cuando se usa, de manera que el contenido de
+la variable depende de su posición dentro del código fuente.
-The variable can then be used inside another @code{\layout} block,
-for example:
+La variable se puede entonces usar dentro de otro bloque
+@code{\layout}, por ejemplo:
@example
\layout @{
- \layoutVariable
+ \variable_de_layout
\context @{
\Voice
\override NoteHead #'color = #red
@}
@end example
-A @code{\layout} block containing a variable, as in the example above,
-does @emph{not} copy the current configuration but instead uses the
-content of @code{\layoutVariable} as the base configuration for the
-further additions. This means that any changes defined between the
-definition and the use of the variable are lost.
+Un bloque @code{\layout} que contiene una variable, como en el ejemplo
+anterior, @emph{no} copia la configuración actual, sino que en lugar
+de ello usa el contenido de @code{\variable_de_layout} como la
+configuración base para las adiciones posteriores. Esto significa que
+cualquier cambio definido entre la definición y el uso de la variable,
+se pierde.
-If @code{layoutVariable} is defined (or @code{\include}d) immediately
-before being used, its content is just the current configuration plus
-the overrides defined within it. So in the example above showing the
-use of @code{\layoutVariable} the final @code{\layout} block would
-consist of:
+Si la @code{variable_de_layout} se define (o se incluye con
+@code{\include}) inmediatamente antes de que se utilice, su contenido
+es sencillamente la configuración en curso más las sobreescrituras que
+se hayan definido dentro de él. Así pues, en el ejemplo anterior que
+muestra el uso de @code{\variable_de_layout} el último bloque
+@code{\layout} consistiría en:
@example
TextScript #'padding = #1
NoteHead #' color = #red
@end example
-plus the @code{indent} and the @code{StaffGrouper} overrides.
+más las sobreescrituras de @code{indent} y de @code{StaffGrouper}.
-But if the variable had already been defined before the first
-@code{\layout} block the current configuration would now contain
-only
+Pero si la variable ya hubiera sido definida antes del primer bloque
+@code{\layout} la configuración actual contendría ahora solamente
@example
- NoteHead #' font-size= #4 % (written in the variable definition)
- NoteHead #' color = #red % (added after the use of the variable)
+ NoteHead #' font-size= #4 % (escrita en la definición de la variable)
+ NoteHead #' color = #red % (añadida después del uso de la variable)
@end example
-If carefully planned, @code{\layout} variables can be a valuable tool
-to structure the layout design of sources, and also to reset the
-@code{\layout} configuration to a known state.
+Si se planifica cuidadosamente, las variables de @code{\layout} pueden
+ser una herramienta valiosa para estructurar el diseño de la
+disposición de las fuentes, y tambiién para reiniciar la configuración
+de @code{\layout} a un estado conocido.
@seealso
Referencia de la notación: