]> git.donarmstrong.com Git - lilypond.git/commitdiff
Update LSR
authorJohn Mandereau <john.mandereau@gmail.com>
Sun, 23 Mar 2008 14:52:20 +0000 (15:52 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Sun, 23 Mar 2008 14:52:20 +0000 (15:52 +0100)
61 files changed:
input/lsr/adding-ambiti-per-voice.ly
input/lsr/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
input/lsr/adding-drum-parts.ly
input/lsr/adding-fingerings-to-a-score-using-markup-objects.ly [new file with mode: 0644]
input/lsr/adding-fingerings-to-a-score.ly [new file with mode: 0644]
input/lsr/adding-fingerings-to-chords.ly [new file with mode: 0644]
input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly [new file with mode: 0644]
input/lsr/adding-parentheses-around-an-expressive-mark.ly [deleted file]
input/lsr/adding-volta-brackets-to-additional-staves.ly [new file with mode: 0644]
input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly [new file with mode: 0644]
input/lsr/anaylsis-brackets.ly [new file with mode: 0644]
input/lsr/applying-notehead-styles-depending-on-the-step-of-the-scale.ly
input/lsr/blanking-staff-lines-using-the--whiteout-command.ly
input/lsr/breathing-sign.ly
input/lsr/broken-crescendo-hairpin.ly
input/lsr/changing-form-of-multi--measure-rests.ly [new file with mode: 0644]
input/lsr/changing-the-size-of-layout-objects.ly [new file with mode: 0644]
input/lsr/changing-the-size-of-note-heads.ly [new file with mode: 0644]
input/lsr/changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
input/lsr/chant-or-psalms-notation.ly
input/lsr/chords.snippet-list
input/lsr/coloring-elements-of-notation.ly [new file with mode: 0644]
input/lsr/contexts-and-engravers.snippet-list
input/lsr/controlling-the-placement-of-chord-fingerings.ly [new file with mode: 0644]
input/lsr/controlling-tuplet-bracket-visibility.ly
input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly
input/lsr/creating-real-parenthesized-dynamics.ly
input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.ly [new file with mode: 0644]
input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
input/lsr/editorial-and-educational-use.snippet-list
input/lsr/expressive-marks.snippet-list
input/lsr/grid-lines;-adding-vertical-lines-between-staves.ly [new file with mode: 0644]
input/lsr/grid-lines;-changing-their-appearance.ly [new file with mode: 0644]
input/lsr/grid-lines;-emphasizing-rhythms-and-notes-synchronization.ly [new file with mode: 0644]
input/lsr/hiding-notes.ly [new file with mode: 0644]
input/lsr/how-to-add-thumb-fingerings.ly [new file with mode: 0644]
input/lsr/manually-controlling-beam-positions.ly
input/lsr/ottava-text.ly
input/lsr/piano-music.snippet-list
input/lsr/pitches.snippet-list
input/lsr/positioning-multi--measure-rests.ly [new file with mode: 0644]
input/lsr/preventing-extra-naturals-from-being-automatically-added.ly
input/lsr/printing-music-with-different-time-signatures.ly
input/lsr/putting-parentheses-around-a-single-note.ly [new file with mode: 0644]
input/lsr/putting-parentheses-around-non-note-objects.ly [new file with mode: 0644]
input/lsr/repeats.snippet-list
input/lsr/rest-styles.ly
input/lsr/rgb-colors.ly [new file with mode: 0644]
input/lsr/rhythmic-slashes.ly
input/lsr/rhythms.snippet-list
input/lsr/shortening-volta-brackets.ly [new file with mode: 0644]
input/lsr/skips-in-lyric-mode-2.ly
input/lsr/skips-in-lyric-mode.ly
input/lsr/spacing.snippet-list
input/lsr/square-balloons.ly [new file with mode: 0644]
input/lsr/staff-notation.snippet-list
input/lsr/strings.snippet-list
input/lsr/template.snippet-list
input/lsr/text.snippet-list
input/lsr/tweaks-and-overrides.snippet-list
input/lsr/vocal-music.snippet-list

index 7f896f243e4f11f22e5edb6da7893e1ddbadda09..b4d3e34c11116f5acbdfdeddbfb4b0739efee7ba 100644 (file)
@@ -21,6 +21,6 @@ manually to prevent collisions.
     \consists "Ambitus_engraver"
   } \relative c' {
     \voiceTwo
-       es4 f g as b1
+    es4 f g as b1
   }
 >>
index d7b5bcf838567b94888d651c7c4ae8583e20d478..899d2503f5583fe6b9d9b7a2e0111610b1df5f48 100644 (file)
@@ -12,13 +12,13 @@ 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 with curly braces). 
+manual beaming, manual slurs, ties and phrasing slurs with tuplet
+sections (enclosed within curly braces). 
 " }
 % 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'~]}
-  \times 4/5 {e'32\( a b d' e'} a'4.\)
+  r16[ g16 \times 2/3 { r16 e'8] }
+  g16( a \times 2/3 { b d e') }
+  g8[( a \times 2/3 { b d') e']~ }
+  \times 4/5 { e'32\( a b d' e' } a'4.\)
 }
index 2e43f205b2ccb6b90b2ea8fda3db8d2a74a7e6ec..42b4a221227d435effcbc7a1390e3f042e332809 100644 (file)
@@ -12,12 +12,12 @@ clef symbol) and have noteheads according to the drum. You can easily
 attach an extra symbol to the drum, and restrict the number of lines. 
 " }
 % begin verbatim
-drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
-drl = \drummode {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
-timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb} }
+drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh \repeat unfold 5 { hhc8 hho hhc8 hh16 hh } hhc4 r4 r2 }
+drl = \drummode { \repeat unfold 3 { bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
+timb = \drummode { \repeat unfold 2 { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb } }
 
 \score {
-  \repeat "volta" 2 {
+  \repeat volta 2 {
     <<
       \new DrumStaff \with {
        drumStyleTable = #timbales-style
@@ -29,8 +29,8 @@ timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r
       >>
       \new DrumStaff <<
        \set Staff.instrumentName = "drums"
-       \new DrumVoice {\stemUp \drh }
-       \new DrumVoice {\stemDown \drl }
+       \new DrumVoice { \stemUp \drh }
+       \new DrumVoice { \stemDown \drl }
       >>
     >>
   }
@@ -39,7 +39,6 @@ timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r
     \context {
       \Score
       tempoWholesPerMinute = #(ly:make-moment 120 4)
-      }
     }
+  }
 }
-
diff --git a/input/lsr/adding-fingerings-to-a-score-using-markup-objects.ly b/input/lsr/adding-fingerings-to-a-score-using-markup-objects.ly
new file mode 100644 (file)
index 0000000..c0137ff
--- /dev/null
@@ -0,0 +1,15 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Fingerings can be entered as markup objects, for example to specify
+fingering changes on a single note.
+" }
+% begin verbatim
+\relative c'' {
+  c4-1 d-2 f-4
+  c^\markup { \finger "2 - 3" }
+}
diff --git a/input/lsr/adding-fingerings-to-a-score.ly b/input/lsr/adding-fingerings-to-a-score.ly
new file mode 100644 (file)
index 0000000..27fbc6f
--- /dev/null
@@ -0,0 +1,13 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Fingering instructions can be entered using a simple syntax.
+" }
+% begin verbatim
+\relative c'' {
+  c4-1 d-2 f-4 e-3
+}
diff --git a/input/lsr/adding-fingerings-to-chords.ly b/input/lsr/adding-fingerings-to-chords.ly
new file mode 100644 (file)
index 0000000..a30a2d1
--- /dev/null
@@ -0,0 +1,15 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use, chords, piano-music"
+ texidoc = "
+Fingerings for chords can be obtained by adding them to individual
+pitches.
+" }
+% begin verbatim
+\relative c'{
+  < c-1 e-2 g-3 b-5 >2
+  < d-1 f-2 a-3 c-5 >
+}
diff --git a/input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly b/input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly
new file mode 100644 (file)
index 0000000..0e699be
--- /dev/null
@@ -0,0 +1,19 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "expressive-marks"
+ texidoc = "
+The @code{\\parenthesize} function is a special tweak that encloses
+objects in parentheses. The associated grob is
+@code{Score.ParenthesesItem}. 
+" }
+% begin verbatim
+\relative {
+  c2-\parenthesize ->
+  \override ParenthesesItem #'padding = #0.1
+  \override ParenthesesItem #'font-size = #-4
+  <d \parenthesize fis a> 
+}
+
diff --git a/input/lsr/adding-parentheses-around-an-expressive-mark.ly b/input/lsr/adding-parentheses-around-an-expressive-mark.ly
deleted file mode 100644 (file)
index 7341d4f..0000000
+++ /dev/null
@@ -1,17 +0,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.11.38"
-
-\header {
-  lsrtags = "expressive-marks"
- texidoc = "
-The parenthesize function is a special tweak that encloses objects in
-parentheses. The associated grob is Score.ParenthesesItem.
-" }
-% begin verbatim
-\relative {
-  c4 -\parenthesize -.
-  \override ParenthesesItem #'padding = #0.1
-  <d \parenthesize fis a> 
-}
-
diff --git a/input/lsr/adding-volta-brackets-to-additional-staves.ly b/input/lsr/adding-volta-brackets-to-additional-staves.ly
new file mode 100644 (file)
index 0000000..b4567d8
--- /dev/null
@@ -0,0 +1,20 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "repeats"
+ texidoc = "
+The @code{Volta_engraver} by default resides in the Score context, and
+brackets for the repeat are thus normally only printed over the topmost
+staff.  This can be adjusted by adding @code{Volta_engraver} to the
+Staff context where you want the brackets to appear; see also the
+\"Volta multi staff\" snippet.
+" }
+% begin verbatim
+<<
+  \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
+  \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
+  \new Staff \with { \consists Volta_engraver } { c'2 g' e' a' }
+  \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
+ >>
diff --git a/input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly b/input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly
new file mode 100644 (file)
index 0000000..5e91f03
--- /dev/null
@@ -0,0 +1,16 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use, spacing"
+ texidoc = "
+By default, fingering numbers will be printed outside the staff.
+However, this behavior can be cancelled.
+" }
+% begin verbatim
+\relative c' {
+  <c-1 e-2 g-3 b-5>2
+  \once \override Fingering  #'staff-padding = #'()
+  <c-1 e-2 g-3 b-5>
+}
diff --git a/input/lsr/anaylsis-brackets.ly b/input/lsr/anaylsis-brackets.ly
new file mode 100644 (file)
index 0000000..177a005
--- /dev/null
@@ -0,0 +1,25 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Brackets can be used in musical analysis to indicate the structure of
+the pieces. As demonstrated in the second measure, such analysis
+brackets can be nested. 
+" }
+% begin verbatim
+\layout {
+ \context {
+   \Staff \consists "Horizontal_bracket_engraver"
+ }
+}
+\relative c'' {
+ c2\startGroup
+ d\stopGroup
+ c4\startGroup\startGroup
+ d4\stopGroup
+ e4\startGroup
+ d4\stopGroup\stopGroup
+}
index b43eedbbd97fef5e779e9448cd1f3501f4198542..2691f1e9359cf00e0433fa4d1b0392fcdab2d6f1 100644 (file)
@@ -5,18 +5,19 @@
 \header {
   lsrtags = "pitches, editorial-and-educational-use"
  texidoc = "
-The shapeNoteStyles property gives you the ability to define various
-notehead styles for each step of the scale (as defined by the key
-signature or the \"tonic\" property). This property requires a set of
-symbols, which can be purely arbitrary (geometrical expressions such as
-triangle, cross, xcircle etc. are allowed) or based on old American
-engraving tradition (you can use some latin note names as well). That
-said, if you're trying to imitate old American song books, you may also
-want to try LilyPond's predefined notehead styles, through shortcut
-commands such as \\aikenHeads or \\sacredHarpHeads. This example shows
-different ways to obtain shape noteheads, and demonstrates the ability
-to transpose a melody without losing the correspondence between
-harmonic functions and notehead styles. 
+The @code{shapeNoteStyles} property gives you the ability to define
+various notehead styles for each step of the scale (as defined by the
+key signature or the \"tonic\" property). This property requires a set
+of symbols, which can be purely arbitrary (geometrical expressions such
+as @code{triangle}, @code{cross}, @code{xcircle} etc. are allowed) or
+based on old American engraving tradition (you can use some latin note
+names as well). That said, if you're trying to imitate old American
+song books, you may also want to try LilyPond's predefined notehead
+styles, through shortcut commands such as @code{\\aikenHeads} or
+@code{\\sacredHarpHeads}. This example shows different ways to obtain
+shape noteheads, and demonstrates the ability to transpose a melody
+without losing the correspondence between harmonic functions and
+notehead styles. 
 " }
 % begin verbatim
 fragment = {
index 02b1350a4368afbe89e32689b32d964dbd841a33..5161cd6a5b4c5456a5f40563cc5052c43fc6b15a 100644 (file)
@@ -5,9 +5,9 @@
 \header {
   lsrtags = "editorial-and-educational-use, text"
  texidoc = "
-The \\whiteout command underlays a white box under a markup. Since
-staff lines are in a lower layer than most other grobs, this white box
-will not overlap any other grob.
+The @code{\\whiteout} command underlays a white box under a markup.
+Since staff lines are in a lower layer than most other grobs, this
+white box will not overlap any other grob. 
 " }
 % begin verbatim
 {
index f8d87e3870cc78ee7c93fb8fe96027fe07516035..07846dce7695fe08e1908bcc8066bab8b4477d40 100644 (file)
@@ -6,7 +6,7 @@
   lsrtags = "expressive-marks"
  texidoc = "
 Breathing signs are available in different tastes: commas (default),
-ticks, vees and `railroad tracks' (caesura).
+ticks, vees and \"railroad tracks\" (caesura).
 " }
 % begin verbatim
 {
index eebe31d36fc6eebe5c5c73d231a5efa780293995..373bc05069b5a6c2d6c219dcd79bf71272b70a00 100644 (file)
@@ -21,7 +21,7 @@ Make sure to put the Hairpin in a lower layer than the Text Markup to
 actually draw the rectangle above the hairpin. 
 " }
 % begin verbatim
-% Version specific to 2.10; fails under 2.11 -np
+% Version specific to 2.10; fails under 2.11 due to rest position -np
 
 \score
 {
diff --git a/input/lsr/changing-form-of-multi--measure-rests.ly b/input/lsr/changing-form-of-multi--measure-rests.ly
new file mode 100644 (file)
index 0000000..bf9a0eb
--- /dev/null
@@ -0,0 +1,22 @@
+%% Do not edit this file; it is auto-generated from input/new
+%% This file is in the public domain.
+\version "2.11.42"
+\layout { ragged-right= ##t }
+\header {
+  doctitle = "Changing form of multi-measure rests"
+  lsrtags = "rhythms,tweaks-and-overrides"
+  texidoc = "
+If there are 10 or fewer measures of rest, LilyPond prints
+a series of longa and breve rests (called in German
+Kirchenpausen - church rests) within the staff and
+prints a simple line otherwise.  This default number of 10
+may be changed by an override:
+"}
+% begin verbatim
+\relative c'' {
+\compressFullBarRests
+R1*2 | R1*5 | R1*9
+\override MultiMeasureRest #'expand-limit = 3
+R1*2 | R1*5 | R1*9
+}
+
diff --git a/input/lsr/changing-the-size-of-layout-objects.ly b/input/lsr/changing-the-size-of-layout-objects.ly
new file mode 100644 (file)
index 0000000..3fca937
--- /dev/null
@@ -0,0 +1,19 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use, tweaks-and-overrides"
+ texidoc = "
+The @code{font-size} property can be set directly, so that only certain
+layout objects are affected.
+" }
+% begin verbatim
+\relative c'' {
+  \set fontSize = #3
+  c4.-> d8---3
+  \override NoteHead #'font-size = #-4
+  c4.-> d8---3
+  \override Script #'font-size = #3
+  c4.-> d8---3
+}
diff --git a/input/lsr/changing-the-size-of-note-heads.ly b/input/lsr/changing-the-size-of-note-heads.ly
new file mode 100644 (file)
index 0000000..62e27e0
--- /dev/null
@@ -0,0 +1,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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+It is possible to change the fontsize of noteheads.
+" }
+% begin verbatim
+\relative c'' {
+%  \huge
+  c4.-> d8---3
+%  \large
+  c4.-> d8---3
+%  \normalsize
+  c4.-> d8---3
+%  \small
+  c4.-> d8---3
+%  \tiny
+  c4.-> d8---3
+%  \normalsize
+  c2
+}
index bfbd90f128af11a0ca1c21fb7bdaede7641e840f..da81799a09645ee67664fc06761d1b6f2cfc148d 100644 (file)
@@ -15,31 +15,32 @@ as the second argument of @code{\\compressMusic}.
 " }
 % begin verbatim
 \layout {
- \context { \Score
+  \context {
+    \Score
     \remove "Timing_translator"
     \remove "Default_bar_line_engraver"
- }
- \context {
-   \Staff
-   \consists "Timing_translator"
-   \consists "Default_bar_line_engraver"
- }
 }
 \context {
+    \Staff
+    \consists "Timing_translator"
+    \consists "Default_bar_line_engraver"
 }
 }
 
 <<
- \new Staff {
-   \compressMusic #'(8 . 5) {
-     \time 6/8
-     \set Timing.measureLength = #(ly:make-moment 3 5)
-     b8 b b b b b
-     \time 2/4
-     \set Timing.measureLength = #(ly:make-moment 2 5)
-     b4 b
-     }
-   }
- \new Staff {
-   \clef bass
-   \time 2/4
-   c2 d e f }   
- >>
-
 \new Staff {
+    \compressMusic #'(8 . 5) {
+      \time 6/8
+      \set Timing.measureLength = #(ly:make-moment 3 5)
+      b8 b b b b b
+      \time 2/4
+      \set Timing.measureLength = #(ly:make-moment 2 5)
+      b4 b
+    }
+  }
 \new Staff {
+    \clef bass
+    \time 2/4
+    c2 d e f
+  }
+>>
index 3e9fe60b52deffcf4244b8beea6065a4fc818990..d1abd7876b36f4774730743fe2214cbb84e72495 100644 (file)
@@ -13,15 +13,15 @@ stemOn = { \override Staff.Stem #'transparent = ##f }
 stemOff = { \override Staff.Stem #'transparent = ##t }
 
 \score {
-       \new Staff \with { \remove "Time_signature_engraver" }
-       {
-               \key g \minor
-               \set Score.timing = ##f
-               \stemOff a'\breve bes'4 g'4
-               \stemOn a'2 \bar "||"
-               \stemOff a'\breve g'4 a'4
-               \stemOn f'2 \bar "||"
-               \stemOff a'\breve^\markup { \italic flexe }
-               \stemOn g'2 \bar "||"
-       }
+  \new Staff \with { \remove "Time_signature_engraver" }
+  {
+    \key g \minor
+    \set Score.timing = ##f
+    \stemOff a'\breve bes'4 g'4
+    \stemOn a'2 \bar "||"
+    \stemOff a'\breve g'4 a'4
+    \stemOn f'2 \bar "||"
+    \stemOff a'\breve^\markup { \italic flexe }
+    \stemOn g'2 \bar "||"
+  }
 }
index 360aab0085784d4d27fb8c46b74756aa656cf870..be81952a4e52a9bf26fc665d8a339af94671a1eb 100644 (file)
@@ -1,6 +1,8 @@
+adding-fingerings-to-chords.ly
 changing-the-chord-names-to-german-or-semi-german-notation.ly
 adding-a-figured-bass-above-or-below-the-notes.ly
 single-staff-template-with-notes-and-chords.ly
+controlling-the-placement-of-chord-fingerings.ly
 clusters.ly
 single-staff-template-with-notes,-lyrics,-and-chords.ly
 chord-name-exceptions.ly
diff --git a/input/lsr/coloring-elements-of-notation.ly b/input/lsr/coloring-elements-of-notation.ly
new file mode 100644 (file)
index 0000000..93dccdc
--- /dev/null
@@ -0,0 +1,19 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Individual objects may be assigned colors.  Several pre-defined colors
+are available; they are exhaustively listed in the Notation Reference.
+" }
+% begin verbatim
+\relative c'' {
+  \override NoteHead #'color = #red
+  c4 c
+  \override NoteHead #'color = #(x11-color 'LimeGreen)
+  d
+  \override Stem #'color = #blue
+  e
+}
index 0205e5c88f399615378e065388e1316ac9ec551d..abd1093a8168d188dcb47ffeefa12dc356bd61b9 100644 (file)
@@ -1,9 +1,10 @@
 creating-blank-staves.ly
 chant-or-psalms-notation.ly
-adding-and-extra-staff-at-a-line-break.ly
+adding-a-figured-bass-above-or-below-the-notes.ly
+square-balloons.ly
 adding-an-extra-staff.ly
 vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
 changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
 engravers-one-by-one.ly
-adding-a-figured-bass-above-or-below-the-notes.ly
+adding-and-extra-staff-at-a-line-break.ly
 nesting-staves.ly
diff --git a/input/lsr/controlling-the-placement-of-chord-fingerings.ly b/input/lsr/controlling-the-placement-of-chord-fingerings.ly
new file mode 100644 (file)
index 0000000..ae8917c
--- /dev/null
@@ -0,0 +1,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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use, chords, piano-music"
+ texidoc = "
+The placement of fingering numbers can be controlled precisely.
+" }
+% begin verbatim
+\relative c'{
+  \set fingeringOrientations = #'(left)
+  <c-1 e-3 a-5 > 4
+  \set fingeringOrientations = #'(down)
+  <c-1 e-3 a-5 >
+  \set fingeringOrientations = #'(right)
+  <c-1 e-3 a-5 >
+  \set fingeringOrientations = #'(up)
+  <c-1 e-3 a-5 >
+  \set fingeringOrientations = #'(left down)
+  <c-1 e-3 a-5 > 2
+  \set fingeringOrientations = #'(up right down)
+  <c-1 e-3 a-5 >
+}
index c1d37bea8d47f47d0d84bc2f7768aefea389ae1f..54853bdb5eca621059c31136273378419aca0381 100644 (file)
@@ -14,14 +14,14 @@ print a bracket), @code{##f} (never print a bracket) or
 " }
 % begin verbatim
 mus = \relative c'' {
-  \times 2/3 {c16 [ d e } f8]
-  \times 2/3 {c8 d e }
+  \times 2/3 { c16[ d e } f8]
+  \times 2/3 { c8 d e }
   \times 2/3 { c4 d e }
 }
 
 \new Voice \relative c'{
   << \mus s4^"default" >>
-   \override TupletBracket #'bracket-visibility = #'if-no-beam
+  \override TupletBracket #'bracket-visibility = #'if-no-beam
   << \mus s4^"'if-no-beam" >>
   \override TupletBracket #'bracket-visibility = ##t
   << \mus s4^"#t" >>
index 09670d32344a139a336354c70ac1b16fead2eb57..726cf8422aa10fe9dfebeaae5618f5fc55662455 100644 (file)
@@ -52,12 +52,10 @@ rhythm = #(define-music-function (parser location note) (ly:music?)
           ))))
 
 \score {
-   \new Staff {
-       \time 5/4
-
-       \rhythm c'
-       \rhythm c''
-       \rhythm g
-   }
+  \new Staff {
+    \time 5/4
+    \rhythm c'
+    \rhythm c''
+    \rhythm g
+  }
 }
-
index 87a0b64fd5258d651c6c19b4e65e7e079373a160..6406707e90e17a36f4b3c794b907625eb436ecea 100644 (file)
@@ -5,26 +5,27 @@
 \header {
   lsrtags = "expressive-marks, text"
  texidoc = "
-Although the easiest way to add parenthesis to a dynamic mark is to use
-a \\markup block, this method has a downside: the created objects will
-behave like text markups, and not like dynamics.
+Although the easiest way to add parentheses to a dynamic mark is to use
+a @code{\\markup} block, this method has a downside: the created
+objects will behave like text markups, and not like dynamics.
 
 However, it is possible to create a similar object using the equivalent
 Scheme code (as described in \"Markup programmer interface\"), combined
-with the make-dynamic-script function. This way, the markup will be
-regarded as a dynamic, and therefore will remain compatible with
-commands such as \\dynamicUp or \\dynamicDown.
+with the @code{make-dynamic-script} function. This way, the markup will
+be regarded as a dynamic, and therefore will remain compatible with
+commands such as @code{\\dynamicUp} or @code{\\dynamicDown}.
 
 
 " }
 % 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 ")" )))
+parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic
+           #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text #:italic
+           #:fontsize 2 ")"
+          )))
 
-\score
-{
-       { c''\parenF c'' c'' \dynamicUp c''\parenF }
+\score {
+  { c''\parenF c'' c'' \dynamicUp c''\parenF }
 }
+
diff --git a/input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.ly b/input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.ly
new file mode 100644 (file)
index 0000000..2a88993
--- /dev/null
@@ -0,0 +1,18 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+The direction of stems on the center line of the staff can be changed,
+as demonstrated in this example. 
+" }
+% begin verbatim
+\relative c'' {
+  a b c b
+  \override Stem #'neutral-direction = #up
+  a b c b
+  \override Stem #'neutral-direction = #down
+  a b c b
+}
index 89a58b9b36f05ac33a1b43916e0205ad5f4e0554..e26193bc03d5ebab4555434f5b89201ff727fc3f 100644 (file)
@@ -5,8 +5,8 @@
 \header {
   lsrtags = "pitches"
  texidoc = "
-In early XXth century works, starting with Schönberg, Berg and Webern
-(the \"second\" Viennese school), every pitch in the twelve-tone scale
+In early 20th century works, starting with Schönberg, 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
@@ -15,16 +15,13 @@ achieve such notation rules with LilyPond.
 " }
 % begin verbatim
 webernAccidentals = {
-    % the 5s are just "a value different from any accidental"
-    \set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5)
-                                 (4 . 5) (5 . 5) (6 . 5))
-    \set Staff.extraNatural = ##f
-    #(set-accidental-style 'forget)
+  % the 5s are just "a value different from any accidental"
+  \set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5)
+                               (4 . 5) (5 . 5) (6 . 5))
+  \set Staff.extraNatural = ##f
+  #(set-accidental-style 'forget)
 }
 
-\layout {
-  \context { \Staff \remove "Key_engraver" }
-}
 \score {
   {
     \webernAccidentals
@@ -32,4 +29,7 @@ webernAccidentals = {
     c' dis' cis' cis'
     c' c' dis' des'
   }
+  \layout {
+    \context { \Staff \remove "Key_engraver" }
+  }
 }
index 05f5d94acebfea5222c50eb3ce1b421c563259e4..6b73eaba9ce26c059c6918509d8a57df32cc88d3 100644 (file)
@@ -1,10 +1,29 @@
-creating-blank-staves.ly
-forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
+adding-fingerings-to-chords.ly
 changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
-coloring-objects.ly
+putting-parentheses-around-a-single-note.ly
 changing-the-default-text-font-family.ly
-changing-a-single-notes-size-in-a-chord.ly
-three-sided-box.ly
+changing-the-size-of-note-heads.ly
+grid-lines;-adding-vertical-lines-between-staves.ly
+creating-blank-staves.ly
+grid-lines;-changing-their-appearance.ly
+coloring-objects.ly
+allowing-fingerings-to-be-printed-inside-the-staff.ly
+default-direction-of-stems-on-the-center-line-of-the-staff.ly
 clefs-commonly-tweaked-properties.ly
 blanking-staff-lines-using-the--whiteout-command.ly
+forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
+changing-the-size-of-layout-objects.ly
+adding-fingerings-to-a-score-using-markup-objects.ly
+controlling-the-placement-of-chord-fingerings.ly
+rgb-colors.ly
 applying-notehead-styles-depending-on-the-step-of-the-scale.ly
+adding-fingerings-to-a-score.ly
+anaylsis-brackets.ly
+how-to-add-thumb-fingerings.ly
+square-balloons.ly
+changing-a-single-notes-size-in-a-chord.ly
+putting-parentheses-around-non-note-objects.ly
+three-sided-box.ly
+hiding-notes.ly
+grid-lines;-emphasizing-rhythms-and-notes-synchronization.ly
+coloring-elements-of-notation.ly
index 14cfe8f7ef814f7fa4e451e5075922fcade1c1cc..31278914d3c5e22352b20619ab7773b872f7cbb9 100644 (file)
@@ -1,13 +1,14 @@
 combining-dynamics-with-markup-texts.ly
 creating-text-spanners.ly
-adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
+breathing-sign.ly
 changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
 caesura-railtracks-with-fermata.ly
-breathing-sign.ly
+adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
 creating-real-parenthesized-dynamics.ly
+putting-parentheses-around-non-note-objects.ly
 center-text-below-hairpin-dynamics.ly
 contemporary-glissando.ly
-adding-parentheses-around-an-expressive-mark.ly
+adding-parentheses-around-an-expressive-mark-or-chordal-note.ly
 line-arrows.ly
 changing--flageolet-mark-size.ly
 piano-template-with-centered-dynamics.ly
diff --git a/input/lsr/grid-lines;-adding-vertical-lines-between-staves.ly b/input/lsr/grid-lines;-adding-vertical-lines-between-staves.ly
new file mode 100644 (file)
index 0000000..2540365
--- /dev/null
@@ -0,0 +1,42 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Vertical lines can be drawn between staves synchronized with the notes.
+" }
+% begin verbatim
+\layout {
+ \context {
+   \Staff
+   \consists "Grid_point_engraver"
+   % sets up grids
+   gridInterval = #(ly:make-moment 1 4)
+   % this sets the grid interval to 1 quarternote (crotchet)
+ }
+}
+
+\new Score \with {
+ \consists "Grid_line_span_engraver"
+ %% by default this centers grid lines horizontally below and to the
+ % left side of the notehead, the grid lines extend from
+ % the middle lines of each staff
+}
+
+\new ChoirStaff <<
+ \new Staff {
+   \relative c'' {
+     \stemUp
+     c4. d8 e8 f g4
+   }
+ }
+ \new Staff {
+   \clef bass
+   \relative c {
+     \stemDown
+     c4  g'  f  e
+   }
+ }
+>>
diff --git a/input/lsr/grid-lines;-changing-their-appearance.ly b/input/lsr/grid-lines;-changing-their-appearance.ly
new file mode 100644 (file)
index 0000000..4bfc039
--- /dev/null
@@ -0,0 +1,51 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Grid lines can look differently, by modifying some of their properties
+using the @code{\\override} command.
+" }
+% begin verbatim
+\layout {
+ \context {
+   \Staff
+   \consists "Grid_point_engraver"
+   % sets up grids
+   gridInterval = #(ly:make-moment 1 4)
+   % this sets the grid interval to 1 quarternote (crotchet)
+ }
+}
+
+\new Score \with {
+ \consists "Grid_line_span_engraver"
+ \override NoteColumn #'X-offset = #-0.5
+ % this moves them to the right half a staff space
+}
+
+\new ChoirStaff <<
+ \new Staff {
+  \relative c'' {
+    \stemUp
+    c'4. d8 e8 f g4
+  }
+ }
+ \new Staff {
+   \relative c {
+     \override Score.GridLine #'extra-offset = #'( 0.0 . 1.0 )
+     % this moves them up one staff space from the default position
+     \stemDown
+     \clef bass
+     \once \override Score.GridLine #'thickness = #5.0
+      c4
+      \once \override Score.GridLine #'thickness = #1.0
+      g'
+      \once \override Score.GridLine #'thickness = #3.0
+      f
+      \once \override Score.GridLine #'thickness = #5.0
+      e
+   }
+ }
+>>
diff --git a/input/lsr/grid-lines;-emphasizing-rhythms-and-notes-synchronization.ly b/input/lsr/grid-lines;-emphasizing-rhythms-and-notes-synchronization.ly
new file mode 100644 (file)
index 0000000..b1c6c95
--- /dev/null
@@ -0,0 +1,72 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Regular vertical lines can be drawn between staves to show notes
+synchronization; however, in case of monophonic music, you may want to
+make the second stave invisible, and make the lines shorter like in
+this snippet.
+" }
+% begin verbatim
+%% sets of grid
+\layout {
+ \context {
+   \Staff
+   \consists "Grid_point_engraver"
+   gridInterval = #(ly:make-moment 1 8)
+%% lines length
+   \override GridPoint #'Y-extent = #'(6 . 0)
+ }
+ \context {
+   \StaffGroup
+   \remove "System_start_delimiter_engraver"
+ }
+}
+
+\layout {
+ ragged-right = ##t
+}
+\new Score
+\with {
+ \consists "Grid_line_span_engraver"
+%% centers grid lines  horizontally below noteheads
+ \override NoteColumn #'X-offset = #-0.5
+}
+
+\new ChoirStaff <<
+ \new Staff
+ {
+   \time 12/8
+   \stemUp
+   \relative {
+   c'4. d8 e8 f g4 f8 e8.[ d16 c8] }
+ }
+ \new Staff
+ {
+%% making sure the lines will be placed outside the Staff
+   \override Score.GridLine #'extra-offset = #'( 0.0 . -4.0 )
+
+%% hides staff and notes so that only the grid lines are visible
+   \override NoteHead #'transparent = ##t
+   \override NoteHead #'no-ledgers = ##t
+   \override Stem #'transparent = ##t
+   \override Beam #'transparent = ##t
+   \override Staff.BarLine #'transparent = ##t
+   \override Staff.StaffSymbol #'line-count = #0
+   \override Staff.TimeSignature #'transparent = ##t
+   \override Staff.Clef #'transparent = ##t
+
+% you have to put 'dummy' notes here to force regular grid spacing...
+ \once  \override Score.GridLine #'thickness = #4.0
+ c8   c8   c8
+ \once  \override Score.GridLine #'thickness = #3.0
+ c8   c8   c8
+ \once  \override Score.GridLine #'thickness = #4.0
+ c8   c8   c8
+ \once  \override Score.GridLine #'thickness = #3.0
+ c8   c8   c8
+ }
+>>
diff --git a/input/lsr/hiding-notes.ly b/input/lsr/hiding-notes.ly
new file mode 100644 (file)
index 0000000..abd116a
--- /dev/null
@@ -0,0 +1,22 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use, spacing"
+ texidoc = "
+In the following examples, some notes are hidden: although they are
+made transparent, they still take vertical and horizontal space.
+" }
+% begin verbatim
+\relative c'' {
+  c4 d
+  \hideNotes
+  e  f
+  \unHideNotes
+  g  a
+  \hideNotes
+  b
+  \unHideNotes
+  c
+}
diff --git a/input/lsr/how-to-add-thumb-fingerings.ly b/input/lsr/how-to-add-thumb-fingerings.ly
new file mode 100644 (file)
index 0000000..cddb30a
--- /dev/null
@@ -0,0 +1,15 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use, strings"
+ texidoc = "
+Special scripts can be entered for thumb fingerings (for example in
+cello music).
+" }
+% begin verbatim
+\relative c'' {
+  a2_\thumb
+  <b_\thumb b'-3>
+}
index cef8e0f13cd007f3ec597f417d13085d7c8947ab..a57f8575b2420d93ceff9d19241ffbe92ffca46c 100644 (file)
@@ -12,17 +12,12 @@ Beam positions may be controlled manually, by overriding the
 
 " }
 % begin verbatim
-\score { 
-    \context Voice \relative c {
-       %% from upper staffline (position 4) to centre (position 0)
-       \override Beam  #'positions = #'(2 . 0)
-        c'8[ c] 
-       
-       %% from center to one above centre (position 2)
-       \override Beam  #'positions = #'(0 . 1)
-        c[ c]
-  }
-
+\relative c {
+  % from upper staffline (position 4) to centre (position 0)
+  \override Beam  #'positions = #'(2 . 0)
+  c'8[ c]
+  % from centre to one above centre (position 2)
+  \override Beam  #'positions = #'(0 . 1)
+  c[ c]
 }
 
-
index 76eba09c80f33482bca18482f58fa5e8c497915e..d601cb665653dfc7134fb53c9f2d9a17901423d7 100644 (file)
@@ -5,9 +5,9 @@
 \header {
   lsrtags = "pitches, text"
  texidoc = "
-Internally, the set-octavation function sets the properties
+Internally, the @code{set-octavation} function sets the properties
 @code{ottavation} (e.g., to @code{\"8va\"} or @code{\"8vb\"}) and
-@code{middleCPosition}.  To override the text of the bracket, set
+@code{middleCPosition}. To override the text of the bracket, set
 @code{ottavation} after invoking @code{set-octavation}, like in the
 following example.
 
index a7375219013933a9a8b50c055838dff6a4be4556..a748489e7462d3eef12f1ad1c43160c2ed4c1d7a 100644 (file)
@@ -3,6 +3,8 @@ clusters.ly
 piano-template-with-centered-lyrics.ly
 vocal-ensemble-template-with-automatic-piano-reduction.ly
 piano-template-simple.ly
+controlling-the-placement-of-chord-fingerings.ly
+adding-fingerings-to-chords.ly
 piano-template-with-melody-and-lyrics.ly
 jazz-combo-template.ly
 demo-midiinstruments.ly
index 9f3eea8056b107784753fd55928b442fd49b0737..3c0c7d9105092047d876d55dc49359c0b721c3a7 100644 (file)
@@ -1,6 +1,6 @@
 makam.ly
 ambiti-multiple-voices.ly
-applying-notehead-styles-depending-on-the-step-of-the-scale.ly
+dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
 transposing-pitches-with-minimum-accidentals-smart-transpose.ly
 ottava-text.ly
 preventing-extra-naturals-from-being-automatically-added.ly
@@ -8,7 +8,7 @@ generating-random-notes.ly
 quoting-another-voice-with-transposition.ly
 adding-ambiti-per-voice.ly
 clefs-commonly-tweaked-properties.ly
-dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
+applying-notehead-styles-depending-on-the-step-of-the-scale.ly
 preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly
 creating-a-sequence-of-notes-on-various-pitches.ly
 non-traditional-key-signatures.ly
diff --git a/input/lsr/positioning-multi--measure-rests.ly b/input/lsr/positioning-multi--measure-rests.ly
new file mode 100644 (file)
index 0000000..ecd9a90
--- /dev/null
@@ -0,0 +1,43 @@
+%% Do not edit this file; it is auto-generated from input/new
+%% This file is in the public domain.
+\version "2.11.42"
+\layout { ragged-right= ##t }
+\header {
+  doctitle = "Positioning multi-measure rests"
+  lsrtags = "rhythms,tweaks-and-overrides"
+  texidoc = "
+Unlike ordinary rests, there is no predefined command
+to change the vertical position on the staff 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:
+ "}
+% begin verbatim
+\relative c'' {
+% Multi-measure rests by default are set under the 2nd 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
+% Multimeasure 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 bars
+<< {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}
+>>
+}
+
index fbf165b75c4f7d67a13a8fb5c0c02c9435b1b723..b27a9ef5fe260fa82029f23417058ce5737c4eb6 100644 (file)
@@ -4,6 +4,13 @@
 
 \header {
   lsrtags = "pitches"
+
+  texidocfr = "
+En accord avec les règles standards de l'écriture musicale, on grave
+un bécarre avant un dièse ou un bémol si on a besoin d'annuler une
+altération précédente.  Pour modifier ce comportement, assignez la propriété
+@code{extraNatural} du contexte @code{Staff} à la valeur @code{##f} (faux).
+"
  texidoc = "
 In accordance with standard typesetting rules, a natural sign is
 printed before a sharp or flat if a previous accidental on the same
index b62b3081bbc7532a07a37f5f00696aecbdb78904..782e12aa24fc04504f807a199a0c0cc7633948f7 100644 (file)
@@ -6,13 +6,11 @@
   lsrtags = "rhythms, percussion"
  texidoc = "
 In the following snippet, two parts have a completely different time
-signature, and yet keep synchronized.
-
-This can be achieved with the \\compressMusic command, as demonstrated
-here.
-
-The barlines can't be printed at the Score level anymore, so you have
-to remove the Barline_engraver and put it in the Staff context.
+signature, and yet keep synchronized. This can be achieved with the
+@code{\\compressMusic} command, as demonstrated here. The barlines
+can't be printed at the @code{Score} level anymore, so you have to
+remove the @code{Barline_engraver} and put it in the @code{Staff}
+context. 
 " }
 % begin verbatim
 % Thanks to Adam James Wilson for this snippet
diff --git a/input/lsr/putting-parentheses-around-a-single-note.ly b/input/lsr/putting-parentheses-around-a-single-note.ly
new file mode 100644 (file)
index 0000000..ec706f9
--- /dev/null
@@ -0,0 +1,20 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+Objects may be parenthesized by prefixing @code{\\parenthesize} to the
+music event: in other words, the note has to be put after the
+@code{\\parenthesize} command.
+
+This only functions inside chords; to parenthesize a single note it
+must be enclosed with @code{ as if it is a chord.} 
+" }
+% begin verbatim
+\relative c'' {
+  a4
+  < \parenthesize b >
+  c d
+}
diff --git a/input/lsr/putting-parentheses-around-non-note-objects.ly b/input/lsr/putting-parentheses-around-non-note-objects.ly
new file mode 100644 (file)
index 0000000..33d8019
--- /dev/null
@@ -0,0 +1,14 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "expressive-marks, editorial-and-educational-use"
+ texidoc = "
+Various objects may be parenthesized as well as notes: in this example,
+the articulation mark is printed between parentheses.
+" }
+% begin verbatim
+\relative c' {
+  < c d g >2-\parenthesize -. d
+}
index 893f00a6614150a4bc77db878426e9520ff594e9..dc08d0bc1a870394b461fdc4c4d80bef52cacfa2 100644 (file)
@@ -1,2 +1,4 @@
 positioning-segno-and-coda-with-line-break.ly
+adding-volta-brackets-to-additional-staves.ly
 volta-multi-staff.ly
+shortening-volta-brackets.ly
index 62cf4a07e848703958469f243f43fceff5c202cd..8fbb70722aca36614c77c67f5b6425f7f1db12da 100644 (file)
@@ -12,31 +12,31 @@ Rests may be used in various styles.
 " }
 % begin verbatim
 \layout {
-    indent = 0.0
-    raggedright = ##t
+  indent = 0.0
+  \context {
+    \Staff
+    \remove Time_signature_engraver
+  }
 }
 
-\context Staff \relative c {
-    \set Score.timing = ##f
-    \override Staff.Rest  #'style = #'mensural
-    r\maxima^\markup \typewriter { mensural }
-    r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
-    \bar "" 
-
-    \override Staff.Rest  #'style = #'neomensural
-    r\maxima^\markup \typewriter { neomensural }
-    r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
-    \bar "" 
-
-    \override Staff.Rest  #'style = #'classical
-    r\maxima^\markup \typewriter { classical }
-    r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
-    \bar ""
-    
-    \override Staff.Rest  #'style = #'default
-    r\maxima^\markup \typewriter { default }
-    r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
-    
+\relative c {
+  \set Score.timing = ##f
+  \override Staff.Rest  #'style = #'mensural
+  r\maxima^\markup \typewriter { mensural }
+  r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
+  \bar ""
+  
+  \override Staff.Rest  #'style = #'neomensural
+  r\maxima^\markup \typewriter { neomensural }
+  r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
+  \bar ""
+  
+  \override Staff.Rest  #'style = #'classical
+  r\maxima^\markup \typewriter { classical }
+  r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
+  \bar ""
+  
+  \override Staff.Rest  #'style = #'default
+  r\maxima^\markup \typewriter { default }
+  r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
 }
-
-
diff --git a/input/lsr/rgb-colors.ly b/input/lsr/rgb-colors.ly
new file mode 100644 (file)
index 0000000..3bfad3a
--- /dev/null
@@ -0,0 +1,27 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use"
+ texidoc = "
+In addition to the built-in x11-color system, it is possible to get
+exact RGB colors by specifying the amounts of red, green and blue.
+" }
+% begin verbatim
+\relative c''{
+  \override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+  \set Staff.instrumentName = \markup {
+    \with-color #(x11-color 'navy) "Clarinet"
+  }
+
+  %black
+%  \override Stem #'color = #(rgb-color 0 0 0)
+  gis8 a
+  % white
+%  \override Stem #'color = #(rgb-color 1 1 1)
+  gis8 a
+  % dark blue
+%  \override Stem #'color = #(rgb-color 0 0 0.5)
+  gis4 a
+}
index 6cd245fe0c07d1b91acecbd5672387d3bc820940..9cfdbdf9ed0382a121a9c2db973ebf7ae23033c6 100644 (file)
@@ -7,17 +7,15 @@
  texidoc = "
 In \"simple\" lead-sheets, sometimes no actual notes are written,
 instead only \"rhythmic patterns\" and chords above the measures are
-noted giving the structure of a song.  Such a feature is for example
+notated giving the structure of a song. Such a feature is for example
 useful while creating/transcribing the structure of a song and also
-when sharing lead sheets with guitarists or jazz musicians.
-
-The standard support for this is described in section \"Measure
-repeats\", but  then the first beat has to be an ordinary note or rest. 
-
-This example shows two solutions to this problem, by redefining
-ordinary rests to be printed as slashes. (If the duration of each beat
-is not a quarter note, replace the r4 in the definitions by a rest of
-the appropriate duration).
+when sharing lead sheets with guitarists or jazz musicians. The
+standard support for this using @code{\\repeat percent} is unsuitable
+here since the first beat has to be an ordinary note or rest. This
+example shows two solutions to this problem, by redefining ordinary
+rests to be printed as slashes. (If the duration of each beat is not a
+quarter note, replace the @code{r4} in the definitions with a rest of
+the appropriate duration). 
 " }
 % begin verbatim
 % Macro to print single slash
@@ -28,7 +26,6 @@ rs = {
   r4
 }
 
-
 % Function to print a specified number of slashes
 comp = #(define-music-function (parser location count) ( integer?)
   #{
@@ -41,7 +38,9 @@ comp = #(define-music-function (parser location count) ( integer?)
 )
 
 \score{
-  \relative c'{
-    c d e f | \rs \rs \rs \rs | \comp #4 |
+  \relative c' {
+    c d e f |
+    \rs \rs \rs \rs |
+    \comp #4 |
   }
 }
index 8192c813078471b66d2d02121bb106daead27c95..9f01dad3d5561e607c961467cf07d4ebddf57dc5 100644 (file)
@@ -7,6 +7,7 @@ skips-in-lyric-mode-2.ly
 chant-or-psalms-notation.ly
 controlling-tuplet-bracket-visibility.ly
 heavily-customized-polymetric-time-signatures.ly
+positioning-multi--measure-rests.ly
 using-ties-with-arpeggios.ly
 forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
 compound-time-signatures.ly
@@ -17,6 +18,7 @@ making-an-object-invisible-with-the-transparent-property.ly
 changing-the-tuplet-number.ly
 entering-several-tuplets-using-only-one--times-command.ly
 conducting-signs,-measure-grouping-signs.ly
+changing-form-of-multi--measure-rests.ly
 rhythmic-slashes.ly
 automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly
 permitting-line-breaks-within-beamed-tuplets.ly
diff --git a/input/lsr/shortening-volta-brackets.ly b/input/lsr/shortening-volta-brackets.ly
new file mode 100644 (file)
index 0000000..6d70527
--- /dev/null
@@ -0,0 +1,22 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "repeats"
+ texidoc = "
+By default, the volta brackets will be drawn over all of the
+alternative music, but it is possible to shorten them by setting
+@code{voltaSpannerDuration}.  In the next example, the bracket only
+lasts one measure, which is a duration of 3/4. 
+" }
+% begin verbatim
+\relative c'' {
+  \time 3/4
+  c c c
+  \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
+  \repeat volta 5 { d d d }
+    \alternative { { e e e f f f }
+    { g g g } 
+  }
+}
index 5fc4d1e2213371a761309f735c47d67e9e8c860f..1b1e6f3868b4a7bcf8681c8d73c66ceebb71b978 100644 (file)
@@ -7,14 +7,12 @@
  texidoc = "
 Although you can't use @code{s} in @code{\\lyricmode} (it's taken to be
 a literal \"s\", not a space) you can use either @code{\"\"} or
-@code{_}.
-
-So for example:
+@code{_} .So for example: 
 " }
 % begin verbatim
 << 
- \relative c'' { a4 b c d }
\new Lyrics \lyricmode { a4   _2  gap4 }
 \relative c'' { a4 b c d }
 \new Lyrics \lyricmode { a4 _2 gap4 }
 >>
 
 
index 9c5cc3cb80217d18ae9b13aa8bc2c328d853a441..9cfed3b470110be9be9dc8b5cfcddeee5d375674 100644 (file)
@@ -5,12 +5,12 @@
 \header {
   lsrtags = "rhythms, vocal-music"
  texidoc = "
-The s syntax is only available in note mode and chord mode. In other
-situations, for example, when entering lyrics, you should use the
-\\skip command.
+The @code{s} syntax for skips is only available in note mode and chord
+mode. In other situations, for example, when entering lyrics, you
+should use the @code{\\skip} command. 
 " }
 % begin verbatim
 <<
-  \relative { a'2 a1 }
-  \new Lyrics \lyricmode { \skip 2 bla1 }
+  \relative { a'1 a }
+  \new Lyrics \lyricmode { \skip 1 bla1 }
 >>
index 1762bd4f7b006be693f1026f795ea61058ca2bd0..1162bcea96a33f8b50c4731fb261a3190842fb48 100644 (file)
@@ -1,6 +1,8 @@
-vertically-aligning-ossias-and-lyrics.ly
-adjusting-lyrics-vertical-spacing.ly
-alignment-vertical-spacing.ly
-page-label.ly
 vertically-centered-dynamics-and-textscripts.ly
 proportional-strict-notespacing.ly
+vertically-aligning-ossias-and-lyrics.ly
+allowing-fingerings-to-be-printed-inside-the-staff.ly
+hiding-notes.ly
+page-label.ly
+alignment-vertical-spacing.ly
+adjusting-lyrics-vertical-spacing.ly
diff --git a/input/lsr/square-balloons.ly b/input/lsr/square-balloons.ly
new file mode 100644 (file)
index 0000000..fe98385
--- /dev/null
@@ -0,0 +1,18 @@
+%% 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.11.38"
+
+\header {
+  lsrtags = "editorial-and-educational-use, text, contexts-and-engravers"
+ texidoc = "
+Elements of notation can be marked and named with the help of a square
+balloon.  The primary purpose of this feature is to explain notation.
+" }
+% begin verbatim
+\new Voice \with { \consists "Balloon_engraver" }
+  \relative c''{
+   \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" }
+   a4
+   <c, g'-\balloonText #'(-2 . -2) \markup { "I'm a note head" } c>2.
+}
+
index 72f0b3a74e931a613bcda1a4c2bccaf88bc7d383..5e49716177237fc12147a816df765309c4d87e2a 100644 (file)
@@ -1,15 +1,15 @@
 creating-blank-staves.ly
-time-signature-in-parentheses.ly
+incipit.ly
 adding-and-extra-staff-at-a-line-break.ly
 changing-the-number-of-lines-in-a-staff.ly
-incipit.ly
-inserting-score-fragments-above-the-staff,-as-markups.ly
+time-signature-in-parentheses.ly
 adding-an-extra-staff.ly
 changing-the-staff-size.ly
-quoting-another-voice-with-transposition.ly
+quoting-another-voice.ly
 adding-ambiti-per-voice.ly
 clefs-commonly-tweaked-properties.ly
-quoting-another-voice.ly
 volta-multi-staff.ly
+inserting-score-fragments-above-the-staff,-as-markups.ly
+quoting-another-voice-with-transposition.ly
 non-traditional-key-signatures.ly
 nesting-staves.ly
index a0795b5bcf71d2991c4d430eaabea0b211e62fdc..ad0a0dce0a3a57fffa655fe290014fd5d92df586 100644 (file)
@@ -1,3 +1,4 @@
 string-quartet-template-simple.ly
+how-to-add-thumb-fingerings.ly
 string-quartet-template-with-separate-parts.ly
 demo-midiinstruments.ly
index 8af6644e5a99342e8f7792020acffb241f94ab88..59b06c613003f94fdd4a141e68e2a39f338babca 100644 (file)
@@ -1,17 +1,17 @@
 piano-template-with-centered-dynamics.ly
 single-staff-template-with-notes-and-lyrics.ly
 single-staff-template-with-only-notes.ly
-jazz-combo-template.ly
+piano-template-with-centered-lyrics.ly
 score-for-diatonic-accordion.ly
 piano-template-simple.ly
-ancient-notation-template----modern-transcription-of-mensural-music.ly
+string-quartet-template-with-separate-parts.ly
 ancient-notation-template----modern-transcription-of-gregorian-music.ly
-single-staff-template-with-notes-and-chords.ly
+ancient-notation-template----modern-transcription-of-mensural-music.ly
+piano-template-with-melody-and-lyrics.ly
 string-quartet-template-simple.ly
 single-staff-template-with-notes,-lyrics,-and-chords.ly
-piano-template-with-melody-and-lyrics.ly
-string-quartet-template-with-separate-parts.ly
-vocal-ensemble-template.ly
+single-staff-template-with-notes-and-chords.ly
 vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
-piano-template-with-centered-lyrics.ly
+jazz-combo-template.ly
+vocal-ensemble-template.ly
 vocal-ensemble-template-with-automatic-piano-reduction.ly
index b7e9f28d22ed449245d37ca406ef14e4ec3f0101..9699027b38645ccbb8fb3917511729bd74e5e97c 100644 (file)
@@ -1,19 +1,20 @@
 combining-dynamics-with-markup-texts.ly
 creating-text-spanners.ly
-creating-real-parenthesized-dynamics.ly
+vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
 markup-lines.ly
+square-balloons.ly
 center-text-below-hairpin-dynamics.ly
-ottava-text.ly
+piano-template-with-centered-lyrics.ly
 demonstrating-all-headers.ly
-utf-8.ly
 changing-the-default-text-font-family.ly
-combining-two-parts-on-the-same-staff.ly
+creating-real-parenthesized-dynamics.ly
+how-to-put-ties-between-syllables-in-lyrics.ly
 aligning-and-centering-instrument-names.ly
-vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
+utf-8.ly
 outputting-the-version-number.ly
 blanking-staff-lines-using-the--whiteout-command.ly
 formatting-lyrics-syllables.ly
-how-to-put-ties-between-syllables-in-lyrics.ly
-piano-template-with-centered-lyrics.ly
+combining-two-parts-on-the-same-staff.ly
+ottava-text.ly
 adjusting-lyrics-vertical-spacing.ly
 aligning-lyrics.ly
index cf8c291fed053cd0bf7c9e3f8e83c336164c3aca..eaf6e5ffca008c2b909f34963170d93aa36e95ea 100644 (file)
@@ -1,26 +1,29 @@
-altering-the-number-of-stems-in-a-beam.ly
 time-signature-in-parentheses.ly
-vertically-centered-dynamics-and-textscripts.ly
-proportional-strict-notespacing.ly
 changing-the-default-text-font-family.ly
-transcription-of-ancient-music-with-incipit.ly
-alignment-vertical-spacing.ly
+drawing-boxes-around-grobs.ly
 manually-controlling-beam-positions.ly
 custodes.ly
-drawing-boxes-around-grobs.ly
 move-specific-text.ly
-drawing-circles-around-various-objects.ly
-making-an-object-invisible-with-the-transparent-property.ly
 rest-styles.ly
-creating-text-spanners.ly
 using-the--tweak-command-to-tweak-individual-grobs.ly
 controlling-tuplet-bracket-visibility.ly
-caesura-railtracks-with-fermata.ly
-rhythmic-slashes.ly
-changing-the-staff-size.ly
-changing-a-single-notes-size-in-a-chord.ly
+positioning-multi--measure-rests.ly
 coloring-objects.ly
+changing-the-staff-size.ly
 clefs-commonly-tweaked-properties.ly
 vertically-aligning-ossias-and-lyrics.ly
+changing-the-size-of-layout-objects.ly
 changing-properties-for-individual-grobs.ly
+altering-the-number-of-stems-in-a-beam.ly
+vertically-centered-dynamics-and-textscripts.ly
+proportional-strict-notespacing.ly
+making-an-object-invisible-with-the-transparent-property.ly
+transcription-of-ancient-music-with-incipit.ly
+alignment-vertical-spacing.ly
+drawing-circles-around-various-objects.ly
+creating-text-spanners.ly
+caesura-railtracks-with-fermata.ly
+changing-form-of-multi--measure-rests.ly
+rhythmic-slashes.ly
+changing-a-single-notes-size-in-a-chord.ly
 nesting-staves.ly
index 398c1df27aac64972a8f247ace8500759cb67977..b581d4eae0e529de22a026bd1dcc10f8381cf2ce 100644 (file)
@@ -1,17 +1,17 @@
 chant-or-psalms-notation.ly
 single-staff-template-with-notes-and-lyrics.ly
 skips-in-lyric-mode-2.ly
-skips-in-lyric-mode.ly
-aligning-lyrics.ly
+ambiti-multiple-voices.ly
+vocal-ensemble-template-with-automatic-piano-reduction.ly
 vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
 how-to-put-ties-between-syllables-in-lyrics.ly
 adding-ambiti-per-voice.ly
-vertically-aligning-ossias-and-lyrics.ly
+piano-template-with-melody-and-lyrics.ly
 single-staff-template-with-notes,-lyrics,-and-chords.ly
-vocal-ensemble-template-with-automatic-piano-reduction.ly
+demo-midiinstruments.ly
 formatting-lyrics-syllables.ly
-piano-template-with-melody-and-lyrics.ly
-ambiti-multiple-voices.ly
+vertically-aligning-ossias-and-lyrics.ly
+aligning-lyrics.ly
 vocal-ensemble-template.ly
 adjusting-lyrics-vertical-spacing.ly
-demo-midiinstruments.ly
+skips-in-lyric-mode.ly