@cindex Balkenpausen, mehrtaktig
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{changing-form-of-multi--measure-rests.ly}
+{changing-form-of-multi-measure-rests.ly}
@cindex Mehrtaktpausen, Positionierung
@cindex Position von Mehrtaktpausen
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{positioning-multi--measure-rests.ly}
+{positioning-multi-measure-rests.ly}
-@c TODO -- convert to snippet -- submitted to Neil
-Markups attached to a multi-measure rest will be centered above or
-below it. Long markups attached to multi-measure rests do not cause
-the measure to expand. To expand a multi-measure rest to fit the markup,
-use a spacer rest with an attached markup before the multi-measure rest:
-
-@lilypond[quote,verbatim,relative=2]
-\compressFullBarRests
-\textLengthOn
-s1*0^\markup { [MAJOR GENERAL] }
-R1*19
-s1*0_\markup { \italic { Cue: ... it is yours } }
-s1*0^\markup { A }
-R1*30^\markup { [MABEL] }
-\textLengthOff
-c4^\markup { CHORUS } d f c
-@end lilypond
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
+{multi-measure-rest-markup.ly}
-@noindent
-Note that the spacer rest causes a bar to be inserted.
-Text attached to a spacer rest in this way is left-aligned to the
-position where the note would be placed in the measure, but if the
-measure length is determined by the length of the text, the text will
-appear to be centered.
@seealso
Glossar:
@cindex kirchenpausen
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{changing-form-of-multi--measure-rests.ly}
+{changing-form-of-multi-measure-rests.ly}
@cindex multicompás, posicionamiento de los silencios
@cindex colocación de los silencios multicompás
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{positioning-multi--measure-rests.ly}
+{positioning-multi-measure-rests.ly}
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{multi--measure-rest-markup.ly}
+{multi-measure-rest-markup.ly}
@seealso
@cindex kirchenpausen
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{changing-form-of-multi--measure-rests.ly}
+{changing-form-of-multi-measure-rests.ly}
@cindex multi-measure rests, positioning
@cindex positioning multi-measure rests
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{positioning-multi--measure-rests.ly}
+{positioning-multi-measure-rests.ly}
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{multi--measure-rest-markup.ly}
+{multi-measure-rest-markup.ly}
@seealso
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "keyboards"
c4 d\accPiccolo e f
c4 d\accViolin e f
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords, ancient-notation, contexts-and-engravers"
doctitle = "Adding a figured bass above or below the notes"
} % begin verbatim
-bass = { \clef bass g4 b, c d e d8 c d2}
+bass = {
+ \clef bass
+ g4 b, c d
+ e d8 c d2
+}
continuo = \figuremode {
- < _ >4 < 6 >8
- \once \override Staff.BassFigureAlignmentPositioning #'direction = #CENTER
- <5/> < _ >4
- \override Staff.BassFigureAlignmentPositioning #'direction = #UP
- < _+ > < 6 >
- \set Staff.useBassFigureExtenders = ##t
- \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
- < 4 >4. < 4 >8 < _+ >4
- }
+ <_>4 <6>8
+ \once \override Staff.BassFigureAlignmentPositioning #'direction = #CENTER
+ <5/>8 <_>4
+ \override Staff.BassFigureAlignmentPositioning #'direction = #UP
+ <_+>4 <6>
+ \set Staff.useBassFigureExtenders = ##t
+ \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
+ <4>4. <4>8 <_+>4
+}
\score {
- << \new Staff = bassStaff \bass
- \context Staff = bassStaff \continuo >>
+ <<
+ \new Staff = bassStaff \bass
+ \context Staff = bassStaff \continuo
+ >>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches, staff-notation, vocal-music"
b1
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, contexts-and-engravers, breaks"
texidoc = "
When adding a new staff at a line break, some extra space is
unfortunately added at the end of the line before the break (to fit in
-a key signature change, which will never be printed anyway). The
+a key signature change, which will never be printed anyway). The
workaround is to add a setting of
@code{Staff.explicitKeySignatureVisibility} as is shown in the example.
In versions 2.10 and earlier, a similar setting for the time signatures
\new Staff
\key f \major
c1 c^"Unwanted extra space" \break
- << { c1 c }
+ << { c1 | c }
\new Staff {
\key f \major
\once \override Staff.TimeSignature #'stencil = ##f
- c1 c
+ c1 | c
}
>>
- c1 c^"Fixed here" \break
- << { c1 c }
+ c1 | c^"Fixed here" \break
+ << { c1 | c }
\new Staff {
\once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
% The next line is not needed in 2.11.x or later:
\once \override Staff.TimeSignature #'break-visibility = #end-of-line-invisible
\key f \major
\once \override Staff.TimeSignature #'stencil = ##f
- c1 c
+ c1 | c
}
>>
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, contexts-and-engravers"
\score {
<<
- \new Staff \relative c'' { c1 c c c c }
+ \new Staff \relative c'' { c1 | c | c | c | c }
\new StaffGroup \relative c'' {
\new Staff {
- c1 c
- << c1 \new Staff { \once \override Staff.TimeSignature #'stencil = ##f c1 } >>
- c
+ c1 | c <<
+ c1 \new Staff {
+ \once \override Staff.TimeSignature #'stencil = ##f
+ c1
+ }
+ >>
+ c1
}
}
>>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
f1:maj7 f:7 bes:7
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, expressive-marks"
+
+ texidoces = "
+La sintaxis de LilyPond puede implicar muchas colocaciones poco
+comunes para los paréntesis, corchetes, etc, que a veces se tienen
+que intercalar. Por ejemplo, al introducir una barra manual, el
+corchete izquierdo de apertura se debe escribir después de la nota
+inicial y de su duración, no antes. De forma similar, el corchete
+derecho de cierre debe seguir inmediatamente a la nota que se
+quiere situar al final del barrado, incluso si esta nota resulta
+estar dentro de un grupo de valoración especial. Este fragmento de
+código muestra cómo combinar el barrado manual, las ligaduras de
+expresión y de unión y las ligaduras de fraseo, con secciones de
+valoración especial (encerradas entre llaves).
+
+"
+ doctitlees = "Añadir barras, ligaduras de expresión y de unión, etc. cuando se usan ritmos con y sin grupos de valoración especial."
+
+ texidoc = "
+LilyPond syntax can involve many unusual placements for parentheses,
+brackets etc., which might sometimes have to be interleaved. For
+example, when entering a manual beam, the left square bracket has to be
+placed after the starting note and its duration, not before. Similarly,
+the right square bracket should directly follow the note which is to be
+at the end of the requested beaming, even if this note happens to be
+inside a tuplet section. This snippet demonstrates how to combine
+manual beaming, manual slurs, ties and phrasing slurs with tuplet
+sections (enclosed within curly braces).
+
+"
+ doctitle = "Adding beams, slurs, ties etc. when using tuplet and non-tuplet rhythms"
+} % begin verbatim
+
+{
+ r16[ g16 \times 2/3 { r16 e'8] }
+ g16( a \times 2/3 { b d e') }
+ g8[( a \times 2/3 { b d') e'] ~ }
+ \time 2/4
+ \times 4/5 { e'32\( a b d' e' } a'4.\)
+}
+
+++ /dev/null
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms, expressive-marks"
-
- texidoces = "
-La sintaxis de LilyPond puede implicar muchas colocaciones poco
-comunes para los paréntesis, corchetes, etc, que a veces se tienen
-que intercalar. Por ejemplo, al introducir una barra manual, el
-corchete izquierdo de apertura se debe escribir después de la nota
-inicial y de su duración, no antes. De forma similar, el corchete
-derecho de cierre debe seguir inmediatamente a la nota que se
-quiere situar al final del barrado, incluso si esta nota resulta
-estar dentro de un grupo de valoración especial. Este fragmento de
-código muestra cómo combinar el barrado manual, las ligaduras de
-expresión y de unión y las ligaduras de fraseo, con secciones de
-valoración especial (encerradas entre llaves).
-
-"
- doctitlees = "Añadir barras, ligaduras de expresión y de unión, etc. cuando se usan ritmos con y sin grupos de valoración especial."
-
- texidoc = "
-LilyPond syntax can involve many unusual placements for parentheses,
-brackets etc., which might sometimes have to be interleaved. For
-example, when entering a manual beam, the left square bracket has to be
-placed after the starting note and its duration, not before. Similarly,
-the right square bracket should directly follow the note which is to be
-at the end of the requested beaming, even if this note happens to be
-inside a tuplet section. This snippet demonstrates how to combine
-manual beaming, manual slurs, ties and phrasing slurs with tuplet
-sections (enclosed within curly braces).
-
-"
- doctitle = "Adding beams, slurs, ties etc. when using tuplet and non-tuplet rythms."
-} % begin verbatim
-
-{
- r16[ g16 \times 2/3 { r16 e'8] }
- g16( a \times 2/3 { b d e') }
- g8[( a \times 2/3 { b d') e'] ~ }
- \time 2/4
- \times 4/5 { e'32\( a b d' e' } a'4.\)
-}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, percussion"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, fretted-strings"
\relative c'' {
c4-1 d-2 f-4 e-3
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings"
<a\3 fis'\1>^>^\threeTwo[ b\2 e\4]
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
<d \parenthesize f a>2
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
- lsrtags = "titles"
+ lsrtags = "text, titles"
texidoces = "
Con algo de código de Scheme, se puede añadir fácilmente la fecha
\markup {
\date
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "repeats"
\new Staff \with { \consists "Volta_engraver" } { c'2 g' e' a' }
\new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "simultaneous-notes"
}
>>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, vocal-music, spacing"
}
\lyricsto melody { aa aa aa aa aa aa aa aa aa }
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
c2-\bendAfter #+8
c2-\bendAfter #-6
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "text, paper-and-layout, titles"
+
texidoces = "
Los nombres de instrumento se imprimen generalmente a la izquierda de
los pentagramas. Para alinear los nombres de varios instrumentos
"
doctitlees = "Alinear y centrar los nombres de instrumento"
- lsrtags = "text, paper-and-layout, titles"
- texidoc = "The horizontal alignment of instrument names is tweaked
-by changing the @code{Staff.InstrumentName #'self-alignment-X} property.
-The @code{\\layout} variables @code{indent} and @code{short-indent}
-define the space in which the instrument names are aligned before the
-first and the following systems, respectively."
+ texidoc = "
+The horizontal alignment of instrument names is tweaked by changing the
+@code{Staff.InstrumentName #'self-alignment-X} property. The
+@code{\\layout} variables @code{indent} and @code{short-indent} define
+the space in which the instrument names are aligned before the first
+and the following systems, respectively.
+
+"
doctitle = "Aligning and centering instrument names"
} % begin verbatim
-
\paper {
left-margin = 3\cm
}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+Bar numbers by default are right-aligned to their parent object. This
+is usually the left edge of a line or, if numbers are printed within a
+line, the left hand side of a bar line. The numbers may also be
+positioned directly over the bar line or left-aligned to the bar line.
+
+"
+ doctitle = "Aligning bar numbers"
+} % begin verbatim
+
+\relative c' {
+ \set Score.currentBarNumber = #111
+ \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+ % Increase the size of the bar number by 2
+ \override Score.BarNumber #'font-size = #2
+ % Print a bar number every second measure
+ \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
+ c1 | c1
+ % Center-align bar numbers
+ \override Score.BarNumber #'self-alignment-X = #CENTER
+ c1 | c1
+ % Left-align bar numbers
+ \override Score.BarNumber #'self-alignment-X = #LEFT
+ c1 | c1
+}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "text"
+
texidoces = "
Si están especificadas, las marcas de texto se pueden alinear con
objetos de notación distintos a las líneas divisorias. Entre estos
"
doctitlees = "Alinear marcas con varios objetos de notación"
- lsrtags = "text"
- texidoc = "If specified, text marks may be aligned with notation
-objects other than bar lines. These objects include @code{ambitus},
+ texidoc = "
+If specified, text marks may be aligned with notation objects other
+than bar lines. These objects include @code{ambitus},
@code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
@code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
@code{time-signature}.
+
+
In such cases, text marks will be horizontally centered above the
-object. However this can be changed, as demonstrated on the second
-line of this example (in a score with multiple staves, this setting
-should be done for all the staves)."
+object. However this can be changed, as demonstrated on the second line
+of this example (in a score with multiple staves, this setting should
+be done for all the staves).
+
+
+
+"
doctitle = "Aligning marks with various notation objects"
} % begin verbatim
-
\relative c' {
e1
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "text"
+
+ texidoc = "
+By default the @code{\\mark} command centers objects over a bar line.
+This behavior can be modified to align at right or left.
+
+"
+ doctitle = "Aligning objects created with the \\mark command"
+} % begin verbatim
+
+\relative c' {
+ c1 \mark "(Center)"
+ c1
+ \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \mark "(Left)"
+ c4 c c c
+ c4 c c c
+ \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
+ \mark "(Right)"
+ c1
+}
+
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, fretted-strings, spacing"
"
doctitlees = "Permitir que las digitaciones se impriman dentro del pentagrama"
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+ texidocfr = "
+L'empilement des indications de doigté se fait par défaut à l'extérieur de la portée. Néanmoins, il est possible d'annuler ce comportement.
+
+"
+ doctitlefr = "Impression des doigtés à l'intérieur de la portée"
+
texidoc = "
By default, vertically oriented fingerings are positioned outside the
staff. However, this behavior can be canceled.
\once \override Fingering #'staff-padding = #'()
<c-1 e-2 g-3 b-5>2
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches, vocal-music"
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches, vocal-music"
}
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, tweaks-and-overrides"
c2\startGroup
d2\stopGroup
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "ancient-notation"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "ancient-notation, template"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "ancient-notation, template"
+
mensurstriche-layout-bar-lines-between-the-staves.ly
rest-styles.ly
transcription-of-ancient-music-with-incipit.ly
+vertical-line-as-a-baroque-articulation-mark.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "ancient-notation"
\override Staff.TimeSignature #'style = #'neomensural
s1
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches, editorial-annotations"
\break
\relative c' {
- \set shapeNoteStyles = #'#(cross triangle fa #f
- mensural xcircle diamond)
+ \set shapeNoteStyles = #'#(cross triangle fa #f
+ mensural xcircle diamond)
\fragment
}
}
\layout { ragged-right = ##t }
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "world-music"
+
texidoces = "
Para las improvisaciones o @emph{taqasim} que son libres durante unos
momentos, se puede omitir la indicación de compás y se puede usar
"
doctitlees = "Improvisación de música árabe"
- lsrtags = "world-music"
- texidoc = "For improvisations or @emph{taqasim} which are
-temporarily free, the time signature can be omitted and
-@code{\cadenzaOn} can be used. Adjusting the accidental style
-might be required, since the absence of bar lines will cause the
-accidental to be marked only once. Here is an example of what
-could be the start of a @emph{hijaz} improvisation:"
-doctitle = "Arabic improvisation"
-} % begin verbatim
+ texidoc = "
+For improvisations or taqasim which are temporarily free, the time
+signature can be omitted and @code{\\cadenzaOn} can be used. Adjusting
+the accidental style might be required, since the absence of bar lines
+will cause the accidental to be marked only once. Here is an example
+of what could be the start of a hijaz improvisation:
+"
+ doctitle = "Arabic improvisation"
+} % begin verbatim
\include "arabic.ly"
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
b32^"beatLength 1 16"[ a g f c' b a g]
}
}
+
+++ /dev/null
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms"
-
- texidoces = "
-En un compás sencillo como 2/2 ó 4/4, las corcheas se barran de forma
-predeterminada como dos grupos de cuatro.
-
-Utilizando un macro que seobreescribe el comportamiento automático del
-barrado, este fragmento de código cambia el barrado a pulsos de negra.
-
-"
- doctitlees = "Barras automáticas de dos en dos en los compases de 4/4 o de 2/2"
-
- texidoc = "
-In a simple time signature of 2/2 or 4/4, 8th notes are beamed by
-default as two sets of four.
-
-Using a macro which overrides the autobeaming behavior, this snippet
-changes the beaming to quarter note beats.
-
-"
- doctitle = "Automatic beams two per two in 4/4 or 2/2 time signature"
-} % begin verbatim
-
-% Automatic beams two per two in 4/4 or 2/2 time signature
-% _____
-% Default | | | |
-% _ _
-% Required | | | |
-
-% macro for beamed two per two in 2/2 and 4/4 time signature
-qBeam = {
- #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
- #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
- #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
-}
-
-\score {
- <<
- \new Staff {
- \relative c'' {
- \time 4/4
- g8-"without the macro" g g g g g g g
- g8 g g g4 g8 g g
- }
- }
- %Use the macro
- \new Staff {
- \relative c'' {
- \time 4/4
- \qBeam
- g8-"with the macro" g g g g g g g
- g8 g g g4 g8 g g
- }
- }
- >>
- \layout {
- \context {
- \Staff
- \override TimeSignature #'style = #'()
- }
- }
-}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, editorial-annotations, chords, tweaks-and-overrides"
\override StrokeFinger #'add-stem-support = ##t
<f c'-\rightHandFinger #2 >8
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
}
>>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
#(override-auto-beam-setting '(end * * 7 8) 5 8)
a8 a a a a a a
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
c8] c[ c] c[ c] c[ c] c
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, text"
\override TextScript #'extra-offset = #'(2 . 4)
c2-\markup { \whiteout \pad-markup #0.5 "middle C" } c
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "paper-and-layout"
- texidoc = "@code{\\bookpart} can be used to split a book into
-several parts.
-Each part last page can be affected by @code{ragged-bottom-last}.
-Header and footer markups can detect a part last page, and make the
-difference with the book last page.
+
+ texidoc = "
+@code{\\bookpart} can be used to split a book into several parts. Each
+part last page can be affected by @code{ragged-last-bottom}. Header and
+footer markups can detect a part last page, and make the difference
+with the book last page.
+
"
doctitle = "Book parts"
} % begin verbatim
-
#(set-default-paper-size "a6")
\book {
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "expressive-marks"
+
texidoces = "
Para hacer invisibles partes de un regulador de crescendo, se usa
el método de dibujar un rectángulo blanco encima de la parte
"
doctitlees = "Regulador interrumpido"
- lsrtags = "expressive-marks"
texidoc = "
In order to make parts of a crescendo hairpin invisible, the following
method is used: A white rectangle is drawn on top of the respective
part of the crescendo hairpin, making it invisible. The rectangle is
defined as postscript code within a text markup.
-To fine-tune the position and size of the markup, the number
-preceding @code{setgray} in the postscript definition can be set to a
-value less than one, making it grey. The two numbers before @code{scale}
-in the postscript code are responsible for the width and height of the
+To fine-tune the position and size of the markup, the number preceding
+@code{setgray} in the postscript definition can be set to a value less
+than one, making it grey. The two numbers before @code{scale} in the
+postscript code are responsible for the width and height of the
rectangle, the two numbers before @code{translate} change the x- and
y-origin of the rectangle.
+
Make sure to put the hairpin in a lower layer than the text markup to
-draw the rectangle over the hairpin.
+draw the rectangle over the hairpin.
+
"
- doctitle = "Broken crescendo hairpin"
+ doctitle = "Broken Crescendo Hairpin"
} % begin verbatim
-
\relative c' {
<< {
\dynamicUp
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "expressive-marks, text"
+
texidoces = "
Este ejemplo proporciona una función para tipografiar un regulador
con texto por debajo, como \"molto\" o \"poco\". El ejemplo
"
doctitlees = "Centrar texto debajo de un regulador"
- lsrtags = "expressive-marks, text"
-
texidoc = "
This example provides a function to typeset a hairpin (de)crescendo
with some additional text below it, such as \"molto\" or \"poco\". The
example also illustrates how to modify the way an object is normally
printed, using some Scheme code.
+
"
doctitle = "Center text below hairpin dynamics"
} % begin verbatim
-
hairpinWithCenteredText =
#(define-music-function (parser location text) (markup?)
#{
\layout { ragged-right = ##f }
-{
- \hairpinMolto c'2\< c'\f
- \hairpinMore c'2\< c'\f
+\relative c' {
+ \hairpinMolto
+ c2\< c\f
+ \hairpinMore
+ c2\< c\f
}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, unfretted-strings"
d4^\flageolet_\markup { default size } d_\flageolet
c4^\smallFlageolet_\markup { smaller } c_\smallFlageolet
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "simultaneous-notes, editorial-annotations, tweaks-and-overrides"
doctitle = "Changing a single note's size in a chord"
} % begin verbatim
-\layout { ragged-right = ##t }
\relative {
<\tweak #'font-size #+2 c e g c \tweak #'font-size #-2 e>1^\markup { A tiny e }_\markup { A big c }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
\override Beam #'auto-knee-gap = #6
f8 f''8 f8 f''8
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
= \markup { \typewriter | }
c:7sus4
}
+
+++ /dev/null
-%% Do not edit this file; it is auto-generated from input/new
-%% This file is in the public domain.
-\version "2.12.0"
-\header {
- doctitlees = "Cambiar la forma de los silencios multicompás"
- texidoces = "
-Si hay diez compases de silencio o menos, se imprime en el pentagrama
-una serie de silencios de breve y longa (conocidos en alemán como
-\"Kirchenpausen\", «silencios eclesiásticos»); en caso contrario se
-muestra una barra normal. Este número predeterminado de diez se
-puede cambiar sobreescribiendo la propiedad @code{expand-limit}:
-
-"
-
-texidocde = "
-Wenn zehn oder weniger Pausentakte vorkommen, wird eine Reihe von Longa-
-und Brevispausen (auch Kirchenpausen genannt) gesetzt, bei mehr Takten
-wird eine Line mit der Taktanzahl ausgegeben. Der vorgegebene Wert von
-zehn kann geändert werden, indem man die @code{expand-limit}-Eigenschaft
-setzt:
-"
- doctitlede = "Die Erscheinung von Pausentakten ändern"
-
- lsrtags = "rhythms,tweaks-and-overrides"
- texidoc = "
-If there are ten or fewer measures of rests, a series of longa
-and breve rests (called in German \"Kirchenpausen\" - church rests)
-is printed within the staff; otherwise a simple line is shown.
-This default number of ten may be changed by overriding the
-@code{expand-limit} property:
-"
- doctitle = "Changing form of multi-measure rests"
-} % begin verbatim
-
-
-\relative c'' {
- \compressFullBarRests
- R1*2 | R1*5 | R1*9
- \override MultiMeasureRest #'expand-limit = #3
- R1*2 | R1*5 | R1*9
-}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ doctitlees = "Cambiar la forma de los silencios multicompás"
+ texidoces = "
+Si hay diez compases de silencio o menos, se imprime en el pentagrama
+una serie de silencios de breve y longa (conocidos en alemán como
+\"Kirchenpausen\", «silencios eclesiásticos»); en caso contrario se
+muestra una barra normal. Este número predeterminado de diez se
+puede cambiar sobreescribiendo la propiedad @code{expand-limit}:
+
+"
+
+texidocde = "
+Wenn zehn oder weniger Pausentakte vorkommen, wird eine Reihe von Longa-
+und Brevispausen (auch Kirchenpausen genannt) gesetzt, bei mehr Takten
+wird eine Line mit der Taktanzahl ausgegeben. Der vorgegebene Wert von
+zehn kann geändert werden, indem man die @code{expand-limit}-Eigenschaft
+setzt:
+"
+ doctitlede = "Die Erscheinung von Pausentakten ändern"
+
+ texidoc = "
+If there are ten or fewer measures of rests, a series of longa and
+breve rests (called in German \"Kirchenpausen\" - church rests) is
+printed within the staff; otherwise a simple line is shown. This
+default number of ten may be changed by overriding the
+@code{expand-limit} property.
+
+"
+ doctitle = "Changing form of multi-measure rests"
+} % begin verbatim
+
+\relative c'' {
+ \compressFullBarRests
+ R1*2 | R1*5 | R1*9
+ \override MultiMeasureRest #'expand-limit = #3
+ R1*2 | R1*5 | R1*9
+}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "contexts-and-engravers, midi"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "simultaneous-notes"
a2 g
}
>>
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "tweaks-and-overrides"
texidoc = "
The @code{\\applyOutput} command allows the tuning of any layout
-object, in any context. It requires a Scheme function with three
-arguments."
+object, in any context. It requires a Scheme function with three
+arguments.
+"
doctitle = "Changing properties for individual grobs"
} % begin verbatim
-
#(define (mc-squared grob grob-origin context)
- (let*
- (
- (ifs (ly:grob-interfaces grob))
- (sp (ly:grob-property grob 'staff-position))
- )
- (if (memq 'note-head-interface ifs)
+ (let ((sp (ly:grob-property grob 'staff-position)))
+ (if (grob::has-interface grob 'note-head-interface)
(begin
(ly:grob-set-property! grob 'stencil
(grob-interpret-markup grob
((-5) "m")
((-3) "c ")
((-2) (make-smaller-markup (make-bold-markup "2")))
- (else "bla")
- ))))
- ))))
+ (else "bla")))))))))
\relative c' {
<d f g b>2
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music"
\override LyricText #'font-family = #'typewriter
Oh, ché -- ri, je t'aime
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "expressive-marks"
+
texidoces = "
Se puede modificar el texto empleado para los crescendos y
decrescendos modificando las propiedades de contexto
"
doctitlede = "Text und Strecker-Stile für Dynamik-Texte ändern"
- lsrtags = "rhythms,tweaks-and-overrides"
texidoc = "
The text used for crescendos and decrescendos can be changed by
modifying the context properties @code{crescendoText} and
-@code{decrescendoText}. The style of the spanner line can be
-changed by modifying the @code{'style} property of
-@code{DynamicTextSpanner}. The default value is @code{'hairpin},
-and other possible values include @code{'line}, @code{'dashed-line}
-and @code{'dotted-line}:
+@code{decrescendoText}. The style of the spanner line can be changed by
+modifying the @code{'style} property of @code{DynamicTextSpanner}. The
+default value is @code{'hairpin}, and other possible values include
+@code{'line}, @code{'dashed-line} and @code{'dotted-line}.
+
"
doctitle = "Changing text and spanner styles for text dynamics"
} % begin verbatim
-
\relative c'' {
\set crescendoText = \markup { \italic { cresc. poco } }
\set crescendoSpanner = #'text
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, editorial-annotations"
c4( d e c)
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
\semiGermanChords \music }
\context Voice { \music }
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, tweaks-and-overrides"
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation"
}
>>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
\set figuredBassAlterationDirection = #LEFT
<6\+> <5+> <6 4-> r
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, tweaks-and-overrides, paper-and-layout"
c8 c c c c\f c c c
}
>>
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "staff-notation, midi"
+
texidoces = "
Para cambiar el tempo en la salida MIDI sin
imprimir nada, hacemos invisible la indicación metronómica:
doctitlees = "Cambiar el tempo sin indicación metronómica"
- lsrtags = "staff-notation"
- texidoc = "To change the tempo in MIDI output without printing
-anything, make the metronome mark invisible:"
+ texidoc = "
+To change the tempo in MIDI output without printing anything, make the
+metronome mark invisible.
+"
doctitle = "Changing the tempo without a metronome mark"
} % begin verbatim
-
\score {
\new Staff \relative c' {
\tempo 4 = 160
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
% Lose 3/4 beaming now \time has been changed
a16 a a a a a a a a a a a
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
\override TupletNumber #'stencil = ##f
\times 2/3 { c8 c c }
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, contexts-and-engravers"
+
+ texidoces = "
+La propiedad @code{measureLength}, junto con
+@code{measurePosition}, determina cuándo es necesario dibujar una
+línea divisoria. Sin embargo, al utilizar
+@code{\\scaleDurations}, el escalado proporcional de las
+duraciones hace difícil introducir cambios de compás. En este
+caso se debe establecer manualmente el valor de
+@code{measureLength} utilizando la función @code{ly:make-moment}.
+El segundo argumento debe ser el mismo que el segundo argumento de
+@code{\\scaleDurations}.
+
+"
+ doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}"
+
+ texidoc = "
+The @code{measureLength} property, together with
+@code{measurePosition}, determines when a bar line is needed. However,
+when using @code{\\scaleDurations}, the scaling of durations makes it
+difficult to change time signatures. In this case,
+@code{measureLength} should be set manually, using the
+@code{ly:make-moment} callback. The second argument must be the same
+as the second argument of @code{\\scaleDurations}.
+
+"
+ doctitle = "Changing time signatures inside a polymetric section using \\scaleDurations"
+} % begin verbatim
+
+\layout {
+ \context {
+ \Score
+ \remove "Timing_translator"
+ \remove "Default_bar_line_engraver"
+ }
+ \context {
+ \Staff
+ \consists "Timing_translator"
+ \consists "Default_bar_line_engraver"
+ }
+}
+
+<<
+ \new Staff {
+ \scaleDurations #'(8 . 5) {
+ \time 6/8
+ \set Timing.measureLength = #(ly:make-moment 6 5)
+ b8 b b b b b
+ \time 2/4
+ \set Timing.measureLength = #(ly:make-moment 4 5)
+ b4 b
+ }
+ }
+ \new Staff {
+ \clef bass
+ \time 2/4
+ c2 d e f
+ }
+>>
+++ /dev/null
-%% Do not edit this file; it is auto-generated from input/new
-%% This file is in the public domain.
-\version "2.12.0"
-\header {
- texidoces = "
-La propiedad @code{measureLength}, junto con
-@code{measurePosition}, determina cuándo es necesario dibujar una
-línea divisoria. Sin embargo, al utilizar
-@code{\\scaleDurations}, el escalado proporcional de las
-duraciones hace difícil introducir cambios de compás. En este
-caso se debe establecer manualmente el valor de
-@code{measureLength} utilizando la función @code{ly:make-moment}.
-El segundo argumento debe ser el mismo que el segundo argumento de
-@code{\\scaleDurations}.
-
-"
- doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}"
-
- lsrtags = "rhythms,contexts-and-engravers"
- texidoc = "The @code{measureLength} property, together with
-@code{measurePosition}, determines when a bar line is needed. However,
-when using @code{\\scaleDurations}, the scaling of durations makes it
-difficult to change time signatures. In this case, @code{measureLength}
-should be set manually, using the @code{ly:make-moment} callback. The
-second argument must be the same as the second argument of
-@code{\\scaleDurations}."
- doctitle = "Changing time signatures inside a polymetric section using @code{\\scaleDurations}"
-} % begin verbatim
-
-
-\layout {
- \context {
- \Score
- \remove "Timing_translator"
- \remove "Default_bar_line_engraver"
- }
- \context {
- \Staff
- \consists "Timing_translator"
- \consists "Default_bar_line_engraver"
- }
-}
-
-<<
- \new Staff {
- \scaleDurations #'(8 . 5) {
- \time 6/8
- \set Timing.measureLength = #(ly:make-moment 6 5)
- b8 b b b b b
- \time 2/4
- \set Timing.measureLength = #(ly:make-moment 4 5)
- b4 b
- }
- }
- \new Staff {
- \clef bass
- \time 2/4
- c2 d e f
- }
->>
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, vocal-music, ancient-notation, contexts-and-engravers"
\stemOn g'2 \bar "||"
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
<< \context ChordNames \theMusic
\context Voice \theMusic
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
\set majorSevenSymbol = \markup { j7 }
c:7+
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
- lsrtags = "paper-and-layout" % a new tag like "Mixing text and music" or
-% "Special output" might be more adequate -jm
+ lsrtags = "paper-and-layout"
+
texidoc = "
This code shows how to clip (extract) snippets from a full score.
snippets page may not adequately show the results.
The result will be files named
-@file{@var{base}-from-@var{start}-to-@var{end}[-@var{count}].eps}.
+@samp{base-from-start-to-end[-count].eps}.
+
-@itemize
-@item
If system starts and ends are included, they include extents of the
System grob, e.g., instrument names.
-@item
+
Grace notes at the end point of the region are not included.
-@item
+
Regions can span multiple systems. In this case, multiple EPS files
-are generated.
+are generated.
-@end itemize
"
doctitle = "Clip systems"
} % begin verbatim
-
#(ly:set-option 'clip-systems)
#(set! output-count 1)
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "simultaneous-notes, chords, keyboards"
doctitle = "Clusters"
} % begin verbatim
-\layout {
- ragged-right = ##t
-}
-
fragment = \relative c' {
c4 f <e d'>4
<g a>8 <e a> a4 c2 <d b>4
\new Staff \fragment
\new Staff \makeClusters \fragment
>>
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
- lsrtags = "pitches,editorial-annotations,really-cool"
+ lsrtags = "pitches, editorial-annotations"
+
texidoc = "
-It is possible to color note heads depending on their pitch and/or their names:
-the function used in this example even makes it possible to distinguish enharmonics.
+It is possible to color note heads depending on their pitch and/or
+their names: the function used in this example even makes it possible
+to distinguish enharmonics.
+
"
doctitle = "Coloring notes depending on their pitch"
} % begin verbatim
(cons (ly:make-pitch 0 3 1/2) (x11-color 'blue))
(cons (ly:make-pitch 0 4 -1/2) (x11-color 'blue))
(cons (ly:make-pitch 0 5 1/2) (x11-color 'blue))
- (cons (ly:make-pitch 0 6 -1/2) (x11-color 'blue))
- ))
+ (cons (ly:make-pitch 0 6 -1/2) (x11-color 'blue))))
%Compare pitch and alteration (not octave).
#(define (pitch-equals? p1 p2)
#(define (color-notehead grob)
(pitch-to-color
- (ly:event-property (ly:grob-property grob 'cause) 'pitch)))
+ (ly:event-property (event-cause grob) 'pitch)))
\score {
\new Staff \relative c' {
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, text"
c2\f c-\piuF
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "simultaneous-notes, text"
}
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "rhythms"
+
doctitlees = "Indicaciones de compases compuestos"
texidoces = "
Las indicaciones de compás poco frecuentes como \"5/8\" se pueden
"
doctitlede = "Zusammengesetzte Taktarten"
- lsrtags = "rhythms"
texidoc = "
Odd 20th century time signatures (such as \"5/8\") can often be played
as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
doctitle = "Compound time signatures"
} % begin verbatim
-
#(define ((compound-time one two num) grob)
(grob-interpret-markup grob
(markup #:override '(baseline-skip . 0) #:number
(#:line (
(#:column (one num))
#:vcenter "+"
- (#:column (two num))))
- )))
+ (#:column (two num)))))))
\relative c' {
\override Staff.TimeSignature #'stencil = #(compound-time "2" "3" "8")
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
\cadenzaOff
\bar "|"
}
+
adding-an-extra-staff-at-a-line-break.ly
adding-an-extra-staff.ly
changing-midi-output-to-one-channel-per-voice.ly
-changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly
+changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly
chant-or-psalms-notation.ly
creating-blank-staves.ly
engravers-one-by-one.ly
mensurstriche-layout-bar-lines-between-the-staves.ly
nesting-staves.ly
+removing-bar-numbers-from-a-score.ly
use-square-bracket-at-the-start-of-a-staff-group.ly
vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, chords, keyboards, fretted-strings"
"
doctitlees = "Controlar la colocación de las digitaciones de acordes"
+
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+
+ texidocfr = "
+Le positionnement des doigtés peut être contrôlé de manière très précise.
+
+"
+ doctitlefr = "Conrôle du positionnement des doigtés"
+
texidoc = "
The placement of fingering numbers can be controlled precisely.
<e-3>2
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\once \override Script #'script-priority = #-100
a2^\prall^\markup { \sharp }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
- lsrtags = "expressive-marks, editorial-annotations,tweaks-and-overrides"
+ lsrtags = "expressive-marks, editorial-annotations, tweaks-and-overrides"
+
+texidoces = "
+La creación de un grupeto circular de anticipación entre dos notas,
+donde la nota inferior del grupeto utiliza una alteración, requiere
+varias sobreescriturasw de propiedades. La propiedad
+@code{outside-staff-priority} se debe establecer al valor #f, pues en
+caso contrario tendría prioridad sobre la propiedad @code{avoid-slur
+property}. El valor de @code{halign} se utiliza para colocar el
+grupeto horizontalmente.
+
+"
+
+doctitlees = "Crear un grupeto de anticipación"
texidoc = "
-Creating a delayed turn, where the lower note of the
-turn uses the accidental, requires several overrides. The
-@code{outside-staff-priority} property must be set to @code{#f},
-as otherwise this would take precedence over the
-@code{avoid-slur property}. The value of @code{halign} is used
-to position the turn horizontally."
+Creating a delayed turn, where the lower note of the turn uses the
+accidental, requires several overrides. The
+@code{outside-staff-priority} property must be set to @code{#f}, as
+otherwise this would take precedence over the @code{avoid-slur
+property}. The value of @code{halign} is used to position the turn
+horizontally.
+"
doctitle = "Creating a delayed turn"
} % begin verbatim
-
\relative c'' {
\once \override TextScript #'avoid-slur = #'inside
\once \override TextScript #'outside-staff-priority = ##f
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches"
} % begin verbatim
#(define (make-note-req p d)
- (make-music 'NoteEvent
- 'duration d
- 'pitch p))
+ (make-music 'NoteEvent
+ 'duration d
+ 'pitch p))
#(define (make-note p d)
- (make-music 'EventChord
- 'elements (list (make-note-req p d))))
-
-#(define (seq-music-list elts)
- (make-music 'SequentialMusic
- 'elements elts))
+ (make-music 'EventChord
+ 'elements (list (make-note-req p d))))
#(define (make-triplet elt)
- (make-music 'TimeScaledMusic
- 'denominator 3
- 'numerator 2
- 'element elt))
-
+ (make-music 'TimeScaledMusic
+ 'denominator 3
+ 'numerator 2
+ 'element elt))
rhythm =
#(define-music-function (parser location note) (ly:music?)
- "Make the rhythm in Mars (the Planets) at the given note's pitch"
- (let ((p (ly:music-property
- (car (ly:music-property note 'elements))
- 'pitch)))
- (seq-music-list (list
- (make-triplet (seq-music-list (list
- (make-note p (ly:make-duration 3 0 2 3))
- (make-note p (ly:make-duration 3 0 2 3))
- (make-note p (ly:make-duration 3 0 2 3))
- )))
- (make-note p (ly:make-duration 2 0))
- (make-note p (ly:make-duration 2 0))
- (make-note p (ly:make-duration 3 0))
- (make-note p (ly:make-duration 3 0))
- (make-note p (ly:make-duration 2 0))
- ))))
+ "Make the rhythm in Mars (the Planets) at the given note's pitch"
+ (let ((p (ly:music-property
+ (car (ly:music-property note 'elements))
+ 'pitch)))
+ (make-sequential-music
+ (list
+ (make-triplet (make-sequential-music
+ (list
+ (make-note p (ly:make-duration 3 0 2 3))
+ (make-note p (ly:make-duration 3 0 2 3))
+ (make-note p (ly:make-duration 3 0 2 3)))))
+ (make-note p (ly:make-duration 2 0))
+ (make-note p (ly:make-duration 2 0))
+ (make-note p (ly:make-duration 3 0))
+ (make-note p (ly:make-duration 3 0))
+ (make-note p (ly:make-duration 2 0))))))
\new Staff {
\time 5/4
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
{ <d, f>2\arpeggio <g b>2 }
>>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, editorial-annotations, contexts-and-engravers, paper-and-layout"
bottom-margin = 0.25\in
top-margin = 0.25\in
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
}
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
}
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "staff-notation"
+
texidoces = "
Se pueden crear indicaciones metronómicas nuevas en modo de
marcado, pero no cambian el tempo en la salida MIDI.
doctitlees = "Crear indicaciones metronómicas en modo de marcado"
- lsrtags = "staff-notation"
- texidoc = "New metronome marks can be created in markup mode,
-but they will not change the tempo in MIDI output."
+ texidoc = "
+New metronome marks can be created in markup mode, but they will not
+change the tempo in MIDI output.
+"
doctitle = "Creating metronome marks in markup mode"
} % begin verbatim
-
\relative c' {
\tempo \markup {
\concat {
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, text"
doctitle = "Creating \"real\" parenthesized dynamics"
} % begin verbatim
-\paper { ragged-right = ##t }
-
parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic
#:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text
- #:italic #:fontsize 2 ")"
- )))
+ #:italic #:fontsize 2 ")")))
+
\relative c'' {
c4\parenF c c \dynamicUp c\parenF
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "expressive-marks, text, tweaks-and-overrides"
+
texidoces = "
A diferencia de las inscripciones de texto, las lestras de ensayo
no se pueden apilar en un punto concreto de la partitura: sólo se
"
doctitlees = "Creación de marcas de ensayo simultáneas"
- lsrtags = "expressive-marks,text,tweaks-and-overrides"
texidoc = "
-Unlike text scripts, rehearsal marks cannot be stacked at a particular point
-in a score: only one @code{RehearsalMark} object is created. Using an
-invisible measure and bar line, an extra rehearsal mark can be added, giving
-the appearance of two marks in the same column.
+Unlike text scripts, rehearsal marks cannot be stacked at a particular
+point in a score: only one @code{RehearsalMark} object is created.
+Using an invisible measure and bar line, an extra rehearsal mark can be
+added, giving the appearance of two marks in the same column. This
+method may also prove useful for placing rehearsal marks at both the
+end of one system and the start of the following system.
-This method may also prove useful for placing rehearsal marks at both the
-end of one system and the start of the following system.
"
doctitle = "Creating simultaneous rehearsal marks"
} % begin verbatim
\time 4/4
\once \override Score.RehearsalMark #'self-alignment-X = #LEFT
- \once \override Score.RehearsalMark #'break-align-symbols = #'(bar-line)
\mark \markup { \box \bold Intro }
d'1
\mark \default
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, keyboards, unfretted-strings"
}
>>
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "expressive-marks, text, tweaks-and-overrides"
+
texidoces = "
Las instrucciones @code{\\startTextSpan} y @code{\\stopTextSpan}
permiten la creación de elementos de extensión textuales tan
"
doctitlees = "Crear elementos de extensión textuales"
- lsrtags = "expressive-marks, text, tweaks-and-overrides"
- texidoc = "The @code{\\startTextSpan} and @code{\\stopTextSpan}
-commands allow the creation of text spanners as easily as pedal
-indications or octavations. Override some properties of the
-@code{TextSpanner} object to modify its output."
+ texidoc = "
+The @code{\\startTextSpan} and @code{\\stopTextSpan} commands allow the
+creation of text spanners as easily as pedal indications or
+octavations. Override some properties of the @code{TextSpanner} object
+to modify its output.
+"
doctitle = "Creating text spanners"
} % begin verbatim
-
\paper { ragged-right = ##f }
\relative c'' {
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "ancient-notation, tweaks-and-overrides"
c1^"mensural" \break
<d a' f'>1
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "fretted-strings, tweaks-and-overrides"
+
texidoces = "
Se pueden establecer las propiedades de los diagramas de
posiciones de acordes por medio de @code{'fret-diagram-details}.
"
doctitlees = "Personalizar los diagramas de posiciones"
- lsrtags = "fretted-strings,tweaks-and-overrides"
-
- texidoc = "Fret diagram properties can be set through
-@code{'fret-diagram-details}. For FretBoard fret diagrams,
-overrides are applied to the @code{FretBoards.FretBoard} object.
-Like @code{Voice}, @code{FretBoards} is a bottom level context,
-therefore can be omitted in property overrides.
+ texidoc = "
+Fret diagram properties can be set through
+@code{'fret-diagram-details}. For FretBoard fret diagrams, overrides
+are applied to the @code{FretBoards.FretBoard} object. Like
+@code{Voice}, @code{FretBoards} is a bottom level context, therefore
+can be omitted in property overrides.
"
doctitle = "Customizing fretboard fret diagrams"
} % begin verbatim
-
\include "predefined-guitar-fretboards.ly"
\storePredefinedDiagram \chordmode { c' }
#guitar-tuning
#"x;1-1-(;3-2;3-3;3-4;1-1-);"
<<
\new ChordNames {
- \chordmode { c1 c c d }
+ \chordmode { c1 | c | c | d }
}
\new FretBoards {
% Set global properties of fret diagram
}
}
\new Voice {
- c'1 c' c' d'
+ c'1 | c' | c' | d'
}
>>
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "fretted-strings, tweaks-and-overrides"
+
texidoces = "
Se pueden establecer las propiedades de los diagramas de
posiciones a través de @code{'fret-diagram-details}. Para los
"
doctitlees = "Personalizar diagramas de posiciones de marcado"
- lsrtags = "fretted-strings,tweaks-and-overrides"
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+
+ texidocfr = "
+Les propriétés d'un diagramme de fret sont modifiables grâce au
+@code{'fret-diagram-details}. Lorsqu'ils sont générés sous forme
+de @code{\markup}, rien n'empêche de les modifier en jouant sur les
+réglages de l'objet @code{Voice.TextScript} ou bien directement sur
+le @qq{markup}.
+
+"
+ doctitlefr = "Personnalisation des diagrammes de fret"
+
+ texidoc = "
+Fret diagram properties can be set through
+@code{'fret-diagram-details}. For markup fret diagrams, overrides can
+be applied to the @code{Voice.TextScript} object or directly to the
+markup.
- texidoc = "Fret diagram properties can be set through
-@code{'fret-diagram-details}. For markup fret diagrams, overrides
-can be applied to the @code{Voice.TextScript} object or directly
-to the markup.
"
doctitle = "Customizing markup fret diagrams"
} % begin verbatim
-
<<
- \chords { c1 c c d }
+ \chords { c1 | c | c | d }
\new Voice = "mel" {
\textLengthOn
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations"
\override Stem #'neutral-direction = #down
a4 b c b
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "fretted-strings"
+
texidoces = "
Se pueden añadir diagramas de posiciones predefinidas para
"
doctitlees = "Definición de posiciones predefinidas para otros instrumentos"
- lsrtags = "fretted-strings"
- texidoc = "Predefined fret diagrams can be added for new instruments
-in addition to the standards used for guitar. This file shows how
-this is done by defining a new string-tuning and a few predefined
-fretboards for the Venezuelan cuatro.
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+
+ texidocfr = "
+La liste des diagrammes standards prédéfinis pour la guitare peut être
+ augmentée d'autres définitions spécifiques à d'autres instruments.
+Voici comment définir un nouvel accordage ainsi que quelques diagrammes
+prédéfinis pour le @qq{cuatro vénézuélien}.
+
+Cet exemple illustre aussi la manière d'ajouter des doigtés aux
+accords ; ils serviront de référence pour la boucle d'accord et seront
+indiqués dans les diagrammes et le @code{TabStaff}, mais pas dans la musique.
+
+Ces diagrémmes ne peuvent pas être transposés, dans la mesure où ils
+contiennent des informations sur les condes. Ceci est amené à évoluer.
+
+"
+ doctitlefr = "Création de diagrammes de fret prédéfinis pour
+d'autres instruments"
+
+ texidoc = "
+Predefined fret diagrams can be added for new instruments in addition
+to the standards used for guitar. This file shows how this is done by
+defining a new string-tuning and a few predefined fretboards for the
+Venezuelan cuatro.
+
+This file also shows how fingerings can be included in the chords used
+as reference points for the chord lookup, and displayed in the fret
+diagram and the @code{TabStaff}, but not the music.
-This file also shows how fingerings can be included in the chords
-used as reference points for the chord lookup, and displayed in
-the fret diagram and the @code{TabStaff}, but not the music.
These fretboards are not transposable because they contain string
-information. This is planned to be corrected in the future.
+information. This is planned to be corrected in the future.
"
doctitle = "Defining predefined fretboards for other instruments"
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "midi"
>>
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, paper-and-layout, titles"
copyright = "localcopyright"
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "staff-notation, tweaks-and-overrides"
+
texidoces = "
Si hay un solo pentagrama en un de los tipos de sistema
@code{ChoirStaff} o @code{StaffGroup}, el comportamiento
doctitlees = "Mostrar corchete o llave en grupos de un solo pentagrama"
- lsrtags = "staff-notation,tweaks-and-overrides"
- texidoc = "If there is only one staff in one of the staff types
-@code{ChoirStaff} or @code{StaffGroup}, the bracket and the starting
-bar line will not be displayed as standard behavior. This can be changed
-by overriding the relevant properties.
+ texidoc = "
+If there is only one staff in one of the staff types @code{ChoirStaff}
+or @code{StaffGroup}, the bracket and the starting bar line will not be
+displayed as standard behavior. This can be changed by overriding the
+relevant properties.
Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
where the systems begin with a brace instead of a bracket, another
-property has to be set, as shown on the second system in the example.
+property has to be set, as shown on the second system in the example.
+
"
doctitle = "Display bracket with only one staff in a system"
} % begin verbatim
-
\markup \left-column {
\score {
\new StaffGroup <<
>>
\layout { }
}
+ \null
\score {
\new PianoStaff <<
\override PianoStaff.SystemStartBrace #'collapse-height = #1
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "simultaneous-notes, chords"
\relative c' {
<< { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "pitches"
+
doctitlees = "Alteraciones de estilo dodecafónico para todas las notas, incluidas las naturales"
texidoces = "
En las obras de principios del s.XX, empezando por Schoenberg, Berg y
doctitlede = "Versetzungszeichen für jede Note im Stil der Zwölftonmusik"
- lsrtags = "pitches"
- texidoc = "In early 20th century works, starting with Schoenberg,
-Berg and Webern (the \"Second\" Viennese school), every pitch in the
-twelve-tone scale has to be regarded as equal, without any hierarchy
-such as the classical (tonal) degrees. Therefore, these composers
-print one accidental for each note, even at natural pitches, to
-emphasize their new approach to music theory and language.
+ texidoc = "
+In early 20th century works, starting with Schoenberg, Berg and Webern
+(the \"Second\" Viennese school), every pitch in the twelve-tone scale
+has to be regarded as equal, without any hierarchy such as the
+classical (tonal) degrees. Therefore, these composers print one
+accidental for each note, even at natural pitches, to emphasize their
+new approach to music theory and language.
This snippet shows how to achieve such notation rules.
-"
+"
doctitle = "Dodecaphonic-style accidentals for each note including naturals"
} % begin verbatim
-
\score {
\new Staff {
#(set-accidental-style 'dodecaphonic)
}
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
- lsrtags = "unfretted-strings,tweaks-and-overrides"
- texidoc = "Artificial harmonics using @code{\\harmonic} do not show
-dots. To override this behavior, set the context property
-@code{harmonicDots}."
+ lsrtags = "unfretted-strings, tweaks-and-overrides"
+
+ texidoc = "
+Artificial harmonics using @code{\\harmonic} do not show dots. To
+override this behavior, set the context property @code{harmonicDots}.
+
+"
doctitle = "Dotted harmonics"
} % begin verbatim
-
\relative c''' {
\time 3/4
\key f \major
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, simultaneous-notes"
}
>>
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
- lsrtags = "tweaks-and-overrides"
+ lsrtags = "editorial-annotations, tweaks-and-overrides"
+
texidoc = "
The @code{print-function} can be overridden to draw a box around an
-arbitrary grob.
+arbitrary grob.
+
"
doctitle = "Drawing boxes around grobs"
} % begin verbatim
-
\relative c'' {
\override TextScript #'stencil =
#(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
\mark "F"
c1
}
+
+
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
- lsrtags = "tweaks-and-overrides"
+ lsrtags = "editorial-annotations, tweaks-and-overrides"
+
texidoc = "
-The @code{\circle} markup command draws circles around various objects,
-for example fingering indications. For other objects, specific tweaks
-may be required: this example demonstrates two strategies for rehearsal
-marks and measure numbers.
+The @code{\\circle} markup command draws circles around various
+objects, for example fingering indications. For other objects,
+specific tweaks may be required: this example demonstrates two
+strategies for rehearsal marks and measure numbers.
+
"
doctitle = "Drawing circles around various objects"
} % begin verbatim
-
\relative c' {
c1
\set Score.markFormatter =
creating-a-delayed-turn.ly
creating-blank-staves.ly
default-direction-of-stems-on-the-center-line-of-the-staff.ly
+drawing-boxes-around-grobs.ly
+drawing-circles-around-various-objects.ly
embedding-native-postscript-in-a--markup-block.ly
grid-lines--changing-their-appearance.ly
grid-lines--emphasizing-rhythms-and-notes-synchronization.ly
making-some-staff-lines-thicker-than-the-others.ly
marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
measure-counter.ly
+positioning-fingering-indications-precisely.ly
positioning-text-markups-inside-slurs.ly
+printing-text-from-right-to-left.ly
using-postscript-to-generate-special-note-head-shapes.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, text"
s2
a'1
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "contexts-and-engravers"
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
#'((0.0 . 1) (-2.0 . 1) (-4.0 . 1))
<c e g> ~ <c e g>
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, repeats"
+
+ texidoc = "
+If a tremolo's total duration is less than a quarter-note, or exactly a
+half-note, or between a half-note and a whole-note, it is normally
+typeset with all beams touching the stems. Certain engraving styles
+typeset some of these beams as centered floating beams that do not
+touch the stems. The number of floating beams in this type of tremolo
+is controlled with the @code{'gap-count } property of the @code{Beam}
+object, and the size of the gaps between beams and stems is set with
+the @code{'gap} property.
+
+
+
+"
+ doctitle = "Engraving tremolos with floating beams"
+} % begin verbatim
+
+\relative c'' {
+ \repeat tremolo 8 { a32 f }
+ \override Beam #'gap-count = #1
+ \repeat tremolo 8 { a32 f }
+ \override Beam #'gap-count = #2
+ \repeat tremolo 8 { a32 f }
+ \override Beam #'gap-count = #3
+ \repeat tremolo 8 { a32 f }
+
+ \override Beam #'gap-count = #3
+ \override Beam #'gap = #1.33
+ \repeat tremolo 8 { a32 f }
+ \override Beam #'gap = #1
+ \repeat tremolo 8 { a32 f }
+ \override Beam #'gap = #0.67
+ \repeat tremolo 8 { a32 f }
+ \override Beam #'gap = #0.33
+ \repeat tremolo 8 { a32 f }
+}
+
+
+
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
\set tupletSpannerDuration = #(ly:make-moment 1 4)
\times 2/3 { c8 c c c c c }
}
+
-adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
+adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly
adding-parentheses-around-an-expressive-mark-or-chordal-note.ly
adjusting-the-shape-of-falls-and-doits.ly
breathing-signs.ly
setting-the-minimum-length-of-hairpins.ly
snap-pizzicato-markup-bartok-pizzicato.ly
using-double-slurs-for-legato-chords.ly
+vertical-line-as-a-baroque-articulation-mark.ly
vertically-aligning-dynamics-across-multiple-notes.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings"
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "keyboards, tweaks-and-overrides"
- texidoc = "The appearance of pedal brackets may be altered in
-different ways."
+
+ texidoc = "
+The appearance of pedal brackets may be altered in different ways.
+
+"
doctitle = "Fine-tuning pedal brackets"
} % begin verbatim
-
\paper { ragged-right = ##f }
\relative c'' {
c2\sostenutoOn c
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings"
"
doctitlees = "Digitaciones, indicación del número de cuerda y digitaciones de mano derecha"
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+
+ texidocfr = "
+L'exemple suivant illustre comment combiner des doigtés pour la main
+gauche, des indications de corrde et des doigtés pour la main droite.
+
+"
+ doctitlefr = "Doigtés, indications de cordeet doigtés main droite"
+
+
texidoc = "
This example combines left-hand fingering, string indications, and
right-hand fingering.
<g-0\3-\RH #3 >4
<c-1\2-\RH #4 >4
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings"
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
}
>>
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "winds"
texidoc = "
-It is possible to indicate special articulation techniques such as
-flute's \"tongue slap\", by replacing the note head with the
-appropriate glyph.
+It is possible to indicate special articulation techniques such as a
+flute's \"tongue slap\" by replacing the note head with the appropriate
+glyph.
"
doctitle = "Flute slap notation"
} % begin verbatim
-
slap =
#(define-music-function (parser location music) (ly:music?)
#{
\relative c' {
c4 \slap c d r \slap { g a } b r
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "simultaneous-notes, tweaks-and-overrides"
<b f'>2
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
c1 \mark \default
c1 \mark \default
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, vocal-music"
\context Lyrics \lyricsto melody \lyr
>>
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
- lsrtags = "fretted-strings,tweaks-and-overrides"
- texidoc = "This snippet shows many possibilities for obtaining
-and tweaking fret diagrams."
+ lsrtags = "fretted-strings, tweaks-and-overrides"
+
+ texidoc = "
+This snippet shows many possibilities for obtaining and tweaking fret
+diagrams.
+
+"
doctitle = "Fret diagrams explained and developed"
} % begin verbatim
-
<<
\chords {
a2 a
- c2 c
- d1
+ \repeat unfold 3 {
+ c c c d d
+ }
}
\new Voice = "mel" {
\textLengthOn
% Set global properties of fret diagram
\override TextScript #'size = #1.2
- \override TextScript #'fret-diagram-details #'finger-code = #'below-string
+ \override TextScript
+ #'fret-diagram-details #'finger-code = #'below-string
\override TextScript #'fret-diagram-details #'dot-color = #'black
%% A chord for ukelele
}
}
+ %% These chords will be in normal orientation
+
%% C major for guitar, barred on third fret
% verbose style
% roman fret label, finger labels below string, straight barre
}
%% C major for guitar, barred on third fret
+ %% Double barre used to test barre function
% verbose style
c'2^\markup {
% 110% of default size
(fret-label-vertical-offset . 0)
(label-dir . -1)
(mute-string . "M")
- (orientation . landscape)
(xo-font-magnification . 0.4)
(xo-padding . 0.3))) {
\fret-diagram-verbose #'((mute 6)
(place-fret 3 5 3)
(place-fret 2 5 4)
(place-fret 1 3 1)
+ (barre 4 2 5)
(barre 5 1 3))
}
}
}
+ %% C major for guitar, with capo on third fret
+ % verbose style
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . roman-upper)
+ (dot-label-font-mag . 0.9)
+ (finger-code . none)
+ (fret-label-vertical-offset . 0.5)
+ (xo-font-magnification . 0.4)
+ (xo-padding . 0.3))) {
+ \fret-diagram-verbose #'((mute 6)
+ (capo 3)
+ (open 5)
+ (place-fret 4 5 1)
+ (place-fret 3 5 2)
+ (place-fret 2 5 3)
+ (open 1))
+ }
+ }
+ }
+
%% simple D chord
- d'1^\markup {
+ d'2^\markup {
+ \override #'(fret-diagram-details . (
+ (finger-code . below-string)
+ (dot-radius . 0.35)
+ (string-thickness-factor . 0.3)
+ (dot-position . 0.5)
+ (fret-count . 3))) {
+ \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
+ }
+ }
+
+ %% simple D chord, large top fret thickness
+ d'2^\markup {
+ \override #'(fret-diagram-details . (
+ (finger-code . below-string)
+ (dot-radius . 0.35)
+ (dot-position . 0.5)
+ (top-fret-thickness . 7)
+ (fret-count . 3))) {
+ \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
+ }
+ }
+
+ % These chords will be in landscape orientation
+ \override TextScript
+ #'fret-diagram-details #'orientation = #'landscape
+
+ %% C major for guitar, barred on third fret
+ % verbose style
+ % roman fret label, finger labels below string, straight barre
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . roman-lower)
+ (finger-code . below-string)
+ (barre-type . straight))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% C major for guitar, barred on third fret
+ %% Double barre used to test barre function
+ % verbose style
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . arabic)
+ (dot-label-font-mag . 0.9)
+ (finger-code . in-dot)
+ (fret-label-font-mag . 0.6)
+ (fret-label-vertical-offset . 0)
+ (label-dir . -1)
+ (mute-string . "M")
+ (xo-font-magnification . 0.4)
+ (xo-padding . 0.3))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 4 2 5)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% C major for guitar, with capo on third fret
+ % verbose style
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . roman-upper)
+ (dot-label-font-mag . 0.9)
+ (finger-code . none)
+ (fret-label-vertical-offset . 0.5)
+ (xo-font-magnification . 0.4)
+ (xo-padding . 0.3))) {
+ \fret-diagram-verbose #'((mute 6)
+ (capo 3)
+ (open 5)
+ (place-fret 4 5 1)
+ (place-fret 3 5 2)
+ (place-fret 2 5 3)
+ (open 1))
+ }
+ }
+ }
+
+ %% simple D chord
+ d'2^\markup {
+ \override #'(fret-diagram-details . (
+ (finger-code . below-string)
+ (dot-radius . 0.35)
+ (dot-position . 0.5)
+ (fret-count . 3))) {
+ \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
+ }
+ }
+
+ %% simple D chord, large top fret thickness
+ d'2^\markup {
+ \override #'(fret-diagram-details . (
+ (finger-code . below-string)
+ (dot-radius . 0.35)
+ (dot-position . 0.5)
+ (top-fret-thickness . 7)
+ (fret-count . 3))) {
+ \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
+ }
+ }
+
+ % These chords will be in opposing-landscape orientation
+ \override TextScript #'fret-diagram-details
+ #'orientation = #'opposing-landscape
+
+ %% C major for guitar, barred on third fret
+ % verbose style
+ % roman fret label, finger labels below string, straight barre
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . roman-lower)
+ (finger-code . below-string)
+ (barre-type . straight))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% C major for guitar, barred on third fret
+ %% Double barre used to test barre function
+ % verbose style
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . arabic)
+ (dot-label-font-mag . 0.9)
+ (finger-code . in-dot)
+ (fret-label-font-mag . 0.6)
+ (fret-label-vertical-offset . 0)
+ (label-dir . -1)
+ (mute-string . "M")
+ (xo-font-magnification . 0.4)
+ (xo-padding . 0.3))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 4 2 5)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% C major for guitar, with capo on third fret
+ % verbose style
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . roman-upper)
+ (dot-label-font-mag . 0.9)
+ (finger-code . none)
+ (fret-label-vertical-offset . 0.5)
+ (xo-font-magnification . 0.4)
+ (xo-padding . 0.3))) {
+ \fret-diagram-verbose #'((mute 6)
+ (capo 3)
+ (open 5)
+ (place-fret 4 5 1)
+ (place-fret 3 5 2)
+ (place-fret 2 5 3)
+ (open 1))
+ }
+ }
+ }
+
+ %% simple D chord
+ d'2^\markup {
+ \override #'(fret-diagram-details . (
+ (finger-code . below-string)
+ (dot-radius . 0.35)
+ (dot-position . 0.5)
+ (fret-count . 3))) {
+ \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
+ }
+ }
+
+ %% simple D chord, large top fret thickness
+ d'2^\markup {
\override #'(fret-diagram-details . (
(finger-code . below-string)
(dot-radius . 0.35)
(dot-position . 0.5)
+ (top-fret-thickness . 7)
(fret-count . 3))) {
\fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches"
} % begin verbatim
\score {
- { #(let ((random-state (seed->random-state (current-time))))
- (ly:export
- (make-music 'SequentialMusic 'elements
- (map (lambda x
- (let ((idx (random 12 random-state)))
- (make-music 'EventChord
- 'elements (list (make-music 'NoteEvent
- 'duration (ly:make-duration 2 0 1 1)
- 'pitch (ly:make-pitch (quotient idx 7)
- (remainder idx 7)
- 0))))))
- (make-list 24)))))
+ {
+ #(let ((random-state (seed->random-state (current-time))))
+ (ly:export
+ (make-sequential-music
+ (map (lambda (x)
+ (let ((idx (random 12 random-state)))
+ (make-event-chord
+ (list
+ (make-music 'NoteEvent
+ 'duration (ly:make-duration 2 0 1 1)
+ 'pitch (ly:make-pitch
+ (quotient idx 7)
+ (remainder idx 7)
+ 0))))))
+ (make-list 24)))))
}
}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations"
ragged-right = ##t
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
c8^"(3+2)" c16 c8
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "rhythms, fretted-strings"
+
texidoces = "
Para la música de guitarra, es posible mostrar los ritmos de rasgueo,
además de las notas de la melodía, acordes y diagramas de posiciones.
"
doctitldee = "Schlagrhythmus für Guitarren"
- lsrtags = "rhythms,fretted-strings"
texidoc = "
-For guitar music, it is possible to show strum rhythms, along
-with melody notes, chord names, and fret diagrams.
+For guitar music, it is possible to show strum rhythms, along with
+melody notes, chord names and fret diagrams.
+
"
doctitle = "Guitar strum rhythms"
} % begin verbatim
-
\include "predefined-guitar-fretboards.ly"
<<
\new ChordNames {
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, percussion"
doctitle = "Heavily customized polymetric time signatures"
} % begin verbatim
-
#(define plus (markup #:vcenter "+"))
#(define ((custom-time-signature one two three four five six
seven eight nine ten eleven num) grob)
(#:column (eight num)) plus
(#:column (nine num)) plus
(#:column (ten num)) plus
- (#:column (eleven num))))
- )))
+ (#:column (eleven num)))))))
melody = \relative c'' {
\set Staff.instrumentName = #"Bb Sop."
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
\crescTextCresc
c1\< | d | b | c\!
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
} % begin verbatim
\header { title = "Horizontally aligning custom dynamics" }
-\layout { ragged-right = ##t }
+
+\paper { ragged-right = ##f }
% Solution 1: Using a simple markup with a particular halign value
-% Drawback: It's a markup, not a dynamic command, so \dynamicDown etc. will have no effect
+% Drawback: It's a markup, not a dynamic command, so \dynamicDown
+% etc. will have no effect
semppMarkup = \markup { \halign #1.4 \italic "sempre" \dynamic "pp" }
-% Solution 2: Using a dynamic script and shifting with \once\override ... #'X-offset = ..
-% Drawback: \once\override needed for every invocation
-semppK = #(make-dynamic-script (markup #:line( #:normal-text #:italic "sempre" #:dynamic "pp")))
-
-% Solution 3: Padding the dynamic script so the center-alignment puts it to the correct position
+% Solution 2: Using a dynamic script & shifting with
+% \once \override ... #'X-offset = ..
+% Drawback: \once \override needed for every invocation
+semppK =
+#(make-dynamic-script
+ (markup #:line
+ (#:normal-text
+ #:italic "sempre"
+ #:dynamic "pp")))
+
+% Solution 3: Padding the dynamic script so the center-alignment
+% puts it at the correct position
% Drawback: the padding really reserves the space, nothing else can be there
-semppT = #(
- make-dynamic-script (
- markup #:line (
- #:normal-text #:italic "sempre" #:dynamic "pp" #:hspace 7.1
- )
- )
-)
+semppT =
+#(make-dynamic-script
+ (markup #:line
+ (#:normal-text
+ #:italic "sempre"
+ #:dynamic "pp"
+ #:hspace 7.1)))
% Solution 4: Dynamic, setting the dimensions of the additional text to 0
-% Drawback: To lilypond "sempre" has no extent, so it might put other stuff there => collisions
-% Drawback: Also, there seems to be some spacing, so it's not exactly the
+% Drawback: To lilypond "sempre" has no extent, so it might put
+% other stuff there => collisions
+% Drawback: Also, there seems to be some spacing, so it's not exactly the
% same alignment as without the additional text
-semppM = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0) '(0 . 0) #:right-align #:normal-text #:italic "sempre" #:dynamic "pp")))
+semppM =
+#(make-dynamic-script
+ (markup #:line (#:with-dimensions '(0 . 0) '(0 . 0)
+ #:right-align #:normal-text #:italic "sempre" #:dynamic "pp")))
% Solution 5: Dynamic with explicit shifting inside the scheme function
-semppG = #(make-dynamic-script
+semppG =
+#(make-dynamic-script
(markup
- #:hspace 0 #:translate (cons -18.85 0 )
- #:line( #:normal-text #:italic "sempre" #:dynamic "pp"))
-)
+ #:hspace 0 #:translate '(-18.85 . 0)
+ #:line( #:normal-text #:italic "sempre" #:dynamic "pp")))
% Solution 6: Dynamic with explicit alignment. This has only effect, if one sets X-offset!
% Drawback: One needs to set DynamicText #'X-offset!
% Drawback: Aligned at the right edge of the additional text, not at the center of pp
-semppMII = #(make-dynamic-script (markup #:line(#:right-align #:normal-text #:italic "sempre" #:dynamic "pp")))
-
+semppMII =
+#(make-dynamic-script (markup #:line(#:right-align
+ #:normal-text #:italic "sempre" #:dynamic "pp")))
\context StaffGroup <<
- \context Staff="s" << \set Staff.instrumentName = "Normal"
- \relative c'' { \key es \major c4\pp c\p c c | c\ff c c\pp c }
+ \context Staff = "s" <<
+ \set Staff.instrumentName = "Normal"
+ \relative c'' {
+ \key es \major
+ c4\pp c\p c c | c\ff c c\pp c
+ }
>>
- \context Staff="sMarkup" << \set Staff.instrumentName = \markup\column{"Normal" "Markup"}
- \relative c'' { \key es \major c4-\semppMarkup c\p c c | c\ff c c-\semppMarkup c}
+ \context Staff = "sMarkup" <<
+ \set Staff.instrumentName = \markup \column { Normal markup }
+ \relative c'' {
+ \key es \major
+ c4-\semppMarkup c\p c c | c\ff c c-\semppMarkup c
+ }
>>
- \context Staff="sK" << \set Staff.instrumentName = \markup\column{"Explicit" "shifting"}
- \relative c'' { \key es \major
- \once \override DynamicText #'X-offset = #-9.2 c4\semppK c\p c c |
- c\ff c \once \override DynamicText #'X-offset = #-9.2 c\semppK c }
+ \context Staff = "sK" <<
+ \set Staff.instrumentName = \markup \column { Explicit shifting }
+ \relative c'' {
+ \key es \major
+ \once \override DynamicText #'X-offset = #-9.2
+ c4\semppK c\p c c
+ c4\ff c
+ \once \override DynamicText #'X-offset = #-9.2
+ c4\semppK c
+ }
>>
- \context Staff="sT" << \set Staff.instrumentName = \markup\column{"Right" "padding"}
- \relative c'' { \key es \major c4\semppT c\p c c | c\ff c c\semppT c }
+ \context Staff = "sT" <<
+ \set Staff.instrumentName = \markup \column { Right padding }
+ \relative c'' {
+ \key es \major
+ c4\semppT c\p c c | c\ff c c\semppT c
+ }
>>
- \context Staff="sM" << \set Staff.instrumentName = \markup\column{"Setting" "dimension" "to zero"}
- \relative c'' { \key es \major c4\semppM c\p c c | c\ff c c\semppM c }
+ \context Staff = "sM" <<
+ \set Staff.instrumentName = \markup \column { Setting dimension "to zero" }
+ \relative c'' {
+ \key es \major
+ c4\semppM c\p c c | c\ff c c\semppM c
+ }
>>
- \context Staff="sG" << \set Staff.instrumentName = \markup\column{"Shifting" "inside" "dynamics"}
- \relative c'' { \key es \major c4\semppG c\p c c | c\ff c c\semppG c}
+ \context Staff = "sG" <<
+ \set Staff.instrumentName = \markup \column { Shifting inside dynamics }
+ \relative c'' {
+ \key es \major
+ c4\semppG c\p c c | c\ff c c\semppG c
+ }
+ >>
+ \context Staff = "sMII" <<
+ \set Staff.instrumentName = \markup \column { Alignment inside dynamics }
+ \relative c'' {
+ \key es \major
+ % Setting to ##f (false) gives the same result
+ \override DynamicText #'X-offset = #0
+ c4\semppMII c\p c c | c\ff c c\semppMII c
+ }
>>
- \context Staff="sMII" << \set Staff.instrumentName = \markup\column{"Alignment" "inside" "dynamics"}
- \relative c'' { \key es \major
- \override DynamicText #'X-offset = #0 % Setting to ##f (false) gives the same resul
- c4\semppMII c\p c c | c\ff c c\semppMII c }
- >>
>>
-
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings, tweaks-and-overrides"
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, vocal-music"
\lyrics {
wa~o~a
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "staff-notation, ancient-notation"
+
texidoces = "
Los «incipit» se pueden escribir utilizando el grob del nombre del
instruemento, pero manteniendo independientes las definiciones del
doctitlees = "Incipit"
- lsrtags = "staff-notation,ancient-notation"
- texidoc = "Incipits can be added using the instrument name grob, but
-keeping separate the instrument name definition and the incipit definition."
+ texidoc = "
+Incipits can be added using the instrument name grob, but keeping
+separate the instrument name definition and the incipit definition.
+
+"
doctitle = "Incipit"
} % begin verbatim
-
incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
#{
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "keyboards"
doctitle = "Indicating cross-staff chords with arpeggio bracket"
} % begin verbatim
-\paper { ragged-right = ##t }
-
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
}
}
>>
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "expressive-marks, tweaks-and-overrides"
+
texidoces = "
Las marcas de cesura se pueden crear sobreescribiendo la propiedad
@code{'text} del objeto @code{BreathingSign}. También está disponible
"
doctitlede = "Eine Zäsur einfügen"
- lsrtags = "expressive-marks,tweaks-and-overrides"
texidoc = "
-Caesura marks can be created by overriding the @code{'text}
-property of the @code{BreathingSign} object. A curved caesura
-mark is also available.
+Caesura marks can be created by overriding the @code{'text} property of
+the @code{BreathingSign} object. A curved caesura mark is also
+available.
+
"
doctitle = "Inserting a caesura"
} % begin verbatim
-
\relative c'' {
\override BreathingSign #'text = \markup {
\musicglyph #"scripts.caesura.straight"
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation"
g8 a g a
g8 a g a
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "repeats"
\override MultiMeasureRest #'thickness = #0.48
R1
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "keyboards, percussion, fretted-strings, template"
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, keyboards, fretted-strings"
(-1 . ,UP))
<c d e f>4\laissezVibrer r
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
- lsrtags = "staff-notation,fretted-strings"
+ lsrtags = "staff-notation, fretted-strings"
- texidoc = "Tablature can be formatted using letters instead of
-numbers."
+ texidoc = "
+Tablature can be formatted using letters instead of numbers.
+
+"
doctitle = "Letter tablature formatting"
} % begin verbatim
-
#(define (letter-tablature-format str context event)
- (let*
- ((tuning (ly:context-property context 'stringTunings))
- (pitch (ly:event-property event 'pitch)))
+ (let ((tuning (ly:context-property context 'stringTunings))
+ (pitch (ly:event-property event 'pitch)))
(make-whiteout-markup
(make-vcenter-markup
(string (integer->char
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "expressive-marks, tweaks-and-overrides"
+
texidoces = "
Se pueden aplicar puntas de flecha a los elementos de extensión de
texto y de línea (como el Glissando).
"
doctitlees = "Puntas de flecha para las líneas"
- lsrtags = "expressive-marks"
- texidoc = "Arrows can be applied to text-spanners and line-spanners
-(such as the Glissando)."
+ texidoc = "
+Arrows can be applied to text-spanners and line-spanners (such as the
+Glissando).
+
+"
doctitle = "Line arrows"
} % begin verbatim
-
\relative c'' {
\override TextSpanner #'bound-padding = #1.0
\override TextSpanner #'style = #'line
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, vocal-music"
\once \override LyricText #'self-alignment-X = #1
"This is right-aligned"
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "pitches, world-music"
+
texidoces = "
El «Makam» es un tipo de melodía de Turquía que
utiliza intervalos microtonales de 1/9 de tono. Consulte el
"
doctitlees = "El «Makam»"
- lsrtags = "pitches,world-music"
- texidoc = "Makam is a type of melody from Turkey using 1/9th-tone
-microtonal alterations. Consult the initialization file
-@code{makam.ly} (see the `Learning Manual @version{},
-4.6.3 Other sources of information' for the location of this file)
-for details of pitch names and alterations."
+ texidoc = "
+Makam is a type of melody from Turkey using 1/9th-tone microtonal
+alterations. Consult the initialization file @samp{ly/makam.ly} for
+details of pitch names and alterations.
+
+"
doctitle = "Makam example"
} % begin verbatim
-
% Initialize makam settings
\include "makam.ly"
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
- lsrtags = "rhythms,tweaks-and-overrides"
+ lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
+
texidoc = "
-Setting the @code{'transparent} property will cause an object to be
+Setting the @code{transparent} property will cause an object to be
printed in \"invisible ink\": the object is not printed, but all its
other behavior is retained. The object still takes up space, it takes
part in collisions, and slurs, ties and beams can be attached to it.
+
This snippet demonstrates how to connect different voices using ties.
Normally, ties only connect two notes in the same voice. By
introducing a tie in a different voice, and blanking the first up-stem
-in that voice, the tie appears to cross voices. To prevent the blanked stem's
-flag from interfering with tie positioning, the stem is extended.
+in that voice, the tie appears to cross voices.
+
"
- doctitle = "Making an object invisible with the transparent property"
+ doctitle = "Making an object invisible with the 'transparent property"
} % begin verbatim
-
\relative c'' {
\time 2/4
<<
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, editorial-annotations"
\override Staff.StaffSymbol #'line-positions = #'(-4 -2 -0.2 0 0.2 2 4)
d'4 e' f' g'
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
c8 c
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, vocal-music"
texidoc = "
-This example shows how to put crosses on stems. Mark the beginning
-of a spoken section with the @code{\\speakOn} keyword, and end it
-with the @code{\\speakOff} keyword.
+This example shows how to put crosses on stems. Mark the beginning of
+a spoken section with the @code{\\speakOn} keyword, and end it with the
+@code{\\speakOff} keyword.
+
"
doctitle = "Marking notes of spoken parts with a cross on the stem"
} % begin verbatim
-
speakOn = {
\override Stem #'stencil = #(lambda (grob)
(let* ((x-parent (ly:grob-parent grob X))
}
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text"
- texidoc = "Text that can spread over pages is entered with the
-@code{\\markuplines} command."
+
+ texidoc = "
+Text that can spread over pages is entered with the
+@code{\\markuplines} command.
+
+"
doctitle = "Markup lines"
} % begin verbatim
-
#(set-default-paper-size "a6")
#(define-markup-list-command (paragraph layout props args) (markup-list?)
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "repeats, staff-notation, editorial-annotations"
\repeat percent 4 { s1 }
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, ancient-notation, contexts-and-engravers, tweaks-and-overrides"
\new Staff { << \global { c c } >> }
>>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
}
>>
}
+
changing-midi-output-to-one-channel-per-voice.ly
+changing-the-tempo-without-a-metronome-mark.ly
demo-midiinstruments.ly
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, fretted-strings"
doctitle = "Modern TAB text clef"
} % begin verbatim
-
TAB = \markup {
\raise #1.5
\sans
\bold
\huge
\override #'(baseline-skip . 2.5)
+ \left-align
\center-column {
T
A
\new TabStaff {
\override Staff.Clef #'stencil = #(lambda (grob)
- ly:clef::print (grob-interpret-markup grob TAB))
+ (grob-interpret-markup grob TAB))
a
}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
\relative c'' { c1-+ }
dashPlus = "trill"
\relative c'' { c1-+ }
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
\time 3/4
c2.
}
+
+++ /dev/null
-%% Do not edit this file; it is auto-generated from input/new
-%% This file is in the public domain.
-\version "2.12.0"
-
-\header {
-texidoces = "
-Los elementos de marcado aplicados a un silencio multicompás se
-centran encima o debajo de éste. Los elementos de marcado extensos
-que se adjuntan a silencios multicompás no producen la expansión del
-compás. Para expandir un silencio multicompás de forma que quepa todo
-el marcado, utilice un silencio de separación con un marcado aplicado
-antes del silencio multicompás.
-
-Observe que el silencio separador produce la inserción de un compás.
-El texto aplicado a un siencio sparador de esta forma se alinea por la
-izquierda a la posición en que la nota estaría situada dentro del
-compás, pero si la longitud del compás está determinada por la
-longitud del texto, éste aparecerá centrado.
-
-"
-
-doctitlees = "Marcado de silencios multicompás"
- lsrtags = "rhythms, text"
- texidoc = "Markups attached to a multi-measure rest will be
-centered above or below it. Long markups attached to multi-measure
-rests do not cause the measure to expand. To expand a multi-measure
-rest to fit the markup, use a spacer rest with an attached markup
-before the multi-measure rest.
-
-Note that the spacer rest causes a bar line to be inserted. Text attached
-to a spacer rest in this way is left-aligned to the position where
-the note would be placed in the measure, but if the measure length is
-determined by the length of the text, the text will appear to be
-centered."
- doctitle = "Multi-measure rest markup"
-} % begin verbatim
-
-
-\relative c' {
- \compressFullBarRests
- \textLengthOn
- s1*0^\markup { [MAJOR GENERAL] }
- R1*19
- s1*0_\markup { \italic { Cue: ... it is yours } }
- s1*0^\markup { A }
- R1*30^\markup { [MABEL] }
- \textLengthOff
- c4^\markup { CHORUS } d f c
-}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, text"
+
+texidoces = "
+Los elementos de marcado aplicados a un silencio multicompás se
+centran encima o debajo de éste. Los elementos de marcado extensos
+que se adjuntan a silencios multicompás no producen la expansión del
+compás. Para expandir un silencio multicompás de forma que quepa todo
+el marcado, utilice un silencio de separación con un marcado aplicado
+antes del silencio multicompás.
+
+Observe que el silencio separador produce la inserción de un compás.
+El texto aplicado a un siencio sparador de esta forma se alinea por la
+izquierda a la posición en que la nota estaría situada dentro del
+compás, pero si la longitud del compás está determinada por la
+longitud del texto, éste aparecerá centrado.
+
+"
+
+doctitlees = "Marcado de silencios multicompás"
+ texidoc = "
+Markups attached to a multi-measure rest will be centered above or
+below it. Long markups attached to multi-measure rests do not cause
+the measure to expand. To expand a multi-measure rest to fit the
+markup, use a spacer rest with an attached markup before the
+multi-measure rest.
+
+Note that the spacer rest causes a bar line to be inserted. Text
+attached to a spacer rest in this way is left-aligned to the position
+where the note would be placed in the measure, but if the measure
+length is determined by the length of the text, the text will appear to
+be centered.
+
+"
+ doctitle = "Multi-measure rest markup"
+} % begin verbatim
+
+\relative c' {
+ \compressFullBarRests
+ \textLengthOn
+ s1*0^\markup { [MAJOR GENERAL] }
+ R1*19
+ s1*0_\markup { \italic { Cue: ... it is yours } }
+ s1*0^\markup { A }
+ R1*30^\markup { [MABEL] }
+ \textLengthOff
+ c4^\markup { CHORUS } d f c
+}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, contexts-and-engravers, tweaks-and-overrides"
\new Staff { c1 }
\new Staff { c1 }
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches, staff-notation"
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "template"
+
+ texidoc = "
+This template demonstrates the use of nested @code{StaffGroup} and
+@code{GrandStaff} contexts to sub-group instruments of the same type
+together, and the use of @code{\\transpose} for transposing
+instruments. All music in variables is stored in C. Music may be
+entered in C or, alternatively, entered in the instrument key and
+transposed to C before being assigned to a variable.
+
+"
+ doctitle = "Orchestra, choir and piano template"
+} % begin verbatim
+
+#(set-global-staff-size 17)
+
+\paper {
+ indent = 3.0\cm
+ short-indent = 1.5\cm
+}
+
+fluteMusic = \relative c { \key c \major c'1 d }
+oboeMusic = \relative c { \key c \major c'1 d }
+clarinetMusic = \relative c { \key c \major c'1 d }
+bassoonMusic = \relative c { \clef bass \key c \major c1 d }
+trumpetMusic = \relative c { \key c \major c''1 d }
+tromboneMusic = \relative c { \key c \major c1 d }
+hornIMusic = \relative c { c'1 d }
+hornIIMusic = \relative c { c1 d }
+percussionMusic = \relative c { \key c \major c1 d }
+sopranoMusic = \relative c'' { \key c \major c1 d }
+sopranoLyrics = \lyricmode { Sop -- ra }
+altoIMusic = \relative c' { \key c \major c1 d }
+altoILyrics = \lyricmode { A -- one }
+altoIIMusic = \relative c' { \key c \major c1 d }
+altoIILyrics = \lyricmode { A -- two }
+tenorMusic = \relative c' { \key c \major c1 d }
+tenorLyrics = \lyricmode { Ten -- or }
+pianoRHMusic = \relative c { \key c \major c'1 d }
+pianoLHMusic = \relative c { \key c \major c1 d }
+violinIMusic = \relative c { \key c \major c'1 d }
+violinIIMusic = \relative c { \key c \major c'1 d }
+violaMusic = \relative c { \clef alto \key c \major c'1 d }
+celloMusic = \relative c { \clef bass \key c \major c1 d }
+bassMusic = \relative c { \clef "bass_8" \key c \major c,1 d }
+
+\score {
+ \new GrandStaff = "GrandStaff_score" <<
+ \new StaffGroup = "StaffGroup_woodwinds" <<
+ \new Staff = "Staff_flute" {
+ \set Staff.instrumentName = #"Flute"
+ \fluteMusic
+ }
+ \new Staff = "Staff_oboe" {
+ \set Staff.instrumentName = #"Oboe"
+ \oboeMusic
+ }
+ \new Staff = "Staff_clarinet" {
+ \set Staff.instrumentName = \markup \concat { "Clarinet in B" \flat }
+ \transposition bes
+ \transpose bes c' \clarinetMusic
+ }
+ \new Staff = "Staff_bassoon" {
+ \set Staff.instrumentName = #"Bassoon"
+ \bassoonMusic
+ }
+ >>
+ \new StaffGroup = "StaffGroup_brass" <<
+ \new GrandStaff <<
+ \new Staff = "Staff_hornI" {
+ \set Staff.instrumentName = #"Horn I"
+ \transposition f
+ \transpose f c' \hornIMusic
+ }
+ \new Staff = "Staff_hornII" {
+ \set Staff.instrumentName = #"Horn II"
+ \clef bass
+ \transposition f'
+ \transpose f c \hornIIMusic
+ }
+ >>
+ \new Staff = "Staff_trumpet" {
+ \set Staff.instrumentName = #"Trumpet in C"
+ \trumpetMusic
+ }
+ \new Staff = "Staff_trombone" {
+ \set Staff.instrumentName = #"Trombone"
+ \clef bass
+ \tromboneMusic
+ }
+ >>
+ \new RhythmicStaff = "RhythmicStaff_percussion" <<
+ \set RhythmicStaff.instrumentName = #"Percussion"
+ \percussionMusic
+ >>
+ \new PianoStaff <<
+ \set PianoStaff.instrumentName = #"Piano"
+ \new Staff { \pianoRHMusic }
+ \new Staff {
+ \clef bass
+ \pianoLHMusic
+ }
+ >>
+ \new ChoirStaff = "ChoirStaff_choir" <<
+ \new Staff = "Staff_soprano" {
+ \set Staff.instrumentName = #"Soprano"
+ \new Voice = "soprano"
+ \sopranoMusic
+ }
+ \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
+ \new GrandStaff = "GrandStaff_altos" \with { \accepts Lyrics } <<
+ \new Staff = "Staff_altoI" {
+ \set Staff.instrumentName = #"Alto I"
+ \new Voice = "altoI"
+ \altoIMusic
+ }
+ \new Lyrics \lyricsto "altoI" { \altoILyrics }
+ \new Staff = "Staff_altoII" {
+ \set Staff.instrumentName = #"Alto II"
+ \new Voice = "altoII"
+ \altoIIMusic
+ }
+ \new Lyrics \lyricsto "altoII" { \altoIILyrics }
+ >>
+ \new Staff = "Staff_tenor" {
+ \set Staff.instrumentName = #"Tenor"
+ \clef "treble_8"
+ \new Voice = "tenor"
+ \tenorMusic
+ }
+ \new Lyrics \lyricsto "tenor" { \tenorLyrics }
+ >>
+ \new StaffGroup = "StaffGroup_strings" <<
+ \new GrandStaff = "GrandStaff_violins" <<
+ \new Staff = "Staff_violinI" {
+ \set Staff.instrumentName = #"Violin I"
+ \violinIMusic
+ }
+ \new Staff = "Staff_violinII" {
+ \set Staff.instrumentName = #"Violin II"
+ \violinIIMusic
+ }
+ >>
+ \new Staff = "Staff_viola" {
+ \set Staff.instrumentName = #"Viola"
+ \violaMusic
+ }
+ \new Staff = "Staff_cello" {
+ \set Staff.instrumentName = #"Cello"
+ \celloMusic
+ }
+ \new Staff = "Staff_bass" {
+ \set Staff.instrumentName = #"Double Bass"
+ \bassMusic
+ }
+ >>
+ >>
+}
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "pitches, text"
+
texidoces = "
Internamente, la función @code{set-octavation} establece las
propiedades @code{ottavation} (por ejemplo, a @code{\"8va\"} o a
doctitlede = "Ottava-Text"
- lsrtags = "pitches, text"
texidoc = "
-Internally, @code{\\ottava} sets the properties @code{ottavation}
-(for example, to @code{\"8va\"} or @code{\"8vb\"}) and
+Internally, @code{\\ottava} sets the properties @code{ottavation} (for
+example, to @code{\"8va\"} or @code{\"8vb\"}) and
@code{middleCPosition}. To override the text of the bracket, set
@code{ottavation} after invoking @code{\\ottava}.
+
"
doctitle = "Ottava text"
} % begin verbatim
-
{
\ottava #1
\set Staff.ottavation = #"8"
\set Staff.ottavation = #"Text"
c''1
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
- lsrtags = "text"
+ lsrtags = "text, titles"
+
texidoc = "
-By putting the output of @code{lilypond-version} into lyrics or a
-text markup, it is possible to print the version number of LilyPond in
-a score, or in a document generated with @code{lilypond-book}.
+By putting the output of
+ @code{lilypond-version} into a lyric, it is possible to print the
+ version number of LilyPond in a score, or in a document generated
+ with @code{lilypond-book}. Another possibility is to append the
+ version number to the doc-string, in this manner:
+
"
doctitle = "Outputting the version number"
} % begin verbatim
-
\score {
\new Lyrics {
\override Score.RehearsalMark #'self-alignment-X = #LEFT
- \mark #(ly:export (string-append "Processed with LilyPond version "
- (lilypond-version)))
+ \mark #(string-append "Processed with LilyPond version " (lilypond-version))
s2
}
}
+
+
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
lsrtags = "spacing"
- texidoc = "Page labels may be placed inside music or at top-level,
-and referred to in markups."
+
+ texidoc = "
+Page labels may be placed inside music or at top-level, and referred to
+in markups.
+
+"
doctitle = "Page label"
} % begin verbatim
-
#(set-default-paper-size "a6")
#(define-markup-command (toc-line layout props label text)
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "repeats, tweaks-and-overrides"
+
texidoces = "
Se pueden mostrar los contadores de las repeticiones del tipo
porcentaje a intervalos regulares mediante el establecimiento de
"
doctitlees = "Visibilidad del contador de repeticiones de tipo porcentaje"
- lsrtags = "repeats, tweaks-and-overrides"
texidoc = "
Percent repeat counters can be shown at regular intervals by setting
the context property @code{repeatCountVisibility}.
+
"
doctitle = "Percent repeat count visibility"
} % begin verbatim
-
\relative c'' {
\set countPercentRepeats = ##t
\set repeatCountVisibility = #(every-nth-repeat-count-visible 5)
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "repeats"
\set countPercentRepeats = ##t
\repeat percent 4 { c1 }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "percussion"
\score {
b1^\stick
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
\repeat unfold 5 { \times 2/3 { c[ b a] } }
c8
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "keyboards, template"
\layout { }
\midi { }
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "expressive-marks, keyboards, template"
+
texidoces = "
Muchas partituras de piano tienen las indicaciones dinámicas
centradas entre los dos pentagramas. Esto requiere un poco de
kopieren.
"
- lsrtags = "expressive-marks,keyboards,template"
texidoc = "
Many piano scores have the dynamics centered between the two staves.
This requires a bit of tweaking to implement, but since the template is
right here, you don't have to do the tweaking yourself.
+
"
doctitle = "Piano template with centered dynamics"
} % begin verbatim
-
global = {
\key c \major
\time 4/4
\score {
\new PianoStaff = "PianoStaff_pf" <<
- \new Staff = "Staff_pfUpper" \upper
+ \new Staff = "Staff_pfUpper" << \global \upper >>
\new Dynamics = "Dynamics_pf" \dynamics
- \new Staff = "Staff_pfLower" << \lower >>
+ \new Staff = "Staff_pfLower" << \global \lower >>
\new Dynamics = "pedal" \pedal
>>
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, keyboards, template"
}
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music, keyboards, template"
}
\midi { }
}
+
preventing-extra-naturals-from-being-automatically-added.ly
preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly
quoting-another-voice-with-transposition.ly
+separating-key-cancellations-from-key-signature-changes.ly
transposing-pitches-with-minimum-accidentals-smart-transpose.ly
tweaking-clef-properties.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings"
"
doctitlees = "Posicionamiento de digitaciones de mano derecha"
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+
+ texidocfr = "
+Vous disposez d'une propriété spécifique qui permet de contrôler plus
+finement le positionnement des doigtés main droite, comme l'indique
+l'exemple suivant.
+
+"
+ doctitlefr = "Positionnement des doigtés main droite"
+
+
texidoc = "
It is possible to exercise greater control over the placement of
right-hand fingerings by setting a specific property, as demonstrated
\set strokeFingerOrientations = #'(left)
<c-\RH #1 e-\RH #2 g-\RH #3 c-\RH #4 >2
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings"
"
doctitlees = "Polifonía en tablaturas"
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+
+ texidocfr = "
+Une section polyphonique s'obtient dans un @code{TabStaff} de la
+même manière que dans une portée normale.
+
+"
+ doctitlefr = "Polyphonie en mode tablature"
+
texidoc = "
Polyphony is created the same way in a @code{TabStaff} as in a regular
staff.
>>
>>
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "editorial-annotations"
+
+ texidoc = "
+Generally the options available for positioning the fingering of chords
+work well by default, but if one of the indications needs to positioned
+more precisely the following tweak may be used. This is particularly
+useful for correcting the positioning when intervals of a second are
+involved.
+
+"
+ doctitle = "Positioning fingering indications precisely"
+} % begin verbatim
+
+\relative c' {
+ \set fingeringOrientations = #'(left)
+ <c-1 d-2 a'-5>4
+ <c-1 d-\tweak #'extra-offset #'(0 . 0.7)-2 a'-5>4
+ \set fingeringOrientations = #'(down)
+ <c-1 d-2 a'-5>4
+ <c-1 d-\tweak #'extra-offset #'(-1.2 . 0)-2 a'-5>4
+ \set fingeringOrientations = #'(down right up)
+ <c-1 d-2 a'-5>4
+ <c-1 d-\tweak #'extra-offset #'(-1 . 1.2)-2 a'-5>4
+ \set fingeringOrientations = #'(up)
+ <c-1 d-2 a'-5>4
+ <c-1 d-\tweak #'extra-offset #'(-1.2 . 0)-2 a'-5>4
+}
+
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+Setting the property @code{'strict-grace-spacing} makes the musical
+columns for grace notes 'floating', i.e., decoupled from the non-grace
+notes: first the normal notes are spaced, then the (musical columns of
+the) graces are put left of the musical columns for the main notes.
+
+"
+ doctitle = "Positioning grace notes with floating space"
+} % begin verbatim
+
+\relative c'' {
+ <<
+ \override Score.SpacingSpanner #'strict-grace-spacing = ##t
+ \new Staff \new Voice {
+ \afterGrace c4 { c16[ c8 c16] }
+ c8[ \grace { b16[ d] } c8]
+ c4 r
+ }
+ \new Staff {
+ c16 c c c c c c c c4 r
+ }
+ >>
+}
+
+++ /dev/null
-%% Do not edit this file; it is auto-generated from input/new
-%% This file is in the public domain.
-\version "2.12.0"
-\header {
- doctitlees = "Posicionar los silencios multicompás"
- texidoces = "
-A diferencia de los silencios normales, no existe una instrucción
-predefinida para modificar la posición predefinida de un símbolo
-multicompás sobre el pentagrama, adjuntándolo a una nota,
-independientemente de cuál sea su forma. Sin embargo, en la música
-polifónica los silencios multicompás de las voces de numeración par e
-impar están separados verticalmente. La colocación de los silencios
-multicompás se puede controlar como se ve a continuación:
-
-"
-
-texidocde = "
-Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
-vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
-eine Tonhöhe anhängt. In polyphoner Notation wird aber dennoch die
-Position der Pausen von geraden und ungeraden Stimmen voneinander
-unterschieden. Die Position von Ganztaktpausen kann wie folgt verändert
-werden:
- "
- doctitlede = "Positionierung von Ganztaktpausen"
-
- lsrtags = "rhythms,tweaks-and-overrides"
- texidoc = "
-Unlike ordinary rests, there is no predefined command
-to change the staff position of a multi-measure
-rest symbol of either form by attaching it to a note. However,
-in polyphonic music multi-measure rests in odd-numbered and
-even-numbered voices are vertically separated. The positioning
-of multi-measure rests can be controlled as follows:
- "
- doctitle = "Positioning multi-measure rests"
-} % begin verbatim
-
-
-\relative c'' {
- % Multi-measure rests by default are set under the second line
- R1
- % They can be moved with an override
- \override MultiMeasureRest #'staff-position = #-2
- R1
- % A value of 0 is the default position;
- % the following trick moves the rest to the center line
- \override MultiMeasureRest #'staff-position = #-0.01
- R1
- % Multi-measure rests in odd-numbered voices are under the top line
- << { R1 } \\ { a1 } >>
- % Multi-measure rests in even-numbered voices are under the bottom line
- << { c1 } \\ { R1 } >>
- % They remain separated even in empty measures
- << { R1 } \\ { R1 } >>
- % This brings them together even though there are two voices
- \compressFullBarRests
- <<
- \revert MultiMeasureRest #'staff-position
- { R1*3 }
- \\
- \revert MultiMeasureRest #'staff-position
- { R1*3 }
- >>
-}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ doctitlees = "Posicionar los silencios multicompás"
+ texidoces = "
+A diferencia de los silencios normales, no existe una instrucción
+predefinida para modificar la posición predefinida de un símbolo
+multicompás sobre el pentagrama, adjuntándolo a una nota,
+independientemente de cuál sea su forma. Sin embargo, en la música
+polifónica los silencios multicompás de las voces de numeración par e
+impar están separados verticalmente. La colocación de los silencios
+multicompás se puede controlar como se ve a continuación:
+
+"
+
+texidocde = "
+Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
+vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
+eine Tonhöhe anhängt. In polyphoner Notation wird aber dennoch die
+Position der Pausen von geraden und ungeraden Stimmen voneinander
+unterschieden. Die Position von Ganztaktpausen kann wie folgt verändert
+werden:
+ "
+ doctitlede = "Positionierung von Ganztaktpausen"
+
+ texidoc = "
+Unlike ordinary rests, there is no predefined command to change the
+staff position of a multi-measure rest symbol of either form by
+attaching it to a note. However, in polyphonic music multi-measure
+rests in odd-numbered and even-numbered voices are vertically
+separated. The positioning of multi-measure rests can be controlled as
+follows:
+
+"
+ doctitle = "Positioning multi-measure rests"
+} % begin verbatim
+
+\relative c'' {
+ % Multi-measure rests by default are set under the fourth line
+ R1
+ % They can be moved with an override
+ \override MultiMeasureRest #'staff-position = #-2
+ R1
+ % A value of 0 is the default position;
+ % the following trick moves the rest to the center line
+ \override MultiMeasureRest #'staff-position = #-0.01
+ R1
+ % Multi-measure rests in odd-numbered voices are under the top line
+ << { R1 } \\ { a1 } >>
+ % Multi-measure rests in even-numbered voices are under the bottom line
+ << { c1 } \\ { R1 } >>
+ % They remain separated even in empty measures
+ << { R1 } \\ { R1 } >>
+ % This brings them together even though there are two voices
+ \compressFullBarRests
+ <<
+ \revert MultiMeasureRest #'staff-position
+ { R1*3 }
+ \\
+ \revert MultiMeasureRest #'staff-position
+ { R1*3 }
+ >>
+}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "repeats, breaks"
\bar"|."
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, editorial-annotations, tweaks-and-overrides"
+ texidoces = "
+
+Los elementos de marcado de texto deben tener la propiedad
+@code{outside-staff-priority} establecida al valor falso para que se
+impriman por dentro de las ligaduras de expresión.
+
+"
+ doctitlees = "Situar los elementos de marcado de texto por dentro de las ligaduras"
+
texidoc = "
Text markups need to have the @code{outside-staff-priority} property
set to false in order to be printed inside slurs.
c2(^\markup { \halign #-10 \natural } d4.) c8
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches"
\set Staff.extraNatural = ##f
aeses4 aes ais a
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches"
\key g \minor
a4 bes c d
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "repeats, tweaks-and-overrides"
d1
d4 e f g
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+Bar numbers can be printed at regular intervals by setting the property
+@code{barNumberVisibility}. Here the bar numbers are printed every two
+measures except at the end of the line.
+
+"
+ doctitle = "Printing bar numbers at regular intervals"
+} % begin verbatim
+
+\relative c' {
+ \override Score.BarNumber #'break-visibility = #'#(#f #t #t)
+ \set Score.currentBarNumber = #11
+ % Permit first bar number to be printed
+ \bar ""
+ % Print a bar number every second measure
+ \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
+ c1 | c | c | c | c
+ \break
+ c1 | c | c | c | c
+}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ texidoc = "
+Bar numbers can also be printed inside boxes or circles.
+
+"
+ doctitle = "Printing bar numbers inside boxes or circles"
+} % begin verbatim
+
+\relative c' {
+ % Prevent bar numbers at the end of a line and permit them elsewhere
+ \override Score.BarNumber #'break-visibility = #end-of-line-invisible
+ \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
+
+ % Increase the size of the bar number by 2
+ \override Score.BarNumber #'font-size = #2
+
+ % Draw a box round the following bar number(s)
+ \override Score.BarNumber #'stencil
+ = #(make-stencil-boxer 0.1 0.25 ly:text-interface::print)
+ \repeat unfold 5 { c1 }
+
+ % Draw a circle round the following bar number(s)
+ \override Score.BarNumber #'stencil
+ = #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
+ \repeat unfold 4 { c1 } \bar "|."
+}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
c2\< c\!
c4\> c\< c2\!
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text"
\override Score.RehearsalMark #'self-alignment-X = #RIGHT
\mark "D.C. al Fine"
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, expressive-marks, staff-notation, tweaks-and-overrides"
\mark \default
c''1
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, percussion"
\Perkussion
>>
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "editorial-annotations, text, world-music"
+
+ texidoc = "
+It is possible to print text from right to left in a markup object, as
+demonstrated here.
+
+"
+ doctitle = "Printing text from right to left"
+} % begin verbatim
+
+{
+ b1^\markup {
+ \line { i n g i r u m i m u s n o c t e }
+ }
+ f'_\markup {
+ \override #'(text-direction . -1)
+ \line { i n g i r u m i m u s n o c t e }
+ }
+}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+By default, the first bar number in a score is suppressed if it is less
+than or equal to `1'. By setting @code{barNumberVisibility} to
+@code{all-bar-numbers-visible}, any bar number can be printed for the
+first measure and all subsequent measures. Note that an empty bar line
+must be inserted before the first note for this to work.
+
+"
+ doctitle = "Printing the bar number for the first measure"
+} % begin verbatim
+
+\relative c' {
+ \set Score.barNumberVisibility = #all-bar-numbers-visible
+ \bar ""
+ c1 d e f \break
+ g1 e d c
+}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "tweaks-and-overrides, spacing"
doctitle = "Proportional strict notespacing"
} % begin verbatim
-\paper {
- ragged-right = ##t
-}
-
\relative c'' <<
\override Score.SpacingSpanner #'strict-note-spacing = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
c1
}
>>
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "pitches, staff-notation"
+
texidoces = "
Los pasajes citados tienen en cuenta la transposición de la fuente
tanto como la del destino. En este ejemplo, todos los
"
doctitlees = "Citar otra voz con transposición"
- lsrtags = "pitches,staff-notation"
- texidoc = "Quotations take into account the transposition of both
-source and target. In this example, all instruments play sounding
-middle C; the target is an instrument in F. The target part may be
-transposed using @code{\\transpose}. In this case, all the pitches
-(including the quoted ones) are transposed.
+ texidoc = "
+Quotations take into account the transposition of both source and
+target. In this example, all instruments play sounding middle C; the
+target is an instrument in F. The target part may be transposed using
+@code{\\transpose}. In this case, all the pitches (including the
+quoted ones) are transposed.
+
"
doctitle = "Quoting another voice with transposition"
} % begin verbatim
-
\addQuote clarinet {
\transposition bes
\repeat unfold 8 { d'16 d' d'8 }
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "staff-notation"
+
texidoces = "
La propiedad @code{quotedEventTypes} determina los tipos de
eventos musicales que resultan citados. El valor predeterminado
"
doctitlees = "Citar otra voz"
- lsrtags = "staff-notation"
- texidoc = "The @code{quotedEventTypes} property determines the
-music event types that are quoted. The default value is
-@code{(note-event rest-event)}, which means that only notes and
-rests of the quoted voice appear in the @code{\\quoteDuring}
-expression. In the following example, a 16th rest is not quoted
-since @code{rest-event} is not in @code{quotedEventTypes}."
+ texidoc = "
+The @code{quotedEventTypes} property determines the music event types
+that are quoted. The default value is @code{(note-event rest-event)},
+which means that only notes and rests of the quoted voice appear in the
+@code{\\quoteDuring} expression. In the following example, a 16th rest
+is not quoted since @code{rest-event} is not in
+@code{quotedEventTypes}.
+
+"
doctitle = "Quoting another voice"
} % begin verbatim
-
quoteMe = \relative c' {
fis4 r16 a8.-> b4\ff c
}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+The global defaults for grace notes are stored in the identifiers
+@code{startGraceMusic}, @code{stopGraceMusic},
+@code{startAcciaccaturaMusic}, @code{stopAcciaccaturaMusic},
+@code{startAppoggiaturaMusic} and @code{stopAppoggiaturaMusic}, which
+are defined in the file @code{ly/grace-init.ly}. By redefining them
+other effects may be obtained.
+
+"
+ doctitle = "Redefining grace note global defaults"
+} % begin verbatim
+
+startAcciaccaturaMusic = {
+ s1*0(
+ \override Stem #'stroke-style = #"grace"
+ \slurDashed
+}
+
+stopAcciaccaturaMusic = {
+ \revert Stem #'stroke-style
+ \slurSolid
+ s1*0)
+}
+
+\relative c'' {
+ \acciaccatura d8 c1
+}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, contexts-and-engravers"
+
+ texidoc = "
+Bar numbers can be removed entirely by removing the
+@code{Bar_number_engraver} from the @code{Score} context.
+
+"
+ doctitle = "Removing bar numbers from a score"
+} % begin verbatim
+
+\layout {
+ \context {
+ \Score
+ \remove "Bar_number_engraver"
+ }
+}
+
+\relative c'' {
+ c4 c c c \break
+ c4 c c c
+}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, tweaks-and-overrides, breaks"
R
}
>>
+
adding-volta-brackets-to-additional-staves.ly
+engraving-tremolos-with-floating-beams.ly
isolated-percent-repeats.ly
measure-counter.ly
percent-repeat-count-visibility.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, ancient-notation, tweaks-and-overrides"
r\maxima^\markup \typewriter { default }
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 s128
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
#(override-auto-beam-setting '(end * * 12 8) 10 8)
a8 a a a a a a a a a a a
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\comp #4 |
}
}
+
-adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
+adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly
adding-drum-parts.ly
+aligning-bar-numbers.ly
automatic-beam-subdivisions.ly
-automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly
avoiding-collisions-with-chord-fingerings.ly
beam-endings-in-score-context.ly
beam-grouping-in-7-8-time.ly
beams-across-line-breaks.ly
changing-beam-knee-gap.ly
-changing-form-of-multi--measure-rests.ly
-changing-text-and-spanner-styles-for-text-dynamics.ly
+changing-form-of-multi-measure-rests.ly
changing-the-time-signature-without-affecting-the-beaming.ly
changing-the-tuplet-number.ly
-changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly
+changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly
chant-or-psalms-notation.ly
compound-time-signatures.ly
conducting-signs,-measure-grouping-signs.ly
controlling-tuplet-bracket-visibility.ly
engraving-ties-manually.ly
+engraving-tremolos-with-floating-beams.ly
entering-several-tuplets-using-only-one--times-command.ly
flat-flags-and-beam-nibs.ly
forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
manually-controlling-beam-positions.ly
merging-multi-measure-rests-in-a-polyphonic-part.ly
modifying-tuplet-bracket-length.ly
-multi--measure-rest-markup.ly
+multi-measure-rest-markup.ly
permitting-line-breaks-within-beamed-tuplets.ly
-positioning-multi--measure-rests.ly
+positioning-grace-notes-with-floating-space.ly
+positioning-multi-measure-rests.ly
+printing-bar-numbers-at-regular-intervals.ly
+printing-bar-numbers-inside-boxes-or-circles.ly
printing-metronome-and-rehearsal-marks-below-the-staff.ly
printing-music-with-different-time-signatures.ly
+printing-the-bar-number-for-the-first-measure.ly
+redefining-grace-note-global-defaults.ly
+removing-bar-numbers-from-a-score.ly
rest-styles.ly
reverting-default-beam-endings.ly
rhythmic-slashes.ly
stemlets.ly
sub-dividing-beams.ly
three-sided-box.ly
+time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly
+tweaking-grace-layout-within-music.ly
using-beatlength-and-beatgrouping.ly
+using-grace-note-slashes-with-normal-heads.ly
using-ties-with-arpeggios.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "template"
\context Lyrics = "lBassRhytmAboveI" \with {alignAboveContext=staffbass} \lyricsto VoiceBassRhytm \LyricBassRhythmI
>>
%}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "pitches, tweaks-and-overrides"
+
+ texidoc = "
+By default, the accidentals used for key cancellations are placed
+adjacent to those for key signature changes. This behavior can be
+changed by overriding the @code{'break-align-orders} property of the
+@code{BreakAlignment} grob.
+
+
+The value of @code{'break-align-orders} is a vector of length 3, with
+quoted lists of breakable items as elements. This example only
+modifies the second list, moving @code{key-cancellation} before
+@code{staff-bar}; by modifying the second list, break alignment
+behavior only changes in the middle of a system, not at the beginning
+or the end.
+
+"
+ doctitle = "Separating key cancellations from key signature changes"
+} % begin verbatim
+
+\new Staff {
+ \override Score.BreakAlignment #'break-align-orders =
+ #'#((left-edge ambitus breathing-sign clef staff-bar
+ key-cancellation key-signature time-signature custos)
+
+ (left-edge ambitus breathing-sign clef key-cancellation
+ staff-bar key-signature time-signature custos)
+
+ (left-edge ambitus breathing-sign clef key-cancellation
+ key-signature staff-bar time-signature custos))
+
+ \key des \major
+ c'1
+ \bar "||"
+ \key bes \major
+ c'1
+}
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "expressive-marks, tweaks-and-overrides"
+
texidoces = "
Si la nota que da fin a un regulador cae sobre la primera parte de
un compás, el regulador se detiene en la línea divisoria
"
doctitlede = "Das Verhalten von Crescendo-Klammern an Taktlinien beeinflussen"
- lsrtags = "expressive-marks"
- texidoc = "If the note which ends a hairpin falls on a downbeat,
-the hairpin stops at the bar line immediately preceding. This behavior
-can be controlled by overriding the @code{'to-barline} property.
+ texidoc = "
+If the note which ends a hairpin falls on a downbeat, the hairpin stops
+at the bar line immediately preceding. This behavior can be controlled
+by overriding the @code{'to-barline} property.
+
"
doctitle = "Setting hairpin behavior at bar lines"
} % begin verbatim
-
\relative c'' {
e4\< e2.
e1\!
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
\override Hairpin #'minimum-length = #5
<< f1 { s4 s\< s\> s\! } >>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "repeats"
{ g4 g g }
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
\relative c' { \harmonies }
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords"
}
\addlyrics { One day this shall be free __ }
>>
+
displaying-complex-chords.ly
double-glissando.ly
forcing-horizontal-shift-of-notes.ly
+making-an-object-invisible-with-the-transparent-property.ly
suppressing-warnings-for-clashing-note-columns.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music, chords, template"
\layout { }
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music, chords, template"
doctitle = "Single staff template with notes, lyrics, chords and frets"
} % begin verbatim
-% Define the fret diagrams to be used
-cFretDiagram = \markup {
- \fret-diagram #"6-x;5-3-3;4-2-2;3-o;2-1-1;1-o;"
-}
-
-gFretDiagram = \markup {
- \fret-diagram #"6-3-2;5-2-1;4-o;3-o;2-o;1-3-3;"
-}
-
verseI = \lyricmode {
\set stanza = #"1."
This is the first verse
This is the second verse.
}
-theChords = \new ChordNames {
- \chordmode {
- % insert the chords for chordnames here
- c2 g4 c
- }
+theChords = \chordmode {
+ % insert chords for chordnames and fretboards here
+ c2 g4 c
}
-staffMelody = \new Staff {
- \context Voice = "voiceMelody" {
+staffMelody = \relative c' {
\key c \major
\clef treble
- \relative c' {
- % Type notes and fret diagram markups here
- c4^\cFretDiagram d8 e f4^\gFretDiagram g^\cFretDiagram
- \bar "|."
- }
- }
+ % Type notes for melody here
+ c4 d8 e f4 g
+ \bar "|."
}
\score {
<<
- \theChords
- \staffMelody
- \new Lyrics = "lyricsI" \lyricmode {
+ \context ChordNames { \theChords }
+ \context FretBoards { \theChords }
+ \new Staff {
+ \context Voice = "voiceMelody" { \staffMelody }
+ }
+ \new Lyrics = "lyricsI" {
\lyricsto "voiceMelody" \verseI
}
- \new Lyrics = "lyricsII" \lyricmode {
+ \new Lyrics = "lyricsII" {
\lyricsto "voiceMelody" \verseII
}
>>
\layout { }
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "chords, template"
\layout{ }
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music, template"
\layout { }
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "template"
\layout { }
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, vocal-music"
\relative c'' { a4 b c d }
\new Lyrics \lyricmode { a4 "" _ gap }
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, vocal-music"
\relative { a'1 a }
\new Lyrics \lyricmode { \skip 1 bla1 }
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks, unfretted-strings"
<c' e g>^\snapPizzicato
<c, e g>_\snapPizzicato
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
texidoces = "
Mediante la especificación del contexto, el efecto de
@code{beatGrouping} puede limitarse al contexto especificado, y
"
doctitlees = "Especificar el contexto con beatGrouping"
- lsrtags = "rhythms"
texidoc = "
By specifying the context, the effect of @code{beatGrouping} can be
-limited to the context specified, and the values which may have
-been set in higher-level contexts can be overridden. The
-@code{\\set} commands must be placed @emph{after} all @code{\\time}
-commands:
+limited to the context specified, and the values which may have been
+set in higher-level contexts can be overridden. The @code{\\set}
+commands must be placed after all @code{\\time} commands:
+
"
doctitle = "Specifying context with beatGrouping"
} % begin verbatim
-
\score {
\new Staff <<
\time 7/8
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text"
} % begin verbatim
\markup {
- \fill-line {
- \hspace #1.0
- \column {
- \line {"O sacrum convivium" }
- \line {"in quo Christus sumitur," }
- \line {"recolitur memoria passionis ejus," }
- \line {"mens impletur gratia," }
- \line {"futurae gloriae nobis pignus datur." }
- \line {"Amen."}
+ \fill-line {
+ \hspace #1
+ \column {
+ \line { O sacrum convivium }
+ \line { in quo Christus sumitur, }
+ \line { recolitur memoria passionis ejus, }
+ \line { mens impletur gratia, }
+ \line { futurae gloriae nobis pignus datur. }
+ \line { Amen. }
+ }
+ \hspace #2
+ \column {
+ \line { \italic { O sacred feast } }
+ \line { \italic { in which Christ is received, } }
+ \line { \italic { the memory of His Passion is renewed, } }
+ \line { \italic { the mind is filled with grace, } }
+ \line { \italic { and a pledge of future glory is given to us. } }
+ \line { \italic { Amen. } }
+ }
+ \hspace #1
}
- \hspace #2
- \column {
- \line { \italic {"O sacred feast"} }
- \line { \italic {"in which Christ is received,"} }
- \line { \italic {"the memory of His Passion is renewed,"} }
- \line { \italic {"the mind is filled with grace," } }
- \line { \italic {"and a pledge of future glory is given to us." }}
- \line { \italic {"Amen."}}
- }
- \hspace #1.0
- }
}
-
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "fretted-strings"
"
doctitlees = "Comportamiento de las plicas y las barras de corchea en tablaturas"
+
+%% Translation of GIT committish: 3f880f886831b8c72c9e944b3872458c30c6c839
+
+ texidocfr = "
+La direction des hampes se gère dans les tablatures tout comme en
+notation traditionnelle. Les ligatures peuvvent être mises à l'horizontale
+comme le montre cet exemple.
+
+"
+ doctitlefr = "Hampes et ligatures en mode tablature"
+
texidoc = "
The direction of stems is controlled the same way in tablature as in
traditional notation. Beams can be made horizontal, as shown in this
g,,16 b d g b d g b
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
g'16[^\markup { stemlets and no rests } f' \once \override Rest #'transparent = ##t r d']
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "unfretted-strings, template"
\layout { }
\midi { }
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "unfretted-strings, template"
}
%}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
\set beatLength = #(ly:make-moment 1 16)
c32[ c c c c c c c]
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
- lsrtags = "simultaneous-notes,tweaks-and-overrides"
+ lsrtags = "simultaneous-notes, tweaks-and-overrides"
+
texidoc = "
-If notes from two voices with stems in the same direction are
-placed at the same position, and both voices have no shift or the
-same shift specified, the error message \"warning: ignoring too
-many clashing note columns\" will appear when compiling the
-LilyPond file. This message can be suppressed by setting the
-@code{'ignore-collision} property of the @code{NoteColumn} object
-to @code{#t}.
+If notes from two voices with stems in the same direction are placed at
+the same position, and both voices have no shift or the same shift
+specified, the error message \"warning: ignoring too many clashing note
+columns\" will appear when compiling the LilyPond file. This message
+can be suppressed by setting the @code{'ignore-collision} property of
+the @code{NoteColumn} object to @code{#t}.
+
"
doctitle = "Suppressing warnings for clashing note columns"
} % begin verbatim
-
ignore = \override NoteColumn #'ignore-collision = ##t
\relative c' {
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
lsrtags = "paper-and-layout"
- texidoc = "A table of contents is included using
-@w{@code{\\markuplines \\table-of-contents}}. The TOC items are
-added with the @code{\\tocItem} command."
+
+ texidoc = "
+A table of contents is included using @code{\\markuplines
+\\table-of-contents}. The TOC items are added with the
+@code{\\tocItem} command.
+
+"
doctitle = "Table of contents"
} % begin verbatim
-
#(set-default-paper-size "a6")
\book {
ancient-notation-template----modern-transcription-of-gregorian-music.ly
ancient-notation-template----modern-transcription-of-mensural-music.ly
jazz-combo-template.ly
+orchestra,-choir-and-piano-template.ly
piano-template-simple.ly
piano-template-with-centered-dynamics.ly
piano-template-with-centered-lyrics.ly
+adding-the-current-date-to-a-score.ly
adjusting-lyrics-vertical-spacing.ly
aligning-and-centering-instrument-names.ly
aligning-marks-with-various-notation-objects.ly
+aligning-objects-created-with-the--mark-command.ly
blanking-staff-lines-using-the--whiteout-command.ly
center-text-below-hairpin-dynamics.ly
changing-the-default-text-font-family.ly
how-to-put-ties-between-syllables-in-lyrics.ly
lyrics-alignment.ly
markup-lines.ly
-multi--measure-rest-markup.ly
+multi-measure-rest-markup.ly
ottava-text.ly
outputting-the-version-number.ly
piano-template-with-centered-lyrics.ly
printing-marks-at-the-end-of-a-line-or-a-score.ly
printing-marks-on-every-staff.ly
+printing-text-from-right-to-left.ly
stand-alone-two-column-markup.ly
three-sided-box.ly
utf-8.ly
vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
+volta-text-markup-using-repeatcommands.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms, text"
c2^\markup { \NWS-box ABCD }
c2^\markup { \NWS-box \note #"4" #1.0 }
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
lsrtags = "staff-notation"
+
texidoc = "
'Tick' bar lines are often used in music where the bar line is used
only for coordination and is not meant to imply any rhythmic stress.
+
"
doctitle = "Tick bar lines"
} % begin verbatim
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, tweaks-and-overrides"
\time 2/4
a4 b8 c
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ texidoc = "
+Sometimes, a time signature should not print the whole fraction (e.g.
+7/4), but only the numerator (7 in this case). This can be easily done
+by using \\override Staff.TimeSignature #'style = #'single-digit to
+change the style permanently. By using \\revert Staff.TimeSignature
+#'style, this setting can be reversed. To apply the single-digit style
+to only one time signature, use the \\override command and prefix it
+with a \\once.
+
+"
+ doctitle = "Time signature printing only the numerator as a number (instead of the fraction)"
+} % begin verbatim
+
+\relative c'' {
+ \time 3/4
+ c4 c c
+ % Change the style permanently
+ \override Staff.TimeSignature #'style = #'single-digit
+ \time 2/4
+ c c
+ \time 3/4
+ c c c
+ % Revert to default style:
+ \revert Staff.TimeSignature #'style
+ \time 2/4
+ c c
+ % single-digit style only for the next time signature
+ \once \override Staff.TimeSignature #'style = #'single-digit
+ \time 5/4
+ c c c c c
+ \time 2/4
+ c c
+}
adding-the-current-date-to-a-score.ly
aligning-and-centering-instrument-names.ly
demonstrating-all-headers.ly
+outputting-the-version-number.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "ancient-notation, tweaks-and-overrides"
indent=5\cm
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "pitches"
+
doctitlees = "Transportar música con el menor número de alteraciones"
texidoces = "
Este ejemplo utiliza código de Scheme para forzar las
"
- lsrtags = "pitches"
- texidoc = "This example uses some Scheme code to enforce enharmonic
-modifications for notes in order to have the minimum number of
-accidentals. In this case, the following rules apply:
+ texidoc = "
+This example uses some Scheme code to enforce enharmonic modifications
+for notes in order to have the minimum number of accidentals. In this
+case, the following rules apply:
-@itemize
-@item
Double accidentals should be removed
-@item
+
B sharp -> C
-@item
+
E sharp -> F
-@item
+
C flat -> B
-@item
+
F flat -> E
-@end itemize
-In this manner, the most natural enharmonic notes are chosen.
+In this manner, the most natural enharmonic notes are chosen.
+
"
- doctitle = "Transposing music with minimum accidentals"
+ doctitle = "Transposing pitches with minimum accidentals (\"Smart\" transpose)"
} % begin verbatim
-
-#(define (naturalize-pitch p)
- (let* ((o (ly:pitch-octave p))
- (a (* 4 (ly:pitch-alteration p)))
- ; alteration, a, in quarter tone steps,
- ; for historical reasons
- (n (ly:pitch-notename p)))
+#(define (naturalize-pitch p)
+ (let ((o (ly:pitch-octave p))
+ (a (* 4 (ly:pitch-alteration p)))
+ ;; alteration, a, in quarter tone steps,
+ ;; for historical reasons
+ (n (ly:pitch-notename p)))
(cond
((and (> a 1) (or (eq? n 6) (eq? n 2)))
(set! a (- a 2))
(ly:make-pitch o n (/ a 4))))
#(define (naturalize music)
- (let* ((es (ly:music-property music 'elements))
- (e (ly:music-property music 'element))
- (p (ly:music-property music 'pitch)))
+ (let ((es (ly:music-property music 'elements))
+ (e (ly:music-property music 'element))
+ (p (ly:music-property music 'pitch)))
(if (pair? es)
(ly:music-set-property!
music 'elements
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "pitches, staff-notation, tweaks-and-overrides"
\set Staff.middleCPosition = #0
c'1
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ texidoc = "
+The layout of grace expressions can be changed throughout the music
+using the functions @code{add-grace-property} and
+@code{remove-grace-property}. The following example undefines the
+@code{Stem} direction for this grace, so that stems do not always point
+up, and changes the default note heads to crosses.
+
+"
+ doctitle = "Tweaking grace layout within music"
+} % begin verbatim
+
+\relative c'' {
+ \new Staff {
+ #(remove-grace-property 'Voice 'Stem 'direction)
+ #(add-grace-property 'Voice 'NoteHead 'style 'cross)
+ \new Voice {
+ \acciaccatura { f16 } g4
+ \grace { d16[ e] } f4
+ \appoggiatura { f,32[ g a] } e2
+ }
+ }
+}
avoiding-collisions-with-chord-fingerings.ly
caesura-railtracks-with-fermata.ly
changing-a-single-notes-size-in-a-chord.ly
-changing-form-of-multi--measure-rests.ly
+changing-form-of-multi-measure-rests.ly
changing-properties-for-individual-grobs.ly
-changing-text-and-spanner-styles-for-text-dynamics.ly
changing-the-default-text-font-family.ly
changing-the-staff-size.ly
controlling-the-vertical-ordering-of-scripts.ly
horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly
how-to-change-fret-diagram-position.ly
inserting-a-caesura.ly
+line-arrows.ly
making-an-object-invisible-with-the-transparent-property.ly
manually-controlling-beam-positions.ly
mensurstriche-layout-bar-lines-between-the-staves.ly
nesting-staves.ly
percent-repeat-count-visibility.ly
-positioning-multi--measure-rests.ly
+positioning-multi-measure-rests.ly
positioning-text-markups-inside-slurs.ly
printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
+printing-bar-numbers-inside-boxes-or-circles.ly
printing-metronome-and-rehearsal-marks-below-the-staff.ly
proportional-strict-notespacing.ly
removing-the-first-empty-line.ly
rest-styles.ly
rhythmic-slashes.ly
+separating-key-cancellations-from-key-signature-changes.ly
+setting-hairpin-behavior-at-bar-lines.ly
+specifying-context-with-beatgrouping.ly
suppressing-warnings-for-clashing-note-columns.ly
time-signature-in-parentheses.ly
+time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly
transcription-of-ancient-music-with-incipit.ly
tweaking-clef-properties.ly
+tweaking-grace-layout-within-music.ly
+using-beatlength-and-beatgrouping.ly
using-postscript-to-generate-special-note-head-shapes.ly
using-the--tweak-command-to-tweak-individual-grobs.ly
vertically-aligned-dynamics-and-textscripts.ly
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "staff-notation, contexts-and-engravers"
\new Staff { c'4 d' e' f' }
>> }
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
texidoces = "
La propiedad @code{measureLength} determina dónde se deben insertar
líneas divisorias y, con @code{beatLength} y @code{beatGrouping}, cómo
"
doctitlees = "Utilización de beatLength y beatGrouping"
- lsrtags = "rhythms"
texidoc = "
-The property @code{measureLength} determines where bar lines
-should be inserted and, with @code{beatLength} and
-@code{beatGrouping}, how automatic beams should be generated
-for beam durations and time signatures for which no beam-ending
-rules are defined. This example shows several ways of controlling
-beaming by setting these properties. The explanations are shown
-as comments in the code.
+The property @code{measureLength} determines where bar lines should be
+inserted and, with @code{beatLength} and @code{beatGrouping}, how
+automatic beams should be generated for beam durations and time
+signatures for which no beam-ending rules are defined. This example
+shows several ways of controlling beaming by setting these properties.
+The explanations are shown as comments in the code.
+
"
doctitle = "Using beatLength and beatGrouping"
} % begin verbatim
-
\relative c'' {
\time 3/4
% The default in 3/4 time is to beam in three groups
\set Score.beatGrouping = #'(3 4 2 3)
a16 a a a a a a a a a a a
}
-
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
\set doubleSlurs = ##t
<c e>4( <d f> <c e> <d f>)
}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+The slash through the stem found in acciaccaturas can be applied in
+other situations.
+
+"
+ doctitle = "Using grace note slashes with normal heads"
+} % begin verbatim
+
+\relative c'' {
+ \override Stem #'stroke-style = #"grace"
+ c8( d2) e8( f4)
+}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "editorial-annotations, tweaks-and-overrides"
<f, \tweak #'stencil \parallelogram b e>4 d
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
lsrtags = "tweaks-and-overrides"
+
texidoc = "
-With the @code{\\tweak} command, every grob can be tuned directly. Here
-are some examples of available tweaks.
+With the @code{\\tweak} command, every grob can be tuned directly.
+Here are some examples of available tweaks.
+
"
- doctitle = "Using the @code{\\tweak} command to tweak individual grobs"
+ doctitle = "Using the \\tweak command to tweak individual grobs"
} % begin verbatim
-
\relative c' {
\time 2/4
\set fingeringOrientations = #'(right)
\tweak #'duration-log #2 a
>2
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "rhythms"
\tieDotted
g8 ~ c g2
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
+\header {
+ lsrtags = "text"
+
+ texidoc = "
+Various scripts may be used for texts (like titles and lyrics) by
+entering them in UTF-8 encoding, and using a Pango based backend.
+Depending on the fonts installed, this fragment will render Bulgarian
+(Cyrillic), Hebrew, Japanese and Portuguese.
+
+"
+ doctitle = "UTF-8"
+} % begin verbatim
+
+% end verbatim - this comment is a hack to prevent texinfo.tex
+% from choking on non-European UTF-8 subsets
%% Edit this file using a Unicode aware editor, such as GVIM, GEDIT, Emacs
apt-get install emacs-intl-fonts xfonts-intl-.* \
ttf-kochi-gothic ttf-kochi-mincho \
xfonts-bolkhov-75dpi xfonts-cronyx-100dpi xfonts-cronyx-75dpi
-%}
-
-\header {
- lsrtags = "text"
- texidoc = "Various scripts may be used for texts (like titles and
-lyrics) by entering them in UTF-8 encoding, and using a Pango based
-backend. Depending on the fonts installed, this fragment will
-render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese.
-"
- doctitle = "UTF-8"
-} % begin verbatim
-
+%}
-% end verbatim - this comment is a hack to prevent texinfo.tex
-% from choking on non-European UTF-8 subsets
% Cyrillic font
bulgarian = \lyricmode {
Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+ lsrtags = "expressive-marks, ancient-notation"
+
+ texidoc = "
+This short vertical line placed above the note is commonly used in
+baroque music. Its meaning can vary, but generally indicates notes
+that should be played with more \"weight\". The following example
+demonstrates how to achieve such a notation.
+
+"
+ doctitle = "Vertical line as a baroque articulation mark"
+} % begin verbatim
+
+upline =
+#(let* ((m (make-music 'ArticulationEvent
+ 'articulation-type "stopped"
+ 'direction 1)))
+ (ly:music-set-property! m 'tweaks
+ (acons 'font-size 3
+ (acons 'text (markup
+ #:postscript "
+ .15 setlinewidth
+ 0 -1 0 1.5 lineto
+ stroke")
+ (acons 'stencil ly:text-interface::print
+ (ly:music-property m 'tweaks)))))
+ m)
+
+
+\relative c' {
+ a'^\upline a( c a)
+}
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "tweaks-and-overrides, spacing"
\override TextScript #'Y-extent = #'(-1.5 . 1.5)
\music
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "expressive-marks"
c2\p f\mf
g2\< b4\> c\!
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music, tweaks-and-overrides, spacing"
>>
}
>>
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music"
\new Lyrics \lyricsto m \lyricsD
>>
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music, keyboards, template"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "text, vocal-music, contexts-and-engravers, template"
}
}
}
+
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
lsrtags = "vocal-music, template"
}
}
}
+
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
+ lsrtags = "repeats, staff-notation, chords"
+
texidoces = "
Mediante la adición del grabador @code{Volta_engraver} al
pentagrama pertinente, se pueden poner los corchetes de primera y
"
doctitlees = "Corchetes de primera y segunda vez debajo de los acordes"
- lsrtags = "repeats,staff-notation,chords"
- texidoc = "By adding the @code{Volta_engraver} to the relevant
-staff, volte can be put under chords."
- doctitle = "Volta under chords"
-} % begin verbatim
+ texidoc = "
+By adding the @code{Volta_engraver} to the relevant staff, volte can be
+put under chords.
+"
+ doctitle = "Volta below chords"
+} % begin verbatim
\score {
<<
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
+
\header {
- lsrtags = "repeats,staff-notation"
- texidoc = "By adding the @code{Volta_engraver} to the relevant
-staff, volte can be put over staves other than the topmost
-one in a score."
- doctitle = "Volta multi-staff"
-} % begin verbatim
+ lsrtags = "repeats, staff-notation"
+ texidoc = "
+By adding the @code{Volta_engraver} to the relevant staff, volte can be
+put over staves other than the topmost one in a score.
+
+"
+ doctitle = "Volta multi staff"
+} % begin verbatim
voltaMusic = \relative c'' {
\repeat volta 2 {
-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.12.0"
+\version "2.12.3"
\header {
- lsrtags = "repeats"
- texidoc = "Though volte are best specified using
-@code{\\repeat volta}, the context property @code{repeatCommands}
-must be used in cases where the volta text needs more advanced
-formatting with @code{\\markup}.
+ lsrtags = "repeats, text"
+
+ texidoc = "
+Though volte are best specified using @code{\\repeat volta}, the
+context property @code{repeatCommands} must be used in cases where the
+volta text needs more advanced formatting with @code{\\markup}.
Since @code{repeatCommands} takes a list, the simplest method of
-including markup is to use an identifier for the text and embed
-it in the command list using the Scheme syntax
-@w{@code{#(list (list 'volta textIdentifier))}}. Start- and
-end-repeat commands can be added as separate list elements:"
-doctitle = "Volta text markup using @code{repeatCommands}"
-} % begin verbatim
+including markup is to use an identifier for the text and embed it in
+the command list using the Scheme syntax @code{#(list (list 'volta
+textIdentifier))}. Start- and end-repeat commands can be added as
+separate list elements:
+"
+ doctitle = "Volta text markup using repeatCommands"
+} % begin verbatim
voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
arabic-improvisation.ly
makam-example.ly
+printing-text-from-right-to-left.ly
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "text, paper-and-layout, titles"
- texidoc = "The horizontal alignment of instrument names is tweaked
-by changing the @code{Staff.InstrumentName #'self-alignment-X} property.
-The @code{\\layout} variables @code{indent} and @code{short-indent}
-define the space in which the instrument names are aligned before the
-first and the following systems, respectively."
- doctitle = "Aligning and centering instrument names"
-}
-
-\paper {
- left-margin = 3\cm
-}
-
-\score {
- \new StaffGroup <<
- \new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #LEFT
- \set Staff.instrumentName = \markup \left-column {
- "Left aligned"
- "instrument name"
- }
- \set Staff.shortInstrumentName = #"Left"
- c''1
- \break
- c''1
- }
- \new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #CENTER
- \set Staff.instrumentName = \markup \center-column {
- Centered
- "instrument name"
- }
- \set Staff.shortInstrumentName = #"Centered"
- g'1
- g'1
- }
- \new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #RIGHT
- \set Staff.instrumentName = \markup \right-column {
- "Right aligned"
- "instrument name"
- }
- \set Staff.shortInstrumentName = #"Right"
- e'1
- e'1
- }
- >>
- \layout {
- ragged-right = ##t
- indent = 4\cm
- short-indent = 2\cm
- }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "text"
- texidoc = "If specified, text marks may be aligned with notation
-objects other than bar lines. These objects include @code{ambitus},
-@code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
-@code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
-@code{time-signature}.
-
-In such cases, text marks will be horizontally centered above the
-object. However this can be changed, as demonstrated on the second
-line of this example (in a score with multiple staves, this setting
-should be done for all the staves)."
- doctitle = "Aligning marks with various notation objects"
-}
-
-\relative c' {
- e1
-
- % the RehearsalMark will be centered above the Clef
- \override Score.RehearsalMark #'break-align-symbols = #'(clef)
- \key a \major
- \clef treble
- \mark "↓"
- e1
-
- % the RehearsalMark will be centered above the TimeSignature
- \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
- \key a \major
- \clef treble
- \time 3/4
- \mark "↓"
- e2.
-
- % the RehearsalMark will be centered above the KeySignature
- \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
- \key a \major
- \clef treble
- \time 4/4
- \mark "↓"
- e1
-
- \break
- e1
-
- % the RehearsalMark will be aligned with the left edge of the KeySignature
- \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
- \mark "↓"
- \key a \major
- e1
-
- % the RehearsalMark will be aligned with the right edge of the KeySignature
- \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
- \key a \major
- \mark "↓"
- e1
-
- % the RehearsalMark will be aligned with the left edge of the KeySignature
- % and then shifted right by one unit.
- \once \override Score.KeySignature #'break-align-anchor = #1
- \key a \major
- \mark "↓"
- e1
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "world-music"
- texidoc = "For improvisations or @emph{taqasim} which are
-temporarily free, the time signature can be omitted and
-@code{\cadenzaOn} can be used. Adjusting the accidental style
-might be required, since the absence of bar lines will cause the
-accidental to be marked only once. Here is an example of what
-could be the start of a @emph{hijaz} improvisation:"
-doctitle = "Arabic improvisation"
-}
-
-\include "arabic.ly"
-
-\relative sol' {
- \key re \kurd
- #(set-accidental-style 'forget)
- \cadenzaOn
- sol4 sol sol sol fad mib sol1 fad8 mib re4. r8 mib1 fad sol
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "paper-and-layout"
- texidoc = "@code{\\bookpart} can be used to split a book into
-several parts.
-Each part last page can be affected by @code{ragged-bottom-last}.
-Header and footer markups can detect a part last page, and make the
-difference with the book last page.
-"
- doctitle = "Book parts"
-}
-
-#(set-default-paper-size "a6")
-
-\book {
-
- %% book paper, which is inherited by all children bookparts
- \paper {
- ragged-last-bottom = ##t
- %% Page footer: add a different part-tagline at part last page
- oddFooterMarkup = \markup {
- \column {
- \fill-line {
- %% Copyright header field only on book first page.
- \on-the-fly #first-page \fromproperty #'header:copyright
- }
- \fill-line {
- %% Part tagline header field only on each part last page.
- \on-the-fly #part-last-page \fromproperty #'header:parttagline
- }
- \fill-line {
- %% Tagline header field only on book last page.
- \on-the-fly #last-page \fromproperty #'header:tagline
- }
- }
- }
- }
-
- %% book header, which is inherited by the first bookpart
- \header {
- title = "Book title"
- copyright = "Copyright line on book first page"
- parttagline = "Part tagline"
- tagline = "Book tagline"
- }
-
- \bookpart {
- %% a different page breaking function may be used on each part
- \paper { #(define page-breaking optimal-page-breaks) }
- \header { subtitle = "First part" }
- \markup { The first book part }
- \markup { a page break }
- \pageBreak
- \markup { first part last page }
- \markup \wordwrap { with ragged-last-bottom (see the space below this text) }
- }
-
- \bookpart {
- \header { subtitle = "Second part" }
- { c' }
- }
-
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "expressive-marks"
- texidoc = "
-In order to make parts of a crescendo hairpin invisible, the following
-method is used: A white rectangle is drawn on top of the respective
-part of the crescendo hairpin, making it invisible. The rectangle is
-defined as postscript code within a text markup.
-
-To fine-tune the position and size of the markup, the number
-preceding @code{setgray} in the postscript definition can be set to a
-value less than one, making it grey. The two numbers before @code{scale}
-in the postscript code are responsible for the width and height of the
-rectangle, the two numbers before @code{translate} change the x- and
-y-origin of the rectangle.
-
-Make sure to put the hairpin in a lower layer than the text markup to
-draw the rectangle over the hairpin.
-"
- doctitle = "Broken crescendo hairpin"
-}
-
-\relative c' {
- << {
- \dynamicUp
- \override DynamicLineSpanner #'staff-padding = #4
- r2 r16 c'8.\pp r4
- }
- \\
- {
- \override DynamicLineSpanner #'layer = #0
- des,2\mf\< ~
- \override TextScript #'layer = #2
- des16_\markup {
- \postscript #"
- 1.9 -8 translate
- 5 4 scale
- 1 setgray
- 0 0 moveto
- 0 1 lineto
- 1 1 lineto
- 1 0 lineto
- 0 0 lineto
- fill"
- }
- r8. des4 ~ des16->\sff
- } >>
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "expressive-marks, text"
-
- texidoc = "
-This example provides a function to typeset a hairpin (de)crescendo
-with some additional text below it, such as \"molto\" or \"poco\". The
-example also illustrates how to modify the way an object is normally
-printed, using some Scheme code.
-"
- doctitle = "Center text below hairpin dynamics"
-}
-
-hairpinWithCenteredText =
-#(define-music-function (parser location text) (markup?)
-#{
- \override Voice.Hairpin #'stencil = #(lambda (grob)
- (ly:stencil-aligned-to
- (ly:stencil-combine-at-edge
- (ly:stencil-aligned-to (ly:hairpin::print grob) X CENTER)
- Y DOWN
- (ly:stencil-aligned-to (grob-interpret-markup grob $text) X CENTER))
- X LEFT))
-#})
-
-hairpinMolto = \hairpinWithCenteredText \markup { \italic molto }
-hairpinMore = \hairpinWithCenteredText \markup { \larger moltissimo }
-
-\layout { ragged-right = ##f }
-
-{
- \hairpinMolto c'2\< c'\f
- \hairpinMore c'2\< c'\f
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "rhythms,tweaks-and-overrides"
- texidoc = "
-If there are ten or fewer measures of rests, a series of longa
-and breve rests (called in German \"Kirchenpausen\" - church rests)
-is printed within the staff; otherwise a simple line is shown.
-This default number of ten may be changed by overriding the
-@code{expand-limit} property:
-"
- doctitle = "Changing form of multi-measure rests"
-}
-
-\relative c'' {
- \compressFullBarRests
- R1*2 | R1*5 | R1*9
- \override MultiMeasureRest #'expand-limit = #3
- R1*2 | R1*5 | R1*9
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "tweaks-and-overrides"
-
- texidoc = "
-The @code{\\applyOutput} command allows the tuning of any layout
-object, in any context. It requires a Scheme function with three
-arguments."
-
- doctitle = "Changing properties for individual grobs"
-}
-
-#(define (mc-squared grob grob-origin context)
- (let*
- (
- (ifs (ly:grob-interfaces grob))
- (sp (ly:grob-property grob 'staff-position))
- )
- (if (memq 'note-head-interface ifs)
- (begin
- (ly:grob-set-property! grob 'stencil
- (grob-interpret-markup grob
- (make-lower-markup 0.5
- (case sp
- ((-5) "m")
- ((-3) "c ")
- ((-2) (make-smaller-markup (make-bold-markup "2")))
- (else "bla")
- ))))
- ))))
-
-\relative c' {
- <d f g b>2
- \applyOutput #'Voice #mc-squared
- <d f g b>2
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "rhythms,tweaks-and-overrides"
- texidoc = "
-The text used for crescendos and decrescendos can be changed by
-modifying the context properties @code{crescendoText} and
-@code{decrescendoText}. The style of the spanner line can be
-changed by modifying the @code{'style} property of
-@code{DynamicTextSpanner}. The default value is @code{'hairpin},
-and other possible values include @code{'line}, @code{'dashed-line}
-and @code{'dotted-line}:
-"
- doctitle = "Changing text and spanner styles for text dynamics"
-}
-
-\relative c'' {
- \set crescendoText = \markup { \italic { cresc. poco } }
- \set crescendoSpanner = #'text
- \override DynamicTextSpanner #'style = #'dotted-line
- a2\< a
- a2 a
- a2 a
- a2 a\mf
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "staff-notation"
- texidoc = "To change the tempo in MIDI output without printing
-anything, make the metronome mark invisible:"
-
- doctitle = "Changing the tempo without a metronome mark"
-}
-
-\score {
- \new Staff \relative c' {
- \tempo 4 = 160
- c4 e g b
- c4 b d c
- \set Score.tempoHideNote = ##t
- \tempo 4 = 96
- d,4 fis a cis
- d4 cis e d
- }
- \layout { }
- \midi { }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "rhythms,contexts-and-engravers"
- texidoc = "The @code{measureLength} property, together with
-@code{measurePosition}, determines when a bar line is needed. However,
-when using @code{\\scaleDurations}, the scaling of durations makes it
-difficult to change time signatures. In this case, @code{measureLength}
-should be set manually, using the @code{ly:make-moment} callback. The
-second argument must be the same as the second argument of
-@code{\\scaleDurations}."
- doctitle = "Changing time signatures inside a polymetric section using @code{\\scaleDurations}"
-}
-
-\layout {
- \context {
- \Score
- \remove "Timing_translator"
- \remove "Default_bar_line_engraver"
- }
- \context {
- \Staff
- \consists "Timing_translator"
- \consists "Default_bar_line_engraver"
- }
-}
-
-<<
- \new Staff {
- \scaleDurations #'(8 . 5) {
- \time 6/8
- \set Timing.measureLength = #(ly:make-moment 6 5)
- b8 b b b b b
- \time 2/4
- \set Timing.measureLength = #(ly:make-moment 4 5)
- b4 b
- }
- }
- \new Staff {
- \clef bass
- \time 2/4
- c2 d e f
- }
->>
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "paper-and-layout" % a new tag like "Mixing text and music" or
-% "Special output" might be more adequate -jm
- texidoc = "
-This code shows how to clip (extract) snippets from a full score.
-
-This file needs to be run separately with @code{-dclip-systems}; the
-snippets page may not adequately show the results.
-
-The result will be files named
-@file{@var{base}-from-@var{start}-to-@var{end}[-@var{count}].eps}.
-
-@itemize
-@item
-If system starts and ends are included, they include extents of the
-System grob, e.g., instrument names.
-
-@item
-Grace notes at the end point of the region are not included.
-
-@item
-Regions can span multiple systems. In this case, multiple EPS files
-are generated.
-
-@end itemize
-"
- doctitle = "Clip systems"
-}
-
-#(ly:set-option 'clip-systems)
-#(set! output-count 1)
-
-origScore = \score {
- \relative c' {
- \set Staff.instrumentName = #"bla"
- c1
- d1
- \grace c16 e1
- \key d \major
- f1 \break
- \clef bass
- g,1
- fis1
- }
-}
-
-\book {
- \score {
- \origScore
- \layout {
- % Each clip-region is a (START . END) pair
- % where both are rhythmic-locations.
-
- % (make-rhythmic-locations BAR-NUMBER NUM DEN)
- % means NUM/DEN whole-notes into bar numbered BAR-NUMBER
-
- clip-regions = #(list
- (cons
- (make-rhythmic-location 2 0 1)
- (make-rhythmic-location 4 0 1))
-
- (cons
- (make-rhythmic-location 0 0 1)
- (make-rhythmic-location 4 0 1))
-
- (cons
- (make-rhythmic-location 0 0 1)
- (make-rhythmic-location 6 0 1))
- )
- }
- }
-}
-
-#(set! output-count 0)
-#(ly:set-option 'clip-systems #f)
-
-\book {
- \score { \origScore }
- \markup { \bold \fontsize #6 clips }
- \score {
- \lyrics {
- \markup { from-2.0.1-to-4.0.1-clip.eps }
- \markup {
- \epsfile #X #30.0 #(format #f "~a-1-from-2.0.1-to-4.0.1-clip.eps"
- (ly:parser-output-name parser)) }
- }
- }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "pitches,editorial-annotations,really-cool"
- texidoc = "
-It is possible to color note heads depending on their pitch and/or their names:
-the function used in this example even makes it possible to distinguish enharmonics.
-"
- doctitle = "Coloring notes depending on their pitch"
-}
-
-%LSR Thanks a LOT to Damian leGassick, Steven Weber and Jay Anderson for this snippet
-
-%Association list of pitches to colors.
-#(define color-mapping
- (list
- (cons (ly:make-pitch 0 0 0) (x11-color 'red))
- (cons (ly:make-pitch 0 0 1/2) (x11-color 'green))
- (cons (ly:make-pitch 0 1 -1/2) (x11-color 'green))
- (cons (ly:make-pitch 0 2 0) (x11-color 'red))
- (cons (ly:make-pitch 0 2 1/2) (x11-color 'green))
- (cons (ly:make-pitch 0 3 -1/2) (x11-color 'red))
- (cons (ly:make-pitch 0 3 0) (x11-color 'green))
- (cons (ly:make-pitch 0 4 1/2) (x11-color 'red))
- (cons (ly:make-pitch 0 5 0) (x11-color 'green))
- (cons (ly:make-pitch 0 5 -1/2) (x11-color 'red))
- (cons (ly:make-pitch 0 6 1/2) (x11-color 'red))
- (cons (ly:make-pitch 0 1 0) (x11-color 'blue))
- (cons (ly:make-pitch 0 3 1/2) (x11-color 'blue))
- (cons (ly:make-pitch 0 4 -1/2) (x11-color 'blue))
- (cons (ly:make-pitch 0 5 1/2) (x11-color 'blue))
- (cons (ly:make-pitch 0 6 -1/2) (x11-color 'blue))
- ))
-
-%Compare pitch and alteration (not octave).
-#(define (pitch-equals? p1 p2)
- (and
- (= (ly:pitch-alteration p1) (ly:pitch-alteration p2))
- (= (ly:pitch-notename p1) (ly:pitch-notename p2))))
-
-#(define (pitch-to-color pitch)
- (let ((color (assoc pitch color-mapping pitch-equals?)))
- (if color
- (cdr color))))
-
-#(define (color-notehead grob)
- (pitch-to-color
- (ly:event-property (ly:grob-property grob 'cause) 'pitch)))
-
-\score {
- \new Staff \relative c' {
- \override NoteHead #'color = #color-notehead
- c8 b d dis ees f g aes
- }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms"
- texidoc = "
-Odd 20th century time signatures (such as \"5/8\") can often be played
-as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
-more inequal metrics. LilyPond can make such music quite easy to read
-and play, by explicitly printing the compound time signatures and
-adapting the automatic beaming behavior. (Graphic measure grouping
-indications can also be added; see the appropriate snippet in this
-database.)
-
-"
- doctitle = "Compound time signatures"
-}
-
-#(define ((compound-time one two num) grob)
- (grob-interpret-markup grob
- (markup #:override '(baseline-skip . 0) #:number
- (#:line (
- (#:column (one num))
- #:vcenter "+"
- (#:column (two num))))
- )))
-
-\relative c' {
- \override Staff.TimeSignature #'stencil = #(compound-time "2" "3" "8")
- \time 5/8
- #(override-auto-beam-setting '(end 1 8 5 8) 1 4)
- c8 d e fis gis
- c8 fis, gis e d
- c8 d e4 gis8
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "expressive-marks, editorial-annotations, tweaks-and-overrides"
-
- texidoc = "
-Creating a delayed turn, where the lower note of the
-turn uses the accidental, requires several overrides. The
-@code{outside-staff-priority} property must be set to @code{#f},
-as otherwise this would take precedence over the
-@code{avoid-slur property}. The value of @code{halign} is used
-to position the turn horizontally."
-
- doctitle = "Creating a delayed turn"
-}
-
-\relative c'' {
- \once \override TextScript #'avoid-slur = #'inside
- \once \override TextScript #'outside-staff-priority = ##f
- c2(^\markup \tiny \override #'(baseline-skip . 1) {
- \halign #-4
- \center-column {
- \sharp
- \musicglyph #"scripts.turn"
- }
- }
- d4.) c8
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "staff-notation"
- texidoc = "New metronome marks can be created in markup mode,
-but they will not change the tempo in MIDI output."
-
- doctitle = "Creating metronome marks in markup mode"
-}
-
-\relative c' {
- \tempo \markup {
- \concat {
- (
- \smaller \general-align #Y #DOWN \note #"16." #1
- " = "
- \smaller \general-align #Y #DOWN \note #"8" #1
- )
- }
- }
- c1
- c4 c' c,2
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "expressive-marks,text,tweaks-and-overrides"
- texidoc = "
-Unlike text scripts, rehearsal marks cannot be stacked at a particular point
-in a score: only one @code{RehearsalMark} object is created. Using an
-invisible measure and bar line, an extra rehearsal mark can be added, giving
-the appearance of two marks in the same column.
-
-This method may also prove useful for placing rehearsal marks at both the
-end of one system and the start of the following system.
-"
- doctitle = "Creating simultaneous rehearsal marks"
-}
-
-% LSR: Thanks to Risto Vääräniemi for this snippet
-
-{
- \key a \major
- \set Score.markFormatter = #format-mark-box-letters
- \once \override Score.RehearsalMark #'outside-staff-priority = #5000
- \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
- \once \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
- \mark \markup { \bold { Senza denti } }
-
- % the hidden measure and bar line
- \once \override Score.TimeSignature #'stencil = ##f
- \time 1/16
- s16 \bar ""
-
- \time 4/4
- \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
- \once \override Score.RehearsalMark #'break-align-symbols = #'(bar-line)
- \mark \markup { \box \bold Intro }
- d'1
- \mark \default
- d'1
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "expressive-marks, text, tweaks-and-overrides"
- texidoc = "The @code{\\startTextSpan} and @code{\\stopTextSpan}
-commands allow the creation of text spanners as easily as pedal
-indications or octavations. Override some properties of the
-@code{TextSpanner} object to modify its output."
-
- doctitle = "Creating text spanners"
-}
-
-\paper { ragged-right = ##f }
-
-\relative c'' {
- \override TextSpanner #'(bound-details left text) = #"bla"
- \override TextSpanner #'(bound-details right text) = #"blu"
- a4 \startTextSpan
- b4 c
- a4 \stopTextSpan
-
- \override TextSpanner #'style = #'line
- \once \override TextSpanner
- #'(bound-details left stencil-align-dir-y) = #CENTER
- a4 \startTextSpan
- b4 c
- a4 \stopTextSpan
-
- \override TextSpanner #'style = #'dashed-line
- \override TextSpanner #'(bound-details left text) =
- \markup { \draw-line #'(0 . 1) }
- \override TextSpanner #'(bound-details right text) =
- \markup { \draw-line #'(0 . -2) }
- \once \override TextSpanner #'(bound-details right padding) = #-2
-
- a4 \startTextSpan
- b4 c
- a4 \stopTextSpan
-
- \set Staff.middleCPosition = #-13
- \override TextSpanner #'dash-period = #10
- \override TextSpanner #'dash-fraction = #0.5
- \override TextSpanner #'thickness = #10
- a4 \startTextSpan
- b4 c
- a4 \stopTextSpan
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "fretted-strings,tweaks-and-overrides"
-
- texidoc = "Fret diagram properties can be set through
-@code{'fret-diagram-details}. For FretBoard fret diagrams,
-overrides are applied to the @code{FretBoards.FretBoard} object.
-Like @code{Voice}, @code{FretBoards} is a bottom level context,
-therefore can be omitted in property overrides.
-
-"
- doctitle = "Customizing fretboard fret diagrams"
-}
-
-\include "predefined-guitar-fretboards.ly"
-\storePredefinedDiagram \chordmode { c' }
- #guitar-tuning
- #"x;1-1-(;3-2;3-3;3-4;1-1-);"
-<<
- \new ChordNames {
- \chordmode { c1 c c d }
- }
- \new FretBoards {
- % Set global properties of fret diagram
- \override FretBoards.FretBoard #'size = #'1.2
- \override FretBoard
- #'(fret-diagram-details finger-code) = #'in-dot
- \override FretBoard
- #'(fret-diagram-details dot-color) = #'white
- \chordmode {
- c
- \once \override FretBoard #'size = #'1.0
- \once \override FretBoard
- #'(fret-diagram-details barre-type) = #'straight
- \once \override FretBoard
- #'(fret-diagram-details dot-color) = #'black
- \once \override FretBoard
- #'(fret-diagram-details finger-code) = #'below-string
- c'
- \once \override FretBoard
- #'(fret-diagram-details barre-type) = #'none
- \once \override FretBoard
- #'(fret-diagram-details number-type) = #'arabic
- \once \override FretBoard
- #'(fret-diagram-details orientation) = #'landscape
- \once \override FretBoard
- #'(fret-diagram-details mute-string) = #"M"
- \once \override FretBoard
- #'(fret-diagram-details label-dir) = #LEFT
- \once \override FretBoard
- #'(fret-diagram-details dot-color) = #'black
- c'
- \once \override FretBoard
- #'(fret-diagram-details finger-code) = #'below-string
- \once \override FretBoard
- #'(fret-diagram-details dot-radius) = #0.35
- \once \override FretBoard
- #'(fret-diagram-details dot-position) = #0.5
- \once \override FretBoard
- #'(fret-diagram-details fret-count) = #3
- d
- }
- }
- \new Voice {
- c'1 c' c' d'
- }
->>
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "fretted-strings,tweaks-and-overrides"
-
- texidoc = "Fret diagram properties can be set through
-@code{'fret-diagram-details}. For markup fret diagrams, overrides
-can be applied to the @code{Voice.TextScript} object or directly
-to the markup.
-"
- doctitle = "Customizing markup fret diagrams"
-}
-
-<<
- \chords { c1 c c d }
-
- \new Voice = "mel" {
- \textLengthOn
- % Set global properties of fret diagram
- \override TextScript #'size = #'1.2
- \override TextScript
- #'(fret-diagram-details finger-code) = #'in-dot
- \override TextScript
- #'(fret-diagram-details dot-color) = #'white
-
- %% C major for guitar, no barre, using defaults
- % terse style
- c'1^\markup { \fret-diagram-terse #"x;3-3;2-2;o;1-1;o;" }
-
- %% C major for guitar, barred on third fret
- % verbose style
- % size 1.0
- % roman fret label, finger labels below string, straight barre
- c'1^\markup {
- % standard size
- \override #'(size . 1.0) {
- \override #'(fret-diagram-details . (
- (number-type . roman-lower)
- (finger-code . in-dot)
- (barre-type . straight))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 5 1 3))
- }
- }
- }
-
- %% C major for guitar, barred on third fret
- % verbose style
- % landscape orientation, arabic numbers, M for mute string
- % no barre, fret label down or left, small mute label font
- c'1^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (number-type . arabic)
- (label-dir . -1)
- (mute-string . "M")
- (orientation . landscape)
- (barre-type . none)
- (xo-font-magnification . 0.4)
- (xo-padding . 0.3))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 5 1 3))
- }
- }
-
- %% simple D chord
- % terse style
- % larger dots, centered dots, fewer frets
- % label below string
- d'1^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (dot-radius . 0.35)
- (dot-position . 0.5)
- (fret-count . 3))) {
- \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
- }
- }
- }
->>
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "fretted-strings"
- texidoc = "Predefined fret diagrams can be added for new instruments
-in addition to the standards used for guitar. This file shows how
-this is done by defining a new string-tuning and a few predefined
-fretboards for the Venezuelan cuatro.
-
-This file also shows how fingerings can be included in the chords
-used as reference points for the chord lookup, and displayed in
-the fret diagram and the @code{TabStaff}, but not the music.
-
-These fretboards are not transposable because they contain string
-information. This is planned to be corrected in the future.
-
-"
- doctitle = "Defining predefined fretboards for other instruments"
-}
-
-%LSR: Thanks to Jesus Guillermo Andrade for the string-tuning
-%LSR: and fretboard information.
-
-% add FretBoards for the Cuatro
-% Note: This section could be put into a separate file
-% predefined-cuatro-fretboards.ly
-% and \included into each of your compositions
-
-cuatroTuning = #'(11 18 14 9)
-
-dSix = { <a\4 b\1 d\3 fis\2> }
-dMajor = { <a\4 d\1 d\3 fis \2> }
-aMajSeven = { <a\4 cis\1 e\3 g\2> }
-dMajSeven = { <a\4 c\1 d\3 fis\2> }
-gMajor = { <b\4 b\1 d\3 g\2> }
-
-\storePredefinedDiagram \dSix
- #cuatroTuning
- #"o;o;o;o;"
-\storePredefinedDiagram \dMajor
- #cuatroTuning
- #"o;o;o;3-3;"
-\storePredefinedDiagram \aMajSeven
- #cuatroTuning
- #"o;2-2;1-1;2-3;"
-\storePredefinedDiagram \dMajSeven
- #cuatroTuning
- #"o;o;o;1-1;"
-\storePredefinedDiagram \gMajor
- #cuatroTuning
- #"2-2;o;1-1;o;"
-
-% end of potential include file /predefined-cuatro-fretboards.ly
-
-
-#(set-global-staff-size 16)
-
-primerosNames = \chordmode {
- d:6 d a:maj7 d:maj7
- g
-}
-primeros = {
- \dSix \dMajor \aMajSeven \dMajSeven
- \gMajor
-}
-
-\score {
- <<
- \new ChordNames {
- \set chordChanges = ##t
- \primerosNames
- }
-
- \new Staff {
- \new Voice \with {
- \remove "New_fingering_engraver"
- }
- \relative c'' {
- \primeros
- }
- }
-
- \new FretBoards {
- \set stringTunings = #cuatroTuning
- \override FretBoard
- #'(fret-diagram-details string-count) = #'4
- \override FretBoard
- #'(fret-diagram-details finger-code) = #'in-dot
- \primeros
- }
-
- \new TabStaff \relative c'' {
- \set TabStaff.stringTunings = #cuatroTuning
- \primeros
- }
-
- >>
-
- \layout {
- \context {
- \Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 16)
- }
- }
- \midi { }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "staff-notation,tweaks-and-overrides"
- texidoc = "If there is only one staff in one of the staff types
-@code{ChoirStaff} or @code{StaffGroup}, the bracket and the starting
-bar line will not be displayed as standard behavior. This can be changed
-by overriding the relevant properties.
-
-Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
-where the systems begin with a brace instead of a bracket, another
-property has to be set, as shown on the second system in the example.
-"
- doctitle = "Display bracket with only one staff in a system"
-}
-
-\markup \left-column {
- \score {
- \new StaffGroup <<
- % Must be lower than the actual number of staff lines
- \override StaffGroup.SystemStartBracket #'collapse-height = #1
- \override Score.SystemStartBar #'collapse-height = #1
- \new Staff {
- c'1
- }
- >>
- \layout { }
- }
- \score {
- \new PianoStaff <<
- \override PianoStaff.SystemStartBrace #'collapse-height = #1
- \override Score.SystemStartBar #'collapse-height = #1
- \new Staff {
- c'1
- }
- >>
- \layout { }
- }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "pitches"
- texidoc = "In early 20th century works, starting with Schoenberg,
-Berg and Webern (the \"Second\" Viennese school), every pitch in the
-twelve-tone scale has to be regarded as equal, without any hierarchy
-such as the classical (tonal) degrees. Therefore, these composers
-print one accidental for each note, even at natural pitches, to
-emphasize their new approach to music theory and language.
-
-This snippet shows how to achieve such notation rules.
-"
-
- doctitle = "Dodecaphonic-style accidentals for each note including naturals"
-}
-
-\score {
- \new Staff {
- #(set-accidental-style 'dodecaphonic)
- c'4 dis' cis' cis'
- c'4 dis' cis' cis'
- c'4 c' dis' des'
- }
- \layout {
- \context {
- \Staff
- \remove "Key_engraver"
- }
- }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "unfretted-strings,tweaks-and-overrides"
- texidoc = "Artificial harmonics using @code{\\harmonic} do not show
-dots. To override this behavior, set the context property
-@code{harmonicDots}."
- doctitle = "Dotted harmonics"
-}
-
-\relative c''' {
- \time 3/4
- \key f \major
- \set harmonicDots = ##t
- <bes f'\harmonic>2. ~
- <bes f'\harmonic>4. <a e'\harmonic>8( <gis dis'\harmonic> <g d'\harmonic>)
- <fis cis'\harmonic>2.
- <bes f'\harmonic>2.
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "tweaks-and-overrides"
- texidoc = "
-The @code{print-function} can be overridden to draw a box around an
-arbitrary grob.
-"
- doctitle = "Drawing boxes around grobs"
-}
-
-\relative c'' {
- \override TextScript #'stencil =
- #(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
- c'4^"foo"
-
- \override Stem #'stencil =
- #(make-stencil-boxer 0.05 0.25 ly:stem::print)
- \override Score.RehearsalMark #'stencil =
- #(make-stencil-boxer 0.15 0.3 ly:text-interface::print)
- b8
-
- \revert Stem #'stencil
- c4. c4
- \mark "F"
- c1
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "tweaks-and-overrides"
- texidoc = "
-The @code{\circle} markup command draws circles around various objects,
-for example fingering indications. For other objects, specific tweaks
-may be required: this example demonstrates two strategies for rehearsal
-marks and measure numbers.
-"
- doctitle = "Drawing circles around various objects"
-}
-
-\relative c' {
- c1
- \set Score.markFormatter =
- #(lambda (mark context)
- (make-circle-markup (format-mark-numbers mark context)))
- \mark \default
- c2 d^\markup {
- \override #'(thickness . 3) {
- \circle \finger 2
- }
- }
- \override Score.BarNumber #'break-visibility = #all-visible
- \override Score.BarNumber #'stencil =
- #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "keyboards, tweaks-and-overrides"
- texidoc = "The appearance of pedal brackets may be altered in
-different ways."
- doctitle = "Fine-tuning pedal brackets"
-}
-
-\paper { ragged-right = ##f }
-\relative c'' {
- c2\sostenutoOn c
- c2\sostenutoOff c
- \once \override Staff.PianoPedalBracket #'shorten-pair = #'(-7 . -2)
- c2\sostenutoOn c
- c2\sostenutoOff c
- \once \override Staff.PianoPedalBracket #'edge-height = #'(0 . 3)
- c2\sostenutoOn c
- c2\sostenutoOff c
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "winds"
-
- texidoc = "
-It is possible to indicate special articulation techniques such as
-flute's \"tongue slap\", by replacing the note head with the
-appropriate glyph.
-
-"
- doctitle = "Flute slap notation"
-}
-
-slap =
-#(define-music-function (parser location music) (ly:music?)
-#{
- \override NoteHead #'stencil = #(lambda (grob)
- (grob-interpret-markup grob
- (markup #:musicglyph "scripts.sforzato")))
- \override NoteHead #'extra-offset = #'(0.1 . 0.0)
- $music
- \revert NoteHead #'stencil
- \revert NoteHead #'extra-offset
-#})
-
-\relative c' {
- c4 \slap c d r \slap { g a } b r
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "fretted-strings,tweaks-and-overrides"
- texidoc = "This snippet shows many possibilities for obtaining
-and tweaking fret diagrams."
- doctitle = "Fret diagrams explained and developed"
-}
-
-<<
- \chords {
- a2 a
- \repeat unfold 3 {
- c c c d d
- }
- }
-
- \new Voice = "mel" {
- \textLengthOn
- % Set global properties of fret diagram
- \override TextScript #'size = #1.2
- \override TextScript
- #'fret-diagram-details #'finger-code = #'below-string
- \override TextScript #'fret-diagram-details #'dot-color = #'black
-
- %% A chord for ukelele
- a'2^\markup {
- \override #'(fret-diagram-details . (
- (string-count . 4)
- (dot-color . white)
- (finger-code . in-dot))) {
- \fret-diagram #"4-2-2;3-1-1;2-o;1-o;"
- }
- }
-
- %% A chord for ukelele, with formatting defined in definition string
- % 1.2 * size, 4 strings, 4 frets, fingerings below string
- % dot radius .35 of fret spacing, dot position 0.55 of fret spacing
- a'2^\markup {
- \override #'(fret-diagram-details . (
- (dot-color . white)
- (open-string . "o"))) {
- \fret-diagram #"s:1.2;w:4;h:3;f:2;d:0.35;p:0.55;4-2-2;3-1-1;2-o;1-o;"
- }
- }
-
- %% These chords will be in normal orientation
-
- %% C major for guitar, barred on third fret
- % verbose style
- % roman fret label, finger labels below string, straight barre
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . roman-lower)
- (finger-code . below-string)
- (barre-type . straight))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 5 1 3))
- }
- }
- }
-
- %% C major for guitar, barred on third fret
- %% Double barre used to test barre function
- % verbose style
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . arabic)
- (dot-label-font-mag . 0.9)
- (finger-code . in-dot)
- (fret-label-font-mag . 0.6)
- (fret-label-vertical-offset . 0)
- (label-dir . -1)
- (mute-string . "M")
- (xo-font-magnification . 0.4)
- (xo-padding . 0.3))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 4 2 5)
- (barre 5 1 3))
- }
- }
- }
-
- %% C major for guitar, with capo on third fret
- % verbose style
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . roman-upper)
- (dot-label-font-mag . 0.9)
- (finger-code . none)
- (fret-label-vertical-offset . 0.5)
- (xo-font-magnification . 0.4)
- (xo-padding . 0.3))) {
- \fret-diagram-verbose #'((mute 6)
- (capo 3)
- (open 5)
- (place-fret 4 5 1)
- (place-fret 3 5 2)
- (place-fret 2 5 3)
- (open 1))
- }
- }
- }
-
- %% simple D chord
- d'2^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (dot-radius . 0.35)
- (string-thickness-factor . 0.3)
- (dot-position . 0.5)
- (fret-count . 3))) {
- \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
- }
- }
-
- %% simple D chord, large top fret thickness
- d'2^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (dot-radius . 0.35)
- (dot-position . 0.5)
- (top-fret-thickness . 7)
- (fret-count . 3))) {
- \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
- }
- }
-
- % These chords will be in landscape orientation
- \override TextScript
- #'fret-diagram-details #'orientation = #'landscape
-
- %% C major for guitar, barred on third fret
- % verbose style
- % roman fret label, finger labels below string, straight barre
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . roman-lower)
- (finger-code . below-string)
- (barre-type . straight))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 5 1 3))
- }
- }
- }
-
- %% C major for guitar, barred on third fret
- %% Double barre used to test barre function
- % verbose style
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . arabic)
- (dot-label-font-mag . 0.9)
- (finger-code . in-dot)
- (fret-label-font-mag . 0.6)
- (fret-label-vertical-offset . 0)
- (label-dir . -1)
- (mute-string . "M")
- (xo-font-magnification . 0.4)
- (xo-padding . 0.3))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 4 2 5)
- (barre 5 1 3))
- }
- }
- }
-
- %% C major for guitar, with capo on third fret
- % verbose style
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . roman-upper)
- (dot-label-font-mag . 0.9)
- (finger-code . none)
- (fret-label-vertical-offset . 0.5)
- (xo-font-magnification . 0.4)
- (xo-padding . 0.3))) {
- \fret-diagram-verbose #'((mute 6)
- (capo 3)
- (open 5)
- (place-fret 4 5 1)
- (place-fret 3 5 2)
- (place-fret 2 5 3)
- (open 1))
- }
- }
- }
-
- %% simple D chord
- d'2^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (dot-radius . 0.35)
- (dot-position . 0.5)
- (fret-count . 3))) {
- \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
- }
- }
-
- %% simple D chord, large top fret thickness
- d'2^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (dot-radius . 0.35)
- (dot-position . 0.5)
- (top-fret-thickness . 7)
- (fret-count . 3))) {
- \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
- }
- }
-
- % These chords will be in opposing-landscape orientation
- \override TextScript #'fret-diagram-details
- #'orientation = #'opposing-landscape
-
- %% C major for guitar, barred on third fret
- % verbose style
- % roman fret label, finger labels below string, straight barre
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . roman-lower)
- (finger-code . below-string)
- (barre-type . straight))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 5 1 3))
- }
- }
- }
-
- %% C major for guitar, barred on third fret
- %% Double barre used to test barre function
- % verbose style
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . arabic)
- (dot-label-font-mag . 0.9)
- (finger-code . in-dot)
- (fret-label-font-mag . 0.6)
- (fret-label-vertical-offset . 0)
- (label-dir . -1)
- (mute-string . "M")
- (xo-font-magnification . 0.4)
- (xo-padding . 0.3))) {
- \fret-diagram-verbose #'((mute 6)
- (place-fret 5 3 1)
- (place-fret 4 5 2)
- (place-fret 3 5 3)
- (place-fret 2 5 4)
- (place-fret 1 3 1)
- (barre 4 2 5)
- (barre 5 1 3))
- }
- }
- }
-
- %% C major for guitar, with capo on third fret
- % verbose style
- c'2^\markup {
- % 110% of default size
- \override #'(size . 1.1) {
- \override #'(fret-diagram-details . (
- (number-type . roman-upper)
- (dot-label-font-mag . 0.9)
- (finger-code . none)
- (fret-label-vertical-offset . 0.5)
- (xo-font-magnification . 0.4)
- (xo-padding . 0.3))) {
- \fret-diagram-verbose #'((mute 6)
- (capo 3)
- (open 5)
- (place-fret 4 5 1)
- (place-fret 3 5 2)
- (place-fret 2 5 3)
- (open 1))
- }
- }
- }
-
- %% simple D chord
- d'2^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (dot-radius . 0.35)
- (dot-position . 0.5)
- (fret-count . 3))) {
- \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
- }
- }
-
- %% simple D chord, large top fret thickness
- d'2^\markup {
- \override #'(fret-diagram-details . (
- (finger-code . below-string)
- (dot-radius . 0.35)
- (dot-position . 0.5)
- (top-fret-thickness . 7)
- (fret-count . 3))) {
- \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
- }
- }
- }
->>
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms,fretted-strings"
- texidoc = "
-For guitar music, it is possible to show strum rhythms, along
-with melody notes, chord names, and fret diagrams.
-"
- doctitle = "Guitar strum rhythms"
-}
-
-\include "predefined-guitar-fretboards.ly"
-<<
- \new ChordNames {
- \chordmode {
- c1 f g c
- }
- }
- \new FretBoards {
- \chordmode {
- c1 f g c
- }
- }
- \new Voice \with {
- \consists "Pitch_squash_engraver"
- } {
- \relative c'' {
- \improvisationOn
- c4 c8 c c4 c8 c
- f4 f8 f f4 f8 f
- g4 g8 g g4 g8 g
- c4 c8 c c4 c8 c
- }
- }
- \new Voice = "melody" {
- \relative c'' {
- c2 e4 e4
- f2. r4
- g2. a4
- e4 c2.
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- This is my song.
- I like to sing.
- }
- }
->>
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms, percussion"
-
- texidoc = "
-Though the polymetric time signature shown was not the most essential
-item here, it has been included to show the beat of this piece (which
-is the template of a real Balkan song!).
-
-"
- doctitle = "Heavily customized polymetric time signatures"
-}
-
-#(define plus (markup #:vcenter "+"))
-#(define ((custom-time-signature one two three four five six
- seven eight nine ten eleven num) grob)
- (grob-interpret-markup grob
- (markup #:override '(baseline-skip . 0) #:number
- (#:line (
- (#:column (one num)) plus
- (#:column (two num)) plus
- (#:column (three num)) plus
- (#:column (four num)) plus
- (#:column (five num)) plus
- (#:column (six num)) plus
- (#:column (seven num)) plus
- (#:column (eight num)) plus
- (#:column (nine num)) plus
- (#:column (ten num)) plus
- (#:column (eleven num))))
- )))
-
-melody = \relative c'' {
- \set Staff.instrumentName = #"Bb Sop."
- \key g \major
- #(set-time-signature 25 8 '(3 2 2 3 2 2 2 2 3 2 2))
- \override Staff.TimeSignature #'stencil =
- #(custom-time-signature "3" "2" "2" "3" "2" "2"
- "2" "2" "3" "2" "2" "8")
- c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
- c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4
- c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
- c4. d4 c4 d4. c4 d c2 d4. e4-^ d4
- c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
-}
-
-drum = \new DrumStaff \drummode {
- \bar "|:" bd4.^\markup { "Drums" } sn4 bd \bar ":" sn4.
- bd4 sn \bar ":" bd sn bd4. sn4 bd \bar ":|"
-}
-
-{
- \melody
- \drum
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "staff-notation,ancient-notation"
- texidoc = "Incipits can be added using the instrument name grob, but
-keeping separate the instrument name definition and the incipit definition."
- doctitle = "Incipit"
-}
-
-incipit =
-#(define-music-function (parser location incipit-music) (ly:music?)
- #{
- \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
- \once \override Staff.InstrumentName #'self-alignment-Y = #UP
- \once \override Staff.InstrumentName #'Y-offset = #4
- \once \override Staff.InstrumentName #'padding = #0.3
- \once \override Staff.InstrumentName #'stencil =
- #(lambda (grob)
- (let* ((instrument-name (ly:grob-property grob 'long-text))
- (layout (ly:output-def-clone (ly:grob-layout grob)))
- (music (make-music 'SequentialMusic
- 'elements (list (make-music 'ContextSpeccedMusic
- 'context-type 'MensuralStaff
- 'element (make-music 'PropertySet
- 'symbol 'instrumentName
- 'value instrument-name))
- $incipit-music)))
- (score (ly:make-score music))
- (mm (ly:output-def-lookup layout 'mm))
- (indent (ly:output-def-lookup layout 'indent))
- (width (ly:output-def-lookup layout 'incipit-width))
- (incipit-width (if (number? width)
- (* width mm)
- (* indent 0.5))))
- (ly:output-def-set-variable! layout 'indent (- indent incipit-width))
- (ly:output-def-set-variable! layout 'line-width indent)
- (ly:output-def-set-variable! layout 'ragged-right #f)
- (ly:output-def-set-variable! layout 'ragged-last #f)
- (ly:output-def-set-variable! layout 'system-count 1)
- (ly:score-add-output-def! score layout)
- (ly:grob-set-property! grob 'long-text
- (markup #:score score))
- (ly:system-start-text::print grob)))
- #})
-
-%%%%%%%%%%%%%%%%%%%%%%%%%
-
-global = {
- \set Score.skipBars = ##t
- \key g \major
- \time 4/4
-
- % the actual music
- \skip 1*8
-
- % let finis bar go through all staves
- \override Staff.BarLine #'transparent = ##f
-
- % finis bar
- \bar "|."
-}
-
-discantusIncipit = <<
- \new MensuralVoice = "discantusIncipit" <<
- \repeat unfold 9 { s1 \noBreak }
- {
- \clef "neomensural-c1"
- \key f \major
- \time 2/2
- c''1.
- }
- >>
- \new Lyrics \lyricsto discantusIncipit { IV- }
->>
-
-discantusNotes = {
- \transpose c' c'' {
- \clef "treble"
- d'2. d'4 |
- b e' d'2 |
- c'4 e'4.( d'8 c' b |
- a4) b a2 |
- b4.( c'8 d'4) c'4 |
- \once \override NoteHead #'transparent = ##t
- c'1 |
- b\breve |
- }
-}
-
-discantusLyrics = \lyricmode {
- Ju -- bi -- |
- la -- te De -- |
- o, om --
- nis ter -- |
- ra, __ om- |
- "..." |
- -us. |
-}
-
-altusIncipit = <<
- \new MensuralVoice = "altusIncipit" <<
- \repeat unfold 9 { s1 \noBreak }
- {
- \clef "neomensural-c3"
- \key f \major
- \time 2/2
- r1 f'1.
- }
- >>
- \new Lyrics \lyricsto altusIncipit { IV- }
->>
-
-altusNotes = {
- \transpose c' c'' {
- \clef "treble"
- % two measures
- r2 g2. e4 fis g |
- a2 g4 e |
- fis g4.( fis16 e fis4) |
- g1 |
- \once \override NoteHead #'transparent = ##t
- g1 |
- g\breve |
- }
-}
-
-altusLyrics = \lyricmode {
- % two measures
- Ju -- bi -- la -- te |
- De -- o, om -- |
- nis ter -- ra, |
- "..." |
- -us. |
-}
-
-tenorIncipit = <<
- \new MensuralVoice = "tenorIncipit" <<
- \repeat unfold 9 { s1 \noBreak }
- {
- \clef "neomensural-c4"
- \key f \major
- \time 2/2
- r\longa
- r\breve
- r1 c'1.
- }
- >>
- \new Lyrics \lyricsto tenorIncipit { IV- }
->>
-
-tenorNotes = {
- \transpose c' c' {
- \once \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 3)
- \clef "treble_8"
- R1 |
- R1 |
- R1 |
- % two measures
- r2 d'2. d'4 b e' |
- \once \override NoteHead #'transparent = ##t
- e'1 |
- d'\breve |
- }
-}
-
-tenorLyrics = \lyricmode {
- % two measures
- Ju -- bi -- la -- te |
- "..." |
- -us.
-}
-
-bassusIncipit = <<
- \new MensuralVoice = "bassusIncipit" <<
- \repeat unfold 9 { s1 \noBreak }
- {
- \clef "bass"
- \key f \major
- \time 2/2
- %% incipit
- r\maxima
- f1.
- }
- >>
- \new Lyrics \lyricsto bassusIncipit { IV- }
->>
-
-bassusNotes = {
- \transpose c' c' {
- \clef "bass"
- R1 |
- R1 |
- R1 |
- R1 |
- g2. e4 |
- \once \override NoteHead #'transparent = ##t
- e1 |
- g\breve |
- }
-}
-
-bassusLyrics = \lyricmode {
- Ju -- bi- |
- "..." |
- -us.
-}
-
-\score {
- <<
- \new StaffGroup = choirStaff <<
- \new Voice = "discantusNotes" <<
- \global
- \set Staff.instrumentName = #"Discantus"
- \incipit \discantusIncipit
- \discantusNotes
- >>
- \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
- \new Voice = "altusNotes" <<
- \global
- \set Staff.instrumentName = #"Altus"
- \incipit \altusIncipit
- \altusNotes
- >>
- \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
- \new Voice = "tenorNotes" <<
- \global
- \set Staff.instrumentName = #"Tenor"
- \incipit \tenorIncipit
- \tenorNotes
- >>
- \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
- \new Voice = "bassusNotes" <<
- \global
- \set Staff.instrumentName = #"Bassus"
- \incipit \bassusIncipit
- \bassusNotes
- >>
- \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
- >>
- >>
- \layout {
- \context {
- \Score
- %% no bar lines in staves or lyrics
- \override BarLine #'transparent = ##t
- }
- %% the next two instructions keep the lyrics between the bar lines
- \context {
- \Lyrics
- \consists "Bar_engraver"
- \consists "Separating_line_group_engraver"
- }
- \context {
- \Voice
- %% no slurs
- \override Slur #'transparent = ##t
- %% Comment in the below "\remove" command to allow line
- %% breaking also at those bar lines where a note overlaps
- %% into the next measure. The command is commented out in this
- %% short example score, but especially for large scores, you
- %% will typically yield better line breaking and thus improve
- %% overall spacing if you comment in the following command.
- %%\remove "Forbid_line_break_engraver"
- }
- indent = 6\cm
- incipit-width = 4\cm
- }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "expressive-marks,tweaks-and-overrides"
- texidoc = "
-Caesura marks can be created by overriding the @code{'text}
-property of the @code{BreathingSign} object. A curved caesura
-mark is also available.
-"
- doctitle = "Inserting a caesura"
-}
-
-\relative c'' {
- \override BreathingSign #'text = \markup {
- \musicglyph #"scripts.caesura.straight"
- }
- c8 e4. \breathe g8. e16 c4
-
- \override BreathingSign #'text = \markup {
- \musicglyph #"scripts.caesura.curved"
- }
- g8 e'4. \breathe g8. e16 c4
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "staff-notation,fretted-strings"
-
- texidoc = "Tablature can be formatted using letters instead of
-numbers."
- doctitle = "Letter tablature formatting"
-}
-
-#(define (letter-tablature-format str context event)
- (let*
- ((tuning (ly:context-property context 'stringTunings))
- (pitch (ly:event-property event 'pitch)))
- (make-whiteout-markup
- (make-vcenter-markup
- (string (integer->char
- (+ (char->integer #\a)
- (- (ly:pitch-semitones pitch)
- (list-ref tuning (- str 1))))))))))
-
-music = \relative c {
- c4 d e f
- g4 a b c
- d4 e f g
-}
-
-<<
- \new Staff {
- \clef "G_8"
- \music
- }
- \new TabStaff \with {
- tablatureFormat = #letter-tablature-format
- }
- {
- \music
- }
->>
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "expressive-marks"
- texidoc = "Arrows can be applied to text-spanners and line-spanners
-(such as the Glissando)."
- doctitle = "Line arrows"
-}
-
-\relative c'' {
- \override TextSpanner #'bound-padding = #1.0
- \override TextSpanner #'style = #'line
- \override TextSpanner #'(bound-details right arrow) = ##t
- \override TextSpanner #'(bound-details left text) = #"fof"
- \override TextSpanner #'(bound-details right text) = #"gag"
- \override TextSpanner #'(bound-details right padding) = #0.6
-
- \override TextSpanner #'(bound-details right stencil-align-dir-y) = #CENTER
- \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
-
- \override Glissando #'(bound-details right arrow) = ##t
- \override Glissando #'arrow-length = #0.5
- \override Glissando #'arrow-width = #0.25
-
- a8\startTextSpan gis a4 b\glissando b,
- g'4 c\stopTextSpan c2
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "pitches,world-music"
- texidoc = "Makam is a type of melody from Turkey using 1/9th-tone
-microtonal alterations. Consult the initialization file
-@code{makam.ly} (see the `Learning Manual @version{},
-4.6.3 Other sources of information' for the location of this file)
-for details of pitch names and alterations."
- doctitle = "Makam example"
-}
-
-% Initialize makam settings
-\include "makam.ly"
-
-\relative c' {
- \set Staff.keySignature = #`((3 . ,BAKIYE) (6 . ,(- KOMA)))
- c4 cc db fk
- gbm4 gfc gfb efk
- fk4 db cc c
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "rhythms,tweaks-and-overrides"
- texidoc = "
-Setting the @code{'transparent} property will cause an object to be
-printed in \"invisible ink\": the object is not printed, but all its
-other behavior is retained. The object still takes up space, it takes
-part in collisions, and slurs, ties and beams can be attached to it.
-
-This snippet demonstrates how to connect different voices using ties.
-Normally, ties only connect two notes in the same voice. By
-introducing a tie in a different voice, and blanking the first up-stem
-in that voice, the tie appears to cross voices. To prevent the blanked stem's
-flag from interfering with tie positioning, the stem is extended.
-"
- doctitle = "Making an object invisible with the transparent property"
-}
-
-\relative c'' {
- \time 2/4
- <<
- {
- \once \override Stem #'transparent = ##t
- \once \override Stem #'length = #8
- b8 ~ b\noBeam
- \once \override Stem #'transparent = ##t
- \once \override Stem #'length = #8
- g8 ~ g\noBeam
- }
- \\
- {
- b8 g g e
- }
- >>
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "editorial-annotations, vocal-music"
-
- texidoc = "
-This example shows how to put crosses on stems. Mark the beginning
-of a spoken section with the @code{\\speakOn} keyword, and end it
-with the @code{\\speakOff} keyword.
-"
- doctitle = "Marking notes of spoken parts with a cross on the stem"
-}
-
-speakOn = {
- \override Stem #'stencil = #(lambda (grob)
- (let* ((x-parent (ly:grob-parent grob X))
- (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
- (if is-rest?
- empty-stencil
- (ly:stencil-combine-at-edge
- (ly:stem::print grob)
- Y
- (- (ly:grob-property grob 'direction))
- (grob-interpret-markup grob
- (markup #:hspace -1.025 #:fontsize -4
- #:musicglyph "noteheads.s2cross"))
- -2.3 0))))
-}
-
-speakOff = {
- \revert Stem #'stencil
-}
-
-\score {
- \new Staff {
- \relative c'' {
- a4 b a c
- \speakOn
- g4 f r g
- b4 r d e
- \speakOff
- c4 a g f
- }
- }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "text"
- texidoc = "Text that can spread over pages is entered with the
-@code{\\markuplines} command."
- doctitle = "Markup lines"
-}
-
-#(set-default-paper-size "a6")
-
-#(define-markup-list-command (paragraph layout props args) (markup-list?)
- (interpret-markup-list layout props
- (make-justified-lines-markup-list (cons (make-hspace-markup 2) args))))
-
-% Candide, Voltaire
-\markuplines {
- \override-lines #'(baseline-skip . 2.5) {
- \paragraph {
- Il y avait en Westphalie, dans le château de M. le baron de
- Thunder-ten-tronckh, un jeune garçon à qui la nature avait donné
- les mœurs les plus douces. Sa physionomie annonçait son âme.
- Il avait le jugement assez droit, avec l'esprit le plus simple ;
- c'est, je crois, pour cette raison qu'on le nommait Candide. Les
- anciens domestiques de la maison soupçonnaient qu'il était fils
- de la sœur de monsieur le baron et d'un bon et honnête
- gentilhomme du voisinage, que cette demoiselle ne voulut jamais
- épouser parce qu'il n'avait pu prouver que soixante et onze
- quartiers, et que le reste de son arbre généalogique avait été
- perdu par l'injure du temps.
- }
- \paragraph {
- Monsieur le baron était un des plus puissants seigneurs de la
- Westphalie, car son château avait une porte et des fenêtres. Sa
- grande salle même était ornée d'une tapisserie. Tous les chiens
- de ses basses-cours composaient une meute dans le besoin ; ses
- palefreniers étaient ses piqueurs; le vicaire du village était
- son grand-aumônier. Ils l'appelaient tous monseigneur, et ils
- riaient quand il faisait des contes.
- }
- }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "staff-notation, fretted-strings"
-
- texidoc = "
-Use a markup text to replace the (TAB) clef glyph with a modern font.
-
-"
- doctitle = "Modern TAB text clef"
-}
-
-TAB = \markup {
- \raise #1.5
- \sans
- \bold
- \huge
- \override #'(baseline-skip . 2.5)
- \center-column {
- T
- A
- B
- }
-}
-
-\new TabStaff {
- \override Staff.Clef #'stencil = #(lambda (grob)
- ly:clef::print (grob-interpret-markup grob TAB))
- a
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms, text"
- texidoc = "Markups attached to a multi-measure rest will be
-centered above or below it. Long markups attached to multi-measure
-rests do not cause the measure to expand. To expand a multi-measure
-rest to fit the markup, use a spacer rest with an attached markup
-before the multi-measure rest.
-
-Note that the spacer rest causes a bar line to be inserted. Text attached
-to a spacer rest in this way is left-aligned to the position where
-the note would be placed in the measure, but if the measure length is
-determined by the length of the text, the text will appear to be
-centered."
- doctitle = "Multi-measure rest markup"
-}
-
-\relative c' {
- \compressFullBarRests
- \textLengthOn
- s1*0^\markup { [MAJOR GENERAL] }
- R1*19
- s1*0_\markup { \italic { Cue: ... it is yours } }
- s1*0^\markup { A }
- R1*30^\markup { [MABEL] }
- \textLengthOff
- c4^\markup { CHORUS } d f c
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "pitches, text"
- texidoc = "
-Internally, @code{\\ottava} sets the properties @code{ottavation}
-(for example, to @code{\"8va\"} or @code{\"8vb\"}) and
-@code{middleCPosition}. To override the text of the bracket, set
-@code{ottavation} after invoking @code{\\ottava}.
-"
- doctitle = "Ottava text"
-}
-
-{
- \ottava #1
- \set Staff.ottavation = #"8"
- c''1
- \ottava #0
- c'1
- \ottava #1
- \set Staff.ottavation = #"Text"
- c''1
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "text"
- texidoc = "
-By putting the output of @code{lilypond-version} into lyrics or a
-text markup, it is possible to print the version number of LilyPond in
-a score, or in a document generated with @code{lilypond-book}.
-"
- doctitle = "Outputting the version number"
-}
-
-\score {
- \new Lyrics {
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
- \mark #(ly:export (string-append "Processed with LilyPond version "
- (lilypond-version)))
- s2
- }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "spacing"
- texidoc = "Page labels may be placed inside music or at top-level,
-and referred to in markups."
- doctitle = "Page label"
-}
-
-#(set-default-paper-size "a6")
-
-#(define-markup-command (toc-line layout props label text)
- (symbol? markup?)
- (interpret-markup layout props
- (markup #:fill-line (text #:page-ref label "8" "?"))))
-
-\book {
- \markup \huge \fill-line { \null Title Page \null }
-
- \pageBreak
-
- \label #'toc
- \markup \column {
- \large \fill-line { \null Table of contents \null }
- \toc-line #'toc "Table of contents"
- \toc-line #'firstScore "First Score"
- \toc-line #'markA "Mark A"
- \toc-line #'markB "Mark B"
- \toc-line #'markC "Mark C"
- \toc-line #'unknown "Unknown label"
- }
-
- \pageBreak
-
- \label #'firstScore
- \score {
- \new Staff \relative c' {
- c2 c
- \mark \markup {
- A (page \concat { \page-ref #'markA "0" "?" ) }
- } \label #'markA
- c2 c
- \pageBreak
- \mark "B" \label #'markB
- d2 d
- d2 d
- \once \override Score.RehearsalMark #'break-visibility =
- #begin-of-line-invisible
- \mark "C" \label #'markC
- }
- \header { piece = "First score" }
- }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "repeats, tweaks-and-overrides"
- texidoc = "
-Percent repeat counters can be shown at regular intervals by setting
-the context property @code{repeatCountVisibility}.
-"
- doctitle = "Percent repeat count visibility"
-}
-
-\relative c'' {
- \set countPercentRepeats = ##t
- \set repeatCountVisibility = #(every-nth-repeat-count-visible 5)
- \repeat percent 10 { c1 } \break
- \set repeatCountVisibility = #(every-nth-repeat-count-visible 2)
- \repeat percent 6 { c1 d1 }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "expressive-marks,keyboards,template"
- texidoc = "
-Many piano scores have the dynamics centered between the two staves.
-This requires a bit of tweaking to implement, but since the template is
-right here, you don't have to do the tweaking yourself.
-"
- doctitle = "Piano template with centered dynamics"
-}
-
-global = {
- \key c \major
- \time 4/4
-}
-
-upper = \relative c'' {
- \clef treble
- a4 b c d
-}
-
-lower = \relative c {
- \clef bass
- a2 c
-}
-
-dynamics = {
- s2\fff\> s4 s\!\pp
-}
-
-pedal = {
- s2\sustainOn s\sustainOff
-}
-
-\score {
- \new PianoStaff = "PianoStaff_pf" <<
- \new Staff = "Staff_pfUpper" \upper
- \new Dynamics = "Dynamics_pf" \dynamics
- \new Staff = "Staff_pfLower" << \lower >>
- \new Dynamics = "pedal" \pedal
- >>
-
- \layout {
- % define Dynamics context
- \context {
- \type "Engraver_group"
- \name Dynamics
- \alias Voice
- \consists "Output_property_engraver"
- \consists "Piano_pedal_engraver"
- \consists "Script_engraver"
- \consists "New_dynamic_engraver"
- \consists "Dynamic_align_engraver"
- \consists "Text_engraver"
- \consists "Skip_event_swallow_translator"
- \consists "Axis_group_engraver"
-
- pedalSustainStrings = #'("Ped." "*Ped." "*")
- pedalUnaCordaStrings = #'("una corda" "" "tre corde")
- \override DynamicLineSpanner #'Y-offset = #0
- \override TextScript #'font-size = #2
- \override TextScript #'font-shape = #'italic
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
- }
- % modify PianoStaff context to accept Dynamics context
- \context {
- \PianoStaff
- \accepts Dynamics
- }
- }
-}
-
-\score {
- \new PianoStaff = "PianoStaff_pf" <<
- \new Staff = "Staff_pfUpper" << \global \upper \dynamics \pedal >>
- \new Staff = "Staff_pfLower" << \global \lower \dynamics \pedal >>
- >>
- \midi { }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "rhythms,tweaks-and-overrides"
- texidoc = "
-Unlike ordinary rests, there is no predefined command
-to change the staff position of a multi-measure
-rest symbol of either form by attaching it to a note. However,
-in polyphonic music multi-measure rests in odd-numbered and
-even-numbered voices are vertically separated. The positioning
-of multi-measure rests can be controlled as follows:
- "
- doctitle = "Positioning multi-measure rests"
-}
-
-\relative c'' {
- % Multi-measure rests by default are set under the second line
- R1
- % They can be moved with an override
- \override MultiMeasureRest #'staff-position = #-2
- R1
- % A value of 0 is the default position;
- % the following trick moves the rest to the center line
- \override MultiMeasureRest #'staff-position = #-0.01
- R1
- % Multi-measure rests in odd-numbered voices are under the top line
- << { R1 } \\ { a1 } >>
- % Multi-measure rests in even-numbered voices are under the bottom line
- << { c1 } \\ { R1 } >>
- % They remain separated even in empty measures
- << { R1 } \\ { R1 } >>
- % This brings them together even though there are two voices
- \compressFullBarRests
- <<
- \revert MultiMeasureRest #'staff-position
- { R1*3 }
- \\
- \revert MultiMeasureRest #'staff-position
- { R1*3 }
- >>
-}
+++ /dev/null
-\version "2.12.1"
-
-\header {
- lsrtags = "rhythms"
-
- texidoc = "
-By default, the first bar number in a score is suppressed if it is
-less than or equal to `1'. By setting @code{barNumberVisibility}
-to @code{all-bar-numbers-visible}, any bar number can be printed
-for the first measure and all subsequent measures. Note that an
-empty bar line must be inserted before the first note for this to
-work.
-
-"
- doctitle = "Printing the bar number for the first measure"
-}
-
-\relative c' {
- \set Score.barNumberVisibility = #all-bar-numbers-visible
- \bar ""
- c1 d e f \break
- g1 e d c
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "pitches,staff-notation"
- texidoc = "Quotations take into account the transposition of both
-source and target. In this example, all instruments play sounding
-middle C; the target is an instrument in F. The target part may be
-transposed using @code{\\transpose}. In this case, all the pitches
-(including the quoted ones) are transposed.
-"
- doctitle = "Quoting another voice with transposition"
-}
-
-\addQuote clarinet {
- \transposition bes
- \repeat unfold 8 { d'16 d' d'8 }
-}
-
-\addQuote sax {
- \transposition es'
- \repeat unfold 16 { a8 }
-}
-
-quoteTest = {
- % french horn
- \transposition f
- g'4
- << \quoteDuring #"clarinet" { \skip 4 } s4^"clar." >>
- << \quoteDuring #"sax" { \skip 4 } s4^"sax." >>
- g'4
-}
-
-{
- \set Staff.instrumentName =
- \markup {
- \center-column { Horn \line { in F } }
- }
- \quoteTest
- \transpose c' d' << \quoteTest s4_"up a tone" >>
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "staff-notation"
- texidoc = "The @code{quotedEventTypes} property determines the
-music event types that are quoted. The default value is
-@code{(note-event rest-event)}, which means that only notes and
-rests of the quoted voice appear in the @code{\\quoteDuring}
-expression. In the following example, a 16th rest is not quoted
-since @code{rest-event} is not in @code{quotedEventTypes}."
- doctitle = "Quoting another voice"
-}
-
-quoteMe = \relative c' {
- fis4 r16 a8.-> b4\ff c
-}
-\addQuote quoteMe \quoteMe
-
-original = \relative c'' {
- c8 d s2
- \once \override NoteColumn #'ignore-collision = ##t
- es8 gis8
-}
-
-<<
- \new Staff {
- \set Staff.instrumentName = #"quoteMe"
- \quoteMe
- }
- \new Staff {
- \set Staff.instrumentName = #"orig"
- \original
- }
- \new Staff \relative c'' <<
- \set Staff.instrumentName = #"orig+quote"
- \set Staff.quotedEventTypes =
- #'(note-event articulation-event)
- \original
- \new Voice {
- s4
- \set fontSize = #-4
- \override Stem #'length-fraction = #(magstep -4)
- \quoteDuring #"quoteMe" { \skip 2. }
- }
- >>
->>
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "expressive-marks"
- texidoc = "If the note which ends a hairpin falls on a downbeat,
-the hairpin stops at the bar line immediately preceding. This behavior
-can be controlled by overriding the @code{'to-barline} property.
-"
- doctitle = "Setting hairpin behavior at bar lines"
-}
-
-\relative c'' {
- e4\< e2.
- e1\!
- \override Hairpin #'to-barline = ##f
- e4\< e2.
- e1\!
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms"
- texidoc = "
-By specifying the context, the effect of @code{beatGrouping} can be
-limited to the context specified, and the values which may have
-been set in higher-level contexts can be overridden. The
-@code{\\set} commands must be placed @emph{after} all @code{\\time}
-commands:
-"
- doctitle = "Specifying context with beatGrouping"
-}
-
-\score {
- \new Staff <<
- \time 7/8
- \new Voice {
- \relative c'' {
- \set Staff.beatGrouping = #'(2 3 2)
- a8 a a a a a a
- }
- }
- \new Voice {
- \relative c' {
- \voiceTwo
- \set beatGrouping = #'(1 3 3)
- f8 f f f f f f
- }
- }
- >>
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "simultaneous-notes,tweaks-and-overrides"
- texidoc = "
-If notes from two voices with stems in the same direction are
-placed at the same position, and both voices have no shift or the
-same shift specified, the error message \"warning: ignoring too
-many clashing note columns\" will appear when compiling the
-LilyPond file. This message can be suppressed by setting the
-@code{'ignore-collision} property of the @code{NoteColumn} object
-to @code{#t}.
-"
- doctitle = "Suppressing warnings for clashing note columns"
-}
-
-ignore = \override NoteColumn #'ignore-collision = ##t
-
-\relative c' {
- <<
- \ignore
- { \stemDown f2 g }
- \\
- { c2 c, }
- >>
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "paper-and-layout"
- texidoc = "A table of contents is included using
-@w{@code{\\markuplines \\table-of-contents}}. The TOC items are
-added with the @code{\\tocItem} command."
- doctitle = "Table of contents"
-}
-
-#(set-default-paper-size "a6")
-
-\book {
- \markuplines \table-of-contents
- \pageBreak
- \tocItem \markup { The first score }
- \score {
- {
- c'1 \pageBreak
- \mark "A" \tocItem \markup { Mark A }
- d'1
- }
- }
- \pageBreak
- \tocItem \markup { The second score }
- \score {
- { e'1 }
- \header { piece = "Second score" }
- }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "staff-notation"
- texidoc = "
-'Tick' bar lines are often used in music where the bar line is used
-only for coordination and is not meant to imply any rhythmic stress.
-"
- doctitle = "Tick bar lines"
-}
-\relative c' {
- \set Score.defaultBarType = #"'"
- c4 d e f
- g4 f e d
- c4 d e f
- g4 f e d
- \bar "|."
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "pitches"
- texidoc = "This example uses some Scheme code to enforce enharmonic
-modifications for notes in order to have the minimum number of
-accidentals. In this case, the following rules apply:
-
-@itemize
-@item
-Double accidentals should be removed
-
-@item
-B sharp -> C
-
-@item
-E sharp -> F
-
-@item
-C flat -> B
-
-@item
-F flat -> E
-
-@end itemize
-
-In this manner, the most natural enharmonic notes are chosen.
-"
- doctitle = "Transposing music with minimum accidentals"
-}
-
-#(define (naturalize-pitch p)
- (let* ((o (ly:pitch-octave p))
- (a (* 4 (ly:pitch-alteration p)))
- ; alteration, a, in quarter tone steps,
- ; for historical reasons
- (n (ly:pitch-notename p)))
- (cond
- ((and (> a 1) (or (eq? n 6) (eq? n 2)))
- (set! a (- a 2))
- (set! n (+ n 1)))
- ((and (< a -1) (or (eq? n 0) (eq? n 3)))
- (set! a (+ a 2))
- (set! n (- n 1))))
- (cond
- ((> a 2) (set! a (- a 4)) (set! n (+ n 1)))
- ((< a -2) (set! a (+ a 4)) (set! n (- n 1))))
- (if (< n 0) (begin (set! o (- o 1)) (set! n (+ n 7))))
- (if (> n 6) (begin (set! o (+ o 1)) (set! n (- n 7))))
- (ly:make-pitch o n (/ a 4))))
-
-#(define (naturalize music)
- (let* ((es (ly:music-property music 'elements))
- (e (ly:music-property music 'element))
- (p (ly:music-property music 'pitch)))
- (if (pair? es)
- (ly:music-set-property!
- music 'elements
- (map (lambda (x) (naturalize x)) es)))
- (if (ly:music? e)
- (ly:music-set-property!
- music 'element
- (naturalize e)))
- (if (ly:pitch? p)
- (begin
- (set! p (naturalize-pitch p))
- (ly:music-set-property! music 'pitch p)))
- music))
-
-naturalizeMusic =
-#(define-music-function (parser location m)
- (ly:music?)
- (naturalize m))
-
-music = \relative c' { c4 d e g }
-
-\score {
- \new Staff {
- \transpose c ais { \music }
- \naturalizeMusic \transpose c ais { \music }
- \transpose c deses { \music }
- \naturalizeMusic \transpose c deses { \music }
- }
- \layout { }
-}
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "rhythms"
- texidoc = "
-The property @code{measureLength} determines where bar lines
-should be inserted and, with @code{beatLength} and
-@code{beatGrouping}, how automatic beams should be generated
-for beam durations and time signatures for which no beam-ending
-rules are defined. This example shows several ways of controlling
-beaming by setting these properties. The explanations are shown
-as comments in the code.
-"
- doctitle = "Using beatLength and beatGrouping"
-}
-
-\relative c'' {
- \time 3/4
- % The default in 3/4 time is to beam in three groups
- % each of a quarter note length
- a16 a a a a a a a a a a a
-
- \time 12/16
- % No auto-beaming is defined for 12/16
- a16 a a a a a a a a a a a
-
- \time 3/4
- % Change time signature symbol, but retain underlying 3/4 beaming
- \set Score.timeSignatureFraction = #'(12 . 16)
- a16 a a a a a a a a a a a
-
- % The 3/4 time default grouping of (1 1 1) and beatLength of 1/8
- % are not consistent with a measureLength of 3/4, so the beams
- % are grouped at beatLength intervals
- \set Score.beatLength = #(ly:make-moment 1 8)
- a16 a a a a a a a a a a a
-
- % Specify beams in groups of (3 3 2 3) 1/16th notes
- % 3+3+2+3=11, and 11*1/16<>3/4, so beatGrouping does not apply,
- % and beams are grouped at beatLength (1/16) intervals
- \set Score.beatLength = #(ly:make-moment 1 16)
- \set Score.beatGrouping = #'(3 3 2 3)
- a16 a a a a a a a a a a a
-
- % Specify beams in groups of (3 4 2 3) 1/16th notes
- % 3+4+2+3=12, and 12*1/16=3/4, so beatGrouping applies
- \set Score.beatLength = #(ly:make-moment 1 16)
- \set Score.beatGrouping = #'(3 4 2 3)
- a16 a a a a a a a a a a a
-}
-
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "tweaks-and-overrides"
- texidoc = "
-With the @code{\\tweak} command, every grob can be tuned directly. Here
-are some examples of available tweaks.
-"
- doctitle = "Using the @code{\\tweak} command to tweak individual grobs"
-}
-
-\relative c' {
- \time 2/4
- \set fingeringOrientations = #'(right)
- <
- \tweak #'font-size #3 c
- \tweak #'color #red d-\tweak #'font-size #8 -4
- \tweak #'style #'cross g
- \tweak #'duration-log #2 a
- >2
-}
+++ /dev/null
-\version "2.12.0"
-
-%% Edit this file using a Unicode aware editor, such as GVIM, GEDIT, Emacs
-
-%{
-
-You may have to install additional fonts.
-
-Red Hat Fedora
-
- taipeifonts fonts-xorg-truetype ttfonts-ja fonts-arabic \
- ttfonts-zh_CN fonts-ja fonts-hebrew
-
-Debian GNU/Linux
-
- apt-get install emacs-intl-fonts xfonts-intl-.* \
- ttf-kochi-gothic ttf-kochi-mincho \
- xfonts-bolkhov-75dpi xfonts-cronyx-100dpi xfonts-cronyx-75dpi
-%}
-
-\header {
- lsrtags = "text"
- texidoc = "Various scripts may be used for texts (like titles and
-lyrics) by entering them in UTF-8 encoding, and using a Pango based
-backend. Depending on the fonts installed, this fragment will
-render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese.
-"
- doctitle = "UTF-8"
-}
-
-% end verbatim - this comment is a hack to prevent texinfo.tex
-% from choking on non-European UTF-8 subsets
-% Cyrillic font
-bulgarian = \lyricmode {
- Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.
-}
-
-hebrew = \lyricmode {
- זה כיף סתם לשמוע איך תנצח קרפד עץ טוב בגן.
-}
-
-japanese = \lyricmode {
- いろはにほへど ちりぬるを
- わがよたれぞ つねならむ
- うゐのおくや まけふこえて
- あさきゆめみじ ゑひもせず
-}
-
-% "a legal song to you"
-portuguese = \lyricmode {
- à vo -- cê uma can -- ção legal
-}
-
-\relative c' {
- c2 d
- e2 f
- g2 f
- e1
-}
-\addlyrics { \bulgarian }
-\addlyrics { \hebrew }
-\addlyrics { \japanese }
-\addlyrics { \portuguese }
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "repeats,staff-notation,chords"
- texidoc = "By adding the @code{Volta_engraver} to the relevant
-staff, volte can be put under chords."
- doctitle = "Volta under chords"
-}
-
-\score {
- <<
- \chords {
- c1
- c1
- }
- \new Staff \with {
- \consists "Volta_engraver"
- }
- {
- \repeat volta 2 { c'1 }
- \alternative { c' }
- }
- >>
- \layout {
- \context {
- \Score
- \remove "Volta_engraver"
- }
- }
-}
+++ /dev/null
-\version "2.12.0"
-\header {
- lsrtags = "repeats,staff-notation"
- texidoc = "By adding the @code{Volta_engraver} to the relevant
-staff, volte can be put over staves other than the topmost
-one in a score."
- doctitle = "Volta multi-staff"
-}
-
-voltaMusic = \relative c'' {
- \repeat volta 2 {
- c1
- }
- \alternative {
- d1
- e
- }
-}
-
-<<
- \new StaffGroup <<
- \new Staff \voltaMusic
- \new Staff \voltaMusic
- >>
- \new StaffGroup <<
- \new Staff \with { \consists "Volta_engraver" }
- \voltaMusic
- \new Staff \voltaMusic
- >>
->>
+++ /dev/null
-\version "2.12.0"
-
-\header {
- lsrtags = "repeats"
- texidoc = "Though volte are best specified using
-@code{\\repeat volta}, the context property @code{repeatCommands}
-must be used in cases where the volta text needs more advanced
-formatting with @code{\\markup}.
-
-Since @code{repeatCommands} takes a list, the simplest method of
-including markup is to use an identifier for the text and embed
-it in the command list using the Scheme syntax
-@w{@code{#(list (list 'volta textIdentifier))}}. Start- and
-end-repeat commands can be added as separate list elements:"
-doctitle = "Volta text markup using @code{repeatCommands}"
-}
-
-voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
-
-\relative c'' {
- c1
- \set Score.repeatCommands = #(list (list 'volta voltaAdLib) 'start-repeat)
- c4 b d e
- \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
- f1
- \set Score.repeatCommands = #'((volta #f))
-}
--- /dev/null
+ texidoces = "
+La sintaxis de LilyPond puede implicar muchas colocaciones poco
+comunes para los paréntesis, corchetes, etc, que a veces se tienen
+que intercalar. Por ejemplo, al introducir una barra manual, el
+corchete izquierdo de apertura se debe escribir después de la nota
+inicial y de su duración, no antes. De forma similar, el corchete
+derecho de cierre debe seguir inmediatamente a la nota que se
+quiere situar al final del barrado, incluso si esta nota resulta
+estar dentro de un grupo de valoración especial. Este fragmento de
+código muestra cómo combinar el barrado manual, las ligaduras de
+expresión y de unión y las ligaduras de fraseo, con secciones de
+valoración especial (encerradas entre llaves).
+
+"
+ doctitlees = "Añadir barras, ligaduras de expresión y de unión, etc. cuando se usan ritmos con y sin grupos de valoración especial."
+++ /dev/null
- texidoces = "
-La sintaxis de LilyPond puede implicar muchas colocaciones poco
-comunes para los paréntesis, corchetes, etc, que a veces se tienen
-que intercalar. Por ejemplo, al introducir una barra manual, el
-corchete izquierdo de apertura se debe escribir después de la nota
-inicial y de su duración, no antes. De forma similar, el corchete
-derecho de cierre debe seguir inmediatamente a la nota que se
-quiere situar al final del barrado, incluso si esta nota resulta
-estar dentro de un grupo de valoración especial. Este fragmento de
-código muestra cómo combinar el barrado manual, las ligaduras de
-expresión y de unión y las ligaduras de fraseo, con secciones de
-valoración especial (encerradas entre llaves).
-
-"
- doctitlees = "Añadir barras, ligaduras de expresión y de unión, etc. cuando se usan ritmos con y sin grupos de valoración especial."
+++ /dev/null
- doctitlees = "Cambiar la forma de los silencios multicompás"
- texidoces = "
-Si hay diez compases de silencio o menos, se imprime en el pentagrama
-una serie de silencios de breve y longa (conocidos en alemán como
-\"Kirchenpausen\", «silencios eclesiásticos»); en caso contrario se
-muestra una barra normal. Este número predeterminado de diez se
-puede cambiar sobreescribiendo la propiedad @code{expand-limit}:
-
-"
-
-texidocde = "
-Wenn zehn oder weniger Pausentakte vorkommen, wird eine Reihe von Longa-
-und Brevispausen (auch Kirchenpausen genannt) gesetzt, bei mehr Takten
-wird eine Line mit der Taktanzahl ausgegeben. Der vorgegebene Wert von
-zehn kann geändert werden, indem man die @code{expand-limit}-Eigenschaft
-setzt:
-"
- doctitlede = "Die Erscheinung von Pausentakten ändern"
--- /dev/null
+ doctitlees = "Cambiar la forma de los silencios multicompás"
+ texidoces = "
+Si hay diez compases de silencio o menos, se imprime en el pentagrama
+una serie de silencios de breve y longa (conocidos en alemán como
+\"Kirchenpausen\", «silencios eclesiásticos»); en caso contrario se
+muestra una barra normal. Este número predeterminado de diez se
+puede cambiar sobreescribiendo la propiedad @code{expand-limit}:
+
+"
+
+texidocde = "
+Wenn zehn oder weniger Pausentakte vorkommen, wird eine Reihe von Longa-
+und Brevispausen (auch Kirchenpausen genannt) gesetzt, bei mehr Takten
+wird eine Line mit der Taktanzahl ausgegeben. Der vorgegebene Wert von
+zehn kann geändert werden, indem man die @code{expand-limit}-Eigenschaft
+setzt:
+"
+ doctitlede = "Die Erscheinung von Pausentakten ändern"
--- /dev/null
+ texidoces = "
+La propiedad @code{measureLength}, junto con
+@code{measurePosition}, determina cuándo es necesario dibujar una
+línea divisoria. Sin embargo, al utilizar
+@code{\\scaleDurations}, el escalado proporcional de las
+duraciones hace difícil introducir cambios de compás. En este
+caso se debe establecer manualmente el valor de
+@code{measureLength} utilizando la función @code{ly:make-moment}.
+El segundo argumento debe ser el mismo que el segundo argumento de
+@code{\\scaleDurations}.
+
+"
+ doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}"
+++ /dev/null
- texidoces = "
-La propiedad @code{measureLength}, junto con
-@code{measurePosition}, determina cuándo es necesario dibujar una
-línea divisoria. Sin embargo, al utilizar
-@code{\\scaleDurations}, el escalado proporcional de las
-duraciones hace difícil introducir cambios de compás. En este
-caso se debe establecer manualmente el valor de
-@code{measureLength} utilizando la función @code{ly:make-moment}.
-El segundo argumento debe ser el mismo que el segundo argumento de
-@code{\\scaleDurations}.
-
-"
- doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}"
+++ /dev/null
-texidoces = "
-Los elementos de marcado aplicados a un silencio multicompás se
-centran encima o debajo de éste. Los elementos de marcado extensos
-que se adjuntan a silencios multicompás no producen la expansión del
-compás. Para expandir un silencio multicompás de forma que quepa todo
-el marcado, utilice un silencio de separación con un marcado aplicado
-antes del silencio multicompás.
-
-Observe que el silencio separador produce la inserción de un compás.
-El texto aplicado a un siencio sparador de esta forma se alinea por la
-izquierda a la posición en que la nota estaría situada dentro del
-compás, pero si la longitud del compás está determinada por la
-longitud del texto, éste aparecerá centrado.
-
-"
-
-doctitlees = "Marcado de silencios multicompás"
\ No newline at end of file
--- /dev/null
+texidoces = "
+Los elementos de marcado aplicados a un silencio multicompás se
+centran encima o debajo de éste. Los elementos de marcado extensos
+que se adjuntan a silencios multicompás no producen la expansión del
+compás. Para expandir un silencio multicompás de forma que quepa todo
+el marcado, utilice un silencio de separación con un marcado aplicado
+antes del silencio multicompás.
+
+Observe que el silencio separador produce la inserción de un compás.
+El texto aplicado a un siencio sparador de esta forma se alinea por la
+izquierda a la posición en que la nota estaría situada dentro del
+compás, pero si la longitud del compás está determinada por la
+longitud del texto, éste aparecerá centrado.
+
+"
+
+doctitlees = "Marcado de silencios multicompás"
\ No newline at end of file
+++ /dev/null
- doctitlees = "Posicionar los silencios multicompás"
- texidoces = "
-A diferencia de los silencios normales, no existe una instrucción
-predefinida para modificar la posición predefinida de un símbolo
-multicompás sobre el pentagrama, adjuntándolo a una nota,
-independientemente de cuál sea su forma. Sin embargo, en la música
-polifónica los silencios multicompás de las voces de numeración par e
-impar están separados verticalmente. La colocación de los silencios
-multicompás se puede controlar como se ve a continuación:
-
-"
-
-texidocde = "
-Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
-vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
-eine Tonhöhe anhängt. In polyphoner Notation wird aber dennoch die
-Position der Pausen von geraden und ungeraden Stimmen voneinander
-unterschieden. Die Position von Ganztaktpausen kann wie folgt verändert
-werden:
- "
- doctitlede = "Positionierung von Ganztaktpausen"
--- /dev/null
+ doctitlees = "Posicionar los silencios multicompás"
+ texidoces = "
+A diferencia de los silencios normales, no existe una instrucción
+predefinida para modificar la posición predefinida de un símbolo
+multicompás sobre el pentagrama, adjuntándolo a una nota,
+independientemente de cuál sea su forma. Sin embargo, en la música
+polifónica los silencios multicompás de las voces de numeración par e
+impar están separados verticalmente. La colocación de los silencios
+multicompás se puede controlar como se ve a continuación:
+
+"
+
+texidocde = "
+Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
+vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
+eine Tonhöhe anhängt. In polyphoner Notation wird aber dennoch die
+Position der Pausen von geraden und ungeraden Stimmen voneinander
+unterschieden. Die Position von Ganztaktpausen kann wie folgt verändert
+werden:
+ "
+ doctitlede = "Positionierung von Ganztaktpausen"