]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 18 Aug 2005 13:43:05 +0000 (13:43 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 18 Aug 2005 13:43:05 +0000 (13:43 +0000)
210 files changed:
ChangeLog
input/regression/accidental-double.ly
input/regression/accidental-ledger.ly
input/regression/accidental-octave.ly
input/regression/accidental-placement.ly
input/regression/accidental-quarter.ly
input/regression/accidental-single-double.ly
input/regression/accidental-tie.ly
input/regression/accidental-unbroken-tie-spacing.ly
input/regression/accidental-voice.ly
input/regression/accidental.ly
input/regression/apply-context.ly
input/regression/apply-output.ly
input/regression/arpeggio-bracket.ly
input/regression/arpeggio-collision.ly
input/regression/arpeggio.ly
input/regression/auto-beam-bar.ly
input/regression/auto-beam-triplet.ly
input/regression/auto-beam-tuplets.ly
input/regression/auto-beam.ly
input/regression/auto-change.ly
input/regression/balloon.ly
input/regression/beam-auto-knee.ly
input/regression/beam-break.ly
input/regression/beam-center-slope.ly
input/regression/beam-concave.ly
input/regression/beam-cross-staff-auto-knee.ly
input/regression/beam-cross-staff-slope.ly
input/regression/beam-cross-staff.ly
input/regression/beam-damp.ly
input/regression/beam-default-lengths.ly
input/regression/beam-extreme.ly
input/regression/beam-funky-beamlet.ly
input/regression/beam-funky.ly
input/regression/beam-isknee.ly
input/regression/beam-knee-symmetry.ly
input/regression/beam-length.ly
input/regression/beam-manual-beaming.ly
input/regression/beam-multiple-cross-staff.ly
input/regression/beam-over-barline.ly
input/regression/beam-position.ly
input/regression/beam-quanting-32nd.ly
input/regression/beam-quanting-horizontal.ly
input/regression/beam-rest.ly
input/regression/beam-second.ly
input/regression/beam-shortened-lengths.ly
input/regression/beaming-ternary-metrum.ly
input/regression/beaming.ly
input/regression/beams.ly
input/regression/break.ly
input/regression/breathing-sign-ancient.ly
input/regression/breathing-sign.ly
input/regression/chord-changes.ly
input/regression/chord-names-bass.ly
input/regression/chord-scripts.ly
input/regression/chord-tremolo-short.ly
input/regression/chords-funky-ignatzek.ly
input/regression/clef-oct.ly
input/regression/cluster-cross-staff.ly
input/regression/cluster.ly
input/regression/collision-2.ly
input/regression/collision-dots-invert.ly
input/regression/collision-dots-move.ly
input/regression/collision-dots.ly
input/regression/collision-head-chords.ly
input/regression/collision-heads.ly
input/regression/collision-merge-differently-dotted.ly
input/regression/collision-merge-dots.ly
input/regression/collision-mesh.ly
input/regression/collisions.ly
input/regression/completion-heads-polyphony.ly
input/regression/completion-heads.ly
input/regression/custos.ly
input/regression/dot-flag-collision.ly
input/regression/dots.ly
input/regression/drums.ly
input/regression/dynamics-broken-hairpin.ly
input/regression/dynamics-glyphs.ly
input/regression/dynamics-line.ly
input/regression/dynamics-unbound-hairpin.ly
input/regression/finger-chords.ly
input/regression/fingering.ly
input/regression/follow-voice-break.ly
input/regression/font-magnification.ly
input/regression/generic-output-property.ly
input/regression/glissando.ly
input/regression/grace-auto-beam.ly
input/regression/grace-bar-line.ly
input/regression/grace-bar-number.ly
input/regression/grace-beam.ly
input/regression/grace-end.ly
input/regression/grace-nest.ly
input/regression/grace-nest1.ly
input/regression/grace-nest2.ly
input/regression/grace-nest3.ly
input/regression/grace-nest4.ly
input/regression/grace-nest5.ly
input/regression/grace-part-combine.ly
input/regression/grace-staff-length.ly
input/regression/grace-start.ly
input/regression/grace-stems.ly
input/regression/grace-sync.ly
input/regression/grace-unfold-repeat.ly
input/regression/grace-volta-repeat-2.ly
input/regression/grace-volta-repeat.ly
input/regression/grace.ly
input/regression/hairpin-dashed.ly
input/regression/hara-kiri-pianostaff.ly
input/regression/instrument-name-markup.ly
input/regression/instrument-name-partial.ly
input/regression/instrument-name.ly
input/regression/key-clefs.ly
input/regression/lyric-combine-new.ly
input/regression/lyric-combine-polyphonic.ly
input/regression/lyric-extender-broken.ly
input/regression/lyric-hyphen-break.ly
input/regression/lyric-hyphen-retain.ly
input/regression/lyric-phrasing.ly
input/regression/lyrics-melisma-beam.ly
input/regression/markup-note.ly
input/regression/markup-scheme.ly
input/regression/markup-stack.ly
input/regression/markup-user.ly
input/regression/measure-grouping.ly
input/regression/mensural-ligatures.ly
input/regression/mensural.ly
input/regression/metronome-marking.ly
input/regression/mm-rests2.ly
input/regression/multi-measure-rest-center.ly
input/regression/multi-measure-rest-instr-name.ly
input/regression/multi-measure-rest-multi-staff-center.ly
input/regression/multi-measure-rest-spacing.ly
input/regression/multi-measure-rest-text.ly
input/regression/multi-measure-rest.ly
input/regression/music-map.ly
input/regression/non-empty-text.ly
input/regression/note-group-bracket.ly
input/regression/note-head-chord.ly
input/regression/note-head-harmonic.ly
input/regression/note-head-style.ly
input/regression/note-line.ly
input/regression/number-staff-lines.ly
input/regression/ottava.ly
input/regression/part-combine-global.ly
input/regression/part-combine.ly
input/regression/pedal-end.ly
input/regression/pedal-ped.ly
input/regression/prefatory-empty-spacing.ly
input/regression/prefatory-spacing-matter.ly
input/regression/repeat-line-break.ly
input/regression/repeat-percent-skipbars.ly
input/regression/repeat-slash.ly
input/regression/repeat-unfold-tremolo.ly
input/regression/repeat-unfold.ly
input/regression/repeat-volta.ly
input/regression/rest-collision-beam.ly
input/regression/rest-collision.ly
input/regression/rest-pitch.ly
input/regression/rest-polyphonic.ly
input/regression/script-collision.ly
input/regression/script-stack-order.ly
input/regression/script-stacked.ly
input/regression/slur-cross-staff.ly
input/regression/slur-dash.ly
input/regression/slur-dots.ly
input/regression/slur-nice.ly
input/regression/slur-rest.ly
input/regression/slur-scoring.ly
input/regression/slur-symmetry-1.ly
input/regression/slur-symmetry.ly
input/regression/spacing-accidental-staffs.ly
input/regression/spacing-accidental.ly
input/regression/spacing-bar-stem.ly
input/regression/spacing-clef-first-note.ly
input/regression/spacing-end-of-line.ly
input/regression/spacing-ended-voice.ly
input/regression/spacing-grace-duration.ly
input/regression/spacing-grace.ly
input/regression/spacing-knee.ly
input/regression/spacing-note-flags.ly
input/regression/spacing-rest.ly
input/regression/spacing-short-notes.ly
input/regression/spacing-stem-bar.ly
input/regression/spacing-stem-direction.ly
input/regression/spacing-stem-same-direction.ly
input/regression/spacing-to-grace.ly
input/regression/span-bar-break.ly
input/regression/span-bar.ly
input/regression/staccato-pos.ly
input/regression/staff-mixed-size.ly
input/regression/staff-tweak.ly
input/regression/stem-shorten.ly
input/regression/stem-tremolo.ly
input/regression/system-start-bracket.ly
input/regression/tablature-string-tunings.ly
input/regression/tablature.ly
input/regression/tag-filter.ly
input/regression/tie-busy-grobs.ly
input/regression/tie-chord.ly
input/regression/tie-dots.ly
input/regression/tie-grace.ly
input/regression/tuplet-beam.ly
input/regression/tuplet-gap.ly
input/regression/tuplet-properties.ly
input/regression/tuplet-rest.ly
input/regression/tuplet-staffline-collision.ly
input/regression/tuplets.ly
input/regression/voice-follower.ly
input/regression/volta-broken-left-edge.ly
input/regression/volta-multi-staff.ly

index 7a0dfb3911cf51836986e02b575269855ccc2892..e2d8da7611a1d54ce02d8ee48f8c681f4a02b668 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-08-18  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * input/regression/*.ly: remove superfluous \score blocks. Reindent.
+
        * input/regression/slur-script.ly: remove padding tweaks. Add
        comment strings.
 
index 0338f358fbf6e7e802d8061f80f3f881525dff6c..9704a2691ac5d5f2eeda2325db8d15dd8468ff23 100644 (file)
@@ -5,16 +5,15 @@
 }
 
 
-\score {  \transpose c c'
-   \context Staff <<
-     \key g \major
-     \context Voice = "va" { \stemUp c' fis! }
-     \context Voice = "vb" { \stemDown c fis! }
-   >>
+\transpose c c'
+\context Staff <<
+  \key g \major
+  \context Voice = "va" { \stemUp c' fis! }
+  \context Voice = "vb" { \stemDown c fis! }
+>>
+
+\layout { raggedright= ##t }
 
-    \layout { raggedright= ##t }
-        
-}
 
 
 
index ec95d9a371fbebeb5249f9dc3442e7c950f7960d..1071d39a454d00db95866b0cc3293cf7d67f1f62 100644 (file)
@@ -2,38 +2,35 @@
 
 \header {
 
-    texidoc = "Ledger lines are shortened when there are accidentals.
+  texidoc = "Ledger lines are shortened when there are accidentals.
 This happens only for the single ledger line close to the note head,
 and only if the accidental is horizontally close to the head.  "
-    
+  
 }
 
 
-\score {
-    
-       \relative c {
-           disis
-           dis
-           d
-           des
-           deses
-           eses
-           es
-           e
-           eis
-           eisis
-           eses'''
-           es
-           e
-           eis
-           eisis
-           feses
-           fes
-           f
-           fis
-           fisis
-           <cis,, gis'>
-           
-       } 
+\relative c {
+  disis
+  dis
+  d
+  des
+  deses
+  eses
+  es
+  e
+  eis
+  eisis
+  eses'''
+  es
+  e
+  eis
+  eisis
+  feses
+  fes
+  f
+  fis
+  fisis
+  <cis,, gis'>
+  
+} 
 
-}
index 0ba294646623a6fbe91ee886a8fcadd241486ab0..342465c6337a2e84c3370f59d40dc2121eb7f528 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0"
 
 \header {
-texidoc="
+  texidoc="
 This shows how accidentals in different octaves are handled. The note names 
 are also automatically printed but the octavation has been dropped out.
 "
@@ -19,12 +19,9 @@ mel =  \transpose c c' {
   \bar "|." \break
 }
 
-\score {
-  << \context Staff \mel
-     \context NoteNames{
-        \set printOctaveNames= ##f
-        \mel
-        }
-  >>
-}
-
+<< \context Staff \mel
+   \context NoteNames{
+     \set printOctaveNames= ##f
+     \mel
+   }
+ >>
index f692c6529650341f84a7279500eb1e57c55c0b8f..d7a58b5be34a751adacc00313306a53a2797689c 100644 (file)
@@ -3,40 +3,37 @@
 
 \header {
 
-    texidoc ="Accidentals are placed as closely as possible.
+  texidoc ="Accidentals are placed as closely as possible.
 Accidentals in corresponding octaves are aligned.
 The top accidental should be nearest to the chord. The
 flats in a sixth should be staggered.  "
-    
+  
 }
 
 
-\score {
-     \context Voice \relative c'
-    {
-       <d e! bes'!>4
-       cis4
-       c4
-       \transpose c c' {
-           <ges es'>
-           <bis es gis>4
-           <es! as!>
-           <gis! cis!>
-           <g! des'>
-           <ges! es'!>
-       }    
-       <cis d es fis gis ases bes ces d e! >4
-       <bes'! fis!>     
-       <bes! cis!>
-       <c! es ges beses>
-       <bes! c d f >    
-       <bes,! c d f >
-
-    }
-    \layout {
-       raggedright = ##t
-    }
+\context Voice \relative c'
+{
+  <d e! bes'!>4
+  cis4
+  c4
+  \transpose c c' {
+    <ges es'>
+    <bis es gis>4
+    <es! as!>
+    <gis! cis!>
+    <g! des'>
+    <ges! es'!>
+  }    
+  <cis d es fis gis ases bes ces d e! >4
+  <bes'! fis!>     
+  <bes! cis!>
+  <c! es ges beses>
+  <bes! c d f >    
+  <bes,! c d f >
 
 }
+\layout {
+  raggedright = ##t
+}
 
 
index f36131401b8271b9491f0db8da3aa3e1fad3ebf3..00643dd218c3c08e401fbf676b5396ae8d6440ee 100644 (file)
@@ -1,23 +1,21 @@
 \header {
 
-    texidoc = "Quarter tone notation is supported, including
+  texidoc = "Quarter tone notation is supported, including
     threequarters flat."
-    }
+}
 \version "2.6.0"
 
-\score {
-     \relative c'' {
-       \time 12/4 
-       ceses4
-       ceseh
-       ces
-       ceh
-       c
-       c
-       cih
-       cis 
-       cisih
-       cisis
-    }
-    \layout { raggedright = ##t }
+\relative c'' {
+  \time 12/4 
+  ceses4
+  ceseh
+  ces
+  ceh
+  c
+  c
+  cih
+  cis 
+  cisih
+  cisis
 }
+\layout { raggedright = ##t }
index 533b2d56fb07bcbf913dc873d2c242b3fa405c4a..907a127b833c5c0cee8ae96fee35f84c1a2cc019 100644 (file)
@@ -1,7 +1,7 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 A sharp sign after a double sharp sign, as well as a flat sign
 after a double flat sign is automatically prepended with a
 natural sign.
@@ -10,16 +10,18 @@ natural sign.
 
 
 
-thenotes =  \relative cis' { \time 4/4
-gisis'4 gis gisis ges |
+thenotes =  \relative cis' {
+  \time 4/4
+  gisis'4 gis gisis ges |
 }
 
-\score { << \context Staff \thenotes
-       \context NoteNames  {
-               \override NoteNames.NoteName   #'no-spacing-rods = ##f 
-               \thenotes
-       }
-       >>
+<<
+  \context Staff \thenotes
+  \context NoteNames  {
+    \override NoteNames.NoteName   #'no-spacing-rods = ##f 
+    \thenotes
+  }
+>>
+
 \layout { raggedright = ##t }
-}
 
index a7025385761de79a991e00679a4571c7973007ab..55146b18a94b78bf85a3cfe53e3695531c2e6c22 100644 (file)
@@ -2,7 +2,7 @@
 
 \header {
   texidoc = "The second and third notes should not get accidentals,
-    because they are tied to a note.  However, an accidental is
+6    because they are tied to a note.  However, an accidental is
     present if the line is broken at the tie, which happens for the G
     sharp."
 
index 6c4f3f6e221bbf7021e5277e782bcc9c796d482e..0a1628a96292a22bbc72d0a044041c175cbb866b 100644 (file)
@@ -13,10 +13,8 @@ rechts =  \relative c' {
     <g b des f>8
 }
 
-\score {
   \rechts
 
-  \layout {
-    raggedright = ##t
-  }
+\layout {
+  raggedright = ##t
 }
index 89975a4f05808a914dc5404e9d62cd8d878cb30e..38ec9aa440a6dee228d25642e0e3ba3ab597e946 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 This shows how modern cross voice auto cautionary accidentals are handled.
 The first two fisses get accidentals because they belong to different voices.
 The first f gets cautionary natural because of previous measure.
@@ -12,31 +12,29 @@ The last f gets cautionary natural because fis was only in the other voice.
 
 
 voicea =  \transpose c c' {
-    \stemUp
-    fis2 a2 f4 fis a2
+  \stemUp
+  fis2 a2 f4 fis a2
 }
 voiceb =  \transpose c c' {
-    \stemDown
-    c2 fis2  f4 c   f2
+  \stemDown
+  c2 fis2  f4 c   f2
 }
 
-\score {
-    <<
-       
-       \new NoteNames {
-           \set printOctaveNames = ##f
-            \voicea
-            }
-       \context Staff << 
-           #(set-accidental-style 'modern-voice-cautionary)
-           \new Voice \voicea
-           \new Voice \voiceb
-       >>
-       \new NoteNames {
-           \set printOctaveNames = ##f
-           \voiceb
+<<
+  
+  \new NoteNames {
+    \set printOctaveNames = ##f
+    \voicea
+  }
+  \context Staff << 
+    #(set-accidental-style 'modern-voice-cautionary)
+    \new Voice \voicea
+    \new Voice \voiceb
+  >>
+  \new NoteNames {
+    \set printOctaveNames = ##f
+    \voiceb
 
-                        }
-    >>
-\layout { raggedright = ##t }
-}
+  }
+>>
+  \layout { raggedright = ##t }
index cae9baff92e4f566c5e9c5527b1719e174ca8408..1e8de5dcb5a724493335aa4443ce084c83ae0add 100644 (file)
@@ -2,17 +2,16 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 Accidentals work: the second note does not get a sharp. The third and
 fourth show forced and courtesy accidentals.
 "
 }
 
+\layout { raggedright = ##t }
+
 foo = \relative c''   {   \key as \major dis4 dis dis!^"force" dis? }
 
-\score {
-  << \foo 
+<< \foo 
    \context NoteNames \foo
-  >>
-\layout { raggedright = ##t }
-}
+ >>
index 5da7f8bd461c8d09835727960062de121ea7dc71..89676aeffa26338731617a2ca40fdcfeea53db99 100644 (file)
@@ -17,14 +17,14 @@ This example prints a bar-number during processing on stdout.
     \layout { raggedright= ##t }
 
 
-\score {  \relative c'' {
-    c1 c1
-
-    %% todo: should put something interesting in the .tex output.
-    
-    \applycontext
-       #(lambda (tr)
-        (format #t "\nWe were called in barnumber ~a.\n"
-         (ly:context-property tr 'currentBarNumber)))
-    c1 c1
-}}
+\relative c'' {
+  c1 c1
+
+  %% todo: should put something interesting in the .tex output.
+  
+  \applycontext
+  #(lambda (tr)
+    (format #t "\nWe were called in barnumber ~a.\n"
+     (ly:context-property tr 'currentBarNumber)))
+  c1 c1
+}
index aa615eaa7184debe067c9da8e4577f9f39149dfa..78c2cfef258df1d1fdd2ea1c3a39f49af2352f96 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0" 
 \header {
 
-texidoc = "The @code{\applyoutput} expression is the most flexible way to
+  texidoc = "The @code{\applyoutput} expression is the most flexible way to
 tune properties for individual grobs.
 
 Here, the layout of a note head is changed depending on its vertical
@@ -13,39 +13,35 @@ position.
 
 #(define  (mc-squared gr org cur)
   (let*
-      (
-       (ifs (ly:grob-property gr 'interfaces))
-       (sp (ly:grob-property gr 'staff-position))
-       )
-  (if (and (memq 'note-head-interface ifs)
-          (memq sp '(-2 -3 -5)))
-      (begin
-       (ly:grob-set-property! gr 'print-function Text_interface::print)
-       (ly:grob-set-property! gr 'font-family 'roman)
-       (ly:grob-set-property!
-        gr 'text
-        (make-raise-markup -0.5
-                           (case sp
-                             ((-5) (make-simple-markup "m"))
-                             ((-3) (make-simple-markup "c "))
-                             ((-2) (make-smaller-markup (make-bold-markup "2")))
-                             (else (make-simple-markup "bla"))
-                             ))))
-      )))
-
-\score {
-
- \context Voice \relative  c' {
-                                     \stemUp
-                                     \set autoBeaming =  ##f
-   { <d f g b>8
-     \context Voice \applyoutput #mc-squared
-
-        <d f g b>
-   }
-             
-   }
-\layout { raggedright = ##t
-%                   outputscale = 5
-                    } 
+   (
+     (ifs (ly:grob-property gr 'interfaces))
+     (sp (ly:grob-property gr 'staff-position))
+   )
+   (if (and (memq 'note-head-interface ifs)
+       (memq sp '(-2 -3 -5)))
+    (begin
+     (ly:grob-set-property! gr 'print-function Text_interface::print)
+     (ly:grob-set-property! gr 'font-family 'roman)
+     (ly:grob-set-property!
+      gr 'text
+      (make-raise-markup -0.5
+       (case sp
+       ((-5) (make-simple-markup "m"))
+       ((-3) (make-simple-markup "c "))
+       ((-2) (make-smaller-markup (make-bold-markup "2")))
+       (else (make-simple-markup "bla"))
+      ))))
+  )))
+
+\context Voice \relative  c' {
+  \stemUp
+  \set autoBeaming =  ##f
+  { <d f g b>8
+    \context Voice \applyoutput #mc-squared
+
+    <d f g b>
+  }
+  
 }
+
+\layout { raggedright = ##t }
index 8eb7c2c50530173e19525276e22f9815a8a73af9..cfa3c5ed1a32ec2ff922d8462815d4d03f64eff7 100644 (file)
@@ -2,19 +2,17 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 A square bracket on the left indicates that the player should not
 arpeggiate the chord.
 "
 }
 
-\score{
-     \relative c''{
-        \arpeggioBracket
-        
-        <fis,  d a >\arpeggio
-        }
-     
-    \layout { raggedright= ##t }
+\relative c''{
+  \arpeggioBracket
+  
+  <fis,  d a >\arpeggio
 }
 
+\layout { raggedright= ##t }
+
index a9808ae1e9e85112cc57c85fbdb017b56590753d..aa0e9133fd98a7f576179ceae302ac32731dcbd4 100644 (file)
@@ -4,19 +4,17 @@
 texidoc = "Arpeggio stays clear of accidentals and flipped note heads."
 }
 
-\score{
-     \transpose c c' {
-       <fis'' g d a>\arpeggio
-       <fis, g d a>\arpeggio
-       <fis'' g d a>\arpeggio
-       }
-    \layout {
-        raggedright = ##t
-       \context{
-           \Staff
-           connectArpeggios = ##t
-       }
-       }
+\transpose c c' {
+  <fis'' g d a>\arpeggio
+  <fis, g d a>\arpeggio
+  <fis'' g d a>\arpeggio
+}
+\layout {
+  raggedright = ##t
+  \context{
+    \Staff
+    connectArpeggios = ##t
+  }
 }
 
 
index 4400577f9bbd5b9c92c12ce99ee25bb2e16a7c18..d48ccf8ed33f005041b840122b33cbbb30554844 100644 (file)
@@ -1,30 +1,28 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Arpeggios are supported, both cross-staff and broken single staff.
 "
 }
 
 
 
-\score{
-    \context PianoStaff << 
-        \new Staff \relative c''{
-            <fis,  d a>\arpeggio
-           \override Staff.Arpeggio  #'arpeggio-direction = #1 
-            <fis d a >\arpeggio            
-            %%\override PianoStaff.SpanArpeggio  #'connect = ##t
-            \set PianoStaff.connectArpeggios = ##t
-            <fis d a>\arpeggio
-         }
-        \new Staff\relative c{
-            \clef bass
-            <g b d>\arpeggio
-           \override Staff.Arpeggio  #'arpeggio-direction = #-1
-            <g b d>\arpeggio
-            <g b d>\arpeggio
-        }
-    >>
-    \layout { raggedright= ##t }
-}
+\context PianoStaff << 
+  \new Staff \relative c''{
+    <fis,  d a>\arpeggio
+    \override Staff.Arpeggio  #'arpeggio-direction = #1 
+    <fis d a >\arpeggio            
+    %%\override PianoStaff.SpanArpeggio  #'connect = ##t
+    \set PianoStaff.connectArpeggios = ##t
+    <fis d a>\arpeggio
+  }
+  \new Staff\relative c{
+    \clef bass
+    <g b d>\arpeggio
+    \override Staff.Arpeggio  #'arpeggio-direction = #-1
+    <g b d>\arpeggio
+    <g b d>\arpeggio
+  }
+>>
+\layout { raggedright= ##t }
index d6565864c7ca520349830fa9031c0238b69a574d..d3a5fe56c4f1e2045d1f96c54d2e8a55e12b81c1 100644 (file)
@@ -5,12 +5,10 @@
 texidoc="No auto beams will be put over (manual) repeat bars."
 }
 
-\score {
-     {
-        \time 3/4
-        a'4 b' c''8 \bar ":|:" d''8
-    }
-    \layout{
-   raggedright = ##t
+{
+  \time 3/4
+  a'4 b' c''8 \bar ":|:" d''8
 }
+\layout{
+  raggedright = ##t
 }
index dfc164f33ff3a4efa43521e5be9f2f81b893870c..2a2e019fb4a5cfd44929ce9cd4a4c38cc65011e8 100644 (file)
@@ -1,15 +1,13 @@
 
 \header
 {
-texidoc = "Automatic beaming is also done on tuplets."
+  texidoc = "Automatic beaming is also done on tuplets."
 }
 
 \version "2.6.0"
 
-\score{
-       \relative c''{
-               c8 c c c
-               \times 4/6 { c c c c c c}
-       }
-    \layout { raggedright= ##t }
+\relative c''{
+  c8 c c c
+  \times 4/6 { c c c c c c}
 }
+\layout { raggedright= ##t }
index 73c7effaacb501b2f92986b684addeafaabbadb7..7230612a9a1040dbab4244bf5a38f501f2def629 100644 (file)
@@ -2,17 +2,16 @@
 \version "2.6.0"
 
 \header {
-texidoc = "Tuplet-spanner should not put (visible) brackets on
+  texidoc = "Tuplet-spanner should not put (visible) brackets on
 beams even if they're auto generated."
 }
 
-\score {  \relative c' {
+\relative c' {
   \set tupletSpannerDuration = #(ly:make-moment 1 4)
   \override TupletBracket  #'bracket-visibility = #'if-no-beam
   \times 2/3 {
-        f8[ f f ] f8[ f f ] f f f f f f 
- }
+    f8[ f f ] f8[ f f ] f f f f f f 
 }
 }
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-     }
index 7454f2f7ed11dc3c3ded4797636f53fac7a05faa..76f263c1622b761db0308ef05acf1bba0ad3e9db 100644 (file)
@@ -1,5 +1,5 @@
 \header {
-texidoc="Beams are place automatically; the last measure should have a single 
+  texidoc="Beams are place automatically; the last measure should have a single 
 beam."
 }
 
@@ -7,16 +7,14 @@ beam."
 
 \layout  { raggedright = ##t } 
 
-\score {
-   \relative c'' {
-    a\longa a\breve  
-    a1 a2 a4 a8 a16 a32 a64 a64 
-  }
-  \layout {
-    \context {
-      \Staff
-      \remove "Clef_engraver"
-    }
+\relative c'' {
+  a\longa a\breve  
+  a1 a2 a4 a8 a16 a32 a64 a64 
+}
+\layout {
+  \context {
+    \Staff
+    \remove "Clef_engraver"
   }
 }
 
index 345aa9e69f02d88972cc49fe99f454ee8cf70b4c..5925276b1ffade9a89c0155599fd74786563f1f0 100644 (file)
@@ -11,17 +11,14 @@ note. When central C is reached, staff is not yet switched (by default).
 }
     \layout { raggedright= ##t }
 
-\score {
-        \context PianoStaff <<
-       \context Staff = "up" {
-               \autochange  \context Voice = VA << \relative c' { g4 c e d c r4 a g } >>
-       }
-       \context Staff = "down" {
-               \clef bass 
-               s1*2
-       }
+\context PianoStaff <<
+  \context Staff = "up" {
+    \autochange  \context Voice = VA << \relative c' { g4 c e d c r4 a g } >>
+  }
+  \context Staff = "down" {
+    \clef bass 
+    s1*2
+  }
 
-       >>
-       
-}
+>>
 
index 33246282366e89de012efdb7be1b2269143c7de4..909321a6681831b2624953d00973b3131bef072e 100644 (file)
@@ -1,32 +1,30 @@
 
 \header {
-    texidoc = "With balloon texts, objects in the output can be marked,
+  texidoc = "With balloon texts, objects in the output can be marked,
 with lines and explanatory text added."
-    }
+}
 \version "2.6.0"
 
-\score  {
-  {
-     
-   \relative c'  {
+{
+  
+  \relative c'  {
 
-       %% by hand:
-       \once\override Stem  #'print-function = #Balloon_interface::print
-       \once\override Stem  #'balloon-original-callback = #Stem::print
-       \once\override Stem  #'balloon-text = #"I'm a stem"
-       \once\override Stem  #'balloon-text-offset = #'(3 . 4)
-       \once\override Stem  #'balloon-text-props
-      = #'((font-family .  roman))
+    %% by hand:
+    \once\override Stem  #'print-function = #Balloon_interface::print
+    \once\override Stem  #'balloon-original-callback = #Stem::print
+    \once\override Stem  #'balloon-text = #"I'm a stem"
+    \once\override Stem  #'balloon-text-offset = #'(3 . 4)
+    \once\override Stem  #'balloon-text-props
+    = #'((font-family .  roman))
 
 
-       %% use predefd function. 
-       \context Voice \applyoutput #(add-balloon-text
-                                    'NoteHead "heads, or tails?"
-                                    '(0 . -3))
+    %% use predefd function. 
+    \context Voice \applyoutput #(add-balloon-text
+                                 'NoteHead "heads, or tails?"
+                                 '(0 . -3))
 
-      
-       c8
-       }
+    
+    c8
   }
- \layout{ raggedright = ##t }
 }
+\layout{ raggedright = ##t }
index 462d6d12e6710a37c63264571edb89b5d9970370..dafc14908963a2174a8e0df062683cfdcbf1993b 100644 (file)
@@ -1,18 +1,18 @@
 
 \version "2.6.0"
 
-\header{ texidoc="A knee is made automatically when a horizontal
+\header
+{
+  texidoc="A knee is made automatically when a horizontal
 beam fits in a gap between note heads that is larger than a predefined
 threshold.
 "
 }
 
-\score {
-  \context Staff \relative c''{ 
-     c'8[ c,,]  c8[ e']
-     c,16[ e g c e g c c,,] 
-  }
-  \layout{
-      raggedright = ##t 
-  }
+\context Staff \relative c''{ 
+  c'8[ c,,]  c8[ e']
+  c,16[ e g c e g c c,,] 
+}
+\layout{
+  raggedright = ##t 
 }
index f1030134c9a2a7da68c91d1faca6d099345a3653..facfebd883306dd689c854dc9e471190ed95d99b 100644 (file)
@@ -1,13 +1,13 @@
 
 \header {
-    texidoc = "Beams can be printed across line breaks, if forced.
+  texidoc = "Beams can be printed across line breaks, if forced.
 "
 
 }
 \version "2.6.0"
 \layout { raggedright= ##t }
 
-\score {  \relative c''  {
-    \set Score.allowBeamBreak = ##t
-    \time 3/16 c16-[ d e \break f-] 
-}}
+\relative c''  {
+  \set Score.allowBeamBreak = ##t
+  \time 3/16 c16-[ d e \break f-] 
+}
index 2086802fa39c5a656f0d7b41259a98e3f3e38ac6..4c7dcc00aeab1f52c98c7b0d0e55da8b03d163c3 100644 (file)
@@ -2,48 +2,46 @@
 \version "2.6.0"
 \header{
 
-    texidoc="Simple beams on middle staffline are allowed to be
+  texidoc="Simple beams on middle staffline are allowed to be
     slightly sloped, even if the notes have ledgers.  Beams reaching
     beyond middle line can have bigger slope."
 
 }
 
-\score{
-    \relative c'{
-       %%\override Staff.Stem  #'beamed-lengths = #'(3.50)
-       %%  c8[ d]
-       %%  d[ c]
-       %% r2
-       %% \override Staff.Stem  #'beamed-lengths = #'(3.26)
-
-         a8[^"small slope" b]
-         b[ a]
-
-        c''[ b]
-        b[ c]
-
-        % baerenreiter test
-        b,,[ c]
-        c[ b]
-
-        b''[ a]
-        a[ b]
-
-        c,,[ d]
-        d[ c]
-       
-        a''[ g]
-        g[ a]
-
-        c,,[^"bigger slope" e]
-        e[ c]
-       
-        a''[ f]
-        f[ a]
-    }
-    \layout{
-       raggedright = ##t
-       indent = 0
-    }
+\relative c'{
+  %%\override Staff.Stem  #'beamed-lengths = #'(3.50)
+  %%  c8[ d]
+  %%  d[ c]
+  %% r2
+  %% \override Staff.Stem  #'beamed-lengths = #'(3.26)
+
+  a8[^"small slope" b]
+  b[ a]
+
+  c''[ b]
+  b[ c]
+
+                               % baerenreiter test
+  b,,[ c]
+  c[ b]
+
+  b''[ a]
+  a[ b]
+
+  c,,[ d]
+  d[ c]
+  
+  a''[ g]
+  g[ a]
+
+  c,,[^"bigger slope" e]
+  e[ c]
+  
+  a''[ f]
+  f[ a]
+}
+\layout{
+  raggedright = ##t
+  indent = 0
 }
 
index 6afcfd1114824d8967d19028e28f067453a796c4..0c570a8fb1ac259d259261a34f0e811cfd3c097f 100644 (file)
@@ -53,7 +53,6 @@ rossBeams = \relative c'' {
 
 
 #(define (<> x y) (not (= x  y)))
-\score{
    \new Voice {
      \override Beam #'position-callbacks = #(check-slope-callbacks =)
      \rossBeams
@@ -63,6 +62,5 @@ rossBeams = \relative c'' {
     raggedright = ##t
     #(define debug-beam-quanting #t)
   }
-}
 
 
index 25025d315c1c5248c25203303d9916f238e74e0e..cc9decfaa1af3421684d8a649cb666a5406dd4ad 100644 (file)
@@ -3,24 +3,22 @@
 
 \header{
 
-    texidoc="Automatic cross-staff knees work also (here they were
+  texidoc="Automatic cross-staff knees work also (here they were
 produced with explicit staff switches)."
 
-     }
+}
 
-\score {
-   \context PianoStaff <<
-    \context Staff = "up" \relative c''{
-      b8[ \change Staff="down" d,, ]
-      c[ \change Staff="up" c'' ]
-      b,[ \change Staff="down" d^"no knee" ]
-    }
-    \context Staff = "down" {
-      \clef bass 
-      s2.
-    }
-  >>
-  \layout{
-    raggedright = ##t
+\context PianoStaff <<
+  \context Staff = "up" \relative c''{
+    b8[ \change Staff="down" d,, ]
+    c[ \change Staff="up" c'' ]
+    b,[ \change Staff="down" d^"no knee" ]
+  }
+  \context Staff = "down" {
+    \clef bass 
+    s2.
   }
+>>
+\layout{
+  raggedright = ##t
 }
index 6e9bc03638f2438e3507e8396f1b09eeb0777b8b..7af3f3fcd192e705191c27f65cd7135c1325bbab 100644 (file)
@@ -3,30 +3,29 @@
     texidoc = "Cross staff  (kneed) beams do not cause extreme slopes."
 }
 
-\score {
-    \context PianoStaff <<
-    \context Staff = "up"
-    \relative c'' <<
-        {
-           \stemDown
-            f16( \> d b\! \change Staff = down \stemUp
-            \clef treble g ~ < g e>8)
-           
-            e[ \change Staff = up
-           \stemDown
-           e e]
-           \change Staff = down
-           \stemUp
-           e8.[
-               \change Staff = up
-           \stemDown
-           e8.]
-           
-       } \\
-    >>
-    \context Staff = "down" {
-        \time 3/8 \clef bass s4.*3 }
-    >>
-    \layout { raggedright = ##t}
-}
+\layout { raggedright = ##t}
+
+\context PianoStaff <<
+  \context Staff = "up"
+  \relative c'' <<
+    {
+      \stemDown
+      f16( \> d b\! \change Staff = down \stemUp
+      \clef treble g ~ < g e>8)
+      
+      e[ \change Staff = up
+        \stemDown
+        e e]
+      \change Staff = down
+      \stemUp
+      e8.[
+       \change Staff = up
+       \stemDown
+       e8.]
+      
+    } \\
+  >>
+  \context Staff = "down" {
+    \time 3/8 \clef bass s4.*3 }
+>>
 
index 2f4264f62fc91cbb5a57be73782d1242193aa235..b1e416eb6f4c4c07a947a9a25ad4788f006eb867 100644 (file)
@@ -7,28 +7,27 @@ beautification does not really work, but knees do. Beams should be
 behave well, wherever the switching point is.
 "
 }
-\score{
-       \context PianoStaff <<
-       \context Staff = "one" \relative c'{
-               \stemUp  c8[ c \change Staff=two \stemUp c c]
-                c[ c c c]
-               \change Staff=one
-               \stemDown  c8[ c \change Staff=two \stemUp c c]
-               r2
-               \stemDown  c8[ c \change Staff=one \stemDown c c]
-               r2
-               \change Staff=two
-               \stemUp  c8[ c \change Staff=one \stemDown c c]
-               r2
-       }
-       \context Staff = "two" \relative c'{
-               \clef bass
-               s1
-               s1
-               s1
-               s1
-       }
-       >>
-}
+
+\context PianoStaff <<
+  \context Staff = "one" \relative c'{
+    \stemUp  c8[ c \change Staff=two \stemUp c c]
+    c[ c c c]
+    \change Staff=one
+    \stemDown  c8[ c \change Staff=two \stemUp c c]
+    r2
+    \stemDown  c8[ c \change Staff=one \stemDown c c]
+    r2
+    \change Staff=two
+    \stemUp  c8[ c \change Staff=one \stemDown c c]
+    r2
+  }
+  \context Staff = "two" \relative c'{
+    \clef bass
+    s1
+    s1
+    s1
+    s1
+  }
+>>
 
 
index 3858df20c53d05452334cc6549a58d8e0fbc8c00..687a7d5f053e2c74c894b0aa47865207ac2a5945 100644 (file)
@@ -3,24 +3,22 @@
 \header { texidoc = "@cindex Beam Damp
 Beams are less steep than the notes they encompass. " }
 
-\score{
-       \relative c''{
-%              \stemUp
-%               a16[ b b c]
-%               c[ b b a]
-%              \stemDown
-%               c[ b b a]
-%               a[ b b c]
-               \stemUp
-                g16[ a b c]
-                c[ b a g]
-               \stemDown
-                d'[ c b a]
-                a[ b c d]
-       }
-       \layout{
-               raggedright = ##t
-       }
+\relative c''{
+  %%           \stemUp
+  %%            a16[ b b c]
+  %%            c[ b b a]
+  %%           \stemDown
+  %%            c[ b b a]
+  %%            a[ b b c]
+  \stemUp
+  g16[ a b c]
+  c[ b a g]
+  \stemDown
+  d'[ c b a]
+  a[ b c d]
+}
+\layout{
+  raggedright = ##t
 }
 
 
index 09c0ddf60a18e072103cb2547ba26fc8dc5d6623..f765336f85f6e1f7f04a84cce91a45dfb65785b3 100644 (file)
@@ -5,14 +5,12 @@
     texidoc="Beamed stems have standard lengths if possible. Quantization is switched off in this example."
     }
 
-\score{
-    \relative c'{
-       \override Beam  #'position-callbacks =
-        #`(,Beam::least_squares
-        ,Beam::check_concave
-        ,Beam::slope_damping)
+\relative c'{
+  \override Beam  #'position-callbacks =
+  #`(,Beam::least_squares
+     ,Beam::check_concave
+     ,Beam::slope_damping)
 
-        f4  f8[ f]  f16[ f]  f32[ f]  f64[ f]  f128[ f] 
-    }
-    \layout{ raggedright = ##t}
-}          
+  f4  f8[ f]  f16[ f]  f32[ f]  f64[ f]  f128[ f] 
+}
+\layout{ raggedright = ##t}
index cce806fc99becb18a8dac68017f59ee2bbc380f3..87ecdbd05bfe64989b270c32d139114dfb6f6d9b 100644 (file)
@@ -27,22 +27,14 @@ extreme = \relative c'' {
       }
 }
 
-\score {
-  {
-    % If we want to test extreme beams,
-    % we should not have them auto-kneed
-    \override Beam  #'auto-knee-gap = ##f
-    \extreme
-
+{
+                               % If we want to test extreme beams,
+                               % we should not have them auto-kneed
+  \override Beam  #'auto-knee-gap = ##f
+  \extreme
+}
 
-    %% what does this test? --hwn
-%{
-    \override Beam  #'slope-limit = #1000
-    \extreme
-    %}
-  }
-  \layout{
-%    raggedright = ##t
-    raggedright = ##t
-  }
+\layout{
+  %%    raggedright = ##t
+  raggedright = ##t
 }
index 928d390ae265e32424e25f75b96836d3614cb851..b7b0bd26992bb69bf28b5d13a4a8557bc42aad01 100644 (file)
@@ -2,20 +2,18 @@
 \version "2.6.0"
 \header {
 
-texidoc=" Funky kneed beams with beamlets also work. The beamlets
+  texidoc=" Funky kneed beams with beamlets also work. The beamlets
 should be pointing to the note head.
 "
 
 }
 
 
-\score {
-  \relative c' {
-     c16 c''8 c,,16
-     c16 c''8 c16
-     c16 c,,8 c16          
-     
-  }
-  \layout { raggedright = ##t}
+\relative c' {
+  c16 c''8 c,,16
+  c16 c''8 c16
+  c16 c,,8 c16          
+  
 }
+\layout { raggedright = ##t}
          
index 74026fadeb00f22ca155f783ee3123e0c33ca868..1f03f4ddf5b01969e697d0ca41d33c55c92197a4 100644 (file)
@@ -1,39 +1,38 @@
 
 \version "2.6.0"
 \header {
-    
-    texidoc = "In complex configurations of knee beaming, according to
+  
+  texidoc = "In complex configurations of knee beaming, according to
 Paul Roberts, the first stem of a beam determines the direction of the
 beam, and as such the way that following (kneed) stems attach to the
 beam. This is in disagreement with the current algorithm."
-    
+  
 }
 
-\score { 
 \relative c'
-        {
-            \override Beam  #'auto-knee-gap = #7
-            \set subdivideBeams = ##t       
-            \time 8/8
-             c,16[  g'''16  
-            c,,,16  g'''16 
-            c,,,16  g'''16                  
-            c,,,16  g'''16 ]
+{
+  \override Beam  #'auto-knee-gap = #7
+  \set subdivideBeams = ##t         
+  \time 8/8
+  c,16[  g'''16  
+        c,,,16  g'''16 
+        c,,,16  g'''16                      
+        c,,,16  g'''16 ]
 
-             c,,,16[ c c c
-             b'''   b b b]
+  c,,,16[ c c c
+         b'''   b b b]
 
-            \transpose c' a, { \relative b'' {  g,16[  g'''16  
-            g,,,16  g'''16 
-            g,,,16  g'''16                  
-            g,,,16  g'''16
-            g g,,,
-            g''' g,,,
-            g''' g,,,
-            g''' g,,,]     }  }
-            
-        }
+  \transpose c' a, {
+    \relative b'' {  g,16[  g'''16  
+                           g,,,16  g'''16 
+                           g,,,16  g'''16                   
+                           g,,,16  g'''16
+                           g g,,,
+                           g''' g,,,
+                           g''' g,,,
+                           g''' g,,,]
+                  }
+  }
+}
 \layout { raggedright = ##t} 
 
-     }
-
index 16333a07aa4bd63d4ac1d09655c2b8506d535d3f..357b821771d78a649168b5fa39b0bba2a7ff783d 100644 (file)
@@ -8,22 +8,20 @@ Beams can be placed across a @code{PianoStaff}.
 "
 
 }
-\score{
-       \context PianoStaff <<
-       \context Staff = "one" \relative c'{
-               s1
-       }
-       \context Staff = "two" \relative c'{
-               \clef bass
-% no knee
-               \stemUp  c8[ \change Staff=one \stemDown g'16 f]
-               s8
-               s2
-       }
-       >>
-       \layout{
-               raggedright = ##t
-       }
+\context PianoStaff <<
+  \context Staff = "one" \relative c'{
+    s1
+  }
+  \context Staff = "two" \relative c'{
+    \clef bass
+                               % no knee
+    \stemUp  c8[ \change Staff=one \stemDown g'16 f]
+    s8
+    s2
+  }
+>>
+\layout{
+  raggedright = ##t
 }
 
 
index 29a48f691c7877013e94e002a2a4542c4b9b8b43..d0669694152f11c789508f5a8e44022c61dce023 100644 (file)
@@ -7,7 +7,6 @@
 
 }
 
-\score{
     \relative c'{
         a8[ b'' a,, b'']
         b8[ a,, b'' a,,]
@@ -15,4 +14,3 @@
     \layout{
        raggedright = ##t 
     }
-}
index d7742b202e332b099bbbd2b7d358fc80af53bc1f..2190e445745aa4d9f1f319195b6cc6ef24c26d52 100644 (file)
@@ -2,16 +2,14 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 Beams should look the same.
 "
 }
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-    
-\score { 
-  \context Voice \relative c {
-                        d''8[ d d]  d[ g d]
-                       c c
-  }
+
+\context Voice \relative c {
+  d''8[ d d]  d[ g d]
+  c c
 }
index cd3d32c4506ff518cba2578c4be7e5d889d29903..bd4655fda57752549fd5c154938044ec0b31373e 100644 (file)
@@ -3,26 +3,24 @@
 
 
 \header {
-    texidoc = 
-    "Beaming can be overidden for individual stems."
+  texidoc = 
+  "Beaming can be overidden for individual stems."
 }
-\score {
-     \relative c'' {
-       c32[ c
+\relative c'' {
+  c32[ c
 
-            %% WARNING: #'beaming is written, so this
-            %% property can not be shared between objects. Always use
-            %%  \once.
-            %%
+       %% WARNING: #'beaming is written, so this
+       %% property can not be shared between objects. Always use
+       %%  \once.
+       %%
 
-            \once \override Stem 
-            #'beaming = #(cons (list   1 2) (list 0 2 4))
-            c
-            \once \override Stem 
-            #'beaming = #(cons (list 0 2 4) (list 0 1 4))
-            c c c]
-    }
-    \layout{ 
-       raggedright = ##t 
-    }
+       \once \override Stem 
+       #'beaming = #(cons (list   1 2) (list 0 2 4))
+       c
+       \once \override Stem 
+       #'beaming = #(cons (list 0 2 4) (list 0 1 4))
+       c c c]
+}
+\layout{ 
+  raggedright = ##t 
 }
index cedbb65e9090909799be92f1ac22de87f90a2b54..962f118a62dfb016e593ef607c91645743600405 100644 (file)
@@ -1,30 +1,28 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "Kneed beams (often happens with cross-staff beams)
+  texidoc = "Kneed beams (often happens with cross-staff beams)
 should look good when there are multiple beams: all the beams should
 go on continuously at the staff change. Stems in both staves reach up
 to the last beam.
 "
 }
 
-\score { 
-        \context PianoStaff \relative c' <<
-            \context Staff = SA {
-                \stemDown
-                 c8[ c16 \change Staff = SB \stemUp c16 ]
-                \stemNeutral
-                 f[ g \change Staff = SA a c] 
-                              }
-            \context Staff = SB \relative c' {
-\clef bass
-                 b8[ b16 \stemUp b,,16 ]
+\context PianoStaff \relative c' <<
+  \context Staff = SA {
+    \stemDown
+    c8[ c16 \change Staff = SB \stemUp c16 ]
+    \stemNeutral
+    f[ g \change Staff = SA a c] 
+  }
+  \context Staff = SB \relative c' {
+    \clef bass
+    b8[ b16 \stemUp b,,16 ]
 
-                g'4\rest
-                 b,8[ b16 \stemDown b''16 b ]
-            }       
-            
-            >>
-    \layout { raggedright= ##t }
+    g'4\rest
+    b,8[ b16 \stemDown b''16 b ]
+  }         
+  
+>>
+\layout { raggedright= ##t }
 
-}
index f8a0f15a4c6e5d2ebe902b57d77d0027ba50c257..7d732b6536ee334f8d58abce6a9fd3d800c94ee7 100644 (file)
@@ -1,11 +1,9 @@
 
 \version "2.6.0"
 \header {
-texidoc = "Explicit beams may cross barlines. "
+  texidoc = "Explicit beams may cross barlines. "
 }
-\score {
- \relative c'' { c2.  c8[ c8 c8 c8] }
+\relative c'' { c2.  c8[ c8 c8 c8] }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-}
index 7493ae305c135300d898577e4e88fc96e9e04a42..a8bbebd37e4e449041fa5a80f96ac5a63cfd9bdc 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0"
 \header{
 
-texidoc=" Beams on ledgered notes should always reach the middle staff
+  texidoc=" Beams on ledgered notes should always reach the middle staff
 line.  The second beam counting from the note head side, should never
 be lower than the second staff line.  This does not hold for grace
 note beams.  Override with @code{no-stem-extend}.  "
@@ -10,20 +10,17 @@ note beams.  Override with @code{no-stem-extend}.  "
 }
 
 
-\score { 
-  \context Voice \relative c {
-     f8[ f]   f64[ f] 
-     \grace { 
-       f8[ e8] 
-      \override Stem  #'no-stem-extend = ##f
-       f8[ e8] 
-      \revert Stem #'no-stem-extend
-    }
-        f8[ f]
-       
+\context Voice \relative c {
+  f8[ f]   f64[ f] 
+  \grace { 
+    f8[ e8] 
+    \override Stem  #'no-stem-extend = ##f
+    f8[ e8] 
+    \revert Stem #'no-stem-extend
   }
-  \layout {
-    raggedright = ##t
-  }  
-  \midi { }
+  f8[ f]
+  
 }
+\layout {
+  raggedright = ##t
+}  
index cda10ae7e2ed4c55b07693df001b0b9281151d5b..388ed710a0db6f6ed83845e4a5503e5269d61803 100644 (file)
@@ -10,22 +10,19 @@ texidoc = "Stem lengths take precedence over beam quants: `forbidden'
 
 \version "2.6.0"
 
-\score {
-     \relative c''{ 
-\time 3/8
-a'16[ b] g[ b]
-a32[ b] g[ b] 
-g16[ a] f[ a]
-g32[ a] f[ a] 
-f16[ g] e[ g]
-f32[ g] e[ g] 
-e16[ f] d[ f]
-e32[ f] d[ f] 
-d16[ e] c[ e]
-d32[ e] c[ e]
-c16[ d] b[ d]
-c32[ d] b[ d]
-a'32[ a] g[ g] f[ f] e[ e] d[ d] c[ c]
-}
-\layout {  }
+\relative c''{ 
+  \time 3/8
+  a'16[ b] g[ b]
+  a32[ b] g[ b] 
+  g16[ a] f[ a]
+  g32[ a] f[ a] 
+  f16[ g] e[ g]
+  f32[ g] e[ g] 
+  e16[ f] d[ f]
+  e32[ f] d[ f] 
+  d16[ e] c[ e]
+  d32[ e] c[ e]
+  c16[ d] b[ d]
+  c32[ d] b[ d]
+  a'32[ a] g[ g] f[ f] e[ e] d[ d] c[ c]
 }
index b2fbb55cbb603472869d738108b0843310de6f07..3f01d808826d8c52011b1c09f7b8077364511f89 100644 (file)
@@ -9,21 +9,19 @@ lengths are between 2 and 1.5."
 
 }
 
-\score{
-       \relative c' { 
-                c8[ c]  a''[ a]
-                a,[ a]  c[ c]
-                d,8[ d]  g'[ g]
-                g,[ g]  d'[ d]
-                c,16[ c]  a''[ a]
-                a,[ a ]  c[ c]
-               \break
-                c,32[  c]  a''[ a]
-                f,[ f]  e'[ e]
-                c,64[ c]  a''[ a]
-                f,[ f]  e'[ e]
-               \break
-       }
+\relative c' { 
+  c8[ c]  a''[ a]
+  a,[ a]  c[ c]
+  d,8[ d]  g'[ g]
+  g,[ g]  d'[ d]
+  c,16[ c]  a''[ a]
+  a,[ a ]  c[ c]
+  \break
+  c,32[  c]  a''[ a]
+  f,[ f]  e'[ e]
+  c,64[ c]  a''[ a]
+  f,[ f]  e'[ e]
+  \break
 }
 
 
index 68a9ad9f923550806df199d9e6360503d812ca6d..5a7f0a0ddeed692786ec7d6f0de388eecc42d89b 100644 (file)
@@ -1,13 +1,12 @@
 
 \header {
- texidoc = "The number of beams does not change on a rest."
 texidoc = "The number of beams does not change on a rest."
 }
 
 \version "2.6.0"
 
-\score {  \relative c, {
+\relative c, {
   \clef bass    
-   e8[ r16 f d'8 e16 e16]  c8[ c16 r16 bes8 r16 c16] |
- }
-\layout { raggedright = ##t}
+  e8[ r16 f d'8 e16 e16]  c8[ c16 r16 bes8 r16 c16] |
 }
+\layout { raggedright = ##t }
index ef869ab50c818ec939acfb8a1fcd58cb15946355..d73e7b3844293b32c10fbe4e9c0d321b1a9b2224 100644 (file)
@@ -1,20 +1,22 @@
 
 \version "2.6.0"
+
 \header{
-  texidoc="
-Engraving second intervals is tricky.  We used to have problems with seconds 
-being too steep, or getting too long stems.  In a file like this, showing
-seconds, you'll spot something fishy very quickly.
-" }
-\score{
-    \relative c''{
-       \stemUp
-        b8[ c]
-        b16[ c]
-        a'[ b]
-    }
-    \layout{
-       raggedright = ##t
-    }
+
+  texidoc="Engraving second intervals is tricky.  We used to have
+problems with seconds being too steep, or getting too long stems.  In
+a file like this, showing seconds, you'll spot something fishy very
+quickly."
+
+}
+
+
+\relative c''{
+  \stemUp
+  b8[ c]
+  b16[ c]
+  a'[ b]
+}
+\layout{
+  raggedright = ##t
 }
index aacd0b42b274ef8e848137eefd48266bd5b85114..4097f7dfa19b8a3565f654d19984c95d80559b64 100644 (file)
@@ -5,14 +5,12 @@
     texidoc="Beams in unnatural direction, have shortened stems, but do not look too short."
     }
 
-\score{
-    \relative c'{
-       \override Beam  #'position-callbacks =
-        #`(,Beam::least_squares
-        ,Beam::check_concave
-        ,Beam::slope_damping)
-       \stemUp
-        f'4  f8[ f]  f16[ f]  f32[ f]  f64[ f]  f128[ f] 
-    }
-    \layout{ raggedright = ##t}
-}          
+\relative c'{
+  \override Beam  #'position-callbacks =
+  #`(,Beam::least_squares
+     ,Beam::check_concave
+     ,Beam::slope_damping)
+  \stemUp
+  f'4  f8[ f]  f16[ f]  f32[ f]  f64[ f]  f128[ f] 
+}
+\layout{ raggedright = ##t }
index 475aab238b951f5ef34f50e9cd163f76f68c0a45..0c232c64ab4e25dafd60e5d1fa24dd0d709f9e53 100644 (file)
@@ -1,14 +1,12 @@
 
 \version "2.6.0"
 \header {
-texidoc = "Automatic beaming works also in ternary time sigs."
+  texidoc = "Automatic beaming works also in ternary time sigs."
 }
 
-\score {
-    \relative c'' {
-\time 6/8
- c8.[ c16 c16 c16] 
+\relative c'' {
+  \time 6/8
+  c8.[ c16 c16 c16] 
 }
 \layout { raggedright = ##t}
-}
 
index 4f17fa28572789d6e8e8eef71c768e164fb6802b..ee953ad6b077a861a03ac8f496be73cecccd0b71 100644 (file)
@@ -9,23 +9,23 @@ hidden just as with breakable bar lines.
 "
 }
 
-\score { \context Staff  \relative c''  {
-        c8.[ c16]
-        c8.[ c16 c8.  c16]
-        c16[ c8.] |
-        c8.[ c16  c16  c8.]
-        c8.[ c32  c32]
-        c8[ c8] |
-        c16[ c16]
-        c32[ c32]
-        c64[ c64]      
-       c32
-       c2
+\context Staff  \relative c''  {
+  c8.[ c16]
+  c8.[ c16 c8.  c16]
+  c16[ c8.] |
+  c8.[ c16  c16  c8.]
+  c8.[ c32  c32]
+  c8[ c8] |
+  c16[ c16]
+  c32[ c32]
+  c64[ c64]    
+  c32
+  c2
 
-        c8[ c c] c8 % over barline
-        c16[ c8 c16]
-        c32[ c16 c16 c16 c32]
-        c32[ c16 c8 c32]                % hmm ?
-       
-               }}
+  c8[ c c] c8 % over barline
+  c16[ c8 c16]
+  c32[ c16 c16 c16 c32]
+  c32[ c16 c8 c32]              % hmm ?
+  
+}
 
index 1a7f549444ae23b990454e0ec67ef604c0f4852f..9b2d3fd63d7adecb61cd00aa3515de290c7f4790 100644 (file)
@@ -6,12 +6,11 @@
 
     \layout { raggedright= ##t }
 
-\score { 
 \relative c'
-        {
-        c16[ c8.]
-        c8.[ c16]
-        c8[ c16 c16 c8]
-        c8[ c16 e16 g8]
+{
+  c16[ c8.]
+  c8.[ c16]
+  c8[ c16 c16 c8]
+  c8[ c16 e16 g8]
 
-    }}
+}
index ef2be2a15ec09eb4d94f74233f4092feceb04a70..87ddcdbf387832220b482dad06c139be6bcf8e9f 100644 (file)
@@ -2,19 +2,18 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 Breaks can be encouraged and discouraged using @code{\\break} and
 @code{\\noBreak}."
 }
 
 
-\score{
-       \relative c'' \context Voice{
-       \emptyText
-       c1 \noBreak c1 \noBreak \mark "nobreak" c1 \noBreak
-       c1 \break \mark "break" c1 \break \mark "break" c1 
-       }
-       \layout {
-           indent = 0.0
-           linewidth = 4.0\cm}
+\relative c'' \context Voice {
+  \emptyText
+  c1 \noBreak c1 \noBreak \mark "nobreak" c1 \noBreak
+  c1 \break \mark "break" c1 \break \mark "break" c1 
+}
+\layout {
+  indent = 0.0
+  linewidth = 4.0\cm
 }
index 28c0436dd2694b677eafb7e8a75a477dcbceaf0f..44135176027101ff8d70121d64bd99cbf8f1e636 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 Gregorian chant notation sometimes also uses commas and ticks, but in
 smaller font size (we call it 'virgula' and 'caesura').  However, the
 most common breathing signs are divisio minima/maior/maxima and
@@ -11,40 +11,38 @@ finalis, the latter three looking similar to bar glyphs.
 
 \include "gregorian-init.ly"
 
-\score {
 
-    %
-    % Gregorian notation:
-    %
-    \context VaticanaStaff {
-       \relative c' {
+%%
+%% Gregorian notation:
+%%
+\context VaticanaStaff {
+  \relative c' {
 
-       % we turn bars and bar numbers off for Gregorian stuff
-       \override Staff.BarLine  #'transparent = ##t
-       \override Score.BarNumber  #'transparent = ##t
+    %% we turn bars and bar numbers off for Gregorian stuff
+    \override Staff.BarLine  #'transparent = ##t
+    \override Score.BarNumber  #'transparent = ##t
 
-       % here is no \breathe
-       c g c
+    %% here is no \breathe
+    c g c
 
-       % \virgula applies rcomma, but in a smaller font
-       c \virgula g c
+    %% \virgula applies rcomma, but in a smaller font
+    c \virgula g c
 
-       % \caesura applies rvarcomma, but in a smaller font
-       c \caesura g c
+    %% \caesura applies rvarcomma, but in a smaller font
+    c \caesura g c
 
-       % \divisioMinima is a simple vertical stroke through the
-       % uppermost staffline, just like the original implementation
-       % of breathing signs.
-       c \divisioMinima g c
+    %% \divisioMinima is a simple vertical stroke through the
+    %% uppermost staffline, just like the original implementation
+    %% of breathing signs.
+    c \divisioMinima g c
 
-       % \divisio{maior,maxima} and \finalis look like bars and are
-       % vertically centered on the staff; the direction property has
-       % no effect
-       c \divisioMaior g c
-       c \divisioMaxima g c
+    %% \divisio{maior,maxima} and \finalis look like bars and are
+    %% vertically centered on the staff; the direction property has
+    %% no effect
+    c \divisioMaior g c
+    c \divisioMaxima g c
 
-       % this one looks almost like a "||" type bar
-       \finalis
-      }
-    }
+    %% this one looks almost like a "||" type bar
+    \finalis
+  }
 }
index fd34801eaa4170e4fc23a0a520f803d92e2c1452..1c6007ba949a03bb51596e4ddf4dfc0a022afe91 100644 (file)
@@ -1,57 +1,52 @@
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Breathing signs are available in different tastes: commas (default),
 ticks, vees and `railroad tracks' (caesura)."
- }
-
-
-\score {
-
-  {
-    %
-    % Modern notation:
-    %
-    \new Staff {
-       \relative c'' {
-       \key es \major \time 3/4
-
-       % this bar contains no \breathe
-       <<
-         { g4 as g } \\
-         { es4 bes es }
-       >> |
-
-       % by default, \breathe uses the rcomma, just as if saying:
-       % \override BreathingSign  #'text =
-       %       #(make-musicglyph-markup "scripts.rcomma")
-       <<
-         { g4 as g } \\
-         { es4 \breathe bes es }
-       >> |
-
-       % rvarcomma and lvarcomma are variations of the default rcomma
-       % and lcomma
-
-       % N.B.: must use Staff context here, since we start a Voice below
-       \override Staff.BreathingSign  #'text =
-               #(make-musicglyph-markup "scripts.rvarcomma")
-       <<
-         { g4 as g } \\
-         { es4 \breathe bes es }
-       >> |
-
-       % wedge
-       \override BreathingSign  #'text =
-                #(make-musicglyph-markup "scripts.upbow")
-       es8 d es f g8 \breathe f |
-
-       % caesura
-       \override BreathingSign  #'text =
-                #(make-musicglyph-markup "scripts.caesura")
-       es8[ d] \breathe  es[ f g f] |
-       es2 r4 \bar "||" \break
-      }
+}
+
+
+{
+  %% Modern notation:
+  \new Staff {
+    \relative c'' {
+      \key es \major \time 3/4
+
+      %% this bar contains no \breathe
+      <<
+       { g4 as g } \\
+       { es4 bes es }
+      >> |
+
+      %% by default, \breathe uses the rcomma, just as if saying:
+      %% \override BreathingSign  #'text =
+                               %       #(make-musicglyph-markup "scripts.rcomma")
+      <<
+       { g4 as g } \\
+       { es4 \breathe bes es }
+      >> |
+
+      %% rvarcomma and lvarcomma are variations of the default rcomma
+      %% and lcomma
+
+      %% N.B.: must use Staff context here, since we start a Voice below
+      \override Staff.BreathingSign  #'text =
+      #(make-musicglyph-markup "scripts.rvarcomma")
+      <<
+       { g4 as g } \\
+       { es4 \breathe bes es }
+      >> |
+
+      %% wedge
+      \override BreathingSign  #'text =
+      #(make-musicglyph-markup "scripts.upbow")
+      es8 d es f g8 \breathe f |
+
+      %% caesura
+      \override BreathingSign  #'text =
+      #(make-musicglyph-markup "scripts.caesura")
+      es8[ d] \breathe  es[ f g f] |
+      es2 r4 \bar "||" \break
     }
   }
 }
index 5c7dfea2a495940d161a3d13c6baa1238d07f8d1..8c253cdaf21402198bc4250295444bc61240869d 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 
 \header{
-texidoc="Property chordChanges: display chord names only when
+  texidoc="Property chordChanges: display chord names only when
 there's a change in the chords scheme, but always display the
 chord name after a line break.
 "
@@ -15,13 +15,11 @@ scheme = \chordmode {
 settings = {
 }
 
-\score {
-    <<
-       \context ChordNames <<
-           \scheme
-           \set chordChanges = ##t
-       >>
-       \context Staff \transpose c c' \scheme
-    >>
-    \layout{ raggedright = ##t }
-}
+<<
+  \context ChordNames <<
+    \scheme
+    \set chordChanges = ##t
+  >>
+  \context Staff \transpose c c' \scheme
+>>
+  \layout{ raggedright = ##t }
index 0aa10be49432761ac0309d0c5afd43dd987db92b..2e1f31583d5387a7b5b6ed04ae457ee3ff65941d 100644 (file)
@@ -2,7 +2,7 @@
 
 \header {
 
-texidoc = "In ignatzek inversions, a note is dropped down to act as the
+  texidoc = "In ignatzek inversions, a note is dropped down to act as the
 bass note of the chord. Bass note may be also added explicitly.  
 Above the staff: computed chord names. Below staff: entered chord name. 
 "
@@ -11,11 +11,11 @@ Above the staff: computed chord names. Below staff: entered chord name.
 
 
 bladidbla = \chordmode { 
-    f4:maj7/e_":maj7/e" f:maj7/f_":maj7/f" f2:maj7/g_":maj7/g"
-    f4:maj7/+e_":maj7/+e" f:maj7/+f_":maj7/+f" f2:maj7/+g_":maj7/+g"
- }
-
-\score {
-<< \context ChordNames \bladidbla
-  \context Voice \bladidbla >>
+  f4:maj7/e_":maj7/e" f:maj7/f_":maj7/f" f2:maj7/g_":maj7/g"
+  f4:maj7/+e_":maj7/+e" f:maj7/+f_":maj7/+f" f2:maj7/+g_":maj7/+g"
 }
+
+<<
+  \context ChordNames \bladidbla
+  \context Voice \bladidbla
+>>
index ed1795175f398dc5df0371899a56cd64207d0813..7958f4cef0a565ef9023c3c2ae0a8aa988787ebd 100644 (file)
@@ -6,18 +6,14 @@ texidoc = "Scripts can also be attached to chord elements."
 
 }
 
-\score {
-     \relative c''{
-       < c-.  > 4
-       < c->  > 4
-       < c-. e-. g-. b-. >  
-       < c^^  > 4
-       < c_^  > 4
-       < c_^ e^^ > 4
-       < c_^ e^^ > 4
+\relative c''{
+  < c-.  > 4
+  < c->  > 4
+  < c-. e-. g-. b-. >  
+  < c^^  > 4
+  < c_^  > 4
+  < c_^ e^^ > 4
+  < c_^ e^^ > 4
 
 
-    }
-
 }
-
index e239281bd4f7a69a68fc288a4373dbc4e91c46ce..756c058de21476b7e584eb370ed93465018fd214 100644 (file)
@@ -5,12 +5,10 @@
   "
 }
 
-\score {
-  \context Staff  \relative c' {
-    \repeat "tremolo"  2 { c32 e32 }
-    \stemDown
-    \repeat "tremolo"  2 { c32 e32 }
-  }
-  \layout { raggedright = ##t }
+\context Staff  \relative c' {
+  \repeat "tremolo"  2 { c32 e32 }
+  \stemDown
+  \repeat "tremolo"  2 { c32 e32 }
 }
+\layout { raggedright = ##t }
 
index cab11c23683078e51932d0759b86453ac395a9c9..c462b7a60f9a60b434d43758f6d3ebd1bdee51d6 100644 (file)
@@ -19,12 +19,10 @@ chs =
 }
 
 
-\score{
-    <<
-       \context ChordNames {
-%      #(set-chord-name-style 'ignatzek)
-       \chs
-    }
-       \context Staff  \transpose c c' { \chs }
-    >>
-}
+<<
+  \context ChordNames {
+    %% #(set-chord-name-style 'ignatzek)
+    \chs
+  }
+  \context Staff  \transpose c c' { \chs }
+>>
index 479e53ac7a3e94ce3e7f885e211376bfc8fc0f06..5ac0e01d5c87ab2a97b9b47c7760d246bfde6cae 100644 (file)
@@ -7,24 +7,21 @@ higher or lower), and can take any value, including 15 for two octaves."
 
 }
 
-\score { 
+\relative c'' {
 
-       \relative c'' {
-
-           \clef "G_8"
-           c4
-           \clef "G_15"
-           c4
-           \clef "G_7"
-           c4
-           \clef "G_6"
-           c4 
-           \clef "G^8"
-           c4 
-           \clef "G^15"
-           c4 
-           \clef "G^9"
-           c4 
+  \clef "G_8"
+  c4
+  \clef "G_15"
+  c4
+  \clef "G_7"
+  c4
+  \clef "G_6"
+  c4 
+  \clef "G^8"
+  c4 
+  \clef "G^15"
+  c4 
+  \clef "G^9"
+  c4 
 }
-        \layout { raggedright = ##t  }
-            }
+\layout { raggedright = ##t  }
index c55590051b7ec88f269fab1a34f10c2ddc48c09c..c9744625def567dd1d237c28a31cd0ec57fc3da9 100644 (file)
@@ -6,19 +6,17 @@
 
 \version "2.6.0"
 
-\score {
-    \new PianoStaff <<
-    \context Staff = "up"     {
-       s1 *2
-       }
-       \context Staff = "down" <<
-           \applymusic #notes-to-clusters \relative c  { <c e>4 <f a> <b e> \change Staff = up <e a>
-                                                    <a d> <d g> }
+\new PianoStaff <<
+  \context Staff = "up"     {
+    s1 *2
+  }
+  \context Staff = "down" <<
+    \applymusic #notes-to-clusters \relative c  { <c e>4 <f a> <b e> \change Staff = up <e a>
+                                                 <a d> <d g> }
 
-           { \clef bass s1 * 2 }
-           >>
+    { \clef bass s1 * 2 }
+  >>
 >>
-    \layout {
-       raggedright= ##t
-    }
+\layout {
+  raggedright= ##t
 }
index 849f9fcb639fe54e9b324bb938f823a4df120ab5..b606591f672ffe9166cbb482d6d81b399b946c81 100644 (file)
@@ -1,22 +1,21 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Clusters are a device to denote that a complete range of
+  texidoc = "Clusters are a device to denote that a complete range of
 notes is to be played."
 }
 
 fragment = \relative c' {
-         c4 f4 <e d'>4
-         <g a>8 <e a> a4 c2 <d b>4 e4 
-         c4 }
-
-\score {
-  <<
-     \new Staff \fragment
-     \new Staff \applymusic #notes-to-clusters \fragment
-     >>
- \layout { raggedright = ##t }
+  c4 f4 <e d'>4
+  <g a>8 <e a> a4 c2 <d b>4 e4 
+  c4
 }
 
+<<
+  \new Staff \fragment
+  \new Staff \applymusic #notes-to-clusters \fragment
+>>
+  \layout { raggedright = ##t }
+
 
 
index e5ad0f8c2bfdef9371b5e819d60544d2a19d7bab..2e64ede364a18d3e5f7b4bcf82084e594d51a09e 100644 (file)
@@ -5,13 +5,9 @@ texidoc = "Single head notes may collide. "
     \layout { raggedright= ##t }
 
 
-\score {
-    
-
-  \context Staff  \transpose c c' <<  
-       {  c4 d e f g2 g4 a | }  \\
-       { g4 f e g  g2 g2 } 
-  >>
-}
+\context Staff  \transpose c c' <<  
+  {  c4 d e f g2 g4 a | }  \\
+  { g4 f e g  g2 g2 } 
+>>
 
 
index 7d54d0e5227841d6df0f1292ac26d505fc369243..1e733cec1d8e4ada49ff82747788386704913d12 100644 (file)
@@ -5,10 +5,8 @@
     confusion to which notes the dots belong."
 }
 \version "2.6.0"
-\score { 
-   \relative c'' { 
-    << <a c>2\\ { <b d>4 <b d>4 }   >>
-    << { <a c>2 } \\ { <b d>4. <b e>8 } >> 
-  }
-  \layout {  raggedright = ##t } 
-}   
+\relative c'' { 
+  << <a c>2\\ { <b d>4 <b d>4 }   >>
+  << { <a c>2 } \\ { <b d>4. <b e>8 } >> 
+}
+\layout {  raggedright = ##t } 
index 3f947c156072446bf437b5ed1d0f40755e535a03..dff14ca39ef866516228885de7d87c7e46b32eda 100644 (file)
@@ -8,10 +8,8 @@
 
 \layout { raggedright = ##t }
 
-\score {
-   \relative c {
-    \key d \minor
-    \clef bass
-    << <cis a' cis>4 \\ { g'8. bes16} >>
-  }
+\relative c {
+  \key d \minor
+  \clef bass
+  << <cis a' cis>4 \\ { g'8. bes16} >>
 }
index aae096ba6954c5648297462188591025a992958f..78a5c937cd60e496a48d71e2f6ef9b8d017efc88 100644 (file)
@@ -9,14 +9,12 @@
 \layout { raggedright= ##t }
 
 % todo: b2 (up) + b8 down looks strange compared to c2up + b8. (down)
-\score{
-        \context Staff  <<
-                \clef "bass"
-               { b8. c'16 d'4 b8  c'8  d'4 b2 b2  }
-               \\
-               { b2 b2 b8. a16 g4 b8 a g4 }
-        >>
-}
+\context Staff  <<
+  \clef "bass"
+  { b8. c'16 d'4 b8  c'8  d'4 b2 b2  }
+  \\
+  { b2 b2 b8. a16 g4 b8 a g4 }
+>>
 
 
 
index 1653b9e8c91099ab5912b0c8983444c7fa595243..1e463308b34dd184ec8e35c2609a10d5a8ab8281 100644 (file)
@@ -1,18 +1,16 @@
 \version "2.6.0"
 \header {
-texidoc = "Note heads in collisions should be merged if
+  texidoc = "Note heads in collisions should be merged if
 they have the same positions in the extreme note heads.  
 "
 
 }
 
 
-\score {
-  \relative c'' {
-c4 
+\relative c'' {
+  c4 
   << { c4 d4 <c d>8  <c d> <c d> } \\  { c4 c <a b>8 <b c> <c d>8 } >>
 }
 \layout {raggedright = ##t} 
-}
 
 
index b65d6a3af5b37dcce668ac6b9dd0e08dcaf7f065..326cb01e2ebd5a2a445124590caaa3d3bc686ffe 100644 (file)
@@ -1,31 +1,29 @@
 \version "2.6.0"
 \header {
-    texidoc =
+  texidoc =
 
-    "If @code{merge-differently-headed} is enabled, then
+  "If @code{merge-differently-headed} is enabled, then
 open note heads may be merged with black noteheads, but only
 if the black note heads are from 8th or shorter notes.
 "
-    
+  
 }
 
 \layout { raggedright= ##t }
 
 
-\score {
-    \context Staff  \relative c'' <<
-       {
-           c2 c8 c4.
-           
-           \override Staff.NoteCollision  #'merge-differently-headed = ##t
-           c2 c8 c4.
-           c2
-       }\\
-       {
-           c8 c4. c2
-           
-           c8 c4. c2
-           c4
-       }
-    >>
-}
+\context Staff  \relative c'' <<
+  {
+    c2 c8 c4.
+    
+    \override Staff.NoteCollision  #'merge-differently-headed = ##t
+    c2 c8 c4.
+    c2
+  }\\
+  {
+    c8 c4. c2
+    
+    c8 c4. c2
+    c4
+  }
+>>
index b2f4d882ecab154dba8cdafff0fb2ff712df88de..e0bfb514f3624ffe2e92a5427c6cd4b49cb97c6a 100644 (file)
@@ -9,22 +9,20 @@ should not disappear when merging similar note heads."
 
 \layout { raggedright= ##t }
        
-\score {
-    \context Staff \relative c'' <<
-       {
-           g8[ g8]
-           \override Staff.NoteCollision  #'merge-differently-dotted = ##t
-           g8[ g8]
-           g4. r8 g8. g16
-           g8 g4 r8 g4
-       }
-       \\
-       {
-           g8.[ f16]
-           g8.[ f16]
-           g8 g4 r8 g4
-           g4. r8 g8. g16
-       }
-    >>
-}
+\context Staff \relative c'' <<
+  {
+    g8[ g8]
+    \override Staff.NoteCollision  #'merge-differently-dotted = ##t
+    g8[ g8]
+    g4. r8 g8. g16
+    g8 g4 r8 g4
+  }
+  \\
+  {
+    g8.[ f16]
+    g8.[ f16]
+    g8 g4 r8 g4
+    g4. r8 g8. g16
+  }
+>>
 
index a4b6871520f77b79ed775adfcdcc2469be61d51c..143022e0f23d8fb417f456bd3a9ae2ce52786169 100644 (file)
@@ -4,11 +4,10 @@
     }
 \version "2.6.0"
 
-\score {
- {
-\relative c'' \new Staff {
+{
+  \relative c'' \new Staff {
     << { d8. e16 } \\ { d8. b16 } >> 
-    }
+  }
 }
 
-\layout { raggedright = ##t }}
+\layout { raggedright = ##t }
index a1f49dbe109581d1c4bd41bf624f0721fdbb7c3f..ebe885870e3588e66d53761404b98fa775261964 100644 (file)
@@ -1,35 +1,32 @@
 \version "2.6.0"
 \header {
-texidoc = "Oppositely stemmed chords,  meshing into each other,
+  texidoc = "Oppositely stemmed chords,  meshing into each other,
 are resolved."
 }
 
-    \layout { raggedright= ##t }
-
-
-\score {
-  \context Staff  \transpose c c' {
-     \time 3/4
-     % Here's what I was trying to do:
-     <<          {
-         d'4
-         d'4.   
-        <a c'>4
-        <g b g'>4
-        <g b g'>4.              
-          }\\ {
-       <g b g'>4
-       <g b g'>4.       
-       <g b d'>4
-       d'4
-       d'4.       
-       }
- >>
-
-  }
+\layout { raggedright= ##t }
+
+
+\context Staff  \transpose c c' {
+  \time 3/4
+  %% Here's what I was trying to do:
+  <<
+    {
+      d'4
+      d'4.      
+      <a c'>4
+      <g b g'>4
+      <g b g'>4.                
+    } \\ {
+      <g b g'>4
+      <g b g'>4.       
+      <g b d'>4
+      d'4
+      d'4.       
+    }
+  >>
 }
 
 
 
 
-
index e40250ea8f4a3926171ab422c135fa8858550cda..dfdcf3f775dfafd5ae87f7d91c35e713970966e4 100644 (file)
@@ -1,6 +1,6 @@
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 In addition to normal collision rules, there is support for polyphony, 
 where the collosion are avoided by shifting middle voices horizontally.
 "
@@ -8,45 +8,45 @@ where the collosion are avoided by shifting middle voices horizontally.
 
 
 twovoice =
- \relative c' \context Staff  << 
-        {  g4 f f e e d d c } 
-\\ {  c4 c  d d e e f f }
+\relative c' \context Staff  << 
+  {  g4 f f e e d d c } 
+  \\ {  c4 c  d d e e f f }
 >>
 
 twovoicechords = \context Staff  <<
- \relative c' {
- e4 d c b a g f
-       }\\
- \relative c' {
-        <a c>4 <a c>4 <a c>4 <a c>4 <a c>
-               <a c> <a c>  
-       }
 \relative c' {
   e4 d c b a g f
+  }\\
 \relative c' {
+    <a c>4 <a c>4 <a c>4 <a c>4 <a c>
+    <a c> <a c>  
+  }
 >>
 
 
 threevoice = \context Staff  <<
-        { g4 f e f g a g2 } \\
-        {  c4 d e d c d es } \\
-        { e4 e e e e e e e  }
+  { g4 f e f g a g2 } \\
+  {  c4 d e d c d es } \\
+  { e4 e e e e e e e  }
 >>
 
 hairyChord = \context Staff  \relative c''
-    << e \\
-      fis, \\
-      cis' \\
-      \\
-      ais
-      >>
-
-
-\score{
-        { \transpose c c' {
-          \twovoice
-          \twovoicechords
-          \threevoice   }
-        \hairyChord
-       }
-       
-%      \midi { \tempo 4:80 }
-}
+<<
+  e \\
+  fis, \\
+  cis' \\
+  \\
+  ais
+>>
+
+
+  {
+    \transpose c c' {
+      \twovoice
+      \twovoicechords
+      \threevoice
+    }
+    \hairyChord
+  }
+  
 
index 0f716233af03600a0d69cf9f886df19cf79cea4c..4875d723439f05d8d8b17b9e687d88d02765d542 100644 (file)
@@ -8,17 +8,15 @@ Completion heads are not fooled by polyphony with a different rhythm.
 
 }
 
-\score{ 
-       \context Staff  \relative c'' << 
-           { c2. c bes2 } \\
-           { c2. a8 g4 f4. g4 f  }
-       >>
+\context Staff  \relative c'' << 
+  { c2. c bes2 } \\
+  { c2. a8 g4 f4. g4 f  }
+>>
 
-       \layout {
-               \context{
-                       \Voice
-                       \remove "Note_heads_engraver"
-                       \consists "Completion_heads_engraver"
-               }
-       }
+\layout {
+  \context{
+    \Voice
+    \remove "Note_heads_engraver"
+    \consists "Completion_heads_engraver"
+  }
 }
index fc0c5f7df3c7d26a678b40fd8d793bd8de68e6eb..96350e3a8ef471fcfa99c1acb47d29214f5a00b3 100644 (file)
@@ -12,17 +12,15 @@ If the @code{Note_heads_engraver} is replaced by the @code{Completion_heads_engr
 
 
 
-\score{
-  \relative c'{
+\relative c'{
   \time 2/4
 
   c2. c8 d4 e f g a b c2.. b8 a g16 f4 e d c8. c2 
-  }
-  \layout{
-    \context{
-      \Voice
-      \remove "Note_heads_engraver"
-      \consists "Completion_heads_engraver"
-    }
+}
+\layout{
+  \context{
+    \Voice
+    \remove "Note_heads_engraver"
+    \consists "Completion_heads_engraver"
   }
 }
index 4eeeab929eb4402711108813ee430b786d7dad72..26872303a0a748bf7bba8f0fd337fb691b162d21 100644 (file)
@@ -3,32 +3,30 @@
     texidoc = "Custodes may be engraved in various styles."
 }
 
-\score {
-     {
-       \override Staff.Custos  #'neutral-position = #4
+{
+  \override Staff.Custos  #'neutral-position = #4
 
-       \override Staff.Custos  #'style = #'hufnagel
-       c'1^"hufnagel"
-       \break < d' a' f''>1
+  \override Staff.Custos  #'style = #'hufnagel
+  c'1^"hufnagel"
+  \break < d' a' f''>1
 
-       \override Staff.Custos  #'style = #'medicaea
-       c'1^"medicaea"
-       \break < d' a' f''>1
+  \override Staff.Custos  #'style = #'medicaea
+  c'1^"medicaea"
+  \break < d' a' f''>1
 
-       \override Staff.Custos  #'style = #'vaticana
-       c'1^"vaticana"
-       \break < d' a' f''>1
+  \override Staff.Custos  #'style = #'vaticana
+  c'1^"vaticana"
+  \break < d' a' f''>1
 
-       \override Staff.Custos  #'style = #'mensural
-       c'1^"mensural"
-       \break < d' a' f''>1
-    }
-    \layout {
-       \context {
-           \Staff
-           \consists Custos_engraver
-       }
-       raggedright = ##t
-    }
+  \override Staff.Custos  #'style = #'mensural
+  c'1^"mensural"
+  \break < d' a' f''>1
+}
+\layout {
+  \context {
+    \Staff
+    \consists Custos_engraver
+  }
+  raggedright = ##t
 }
 
index fb085c10705743c1ba7820b4b21dde50a3d0d75d..27ac159bec6c8eb7312870c50c87131be8202c47 100644 (file)
@@ -1,19 +1,17 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Dots move to the right when a collision with the (up)flag happens."
+  texidoc = "Dots move to the right when a collision with the (up)flag happens."
 }
 
-\score {
-    \relative c''
-    {
-       \time 8/4
-       \set Staff.autoBeaming = ##f
-       a,16.
-       g''16.
-       a,4. a8 a8. a16. c,16. g16.
-    }
-    \layout { raggedright = ##t}
+\relative c''
+{
+  \time 8/4
+  \set Staff.autoBeaming = ##f
+  a,16.
+  g''16.
+  a,4. a8 a8. a16. c,16. g16.
 }
+\layout { raggedright = ##t}
 
 
index 73da210a3f41f4c84a257e1fd769669d0802c004..2e3f902d2f3e74428be975bfec056fdea3285967 100644 (file)
@@ -22,23 +22,19 @@ The priorities to print the dots are (ranked in importance):
 
 
 
-\score { 
-  \context Voice \relative c'' {
-    \time 6/8
-       d4. g,,
-    \stemDown
-    <b'' c d e>4.  <f g a b>
-    <f a c> <e a c> <b f' c' g'>
-       
-       
-    <<
-       { f  <b c> r4.  }\\
-       { b, <a b> r4. }
-    >>
-       
-       
-  }
-  \layout { }  
-  \midi { }
+\context Voice \relative c'' {
+  \time 6/8
+  d4. g,,
+  \stemDown
+  <b'' c d e>4.  <f g a b>
+  <f a c> <e a c> <b f' c' g'>
+  
+  
+  <<
+    { f  <b c> r4.  }\\
+    { b, <a b> r4. }
+  >>
+  
+  
 }
 
index 015324f68cd5b657d0f21589eaab3c491f103c6a..44fc7ee411645d6c1018e851d361c1754993b475 100644 (file)
@@ -14,27 +14,27 @@ drl = \drummode {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tomm
 timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb} }
 
 \score {
-    \repeat "volta" 2 {
-       <<
-       \new DrumStaff \with {
-           drumStyleTable = #timbales-style
-           \override StaffSymbol #'line-count = #2
-           \override BarLine #'bar-size = #2
-       } <<
-           \set Staff.instrument = "timbales"
-           \timb
-       >>
-       \new DrumStaff <<
-           \set Staff.instrument = "drums"
-           \new DrumVoice {\stemUp \drh }
-           \new DrumVoice {\stemDown \drl }
-       >>
+  \repeat "volta" 2 {
+    <<
+      \new DrumStaff \with {
+       drumStyleTable = #timbales-style
+       \override StaffSymbol #'line-count = #2
+       \override BarLine #'bar-size = #2
+      } <<
+       \set Staff.instrument = "timbales"
+       \timb
+      >>
+      \new DrumStaff <<
+       \set Staff.instrument = "drums"
+       \new DrumVoice {\stemUp \drh }
+       \new DrumVoice {\stemDown \drl }
+      >>
     >>
-       }
-    \layout {}
+  }
+  \layout {}
 
-    %% broken:
-    \midi{ \tempo 4=120 }
+  %% broken:
+  \midi{ \tempo 4=120 }
 }
 
 
index 6c93e03d56120a5af1e7d67c7eba5d32e64a5562..b633c495e1bc7b73f43835978d6ddbf3b7cb8406 100644 (file)
@@ -4,12 +4,11 @@
 texidoc = "Broken crescendi should be open on one side."
 }
 
-\score {  \relative c'' { 
-    c1 \< \break c1\!  \> \break c1\!
-  }
-  \layout {
-    linewidth = 4.\cm
-  }
+\relative c'' { 
+  c1 \< \break c1\!  \> \break c1\!
 }
-  
+\layout {
+  linewidth = 4.\cm
+}
+
 
index 2e1badda31783a76df9ea0e65fcdb583e6469346..5e263072715a03f7dabeb5c0f01ce391ac137362 100644 (file)
@@ -7,16 +7,14 @@ horizontally centered on the note head.  Scripts that should appear
 closer to the note head (staccato, accent) are reckoned with.
 "  }
 
-\score {
-    
-\relative c'' { c1\ff
-                     e,-.-> \f
-                     e \rfz                  
-                     c' \mf
-                     c \mp \> 
-                     c\!\ppppp \< 
-                     c\sfp\!
-                     
-}
+
+\relative c'' {
+  c1\ff
+  e,-.-> \f
+  e \rfz                     
+  c' \mf
+  c \mp \> 
+  c\!\ppppp \< 
+  c\sfp\!
 }
 
index 6e9da989530669bccd178ce06c89d51f60741800..cc92790ca211d4a97cf5f43a6e3580d5319b9b72 100644 (file)
@@ -1,7 +1,7 @@
 
 \version "2.6.0"
 \header{
-texidoc=" Dynamics appear below or above the staff.  If multiple
+  texidoc=" Dynamics appear below or above the staff.  If multiple
 dynamics are linked with (de)crescendi, they should be on the same
 line. Isolated dynamics may be forced up or down.
  "
@@ -9,25 +9,18 @@ line. Isolated dynamics may be forced up or down.
 
 
 
-\score{
 \relative c''{
-a1^\sfz
-a1\fff\> c,,\!\pp a'' a\p
+  a1^\sfz
+  a1\fff\> c,,\!\pp a'' a\p
 
-% We need this to test if we get two Dynamic line spanners
-a
+  %% We need this to test if we get two Dynamic line spanners
+  a
 
-% because do_removal_processing ()
-% doesn't seem to post_process elements
-d\f
+  %% because do_removal_processing ()
+  %% doesn't seem to post_process elements
+  d\f
 
-a
+  a
 
 }
-\layout{
-}
-\midi{
-\tempo 1 = 60
-}
-}
 
index efb365df6cec0f5d854d3b131cd680597e1507b3..3c5be6ac3be2fe75a6de2b7926e44be71f2ae730 100644 (file)
@@ -4,10 +4,9 @@
 texidoc = "Crescendi may start off-notes, however, they should  not collapse into flat lines."
 }
 
-\score {  { \context  Voice { 
+\context  Voice { 
   << f''1 { s4 s4 \< s4\! \> s4\! } >>
-}}
+}
 
 \layout { raggedright = ##t}
-}
 
index 8e756a736364fb519ec5e46eb552fe5d52260a0e..b618d963652923b5f561b67bb5c929231799785d 100644 (file)
@@ -2,39 +2,39 @@
 \version "2.6.0"
 \header {
 
-texidoc = "With the new chord syntax, it is possible to associate
+  texidoc = "With the new chord syntax, it is possible to associate
 fingerings uniquely with notes. This makes it possible to add
 horizontal fingerings to notes.
 
 "
 
 }
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
 
-\score {
-     \relative c'{
-       \set fingeringOrientations = #'(left)
-       < c-1  e-2 g-3 b-5 > 4
 
-       \set fingeringOrientations = #'(down left)
-       < c-1  e-2 g-3 b-5 > 4
+\relative c'{
+  \set fingeringOrientations = #'(left)
+  < c-1  e-2 g-3 b-5 > 4
 
-       \set fingeringOrientations = #'(down left up)
-       < c-1  e-2 g-3 b-5 > 4
+  \set fingeringOrientations = #'(down left)
+  < c-1  e-2 g-3 b-5 > 4
 
-       \once \override Fingering  #'staff-padding = #'()
-       < c-1  e-2 g-3 b-5 > 4
+  \set fingeringOrientations = #'(down left up)
+  < c-1  e-2 g-3 b-5 > 4
 
-       \set fingeringOrientations = #'(up left)
-       < c-1  e-2 g-3 b-5 > 4
+  \once \override Fingering  #'staff-padding = #'()
+  < c-1  e-2 g-3 b-5 > 4
 
-       \set fingeringOrientations = #'(right)
-       < c-1  e-2 g-3 b-5 > 4
+  \set fingeringOrientations = #'(up left)
+  < c-1  e-2 g-3 b-5 > 4
+
+  \set fingeringOrientations = #'(right)
+  < c-1  e-2 g-3 b-5 > 4
 
-    }
 }
 
 
 
 
+
index 5f4f2fef21cd6dab498473cef39168cef3cc6a32..ef3638cf39789511f2fe1af694c12af1049c023a 100644 (file)
@@ -1,22 +1,18 @@
-
 \version "2.6.0"
-\header {
 
-texidoc = "Automatic fingering tries to put fingering instructions
+\header {
+  texidoc = "Automatic fingering tries to put fingering instructions
 next to noteheads.
 "
 }
 
-    \layout { raggedright= ##t }
-
+\layout { raggedright= ##t }
 
-\score {
-
- \relative c' {
- c4-4
+\relative c' {
+  c4-4
   <c-1 f-4>
   < c-1 e-2 g-3  b-4 >
-}}
+}
+
 
 
index 0f2193d5f6567eb8c7d68214b26a9be885ec7e90..01f862b2809ad62cae3ea342d4ffc6a49431beb8 100644 (file)
@@ -1,7 +1,7 @@
 
 \version "2.6.0"
 \header{
-       texidoc = "
+  texidoc = "
 The line-spanners connects to the Y position of the note  on the next line.
 When put across line breaks, only the part before the line break is
 printed. 
@@ -9,17 +9,17 @@ printed.
 
 }
 
-\score{
-        \context PianoStaff <<
-           \set PianoStaff.followVoice = ##t       
-                \context Staff = "one" \relative c''{
-                   a1 \break
-                   \change Staff=two
-                   a,
-               }
-        \context Staff = "two" { \clef bass \skip 1*2 }
-    >>
-    \layout{
-       raggedright = ##t
-    }
+
+\context PianoStaff <<
+  \set PianoStaff.followVoice = ##t        
+  \context Staff = "one" \relative c''{
+    a1 \break
+    \change Staff=two
+    a,
+  }
+  \context Staff = "two" { \clef bass \skip 1*2 }
+>>
+\layout{
+  raggedright = ##t
 }
+
index c685575ff043663c0a197a661abbbb52350344ce..763dff70a98ecf2632b0007449a01f1cdf726d53 100644 (file)
@@ -4,15 +4,15 @@
 that this does not change variable symbols such as beams or slurs. 
 " }
 
-\score {
- \relative c'' \context Voice {
-\override NoteHead  #'font-magnification = #0.9
-c4
-\override NoteHead  #'font-magnification = #0.8
+
+\relative c'' \context Voice {
+  \override NoteHead  #'font-magnification = #0.9
+  c4
+  \override NoteHead  #'font-magnification = #0.8
 
 
-c4-"normal"
-  % why doesn't this  work?
+  c4-"normal"
+  %% why doesn't this  work?
   c4-\markup \bold \magnify #2.0 "foobar"
 
   \override NoteHead  #'font-magnification = #1.2
@@ -22,6 +22,6 @@ c4-"normal"
   c4
 }
 
-}
+
 
 
index 9067e4e8660c67fa4924d528f3ba29464e375a6e..8aeaf0b7c77ea7e06d18e6903ef899f84253ef99 100644 (file)
@@ -2,30 +2,30 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 As a last resort, the placement of grobs can be adjusted manually, by
 setting the @code{extra-offset} of a grob.
 "
 }
 
-\score{
-       \relative c''{
-           \context Bottom
-             \applyoutput #(outputproperty-compatibility
-                          (make-type-checker 'note-head-interface)
-                          'extra-offset '(2 . 3))
-           c2
-           c
-           \context Score {
-               \applyoutput #(outputproperty-compatibility (make-type-checker 'mark-interface) 'extra-offset '(-1 . 4))
-           }
-           \mark A
-           d1
-           \mark \default
-           e
+
+\relative c''{
+  \context Bottom
+  \applyoutput #(outputproperty-compatibility
+                (make-type-checker 'note-head-interface)
+                'extra-offset '(2 . 3))
+  c2
+  c
+  \context Score {
+    \applyoutput #(outputproperty-compatibility (make-type-checker 'mark-interface) 'extra-offset '(-1 . 4))
+  }
+  \mark A
+  d1
+  \mark \default
+  e
 }
 \layout{
-       raggedright = ##t
-}
+  raggedright = ##t
 }
 
+
index cd3a732650760556797dc76a0b1edc6d4d38d170..a0a00cb343d3df36afda9f6e6a0dfe6e71d029f0 100644 (file)
@@ -2,7 +2,7 @@
 
 \header{
 
-texidoc=" Between notes, there may be simple glissando lines.
+  texidoc=" Between notes, there may be simple glissando lines.
 Here, the first two glissandi are not consecutive.
 
 The engraver does no time-keeping, so it involves some trickery to get
@@ -11,24 +11,20 @@ The engraver does no time-keeping, so it involves some trickery to get
 "
 }
 
-\score{
-        \context Staff = "one" \relative c''{
-                    % gliss non gliss and 
-            c4 \glissando d e \glissando f \glissando \break
-            % consecutive 
-            c \glissando d, \glissando e'
-             << { \stemUp e8 \glissando g8 }
-               \context Voice = VB {\stemDown \repeat unfold 4 d16 } >>
-               \override Glissando  #'style = #'zigzag
-               c4 \glissando c,, \glissando c' \glissando d
-    }
-    \layout{
-        linewidth = 50.\mm indent = 0
-       \context{
-              \Staff
-              % makes for handier debugging
-              % \remove Clef_engraver
-       }
-    }
+
+\context Staff = "one" \relative c''{
+                               % gliss non gliss and 
+  c4 \glissando d e \glissando f \glissando \break
+                               % consecutive 
+  c \glissando d, \glissando e'
+  << { \stemUp e8 \glissando g8 }
+     \context Voice = VB {\stemDown \repeat unfold 4 d16 } >>
+  \override Glissando  #'style = #'zigzag
+  c4 \glissando c,, \glissando c' \glissando d
+}
+\layout{
+  linewidth = 50.\mm indent = 0
 }
 
+
index 45e471a51d8ea2ad27549bf85550aba4f967e650..019500c9f3c22677417d289a449006f18ae5c36f 100644 (file)
@@ -2,15 +2,15 @@
 \version "2.6.0"
 \header
 {
-    texidoc = "The autobeamer is not confused by grace notes."
+  texidoc = "The autobeamer is not confused by grace notes."
 }
 
-\score{
-  \context Voice \relative c''{
 
-    \grace a8 g16 f e f \grace a8 g16 f e f \grace a8 g16 f e f 
-        \grace a8 g16 f e f |
-  }
-  \layout { raggedright = ##t }
+\context Voice \relative c''{
+
+  \grace a8 g16 f e f \grace a8 g16 f e f \grace a8 g16 f e f 
+  \grace a8 g16 f e f |
 }
+\layout { raggedright = ##t }
+
 
index 24da46aa5ea1cbec0d72967026841d6aa5f653e6..86ae1f6826042835b091b8b7757fa93531f0bbc8 100644 (file)
@@ -1,15 +1,15 @@
 
 \version "2.6.0"
 \header {
-texidoc = "Bar line should come before the grace note."
+  texidoc = "Bar line should come before the grace note."
 }
 
-       
 
 
 
-\score  { \relative c' \context Staff  { 
- f1 \grace {  a'16[ f]  } g1 }
-               \layout { raggedright = ##t}
- } 
+
+\relative c' \context Staff  { 
+  f1 \grace {  a'16[ f]  } g1 }
+\layout { raggedright = ##t}
+
 
index 15253f6a62add3c6e937b66cb8cef51390bbc9ee..e6404f02a4aa4846243e1585aba3925846faa206 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0"
 \header {
 
-texidoc = "Grace notes do tricky things with timing. If a measure
+  texidoc = "Grace notes do tricky things with timing. If a measure
 starts with a grace note, the measure does not start at 0, but
 earlier. Nevertheless, lily should not get confused. For example, line
 breaks should be possible at grace notes, and the bar number should be
@@ -10,10 +10,10 @@ printed correctly.
 "
 }
 
-\score { \relative c'' { c1 \break
-\grace c8
-c1  }
+\relative c'' { c1 \break
+               \grace c8
+               c1  }
 
 \layout { raggedright = ##t }
-}
+
 
index c5ab221c82a0461dc3a01d26f73e366fbd9cdccb..a909fabf14e956b78c5cb09312d6cfb56016e8ce 100644 (file)
@@ -1,14 +1,19 @@
 
 \header
 {
-texidoc = "Grace beams and normal beams may occur simultaneously.
+  texidoc = "Grace beams and normal beams may occur simultaneously.
 Unbeamed grace notes are not put into normal beams.
 "
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
 
 \version "2.6.0"
-\score { \relative c'' { c4  d8[ \grace {  e32[  d c d] } e8]  e[  e \grace { f16 } e8 e]   }}
+\relative c'' {
+  c4  d8[
+    \grace {  e32[  d c d] } e8]
+  e[  e
+      \grace { f16 } e8 e]
+}
 
index 9802a336213d09c0bbe1c501e9e90f125977e05d..38d21e62a9b86be14999018812e8dc9b3ecee4b4 100644 (file)
@@ -2,21 +2,20 @@
 \version "2.6.0"
 \header {
 
-    texidoc="@cindex Grace End
+  texidoc="@cindex Grace End
  Grace notes after the last note do not confuse the timing code."
 
 
 }
 
-\score { 
-  \context Voice \relative c' {
-    
-       c4 \grace {  d16[ d16] }
-       
-  }
-       \layout {
-               raggedright = ##t
-       }  
-  \midi { }
+
+\context Voice \relative c' {
+  
+  c4 \grace {  d16[ d16] }
+  
 }
+\layout {
+  raggedright = ##t
+}  
+
 
index 3d8ccbbe3057abd7e6d9ee0cfa8c8993e87a1339..a32c24f90254a7c8937b1e5d982453a5f813940c 100644 (file)
@@ -1,16 +1,16 @@
 \version "2.6.0"
 \header {
-texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example." 
+  texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example." 
 
 }
-\score {
-     {
-       c''2 { \grace  b'16  c''2 }  \bar "|."
-    }
-    \layout {
 
-       raggedright = ##t 
-    }
+{
+  c''2 { \grace  b'16  c''2 }  \bar "|."
 }
+\layout {
+
+  raggedright = ##t 
+}
+
 
 
index faaf23c630a7810ba629deab6c497ef466de709e..94147c16f4a62c019ed57f21c9675f0215429fb5 100644 (file)
@@ -1,17 +1,17 @@
 \version "2.6.0"
 \header {
-texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example." 
+  texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example." 
 
 }
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
+
+
 
 
-\score{
 
 { c''2 { \grace  b'16  c''2 }  \bar "|." }
-  \layout {
+\layout {
 }
- }
 
 
index 8dec2afb89367a751372b83db375a9cfaeaa240d..b60b74773b07dc57eb8a662857ab168eb11ffe4d 100644 (file)
@@ -1,13 +1,13 @@
 \version "2.6.0"
 \header {
-texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example." 
+  texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example." 
 
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score {  \context Voice {
-        { \grace b'8 c''2 }
-       \grace b'16 c''4 c''4 \bar "|."
-    }}
+\context Voice {
+  { \grace b'8 c''2 }
+  \grace b'16 c''4 c''4 \bar "|."
+}
 
index 499c16023cd655dff3b2e77acc4283e14e0dc92b..d353f04be4b7f8c9531b42c3a03ba54d9abe0e91 100644 (file)
@@ -1,13 +1,13 @@
 \version "2.6.0"
 \header {
-    texidoc = "In nested syntax, graces are still properly handled."
-    }
-    \layout { raggedright= ##t }
-
-\score {  \relative c'' {
-       f1
-    \grace e8 f1
-        << { \grace { e8 } f1 } >>
+  texidoc = "In nested syntax, graces are still properly handled."
 }
+\layout { raggedright= ##t }
+
+\relative c'' {
+  f1
+  \grace e8 f1
+  << { \grace { e8 } f1 } >>
 }
 
+
index 84234495cccb377aa35f2f9a89c467ca8164c28d..a3a2b772cc93d931435f0bba97c14830e7b4a350 100644 (file)
@@ -1,18 +1,18 @@
 \version "2.6.0"
 \header {
-texidoc = "Also in the nested syntax here, grace notes appear rightly."
+  texidoc = "Also in the nested syntax here, grace notes appear rightly."
 }
 
-\score {  \context Voice \relative c'' {
+\context Voice \relative c'' {
 
-    <<
-     { \grace  g32 f4 }
-    >>
-    \grace c16 c2. \bar "|."
-}
-  \layout { raggedright = ##t }
-        
+  <<
+    { \grace  g32 f4 }
+  >>
+  \grace c16 c2. \bar "|."
 }
+\layout { raggedright = ##t }
+
+
 
 
 
index 5acb4304dc09fdf32f42882871a5939ff36ec3e5..6eaf8661a7ab04751a0be275a3b0522587655419 100644 (file)
@@ -1,15 +1,14 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Graces notes may have the same duration as the main note."
-    }
-
-\score
-{  \relative c'' {
-     s2 <f>4
-    \grace g e4
+  texidoc = "Graces notes may have the same duration as the main note."
 }
 
-  \layout { raggedright = ##t }
+\relative c'' {
+  s2 <f>4
+  \grace g e4
 }
 
+\layout { raggedright = ##t }
+
+
index a54a4d3ac62c275a9baeb6cb29ecb782af901a10..b9559399f701d25b1c3f1c3673840d212fbc9092 100644 (file)
@@ -1,21 +1,21 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Grace notes may be put in a @code{partcombine}r."
+  texidoc = "Grace notes may be put in a @code{partcombine}r."
 }
 
 \layout { raggedright= ##t }
 
-\score {
-    \new Staff
-           \partcombine 
-             \relative c'' {
-               c4 d e f  \grace f16 g1
-           }
-             \relative c' {
-               c4 d e2  g1
-           }
-       
-    
+
+\new Staff
+\partcombine 
+\relative c'' {
+  c4 d e f  \grace f16 g1
+}
+\relative c' {
+  c4 d e2  g1
 }
 
+
+
+
index 8f1692f67e9fa4ab3e1f17c80df85d213e38d667..f7dc98fdb619dac076868fa895e85150de6036d4 100644 (file)
@@ -1,24 +1,24 @@
 \version "2.6.0"
 \header{
-texidoc = "Stripped version of trip.ly.  Staves should be of correct length."
+  texidoc = "Stripped version of trip.ly.  Staves should be of correct length."
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score{
-  \context PianoStaff  \relative c'' <<
-    \new Staff {
-       r1
-       r1
-       \bar "|."
-    }
-    \new Staff {
-      r1
-      \context Staff {
-       \grace { c16 } c1
-      }
+
+\context PianoStaff  \relative c'' <<
+  \new Staff {
+    r1
+    r1
+    \bar "|."
+  }
+  \new Staff {
+    r1
+    \context Staff {
+      \grace { c16 } c1
     }
-  >> 
-  \layout { }
-}
+  }
+>> 
+\layout { }
+
 
index 1cb1afd8154d4706417336c8ca48fcf1a0e32b7e..cf1bfbd5d53968c4ac97299e07605379ce2fdafa 100644 (file)
@@ -1,14 +1,14 @@
 
 \version "2.6.0"
 \header {
-texidoc = "Pieces may begin with grace notes."
+  texidoc = "Pieces may begin with grace notes."
 }
-\score  { \relative c' \context Staff  { 
- \grace {  a'16[ f]  } g1
- \bar "||"  % test if | and || are synced.
- \grace {  a16[ bes]  }  c1
- \bar "||"  % test if | and || are synced. 
-  }
-  \layout { raggedright = ##t}
+\relative c' \context Staff  { 
+  \grace {  a'16[ f]  } g1
+  \bar "||"  % test if | and || are synced.
+  \grace {  a16[ bes]  }  c1
+  \bar "||"  % test if | and || are synced. 
 }
+\layout { raggedright = ##t}
+
 
index 5b5ffb9f76a6c38a75ed71544142915e3c610c69..c1772b58c7e224adc4bd1cbe36010fc55bfb4118 100644 (file)
@@ -1,26 +1,26 @@
 
 \version "2.6.0"
 \header{
-texidoc = "Here @code{startGraceMusic} should set @code{no-stem-extend} to 
+  texidoc = "Here @code{startGraceMusic} should set @code{no-stem-extend} to 
 true; the two grace beams should be the same here.
 "
 }
 
 
-\score { 
-  \context Voice \relative c {
-    \grace { 
-       f8[ e8] 
-      \override Stem  #'no-stem-extend = ##t
-       f8[ e8] 
-      \revert Stem #'no-stem-extend
-    }
-    a4
-       
+
+\context Voice \relative c {
+  \grace { 
+    f8[ e8] 
+    \override Stem  #'no-stem-extend = ##t
+    f8[ e8] 
+    \revert Stem #'no-stem-extend
   }
-  \layout {
-    raggedright = ##t
-  }  
-  \midi { }
+  a4
+  
 }
+\layout {
+  raggedright = ##t
+}  
+\midi { }
+
 
index 1c582d0598282e1072605ecd052eac2f65bf4149..b85ea829731aca77db26df04efe4c05af3b1d84c 100644 (file)
@@ -3,15 +3,18 @@
   texidoc = "Grace notes in different voices/staves are synchronized."
 }
 
-\score  {\relative c'' << \context Staff  { c2
-        \grace  c8
-  c4 c4 }
-               \new Staff { c2 \clef bass
- \grace {  dis8[ ( d8] \key es\major  }
+\relative c'' <<
+  \context Staff  {
+    c2
+                                  \grace  c8
+                                  c4 c4 }
+  \new Staff {
+    c2 \clef bass
+    \grace {  dis8[ ( d8] \key es\major  }
 
     c4) c4 }
-               \new Staff { c2 c4 c4 \bar "|." }
-               >>
-               \layout { raggedright = ##t}
- } 
+  \new Staff { c2 c4 c4 \bar "|." }
+>>
+\layout { raggedright = ##t}
+
 
index 78befb35433f3c4a3b8b6d453c84abdbfd22d4b2..50b1543a677e8471fd28943b4dcc75d42df85a74 100644 (file)
@@ -1,15 +1,15 @@
 \version "2.6.0"
 \header {
-    texidoc = "When grace notes are entered with unfolded repeats,
+  texidoc = "When grace notes are entered with unfolded repeats,
 line breaks take place before  grace  notes.
 "
 }
-    
 
-\score{
-  \context Voice \relative c'{
-    \repeat unfold  10 {\grace d8 c4 d e f}
 
-  }
+
+\context Voice \relative c'{
+  \repeat unfold  10 {\grace d8 c4 d e f}
+
 }
 
+
index f094dedbbf627d6f27801cb476b3b60fd3f80758..74e22e4eb98286d00f2a2f955ae4e13bb286a7eb 100644 (file)
@@ -2,18 +2,18 @@
 
 \header {
 
-    texidoc = "A volta repeat may begin with a grace. Consecutive
+  texidoc = "A volta repeat may begin with a grace. Consecutive
     ending and starting repeat bars are merged into one @code{:||:}."
 
-      }
+}
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score {\relative c' {
-\repeat volta 2 {
-        c1 
-}
-\repeat volta 2 {
-        \grace {c8 } c4
+\relative c' {
+  \repeat volta 2 {
+    c1 
+  }
+  \repeat volta 2 {
+    \grace {c8 } c4
+  }
 }
-}}
index 22ee6e16dd09e9c701e8dd913b7cd4eef2055d84..18117cfc922352589bea38565598af684b9184e9 100644 (file)
@@ -2,21 +2,21 @@
 
 \header {
 
-    texidoc = "Repeated music can start with grace notes.  Bar checks
+  texidoc = "Repeated music can start with grace notes.  Bar checks
     preceding the grace notes do not cause synchronization effects.  "
 
 }
 
-\score{
-   \relative c''{\key a \minor \time 2/4
-     \repeat "volta" 2 {
-     \grace {  a16[ b] }  c4 c4  |
-     \grace {  d16[ b] } c4 c4 |
-     
-     }
-   }
-   \layout { raggedright = ##t}
- }
+
+\relative c''{\key a \minor \time 2/4
+             \repeat "volta" 2 {
+               \grace {  a16[ b] }  c4 c4  |
+               \grace {  d16[ b] } c4 c4 |
+               
+             }
+           }
+\layout { raggedright = ##t}
 
 
 
index 4a7efee2ae1916dcdfb98f2e668ac1b393613513..f3e465f35c70bfcb597bc74b4836884c04415667 100644 (file)
@@ -3,7 +3,7 @@
 
 \header{
 
-    texidoc=" You can have beams, notes, chords, stems etc. within a
+  texidoc=" You can have beams, notes, chords, stems etc. within a
 @code{\grace} section.  If there are tuplets, the grace notes will not
 be under the brace.  
 
@@ -12,19 +12,18 @@ Main note scripts do not end up on the grace note.
 "
 }
 
-\score { \context Voice = VA \relative c'' {
-       \grace b8 c4\fermata
-       \grace {  c32[ cis32] } gis4
-       \grace {  cis32[ dis32] } e4
-       \grace {  c32[ d] }\times 2/3 {  c8[ c c] }
-        \grace {  b32[ ( c32] }   c4)
-       \grace  <c d>16  c8[ c8]
-%      \grace  c16  c8[ c8]
-        %% broken?
-       %%\grace  { \set Grace.graceAlignPosition = \right c16} c4
-       c4 \grace  { c16 } c4
+\context Voice = VA \relative c'' {
+  \grace b8 c4\fermata
+  \grace {  c32[ cis32] } gis4
+  \grace {  cis32[ dis32] } e4
+  \grace {  c32[ d] }\times 2/3 {  c8[ c c] }
+  \grace {  b32[ ( c32] }   c4)
+  \grace  <c d>16  c8[ c8]
+                               %       \grace  c16  c8[ c8]
+  %% broken?
+  %%\grace  { \set Grace.graceAlignPosition = \right c16} c4
+  c4 \grace  { c16 } c4
 }
 \layout {raggedright = ##t}
-\midi{ }
-}
+
 
index 4609eec4d598b2dddb65795648c45966e6b30fc7..2408bbdaac213e426f4811ba7d7f3d0e2e95e683 100644 (file)
@@ -1,13 +1,13 @@
 \version "2.6.0"
 
 \header {
-texidoc ="Hairpin crescendi may be dashed. "
+  texidoc ="Hairpin crescendi may be dashed. "
 
 }
 
-\score {
-     \relative c' {
-       \override Hairpin  #'dash-fraction = #0.4
-       \override Hairpin  #'dash-period = #1
-       f2\< g c1 d4\> b a gis\! }     
-    }
+
+\relative c' {
+  \override Hairpin  #'dash-fraction = #0.4
+  \override Hairpin  #'dash-period = #1
+  f2\< g c1 d4\> b a gis\! }     
+
index b40dd06c318875c89736358437938430cb107135..182ef9f982ebfa9d3be35046fc10d70e870a5465 100644 (file)
@@ -16,22 +16,22 @@ This example was done with a pianostaff, which has fixed distance
 alignment; this should not confuse the mechanism.
 "
          
-}
+       }
 
 \layout { raggedright= ##t }
 
-       
-\score {  \transpose c c''
- \context PianoStaff <<
-   \new Staff {  c4 c c c \break  s1 \break c4 c c c \break c c c c}
-   \new Staff {  d4 d d d s1 s1 s1 s1 }
-   \new Staff {  e4 e e e s1 e4 e e e s1 }
- >>
- \layout {
+
+\transpose c c''
+\context PianoStaff <<
+  \new Staff {  c4 c c c \break  s1 \break c4 c c c \break c c c c}
+  \new Staff {  d4 d d d s1 s1 s1 s1 }
+  \new Staff {  e4 e e e s1 e4 e e e s1 }
+>>
+\layout {
   \context {
-   \RemoveEmptyStaffContext
+    \RemoveEmptyStaffContext
   }
- }
 }
 
 
+
index 8ef775539945eb2444f4b5eac7e2a48ac3307a8d..0552b865ddd32d6c1b2289ef9ca4a353a45b2191 100644 (file)
@@ -1,6 +1,6 @@
 \header {
 
-texidoc = "Instrument names are set with @code{Staff.instrument} and
+  texidoc = "Instrument names are set with @code{Staff.instrument} and
 @code{Staff.instr}. You can enter markup texts to create more funky names,
 including alterations. "
 
@@ -12,15 +12,15 @@ including alterations. "
 
 textFlat = \markup {\smaller \flat}
 
-\score {
-   \new Staff {
-    \set Staff.instrument = \markup { \column { "Clarinetti" \line { "in B" \textFlat } } }
-    \set Staff.instr = \markup { \smaller  { "Cl(B" \textFlat ")" } }
 
-    { c''1 \break c'' }
+\new Staff {
+  \set Staff.instrument = \markup { \column { "Clarinetti" \line { "in B" \textFlat } } }
+  \set Staff.instr = \markup { \smaller  { "Cl(B" \textFlat ")" } }
+
+  { c''1 \break c'' }
 
-  }
-  \layout { raggedright = ##t }
 }
+\layout { raggedright = ##t }
+
 
 
index 6f37d42616b1773ff327dd012f3d8f37cdecbac6..c2781a068058071a8771619e4db3c3555b7bbb01 100644 (file)
@@ -1,11 +1,11 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Instrument names are also printed on  partial starting measures."
+  texidoc = "Instrument names are also printed on  partial starting measures."
 }
 
-\score {
-   \relative c'' { \set Staff.instrument = "foo" \partial 4 c4 c1 }
-  \layout { raggedright = ##t }
-}
+
+\relative c'' { \set Staff.instrument = "foo" \partial 4 c4 c1 }
+\layout { raggedright = ##t }
+
 
index 6dfaf69a081b94bb6ef108febf04b631df38b130..c767c01acf2f4551ff0d5e46e3bf7c183aced490 100644 (file)
@@ -1,6 +1,6 @@
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Staff margins are also markings attached to barlines.  They should be
 left of the staff, and be centered vertically with respect to the staff.  
 They may be on normal staves, but also on compound staves, like the 
@@ -8,19 +8,19 @@ PianoStaff.
 "
 }
 
-       
 
 
-\score {
 
-   \context PianoStaff <<
-    \context Staff = "treble"    {
-      \set PianoStaff.instrument = "Piano "
-      \set Staff.instrument = "Right " { c''4 }}
-    \context Staff = "bass" { \set Staff.instrument = "Left " \clef bass c4 }>>
+
+
+\context PianoStaff <<
+  \context Staff = "treble"    {
+    \set PianoStaff.instrument = "Piano "
+    \set Staff.instrument = "Right " { c''4 }}
+  \context Staff = "bass" { \set Staff.instrument = "Left " \clef bass c4 }>>
 
 \layout {
-raggedright = ##t
-}}
+  raggedright = ##t
+}
 
 
index f61b5538b0b7419acfc73e0689951af1fc62492d..b4d1ae5477040b424b55c1fbff41f74ab1a8758f 100644 (file)
@@ -4,25 +4,25 @@
 
 #(set-global-staff-size 16)
 
-\score { 
-  \relative cis' {
-
-% \clef french % same as octaviated bass
-\clef violin
-\key cis \major cis1  \key ces \major ces
-\clef soprano
-\key cis \major cis \key ces \major ces
-\clef mezzosoprano
-\key cis \major cis \key ces \major ces
-\clef alto
-\key cis \major cis \key ces \major ces
-\clef tenor
-\key cis \major cis \key ces \major ces
-\clef baritone
-\key cis \major cis \key ces \major ces
-\clef bass
-\key cis \major cis \key ces \major  ces
-}
 
+\relative cis' {
+
+                               % \clef french % same as octaviated bass
+  \clef violin
+  \key cis \major cis1  \key ces \major ces
+  \clef soprano
+  \key cis \major cis \key ces \major ces
+  \clef mezzosoprano
+  \key cis \major cis \key ces \major ces
+  \clef alto
+  \key cis \major cis \key ces \major ces
+  \clef tenor
+  \key cis \major cis \key ces \major ces
+  \clef baritone
+  \key cis \major cis \key ces \major ces
+  \clef bass
+  \key cis \major cis \key ces \major  ces
 }
 
+
+
index 92442ad027274ad23284b8e4041feaa9aaa27dff..4a227634911e1b9706b645a1112ca8d3c71adfdd 100644 (file)
@@ -1,35 +1,35 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "With the @code{\\lyricsto} mechanism, individual lyric
+  texidoc = "With the @code{\\lyricsto} mechanism, individual lyric
     lines can be associated with one melody line. For each lyric line,
     can be tuned whether to follow melismata or not."
-    
+  
 }
 
-\score {
+
 <<
-     \context Voice = "bla" \relative c'' {
-       \autoBeamOff
-       c2( d4) e8[ c b c] f4
-    }
-    \lyricsto "bla"  \new Lyrics  { bla ab blob blob }
-    \lyricsto "bla"  \new Lyrics  {
-       bla 
+  \context Voice = "bla" \relative c'' {
+    \autoBeamOff
+    c2( d4) e8[ c b c] f4
+  }
+  \lyricsto "bla"  \new Lyrics  { bla ab blob blob }
+  \lyricsto "bla"  \new Lyrics  {
+    bla 
 
-       \set ignoreMelismata = ##t
-       
-       blob
+    \set ignoreMelismata = ##t
+    
+    blob
 
-       %% note: effect of ignoreMelismata delayed one time step.
-       \unset ignoreMelismata 
-       blob
-       
-       blob
-    }
+    %% note: effect of ignoreMelismata delayed one time step.
+    \unset ignoreMelismata 
+    blob
     
-    \lyricsto "bla"  \new Lyrics  {
-       nes ted lyrics voice with more words than no tes
-    }
-    >>
-    }
+    blob
+  }
+  
+  \lyricsto "bla"  \new Lyrics  {
+    nes ted lyrics voice with more words than no tes
+  }
+>>
+  
index c37280bb588b5b1ebcc8a3509d71a0eb4e10f140..7234ef1ac6aeed0d2480a7ebd7e23ea8979dc485 100644 (file)
@@ -1,34 +1,34 @@
 \version "2.6.0"
 \header {
 
-texidoc ="Polyphonic rhythms and rests do not disturb
+  texidoc ="Polyphonic rhythms and rests do not disturb
 @code{\lyricsto}."
 
 }
 
-\score {
-     {
-       \clef violin
-       \time 8/8
-       \key des \major
-       <<
-        \lyricsto "one"  \new Lyrics  {
-            Do mi nus ex
-        }
-          \context Voice = "one" {
-              \voiceOne
-              bes'4 bes'4
-              bes'4 bes'4
-          }
-         \context Voice = "two" {
-             \voiceTwo
-             ees'8 r8 r8 r8 ees' r8 r8 r8 
-          }
-          \lyricsto "two"  \new Lyrics  {
-             Do na
-         }
-       >>
+
+{
+  \clef violin
+  \time 8/8
+  \key des \major
+  <<
+    \lyricsto "one"  \new Lyrics  {
+      Do mi nus ex
+    }
+    \context Voice = "one" {
+      \voiceOne
+      bes'4 bes'4
+      bes'4 bes'4
+    }
+    \context Voice = "two" {
+      \voiceTwo
+      ees'8 r8 r8 r8 ees' r8 r8 r8 
     }
-    \layout { raggedright = ##t}
+    \lyricsto "two"  \new Lyrics  {
+      Do na
+    }
+  >>
 }
+\layout { raggedright = ##t}
+
 
index 580e12d5a64bc0e131139f9eb4a17424d23aba05..6411e7932297ddcfc628fc03d75123146ee87282 100644 (file)
@@ -2,22 +2,22 @@
 \header
 {
 
-    texidoc = "Lyric extenders run to the end of the line if it
+  texidoc = "Lyric extenders run to the end of the line if it
 continues the next line. Otherwise, it should run to the last note
 of the melisma."
 
 }
 
-\score {
-    << 
-       \context Voice=A  {
-           a1 ( a1 \break
-           a) a2( b) \break
-           a2 
-       }
-       \lyricsto A \context Lyrics \lyricmode { a __ a __ ha }
-    >>
-    \layout {
-       raggedright = ##t
-    }
-}
+
+<< 
+  \context Voice=A  {
+    a1 ( a1 \break
+    a) a2( b) \break
+    a2 
+  }
+  \lyricsto A \context Lyrics \lyricmode { a __ a __ ha }
+>>
+  \layout {
+    raggedright = ##t
+  }
+
index 6aeed0fc3f4ede7e96ea51b14d4c85c378ed156e..f2c94b9412ee272bdf579fadc933d47787368bf8 100644 (file)
@@ -2,34 +2,36 @@
 
 \header {
 
-    texidoc = "Hyphens are print at the beginning of the line only when
+  texidoc = "Hyphens are print at the beginning of the line only when
 they go past the first note. "
 
-    }
+}
 
-\score {
-<<     \new Staff \relative c'' { \time 1/4 c16[ c c  c]
-\time 1/4
-c16[ c c c]
-\time 1/4
-r c16[ c c]
 
-}
-     \new Lyrics \lyricmode {
-       bla16 -- bla -- bla -- bla --
-       bla -- bla -- bla -- bla8 --
-              bla16 -- bla -- bla 
-       }>>
-    \layout   {
-       indent = 0.0 \cm
-       linewidth = 3.4 \cm
-
-       \context {
-           \Staff \remove "Time_signature_engraver"
-       }
-       
+<<
+  \new Staff \relative c'' {
+    \time 1/4 c16[ c c  c]
+    \time 1/4
+    c16[ c c c]
+    \time 1/4
+    r c16[ c c]
+
+  }
+  \new Lyrics \lyricmode {
+    bla16 -- bla -- bla -- bla --
+    bla -- bla -- bla -- bla8 --
+    bla16 -- bla -- bla 
+  }
+>>
+  \layout   {
+    indent = 0.0 \cm
+    linewidth = 3.4 \cm
+
+    \context {
+      \Staff \remove "Time_signature_engraver"
     }
-      
-}
+  }
+  
+
 
-       
+  
index b54e710b163fd43af778db6b1a0f0eeff67b9e06..d10aa84285ac487a15eb3a196d86682866331ec6 100644 (file)
@@ -3,7 +3,7 @@
 
 \header {
 
-texidoc = "In tightly engraved music, hyphens are removed, except at the
+  texidoc = "In tightly engraved music, hyphens are removed, except at the
 end of the line.  Normally, lyrics are not typeset so tightly, but by
 tuning down @code{padding} of in @code{SeparationItem}, syllables are put 
 closer together, and as a result hyphens may disappear.
@@ -19,38 +19,41 @@ amount
 
 }
 
-\score {
-<<     \new Staff \relative c'' { \time 1/4 c16[ c c  c]
-\time 1/4
-c16[ c c c]
-\time 1/4
-c16[ c c c]
 
-}
-      \new Lyrics \with {
-       % Otherwise lyrics are so far apart that hyphens don't disappear
-         \override SeparationItem #'padding = #0.0
-      }
-      \lyricmode {
-         bla -- bla -- bla -- bla --
-         bla -- bla -- bla -- bla --
-
-         \override LyricHyphen  #'minimum-length = #0.7
-         \override LyricHyphen  #'spacing-procedure =
-         #Hyphen_spanner::set_spacing_rods
-
-          bla -- bla -- bla -- bla 
-       }>>
-    \layout   {
-       indent = 0.0 \cm
-       linewidth = 3.4 \cm
-
-       \context {
-           \Staff \remove "Time_signature_engraver"
-       }
-       
+<<
+  \new Staff \relative c'' {
+    \time 1/4 c16[ c c  c]
+    \time 1/4
+    c16[ c c c]
+    \time 1/4
+    c16[ c c c]
+
+  }
+  \new Lyrics \with {
+                               % Otherwise lyrics are so far apart that hyphens don't disappear
+    \override SeparationItem #'padding = #0.0
+  }
+  \lyricmode {
+    bla -- bla -- bla -- bla --
+    bla -- bla -- bla -- bla --
+
+    \override LyricHyphen  #'minimum-length = #0.7
+    \override LyricHyphen  #'spacing-procedure =
+    #Hyphen_spanner::set_spacing_rods
+
+    bla -- bla -- bla -- bla 
+  }
+>>
+  \layout   {
+    indent = 0.0 \cm
+    linewidth = 3.4 \cm
+
+    \context {
+      \Staff \remove "Time_signature_engraver"
     }
-      
-}
+    
+  }
+  
+
 
-       
+  
index 6405262e3e44b6a8a0609c930fa440f78fd9ae95..fe32bef281120cf31d4febeb7ae61a59605e32c2 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 \header {
 
-texidoc = "
+  texidoc = "
   Normally, the lyric is centered on the note head. However, on
   melismata, the text is left aligned on the left-side of the note head.
 
@@ -9,18 +9,18 @@ texidoc = "
 }
 
 
-\score{
-    <<
-        \relative c' \context Voice = "bla" {
-           \autoBeamOff
-           c4( c16 d c b)  c4
-           d16[ e f g]
-           
-       }
-       \lyricsto "bla" \context Lyrics \lyricmode {
-           alllll __ tijd
-           izzz
-       }
-    >>
-    \layout { raggedright = ##t }
-}
+
+<<
+  \relative c' \context Voice = "bla" {
+    \autoBeamOff
+    c4( c16 d c b)  c4
+    d16[ e f g]
+    
+  }
+  \lyricsto "bla" \context Lyrics \lyricmode {
+    alllll __ tijd
+    izzz
+  }
+>>
+  \layout { raggedright = ##t }
+
index bf7b4217fe98377b37811548eec11a2407a0ae4c..ae915d19e57d42110589b3947477a21e3baccd85 100644 (file)
@@ -1,18 +1,18 @@
 \version "2.6.0"
 \header
 {
-    texidoc = "Melismata are triggered by manual beams." 
+  texidoc = "Melismata are triggered by manual beams." 
 }
 
 
-\score {
-    <<
-       \new Staff
-            \relative c'' {
-               \set Staff.autoBeaming = ##f
-               c8 c8[ c8 c8]  c8    }
-       
-       \lyricsto "" \new Lyrics \lyricmode { bla bla bla }
-    >>
-    \layout { raggedright = ##t }
-}
+
+<<
+  \new Staff
+  \relative c'' {
+    \set Staff.autoBeaming = ##f
+    c8 c8[ c8 c8]  c8    }
+  
+  \lyricsto "" \new Lyrics \lyricmode { bla bla bla }
+>>
+  \layout { raggedright = ##t }
+
index 3f7d962a95b4acddf33a3c55a86384ec4c47a13d..316f83be002b8f0e19bba50cea69ac7e58304f7e 100644 (file)
@@ -1,43 +1,43 @@
 \header {
 
-    texidoc = "The note markup function may be used to make metronome
+  texidoc = "The note markup function may be used to make metronome
  markings. It works for a variety of flag, dot and duration settings."
 }
 \version "2.6.0"
 
-\score {  { c4^\markup {
-    \note #"1" #1
-    \note #"2" #1
-    \note #"4" #1
-    \note #"8" #1
-    \note #"16" #1
-    \note #"32" #1
-    \note #"64" #1
+{ c4^\markup {
+  \note #"1" #1
+  \note #"2" #1
+  \note #"4" #1
+  \note #"8" #1
+  \note #"16" #1
+  \note #"32" #1
+  \note #"64" #1
 
-    \note #"1" #-1
-    \note #"2" #-1
-    \note #"4" #-1
-    \note #"8" #-1
-    \note #"16" #-1
-    \note #"32" #-1
-    \note #"64" #-1
+  \note #"1" #-1
+  \note #"2" #-1
+  \note #"4" #-1
+  \note #"8" #-1
+  \note #"16" #-1
+  \note #"32" #-1
+  \note #"64" #-1
 
-    \note #"1." #-1
-    \note #"2." #-1
-    \note #"4." #-1
-    \note #"8." #-1
-    \note #"16." #-1
-    \note #"32." #-1
-    \note #"64." #-1
+  \note #"1." #-1
+  \note #"2." #-1
+  \note #"4." #-1
+  \note #"8." #-1
+  \note #"16." #-1
+  \note #"32." #-1
+  \note #"64." #-1
 
-    \note #"1." #1
-    \note #"2." #1
-    \note #"4." #1
-    \note #"8." #1
-    \note #"16." #1
-    \note #"32." #1
-    \note #"64." #1
+  \note #"1." #1
+  \note #"2." #1
+  \note #"4." #1
+  \note #"8." #1
+  \note #"16." #1
+  \note #"32." #1
+  \note #"64." #1
 
 }
 
-} }
+} 
index 759f7fb086016678c08c01ab5f92563a2f710b38..68568adff21364e0ef5f38ee553a6aa05233438c 100644 (file)
@@ -1,12 +1,12 @@
 
 \header {
 
-    texidoc = "There is a Scheme macro @code{markup} to produce markup
+  texidoc = "There is a Scheme macro @code{markup} to produce markup
     texts using a similar syntax as @code{\\markup}.
 
 "
 
-    }
+}
 
 %{
 
@@ -15,59 +15,59 @@ For maintenance reasons, we don't excercise the entire markup command set.
 %}
 
 \version "2.6.0"
-\score {
-     {
-        \fatText
-        f'1-\markup {
-            foo
-            \raise #0.2 \hbracket \bold bar
-            \override #'(baseline-skip . 4)
 
-            \bracket \column { baz bazr bla }
-            \hspace #2.0
-            \override #'(font-encoding . fetaMusic) {
-                \lookup #"noteheads-0"
-            }
-            \musicglyph #"accidentals.-1"
-            \combine "X" "+"   
-            \combine "o" "/"
-            \box \column { \line { "string 1" } \line { "string 2" } }
-            \italic Norsk
-            \super "2"
-            \dynamic sfzp
-            \huge { "A" \smaller "A" \smaller \smaller "A"
-                    \smaller \smaller \smaller "A" }
-            \sub "alike"
-        }      
-        \break
-        f'1-#(markup* 
-              "foo"
-              #:raise 0.2 #:hbracket #:bold "bar"
-              #:override '(baseline-skip . 4) 
-              #:bracket #:column ( "baz" "bazr" "bla" )
-              #:hspace 2.0
-              #:override '(font-encoding . fetaMusic) #:line (#:lookup "noteheads-0" 
-                                                       )
-              #:musicglyph "accidentals.-1"
-              #:combine "X" "+"   
-              #:combine "o" "/"
-              #:box #:column ("string 1" "string 2")
-             " "
-              #:italic "Norsk"
-              #:super "2"
-             #:circle #:dynamic "p"
-             " "
-              #:dynamic "sfzp"
-              #:huge #:line ("A" #:smaller "A" #:smaller #:smaller "A" 
-                             #:smaller #:smaller #:smaller "A")
-              #:sub "alike")
-    }
-    \layout { 
-        raggedright = ##t
-        indent = #0
-        \context {
-            \Staff
-            \remove Time_signature_engraver 
-        }
+{
+  \fatText
+  f'1-\markup {
+    foo
+    \raise #0.2 \hbracket \bold bar
+    \override #'(baseline-skip . 4)
+
+    \bracket \column { baz bazr bla }
+    \hspace #2.0
+    \override #'(font-encoding . fetaMusic) {
+      \lookup #"noteheads-0"
     }
+    \musicglyph #"accidentals.-1"
+    \combine "X" "+"   
+    \combine "o" "/"
+    \box \column { \line { "string 1" } \line { "string 2" } }
+    \italic Norsk
+    \super "2"
+    \dynamic sfzp
+    \huge { "A" \smaller "A" \smaller \smaller "A"
+           \smaller \smaller \smaller "A" }
+    \sub "alike"
+  }    
+  \break
+  f'1-#(markup* 
+       "foo"
+       #:raise 0.2 #:hbracket #:bold "bar"
+       #:override '(baseline-skip . 4) 
+       #:bracket #:column ( "baz" "bazr" "bla" )
+       #:hspace 2.0
+       #:override '(font-encoding . fetaMusic) #:line (#:lookup "noteheads-0" 
+                                                     )
+       #:musicglyph "accidentals.-1"
+       #:combine "X" "+"   
+       #:combine "o" "/"
+       #:box #:column ("string 1" "string 2")
+       " "
+       #:italic "Norsk"
+       #:super "2"
+       #:circle #:dynamic "p"
+       " "
+       #:dynamic "sfzp"
+       #:huge #:line ("A" #:smaller "A" #:smaller #:smaller "A" 
+                      #:smaller #:smaller #:smaller "A")
+       #:sub "alike")
+}
+\layout { 
+  raggedright = ##t
+  indent = #0
+  \context {
+    \Staff
+    \remove Time_signature_engraver 
+  }
 }
+
index 3cc9727e01134321bff507d006f1016f180da884..5fcb93c51000e4d34f5011a195dd1927eeeb7cad 100644 (file)
@@ -1,6 +1,11 @@
 \version "2.6.0"
 \header {texidoc="Markup scripts may be stacked."}
 \layout { raggedright = ##t}
-\score {  { c''^\markup { "a" \column { "1" \bold "2"  "3" } } } }
+{
+  c''^\markup {
+    "a"
+    \column { "1" \bold "2"  "3" }
+  }
+} 
 
 
index efe2b07671d98e55a24368fcb381d9181ce80eef..ec0b6552fcd81783c101e5bf31a25c263b175f36 100644 (file)
@@ -1,22 +1,22 @@
 
 \header {
 
-    texidoc = "Own markup commands may be defined by using the
+  texidoc = "Own markup commands may be defined by using the
     @code{def-markup-command} scheme macro."
 
 
-      }
+}
 
 \version "2.6.0" % to be updated
 
 #(def-markup-command (upcase paper props str) (string?)
   "Upcase the string characters. Syntax: \\upcase #\"string\""
-   (interpret-markup paper props (make-simple-markup (string-upcase str))))
-
-\score { 
-     { 
-        c''-\markup \upcase #"hello world"
-        % produces a "HELLO WORLD" markup
-    }
-    \layout { raggedright = ##t }
+  (interpret-markup paper props (make-simple-markup (string-upcase str))))
+
+
+{ 
+  c''-\markup \upcase #"hello world"
+                               % produces a "HELLO WORLD" markup
 }
+\layout { raggedright = ##t }
+
index ef38bdea68bc65bc3375b97a6ed92f103564ae0a..a17a5d01980fc016932da3ac5eb0e9df954e1d26 100644 (file)
@@ -2,7 +2,7 @@
 \header
 {
 
-    texidoc = "The @code{Measure_grouping_engraver} adds triangles and
+  texidoc = "The @code{Measure_grouping_engraver} adds triangles and
 brackets above beats when the beats of a time signature are grouped.  "
 
 }
@@ -11,23 +11,23 @@ brackets above beats when the beats of a time signature are grouped.  "
 
 
 %% TODO: should have 2/4 + 5/8 time sig style.
-\score { 
+
 \context Staff
-        \relative c' {
-            #(set-time-signature 2 4) 
-            c8 a'4 a8~
-            #(set-time-signature 5 8 '(3 2)) 
-            a8 bes4 r8 bes8->
-            \time 2/4
-            c,8 g'4 g8~
-            #(set-time-signature 5 8 '(3 2)) 
-            g8 a4 g a4.->
-        }
-        \layout  {
-            raggedright = ##t
-            \context { \Staff
-                          \consists "Measure_grouping_engraver"
-                          }
-            }
-        }
+\relative c' {
+  #(set-time-signature 2 4) 
+  c8 a'4 a8~
+  #(set-time-signature 5 8 '(3 2)) 
+  a8 bes4 r8 bes8->
+  \time 2/4
+  c,8 g'4 g8~
+  #(set-time-signature 5 8 '(3 2)) 
+  g8 a4 g a4.->
+}
+\layout  {
+  raggedright = ##t
+  \context { \Staff
+            \consists "Measure_grouping_engraver"
+          }
+}
+
 
index f3956e74c50c4a7c4f6c4ad038d32cf029766bfd..fe41d9c3500f7f1fa5ac174439e37f340ac19137 100644 (file)
   rhythmical pattern and direction of the melody line."
 }
 
-\score {
-  \context Voice{
-    \clef "petrucci-c4"
-    \set Staff.printKeyCancellation = ##f
-    \cadenzaOn % turn off bar lines
-    #(set-accidental-style 'forget)
 
-    % ligaturae binaria
+\context Voice{
+  \clef "petrucci-c4"
+  \set Staff.printKeyCancellation = ##f
+  \cadenzaOn % turn off bar lines
+  #(set-accidental-style 'forget)
 
-    \[
-      b\breve^\markup { \column { { \bold "ligaturae binaria" } "BL" } }
-      g\longa
+                               % ligaturae binaria
+
+  \[
+    b\breve^\markup { \column { { \bold "ligaturae binaria" } "BL" } }
+    g\longa
     \]
 
-    \[
-      g\breve^\markup { "BL" }
-      b\longa
+  \[
+    g\breve^\markup { "BL" }
+    b\longa
     \]
 
-    \[
-      b\longa^\markup { "LL" }
-      g
+  \[
+    b\longa^\markup { "LL" }
+    g
     \]
 
-    \[
-      g\longa^\markup { "LL" }
-      b
+  \[
+    g\longa^\markup { "LL" }
+    b
     \]
 
-    \[
-      b\breve^\markup { "BB" }
-      g
+  \[
+    b\breve^\markup { "BB" }
+    g
     \]
 
-    \[
-      g\breve^\markup { "BB" }
-      b
+  \[
+    g\breve^\markup { "BB" }
+    b
     \]
 
-    \[
-      b\longa^\markup { "LB" }
-      g\breve
+  \[
+    b\longa^\markup { "LB" }
+    g\breve
     \]
 
-    \[
-      g\longa^\markup { "LB" }
-      b\breve
+  \[
+    g\longa^\markup { "LB" }
+    b\breve
     \]
 
-    \[
-      b1^\markup { "SS" }
-      g
+  \[
+    b1^\markup { "SS" }
+    g
     \]
 
-    \[
-      g1^\markup { "SS" }
-      b
+  \[
+    g1^\markup { "SS" }
+    b
     \]
 
-    \bar "|" \break
+  \bar "|" \break
 
-    % ligaturae ternariae, quaternariae, etc. (sicut in Apel[1])
+                               % ligaturae ternariae, quaternariae, etc. (sicut in Apel[1])
 
-    \[
-      b\breve^\markup {
-       \column { { \bold "ligaturae ternariae, quaternariae, etc." } "BBL" } }
-      a
-      g\longa
+  \[
+    b\breve^\markup {
+      \column { { \bold "ligaturae ternariae, quaternariae, etc." } "BBL" } }
+    a
+    g\longa
     \]
 
-    \[
-      a\breve^\markup { "BBBB" }
-      g
-      a
-      b
+  \[
+    a\breve^\markup { "BBBB" }
+    g
+    a
+    b
     \]
 
-    \[
-      b1^\markup { "SSBBBLB" }
-      a
-      g\breve
-      a
-      b
-      a\longa
-      b\breve
+  \[
+    b1^\markup { "SSBBBLB" }
+    a
+    g\breve
+    a
+    b
+    a\longa
+    b\breve
     \]
 
-    \[
-      a\longa^\markup { "LBMxBL" }
-      g\breve
-      a\maxima
-      b\breve
-      a\longa
+  \[
+    a\longa^\markup { "LBMxBL" }
+    g\breve
+    a\maxima
+    b\breve
+    a\longa
     \]
 
-    \[
-      d'\breve^\markup { "BBBBLL" }
-      c'
-      f
-      d'
-      b\longa
-      g
+  \[
+    d'\breve^\markup { "BBBBLL" }
+    c'
+    f
+    d'
+    b\longa
+    g
     \]
 
-    \[
-      c'1^\markup { "SSBLLBB" }
-      b
-      g\breve
-      d'\longa
-      a
-      c'\breve
-      b
+  \[
+    c'1^\markup { "SSBLLBB" }
+    b
+    g\breve
+    d'\longa
+    a
+    c'\breve
+    b
     \]
 
-    \bar "|" \break
+  \bar "|" \break
 
-    % examples from "dtv-Atlas zur Musik" [2]
+                               % examples from "dtv-Atlas zur Musik" [2]
 
-    \[
-      d'\breve^\markup { \column { { \bold "dtv-Atlas" } "BBL" } }
-      c'
-      b\longa
+  \[
+    d'\breve^\markup { \column { { \bold "dtv-Atlas" } "BBL" } }
+    c'
+    b\longa
     \]
 
-    \[
-      a\breve^\markup { "BBBL" }
-      b
-      c'
-      d'\longa
+  \[
+    a\breve^\markup { "BBBL" }
+    b
+    c'
+    d'\longa
     \]
 
-    \[
-      b\longa.^\markup { "L.B.BBLBBB" }
-      g\breve.
-      a\breve
-      b
-      c'\longa
-      a\breve
-      b
-      a
+  \[
+    b\longa.^\markup { "L.B.BBLBBB" }
+    g\breve.
+    a\breve
+    b
+    c'\longa
+    a\breve
+    b
+    a
     \]
 
-    \[
-      c'1^\markup { "SSBB" }
-      b
-      g\breve
-      a
+  \[
+    c'1^\markup { "SSBB" }
+    b
+    g\breve
+    a
     \]
 
-    \[
-      b\longa^\markup { "LBL" }
-      a\breve
-      c'\longa
+  \[
+    b\longa^\markup { "LBL" }
+    a\breve
+    c'\longa
     \]
 
-    \[
-      a1^\markup { "SSBL" }
-      b
-      d'\breve
-      c'\longa
+  \[
+    a1^\markup { "SSBL" }
+    b
+    d'\breve
+    c'\longa
     \]
 
-    \bar "|" \break
+  \bar "|" \break
 
-    % some ligatures from Ockeghem: Missa De plus en plus
+                               % some ligatures from Ockeghem: Missa De plus en plus
 
-    \[
-       c'\maxima^\markup {
-       \column { { \bold "Ockeghem: Missa De plus en plus" } "MxMx" } }
-       g
+  \[
+    c'\maxima^\markup {
+      \column { { \bold "Ockeghem: Missa De plus en plus" } "MxMx" } }
+    g
     \]
 
-    \[
-      d\longa^\markup { "LBBBB" }
-      c\breve
-      f
-      e
-      d
+  \[
+    d\longa^\markup { "LBBBB" }
+    c\breve
+    f
+    e
+    d
     \]
 
-    \[
-      c'\maxima^\markup { "MxL" }
-      d'\longa
+  \[
+    c'\maxima^\markup { "MxL" }
+    d'\longa
     \]
 
-    \[
-      e'\breve^\markup { "BBB" }
-      d'
-      c'
+  \[
+    e'\breve^\markup { "BBB" }
+    d'
+    c'
     \]
 
-    \[
-      b\longa^\markup { "LBBBBB" }
-      c'\breve
-      d'
-      g
-      f
-      g
-   \]
+  \[
+    b\longa^\markup { "LBBBBB" }
+    c'\breve
+    d'
+    g
+    f
+    g
+    \]
 
-    \[
-      g\breve^\markup { "BBBBL" }
-      b
-      c'
-      e'
-      d'\longa
+  \[
+    g\breve^\markup { "BBBBL" }
+    b
+    c'
+    e'
+    d'\longa
     \]
 
-    \[
-      e'1^\markup { "SSB" }
-      a
-      g\breve
+  \[
+    e'1^\markup { "SSB" }
+    a
+    g\breve
     \]
 
-    \[
-      g\longa^\markup { "LLLL" }
-      b
-      c'
-      e'
+  \[
+    g\longa^\markup { "LLLL" }
+    b
+    c'
+    e'
     \]
 
-    \bar "|" \break
+  \bar "|" \break
 
-    % some from the Requiem
+                               % some from the Requiem
 
-    \[
-      a1^\markup { \column { { \bold "Ockeghem: Requiem" } "SSBBBBBBBL" } }
-      d
-      e\breve
-      f
-      d
-      f
-      e
-      f
-      g
-      e\longa
+  \[
+    a1^\markup { \column { { \bold "Ockeghem: Requiem" } "SSBBBBBBBL" } }
+    d
+    e\breve
+    f
+    d
+    f
+    e
+    f
+    g
+    e\longa
     \]
 
-    \[
-      c'\breve^\markup { "BBBBL" }
-      c
-      d
-      c
-      c'\longa
+  \[
+    c'\breve^\markup { "BBBBL" }
+    c
+    d
+    c
+    c'\longa
     \]
 
-    \bar "|" \break
+  \bar "|" \break
 
-    % crazy ligatures
+                               % crazy ligatures
 
-    \[
-      c\breve^\markup { \column { { \bold "crazy ligatures" } "BBBBB" } }
-      e
-      f
-      g
-      bes
+  \[
+    c\breve^\markup { \column { { \bold "crazy ligatures" } "BBBBB" } }
+    e
+    f
+    g
+    bes
     \]
 
-    \[
-      bes\breve^\markup { "BB" }
-      a
+  \[
+    bes\breve^\markup { "BB" }
+    a
     \] % TODO: accidentals must be collected and printed before ligature
 
-    \[
-      a\breve.^\markup { "B.B.B.B.B.B.B.B.B." }
-      g
-      b
-      a
-      e
-      g
-      f
-      a
-      g
-    \]
-
-    \[
-      b^\markup { "B.B." }
-      a
+  \[
+    a\breve.^\markup { "B.B.B.B.B.B.B.B.B." }
+    g
+    b
+    a
+    e
+    g
+    f
+    a
+    g
+    \]
+
+  \[
+    b^\markup { "B.B." }
+    a
     \] % TODO: dots within ligatures must be placed above heads
 
-    \bar "|" \break
+  \bar "|" \break
 
-    % invalid ligatures (those commented out are rejected with explanation)
+                               % invalid ligatures (those commented out are rejected with explanation)
 
-    %  \[
-    %    a1^\markup { \column { { \bold "invalid ligatures" } "SS" } }
-    %    as
-    %  \]
+                               %  \[
+                               %    a1^\markup { \column { { \bold "invalid ligatures" } "SS" } }
+                               %    as
+                               %  \]
 
-    \[
-      a\breve^\markup { "BBB" }
-      g
-      as
+  \[
+    a\breve^\markup { "BBB" }
+    g
+    as
     \]
 
-    %  \[
-    %    f\longa^\markup { "LLB" }
-    %    g
-    %    f\breve
-    %  \]
+                               %  \[
+                               %    f\longa^\markup { "LLB" }
+                               %    g
+                               %    f\breve
+                               %  \]
 
-    %  \[
-    %    f\breve^\markup { "BSLB" }
-    %    a1
-    %    g\longa
-    %    a\breve
-    %  \]
-  }
+                               %  \[
+                               %    f\breve^\markup { "BSLB" }
+                               %    a1
+                               %    g\longa
+                               %    a\breve
+                               %  \]
+}
 
-  \layout {
-    raggedright = ##t
-    packed = ##t
-    indent = 0.0
-    \context {
-      \Voice
-      \remove Ligature_bracket_engraver
-      \consists Mensural_ligature_engraver
-    }
+\layout {
+  raggedright = ##t
+  packed = ##t
+  indent = 0.0
+  \context {
+    \Voice
+    \remove Ligature_bracket_engraver
+    \consists Mensural_ligature_engraver
   }
 }
 
+
 % Litterae:
 %
 % [1] Willi Apel: The Notation of Polyphonic Music. 900-1600.
index 87729de160d831d1ae9ee875dca8d1652901ea91..3d0252531b0a14fcee61a4491e71d15a420d9b5d 100644 (file)
@@ -1,16 +1,16 @@
 \version "2.6.0"
 \header {
-    
-texidoc = "There is limited support for mensural notation: note head
+  
+  texidoc = "There is limited support for mensural notation: note head
 shapes are available. Mensural stems are centered on the note heads,
 both for up and down stems."
 
 }
 
 
-\score { { \context Voice { 
-    \override NoteHead  #'style = #'mensural
-\transpose c d'' {  c4 c2 c8  c16 c16  c1 c\breve c\longa }
-\transpose c c' { c4 c2 c8  c16 c16  c1 c\breve c\longa }
-}}}
+{ \context Voice { 
+  \override NoteHead  #'style = #'mensural
+  \transpose c d'' {  c4 c2 c8  c16 c16  c1 c\breve c\longa }
+  \transpose c c' { c4 c2 c8  c16 c16  c1 c\breve c\longa }
+}}
 
index 4dc17599d798d8663454409d3a3ef54d01b729a8..fea439b9cc27b669c911aad01ef752b03b858747 100644 (file)
@@ -2,17 +2,20 @@
 
 \header {
 
-    texidoc = "Here @code{\\tempo} directives are printed as metronome markings.
+  
+  texidoc = "Here @code{\\tempo} directives are printed as metronome markings.
 
 The marking is left aligned with the time signature, if there is one.
 "
-    
-    }
+  
+}
 
 \version "2.6.0"
 
-\score {  \relative c'' {   \tempo \breve = 100 c1 c1 \tempo 8.. = 50 c1 }
+\relative c'' {
+  \tempo \breve = 100 c1 c1 \tempo 8.. = 50 c1
+}
 \layout {  raggedright = ##t }
 
-     }
-        
+
+
index ccd1c3b2ca8b62dfc55d486f90ae16be7a9eb743..39b4b5d491bfceeaba567a9efe68159deea98199 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 If @code{Score.skipBars} is set,
 the signs for four, two, and one measure rest are combined to
 produce the graphical representation of rests for up to 10 bars.
@@ -11,24 +11,24 @@ The number of bars will be written above the sign.
 }
 
 thenotes =  \relative cis' {
-\set Score.skipBars = ##t
-\time 4/4
-R1 |
-R1*1 |
-R1*2 |
-R1*3 |
-R1*4 |
-R1*5 |
-R1*6 |
-R1*7 |
-R1*8 |
-R1*9 |
-R1*10 |
-R1*11 | 
+  \set Score.skipBars = ##t
+  \time 4/4
+  R1 |
+  R1*1 |
+  R1*2 |
+  R1*3 |
+  R1*4 |
+  R1*5 |
+  R1*6 |
+  R1*7 |
+  R1*8 |
+  R1*9 |
+  R1*10 |
+  R1*11 | 
 }
 
-\score { << \context Staff \thenotes
+<< \context Staff \thenotes
+
+ >>
 
-       >>
-}
 
index ed7c105936df2dfc00475ab61c8aea356dce6028..48fbcbc12aa6bbb2a3f9f9a118f16bd98dd31fdd 100644 (file)
@@ -5,16 +5,16 @@
 
 }
 
-\score {
-    
-    {
-       \set Score.skipBars = ##t
-       \override Staff.BarLine  #'hair-thickness = #7.5
-       \override Staff.MultiMeasureRest  #'hair-thickness = #10
 
-       c'1 R1*20 c'1
-    }
-    \layout { raggedright = ##t} 
+
+{
+  \set Score.skipBars = ##t
+  \override Staff.BarLine  #'hair-thickness = #7.5
+  \override Staff.MultiMeasureRest  #'hair-thickness = #10
+
+  c'1 R1*20 c'1
 }
+\layout { raggedright = ##t} 
+
         
 
index 074a19a4211144f85551bc1111dd1a555ef4ae2b..4338e09b2e40d1ed7f38581a33402b6d9940ca9f 100644 (file)
@@ -1,27 +1,27 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "There are both long and short instrument names.
+  texidoc = "There are both long and short instrument names.
 Engraving instrument names should not be confused by the
 multimeasure rests. "
 
 }
 
-\score{
-    \context Staff <<
-       \set Staff.instrument = "instrument"
-       \set Staff.instr = "instr"
-       {c''1 \break R1 }
-    >>
-    \layout {
-       raggedright = ##t
-       \context {
-           \Staff
-           \consists Instrument_name_engraver
-
-       }
-    }
+
+\context Staff <<
+  \set Staff.instrument = "instrument"
+  \set Staff.instr = "instr"
+  {c''1 \break R1 }
+>>
+\layout {
+  raggedright = ##t
+  \context {
+    \Staff
+    \consists Instrument_name_engraver
+
+  }
 }
 
 
 
+
index 79aa7f0f86a76efb8638e18385754feabe604e67..6c359af9f354b6df0d6cb0f143bb30068a914ef8 100644 (file)
@@ -1,14 +1,14 @@
 \header { texidoc = "The centering of multi-measure rests is
 independent on prefatory matter in other staves."
 
-         }
+       }
 \version "2.6.0"
 
-\score {
-    << \new Staff  { R1 } 
-     \new Staff { f'1  \clef bass } 
 
-    >>
+<< \new Staff  { R1 } 
+   \new Staff { f'1  \clef bass } 
+
+ >>
+
+   \layout { raggedright = ##t } 
 
-\layout { raggedright = ##t } 
-}
index 846c954b1806ba7b1b329c4274f050b954c6e7dc..6c23e5eeef649a416661c5f59c05d64add8ff24c 100644 (file)
@@ -1,18 +1,18 @@
 \header {
 
-    texidoc = "By setting texts starting with a multi-measure rest, an 
+  texidoc = "By setting texts starting with a multi-measure rest, an 
 extra spacing column is created. This should not cause problems."
-    }
+}
 \version "2.6.0"
 
-\score {
-    <<
-       \set Score.skipBars = ##t
-       \context Staff = "flute"  \new Voice { 
-           <<  { R1*40 }  { s1*0_"bla" }>> 
-       }
-    >>
-    \layout {
-       raggedright = ##t
-    }
- }
+
+<<
+  \set Score.skipBars = ##t
+  \context Staff = "flute"  \new Voice { 
+    <<  { R1*40 }  { s1*0_"bla" }>> 
+  }
+>>
+  \layout {
+    raggedright = ##t
+  }
index b18441831cf8f79024dbc0d56a8150b12be97f9e..2aef498b2e999b408886728219edd4695409f14d 100644 (file)
@@ -2,7 +2,7 @@
 
 \header  {
 
-texidoc = "
+  texidoc = "
 Texts may be added to the multi-measure rests.
 
 "
@@ -10,7 +10,7 @@ Texts may be added to the multi-measure rests.
 
 }
 
-\score {  {
+{
   \time 3/4
   \set Score.skipBars = ##t
   R2._\markup { \center-align { \musicglyph  #"scripts.dfermata" \roman "Ad lib"  }  }
@@ -19,4 +19,4 @@ Texts may be added to the multi-measure rests.
   R2.*3_\markup { \roman "a1b2c3" }
   R2.*10^"inner"^"top"_"inner"_"bot"
   c'2.
-}}
+}
index 8108fccca06e43413877a713dd1e56aa04b4f6b3..2afd03cb11b379458a64df7edcfc743e8409b34d 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 \header{
 
-texidoc="
+  texidoc="
 Multi-measure rests do not collide with barlines and clefs.  They
 are not expanded when you set @code{Score.skipBars}.  Although the
 multi-measure-rest is a Spanner, minimum distances are set to keep it
@@ -15,23 +15,23 @@ are used then a different symbol is used.
 }
 
 
-\score {  {
-    \time 3/4 \key cis \major
-    R2.*15
+{
+  \time 3/4 \key cis \major
+  R2.*15
   
-    R2.
-    R2.*3
-    R2.*9
-    R2.*11
+  R2.
+  R2.*3
+  R2.*9
+  R2.*11
 
-\time 8/4 R1*2
+  \time 8/4 R1*2
 }
-       \layout {
-       \context {
-               \Score
-               skipBars = ##t
-       }
-       raggedright = ##t       
-       }
+\layout {
+  \context {
+    \Score
+    skipBars = ##t
+  }
+  raggedright = ##t    
 }
 
+
index 3ab61a816867adf24cd3dcc648280304f23435ab..a3821d8a65060d5625007f07aa54c6d3a8066993 100644 (file)
@@ -1,8 +1,8 @@
 \header {
 
-texidoc =
+  texidoc =
 
-"With @code{music-map}, you can apply functions operating on a single
+  "With @code{music-map}, you can apply functions operating on a single
 piece of music to an entire music expression. In this example, the the
 function @code{notes-to-skip} changes a note to a skip. When applied
 to an entire music expression in the 1st measure, the scripts and
@@ -13,29 +13,29 @@ dynamics are left over. These are put onto the 2nd measure."
 \version "2.6.0"
 
 #(define (notes-to-skip m)
-"Convert all stuff with duration (notes, lyrics, bass figures, etc.) to skips.
+  "Convert all stuff with duration (notes, lyrics, bass figures, etc.) to skips.
 Scripts and dynamics are maintained.
 "
   (if (memq 'rhythmic-event (ly:music-property m 'types))
-       (let* ((newmus (make-music 'SkipEvent)))
-               (map
-                 (lambda (x) (ly:music-set-property! newmus (car x) (cdr x)))
-                 (ly:music-mutable-properties m))
-               newmus
-       )
-       m)
+   (let* ((newmus (make-music 'SkipEvent)))
+    (map
+     (lambda (x) (ly:music-set-property! newmus (car x) (cdr x)))
+     (ly:music-mutable-properties m))
+    newmus
+  )
+   m)
 )
 
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
 foobar =  \transpose c c' { c4\>-^ c4-^ c4\!-^ c4-^  } 
 
-\score {
-   \relative c''  \context Voice {
-       \foobar
 
-       << \applymusic #(lambda (x) (music-map notes-to-skip x))
-               \foobar
-          { d2 d2 } >> 
-}}
+\relative c''  \context Voice {
+  \foobar
+
+  << \applymusic #(lambda (x) (music-map notes-to-skip x))
+     \foobar
+     { d2 d2 } >> 
+}
index f64cc1c6b39e75974f2e629115080c3ccbd41fce..857bc7410a945df61e3fa102e495ce2d8901b32a 100644 (file)
@@ -2,21 +2,21 @@
 \version "2.6.0"
 
 \header{
-    texidoc=" By default, text is set with empty horizontal dimensions.  
+  texidoc=" By default, text is set with empty horizontal dimensions.  
 The boolean property @code{no-spacing-rods} in @code{TextScript} is used
 to control the horizontal size of text.  " }
 
-\score{
-    \relative c''{
-       %% \emptyText
-       %% short for \override TextScript  #'no-spacing-rods = ##t
-       c2_"very wide and long text" c | \break
-       %% short for \override TextScript  #'no-spacing-rods = ##f
-       \fatText
-       c_"very wide and long text" c
-    }
-    \layout {
-       linewidth = 3.0\cm
-    }
+
+\relative c''{
+  %% \emptyText
+  %% short for \override TextScript  #'no-spacing-rods = ##t
+  c2_"very wide and long text" c | \break
+  %% short for \override TextScript  #'no-spacing-rods = ##f
+  \fatText
+  c_"very wide and long text" c
+}
+\layout {
+  linewidth = 3.0\cm
 }
 
+
index daffbc1d9e2c6f953cd108ba3249ef033e7eb9b3..bc63a69bf89e5e841da9e72c82ff29beec9b05e2 100644 (file)
@@ -3,7 +3,7 @@
 
 \header {
 
-    texidoc = "Note grouping events are used to indicate where
+  texidoc = "Note grouping events are used to indicate where
 analysis brackets start and end.
 
 @cindex bracket
@@ -12,27 +12,27 @@ analysis brackets start and end.
 @cindex analysis
 
 "
-    
+  
 }
 
 
 
-\score {
-    \relative c''
-    {
-       c4\startGroup\startGroup\startGroup
-       c4\stopGroup
-       c4\startGroup
-       c4\stopGroup\stopGroup
-       c4\startGroup
-       c4\stopGroup\stopGroup
-    }
-
-    \layout {
-       \context {
-           \Staff \consists "Horizontal_bracket_engraver"
-       }
-       raggedright = ##t
-    }
+
+\relative c''
+{
+  c4\startGroup\startGroup\startGroup
+  c4\stopGroup
+  c4\startGroup
+  c4\stopGroup\stopGroup
+  c4\startGroup
+  c4\stopGroup\stopGroup
+}
+
+\layout {
+  \context {
+    \Staff \consists "Horizontal_bracket_engraver"
+  }
+  raggedright = ##t
 }
 
+
index 0b245329c845b70cf653ddc36470ab48eefd642f..3e801b216679ce6edaf16e63a9508e08e9334856 100644 (file)
@@ -2,20 +2,20 @@
 \version "2.6.0"
 
 \header {
-    texidoc = "Note heads are flipped on the stem to prevent collisions.
+  texidoc = "Note heads are flipped on the stem to prevent collisions.
 It also works for whole heads that have invisible stems.
 "
 
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score {  \relative c''
-        \context Voice {
-            <g a c>4
-            <c d g a>
-            <c d e >
-            <c c g>
-            <c d f g>1
-    }}
+\relative c''
+\context Voice {
+  <g a c>4
+  <c d g a>
+  <c d e >
+  <c c g>
+  <c d f g>1
+}
 
index 49c3304c412b96ee703cd7fe75b0de1b0764f80d..3c2f405f53b3a62193f6abcd5fe406c2ef809c1f 100644 (file)
@@ -1,6 +1,6 @@
 \header
 {
-    texidoc = "  The handling of stems for harmonic notes must be
+  texidoc = "  The handling of stems for harmonic notes must be
    completely identical to normal note heads.
 
   Harmonic heads do not get  dots. If @code{harmonicAccidentals} is unset, they also don't get accidentals."
@@ -8,17 +8,17 @@
 
 \version "2.6.0"
 
-\score {
-  {
-    < c'' f''\harmonic >4
-    \stemUp
-    < c'' f''\harmonic >4.
-    < cis'' fis''\harmonic >8
-    \set Staff.harmonicAccidentals = ##f
-    < dis'' gis''\harmonic >8
-  }
 
-  \layout {
-      raggedright = ##t 
-  }
+{
+  < c'' f''\harmonic >4
+  \stemUp
+  < c'' f''\harmonic >4.
+  < cis'' fis''\harmonic >8
+  \set Staff.harmonicAccidentals = ##f
+  < dis'' gis''\harmonic >8
+}
+
+\layout {
+  raggedright = ##t 
 }
+
index 1416cb7128f2cd2c63c552669f52ef289adf0243..550296629794029ba2df1cf663e4822c9639b20c 100644 (file)
@@ -1,6 +1,6 @@
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Note head shapes may be set from several choices.  
 The stem endings should be adjusted according to the note head.  
 If you want different note head styles on one stem,
@@ -22,67 +22,67 @@ pattern = <<
   }
 >>
 
-\score {
-  \transpose c c {
-    \clef C
 
-    \override Staff.NoteHead  #'style = #'default
-    s1*0^\markup { "default" }
-    \pattern
+\transpose c c {
+  \clef C
 
-    \override Staff.NoteHead  #'style = #'baroque
-    s1*0^\markup { "baroque" }
-    \pattern
+  \override Staff.NoteHead  #'style = #'default
+  s1*0^\markup { "default" }
+  \pattern
 
-    \break
+  \override Staff.NoteHead  #'style = #'baroque
+  s1*0^\markup { "baroque" }
+  \pattern
 
-    \override Staff.NoteHead  #'style = #'neomensural
-    s1*0^\markup { "neomensural" }
-    \pattern
+  \break
 
-    \override Staff.NoteHead  #'style = #'mensural
-    s1*0^\markup { "mensural" }
-    \pattern
+  \override Staff.NoteHead  #'style = #'neomensural
+  s1*0^\markup { "neomensural" }
+  \pattern
 
-    \break
+  \override Staff.NoteHead  #'style = #'mensural
+  s1*0^\markup { "mensural" }
+  \pattern
 
-    \override Staff.NoteHead  #'style = #'petrucci
-    s1*0^\markup { "petrucci" }
-    \pattern
+  \break
 
-    \override Staff.NoteHead  #'style = #'harmonic
-    s1*0^\markup { "harmonic" }
-    \pattern
+  \override Staff.NoteHead  #'style = #'petrucci
+  s1*0^\markup { "petrucci" }
+  \pattern
 
-    \break
+  \override Staff.NoteHead  #'style = #'harmonic
+  s1*0^\markup { "harmonic" }
+  \pattern
 
-    \override Staff.NoteHead  #'style = #'diamond
-    s1*0^\markup { "diamond" }
-    \pattern
+  \break
 
-    \override Staff.NoteHead  #'style = #'cross
-    s1*0^\markup { "cross" }
-    \pattern
+  \override Staff.NoteHead  #'style = #'diamond
+  s1*0^\markup { "diamond" }
+  \pattern
 
-    \break
+  \override Staff.NoteHead  #'style = #'cross
+  s1*0^\markup { "cross" }
+  \pattern
 
-    \override Staff.NoteHead  #'style = #'xcircle
-    s1*0^\markup { "xcircle" }
-    \pattern
+  \break
 
-    \override Staff.NoteHead  #'style = #'triangle
-    s1*0^\markup { "triangle" }
-    \pattern
+  \override Staff.NoteHead  #'style = #'xcircle
+  s1*0^\markup { "xcircle" }
+  \pattern
 
-    \break
+  \override Staff.NoteHead  #'style = #'triangle
+  s1*0^\markup { "triangle" }
+  \pattern
 
-    \override Staff.NoteHead  #'style = #'slash
-    s1*0^\markup { "slash" }
-    \pattern
-  }
+  \break
 
-  \layout {
-    indent = 0.0
-    raggedright = ##t
-  }
+  \override Staff.NoteHead  #'style = #'slash
+  s1*0^\markup { "slash" }
+  \pattern
 }
+
+\layout {
+  indent = 0.0
+  raggedright = ##t
+}
+
index fc93175d19a43890122f9744861e00944e5748f7..76969d7ee85eb474159a112d390aaf8232382358 100644 (file)
@@ -1,29 +1,29 @@
 \version "2.6.0"
 
 \header {
-texidoc = "Note head lines (e.g. glissando)
+  texidoc = "Note head lines (e.g. glissando)
 run between centers of the note heads."
 }
 
 su = { \change Staff = up}
 sd = { \change Staff = down}
 
-\score {
-    \context PianoStaff
-         <<
-       \context Staff = "up"   {
-            \set PianoStaff.connectArpeggios = ##t
-           \showStaffSwitch
-           \clef F
-           c4 d \sd b a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1
-       }
-       \context Staff = "down" {
-           \clef F s1*4
-       }
-    >>
-\layout {
+
+\context PianoStaff
+<<
+  \context Staff = "up"   {
+    \set PianoStaff.connectArpeggios = ##t
+    \showStaffSwitch
+    \clef F
+    c4 d \sd b a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1
+  }
+  \context Staff = "down" {
+    \clef F s1*4
+  }
+>>
+  \layout {
     linewidth = 8.0 \cm
-}
-}
+  }
+
 
 
index 7d1150718f9032e0b7826594775fca83f062f045..01bb2d2970d520eb14ddf4ac028e27429b710838 100644 (file)
@@ -2,20 +2,19 @@
 \version "2.6.0"
 
 \header{
-texidoc=" The number of stafflines of a staff can be set.  Ledger
+  texidoc=" The number of stafflines of a staff can be set.  Ledger
 lines both on note heads and rests, as well as barlines, are
 adjusted accordingly.  "
 }
 
-\score { 
+
 \context Voice \relative c {
-       c' c c c | g' g g g     \bar ":|"
+  c' c c c | g' g g g  \bar ":|"
+}
+\layout {
+  \context {
+    \Staff
+    \override StaffSymbol #'line-count = #3
   }
-  \layout {
 
-\context { \Staff
-\override StaffSymbol #'line-count = #3
-}  }
-  \midi { }
-}
 
index 177526604be11df2432b85420cf45b03a454b289..9a81d74eedfb0d2598ceaad000f997c6ad9b4e1a 100644 (file)
@@ -1,7 +1,7 @@
 
 \header
 {
-texidoc = "Ottava brackets are supported, through the
+  texidoc = "Ottava brackets are supported, through the
 use of the scheme function @code{set-octavation}.
 
 The spanner should go below a staff for 8va bassa, and the ottavation
@@ -12,29 +12,29 @@ string can be tuned with @code{Staff.ottavation}.
 }
 \version "2.6.0"
 
-% . There must be a minimum distance between the octavation line and the
-%   topmost staff line, taking into account the height of the closing
-%   vertical dashed line.
-%
-% . Octavation lines broken across staves must always start with `8va'
-%   (or something similar).
-%
-% . The `8va' should be slightl offset to the left.
-%
-% . The final vertical dashed line of the octavation line should be offset
-%   to the right.
-%
-% . Octavation lines for `8va bassa' must be below the staff, not above.
-%
-% . The `8va bassa' string is far too long for short octavation lines.
-%   LilyPond should select between `8va bassa', `8ba', and `8', depending
-%   on the available horizontal space (and the octavation style selected
-%   by the user).  The same holds for `8va' and `15ma'.
+%% . There must be a minimum distance between the octavation line and the
+%%   topmost staff line, taking into account the height of the closing
+%%   vertical dashed line.
+                               %
+%% . Octavation lines broken across staves must always start with `8va'
+%%   (or something similar).
+                               %
+%% . The `8va' should be slightl offset to the left.
+                               %
+%% . The final vertical dashed line of the octavation line should be offset
+%%   to the right.
+                               %
+%% . Octavation lines for `8va bassa' must be below the staff, not above.
+                               %
+%% . The `8va bassa' string is far too long for short octavation lines.
+%%   LilyPond should select between `8va bassa', `8ba', and `8', depending
+%%   on the available horizontal space (and the octavation style selected
+%%   by the user).  The same holds for `8va' and `15ma'.
 
 
 \layout { raggedright = ##t} 
-\score {
-  \relative c'''  {
+
+\relative c'''  {
   a b c a
   #(set-octavation 1)
   a b c a
@@ -64,5 +64,5 @@ string can be tuned with @code{Staff.ottavation}.
   \set Staff.ottavation = #"8"
   g,,16
 }
-}
+
 
index 98043ca28983f8b977e3622f807a500fdc08556e..37705ad459d8f161a89f9ff3e601f0d02e1cf5e9 100644 (file)
@@ -10,25 +10,25 @@ In the 2nd measure, the pattern without the tie, leads to combined
 voices.
   
 "
-    }
+       }
 \version "2.6.0"
 
 vone =
 
 %%%%%%%%%%%%%%  0   1   2   3  
 \relative c'' {
-    \time 2/4
-    a8[ a]  a8[ a] |
-    a8[ a]  a8[ a]
+  \time 2/4
+  a8[ a]  a8[ a] |
+  a8[ a]  a8[ a]
 }
 
 vtwo =
 \relative c' {
-    \time 2/4
-    f8[ f]~ f8[ f] |
-    f8[ f]  f8[ f]
+  \time 2/4
+  f8[ f]~ f8[ f] |
+  f8[ f]  f8[ f]
 }
 
-\score {
-    \partcombine \vone \vtwo
-    }
+
+\partcombine \vone \vtwo
+
index 43269c64233bbe25fd85bbcc0c144b8ae3e8c95f..b1c52a68b7d52608897f05ce0dc2a6bd3c18d5ac 100644 (file)
@@ -1,26 +1,28 @@
 
 \header {
-    texidoc ="The new part combiner stays apart from:
+  texidoc ="The new part combiner stays apart from:
 @itemize @bullet
 @item different durations,
 @item different articulations (taking into account only slur/beam/tie), and
 @item wide pitch ranges.
 @end itemize
 "
-    }
+}
 
 \version "2.6.0"
 
-vone =  \relative a' { g2 g    g  g4 g f' c c( c) c c  c ~ c
-                            c2. c4   c
-                        }
-vtwo =  \relative a' { f2 f4 f f2 g4 g c, f f  f  f f~ f ~ f
-                            f4 f2. ~ f4
+vone =  \relative a' {
+  g2 g    g  g4 g f' c c( c) c c  c ~ c
+  c2. c4   c
+}
+vtwo =  \relative a' {
+  f2 f4 f f2 g4 g c, f f  f  f f~ f ~ f
+  f4 f2. ~ f4
+}
+
 
-                        }
+\partcombine \vone \vtwo
+
+\layout { raggedright = ##t } 
 
-\score {
-   \partcombine \vone \vtwo
-   \layout { raggedright = ##t } 
-}
  
index ea276c9ce3546e938e77ac3929b8f237e9b1c5b6..49b7aaf6d278b9e9d45af89abce8a4a59489862d 100644 (file)
@@ -1,15 +1,15 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "Unterminated piano pedal brackets run to the end of the piece. "
+  texidoc = "Unterminated piano pedal brackets run to the end of the piece. "
 
 }
 
-\score {
-     {
-       \set Staff.pedalSustainStyle = #'bracket
-       c4 \sustainDown
-       \bar "|."
-    }
-    \layout { raggedright  = ##t }
+
+{
+  \set Staff.pedalSustainStyle = #'bracket
+  c4 \sustainDown
+  \bar "|."
 }
+\layout { raggedright  = ##t }
+
index 549f8d3f81a385a538e12b7ea30a52917fa6c0b6..3231abe87bbea7dc49eb5918a97521d37705f56a 100644 (file)
@@ -1,21 +1,21 @@
 \version "2.6.0"
 \header
 {
-    texidoc = "The standard piano pedals style comes with Ped symbols.
+  texidoc = "The standard piano pedals style comes with Ped symbols.
 The pedal string can be also tuned, for example, to a shorter tilde/P variant
 at the end of the melody."
 
 }
 
-\score{
-    \context Staff \relative c'{
-        c4 d e f g
-        \sustainDown b c
-        c, d16[  c  c c]  e[ e \sustainUp \sustainDown e e ] f4 \sustainUp 
-        g\sustainDown  b \sustainUp c 
-        \set Staff.pedalSustainStrings = #'("-" "-P" "P")
-        \override Staff.SustainPedal   #'padding = #-2
-        c, \sustainDown d e \sustainUp \sustainDown f
-        \sustainUp g b c
-    }
+
+\context Staff \relative c'{
+  c4 d e f g
+  \sustainDown b c
+  c, d16[  c  c c]  e[ e \sustainUp \sustainDown e e ] f4 \sustainUp 
+  g\sustainDown  b \sustainUp c 
+  \set Staff.pedalSustainStrings = #'("-" "-P" "P")
+  \override Staff.SustainPedal   #'padding = #-2
+  c, \sustainDown d e \sustainUp \sustainDown f
+  \sustainUp g b c
 }
+
index 04a44226127c4885e00105ccde66c8add0757842..23c70589831a8d9f6ea35d882f0cadbcb60a2292 100644 (file)
@@ -2,16 +2,17 @@
 
 \header {
 
-texidoc =" The A is atop an invisible barline. The barline,
+  texidoc =" The A is atop an invisible barline. The barline,
 although invisible, is also translated because it is the last one of
 the break alignment."
-    
+  
 }
 
 \layout { raggedright= ##t }
 
-\score{  {
-a a a a \break
-\mark A
-a a a a}}
+{
+  a a a a \break
+  \mark A
+  a a a a
+}
 
index efc765b84c4587b359fdfacd6a1177bb3c801612..910b943116e1a6c3a0d62da89d7ccf38f4859381 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "Distances between prefatory items (e.g. clef, bar,
+  texidoc = "Distances between prefatory items (e.g. clef, bar,
 etc.)  are determined by engraving standards.  These distances depend
 on which items are combined.  Mid-line, the order for clef and
 bar-line is different from the start of line.
@@ -10,16 +10,16 @@ bar-line is different from the start of line.
 
 }
 
-\score {  \relative c'' {
-       \set Staff.instrument = "fobar"
-       \bar "||:"
-       \key cis \major
-       cis4 cis4 cis4 cis4 \clef bass  cis,1
-       \clef treble
-       \bar ":|"
-       \key g \minor
-       c1
+\relative c'' {
+  \set Staff.instrument = "fobar"
+  \bar "||:"
+  \key cis \major
+  cis4 cis4 cis4 cis4 \clef bass  cis,1
+  \clef treble
+  \bar ":|"
+  \key g \minor
+  c1
 }
 \layout  { raggedright = ##t}
-}
+
 
index 896e633d80d48027985926304e64e10902225ba7..45d8b82ab07eeee191f1206174565f45e1d859af 100644 (file)
@@ -1,21 +1,19 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 Across linebreaks, the left edge of a first and second alternative
 bracket should be equal.
 "
 }
 
-    \layout { raggedright= ##t }
-
-\score  {
+\layout { raggedright= ##t }
 
 \context Staff\relative c''  {
-       \repeat "volta" 2 { c1 \break } \alternative { d e }
-       c1
-       \repeat "volta" 2 { c1 } \alternative { { d \break}  e }
+  \repeat "volta" 2 { c1 \break } \alternative { d e }
+  c1
+  \repeat "volta" 2 { c1 } \alternative { { d \break}  e }
 
 }
-}
+
 
index 5a6d4361e050f5e504bf0997774a9b9dff9823ad..b6bb8f33d08157b971c335080c95c36973b5b4f6 100644 (file)
@@ -2,17 +2,17 @@
 
 
 \header {
-texidoc = "Percent repeats are not skipped, even when @code{skipBars} is set."
+  texidoc = "Percent repeats are not skipped, even when @code{skipBars} is set."
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
+
+
+\context Staff <<
+  \set Score.skipBars = ##t
+  {
+    \repeat "percent" 2 { g2 a g a }
+  }
+>>
 
-\score {
-     \context Staff <<
-       \set Score.skipBars = ##t
-        {
-       \repeat "percent" 2 { g2 a g a }
-       }
-     >>
-}
 
index 0cdf7792f73568d140c229b378ea9b0f2dfe4a18..a9e2c7f972c4ba22e7b66a03ac33c58db6e88ea3 100644 (file)
@@ -1,16 +1,17 @@
 \version "2.6.0"
 \header {
-texidoc = "Within a bar, beat repeats denote that a music snippet should be
+  texidoc = "Within a bar, beat repeats denote that a music snippet should be
 played again."
 }
 
-\score {  \relative c'
-        \context Voice { \time 4/4
-   \repeat "percent" 2 { c2 }
+\relative c'
+\context Voice {
+  \time 4/4
+  \repeat "percent" 2 { c2 }
 
-   % the chairman dances
-   \repeat "percent" 2 { g'8 g c, c  }   
-   \repeat "percent" 4 { b8 b8  }
-  }
-        \layout { raggedright = ##t }
+  %% the chairman dances
+  \repeat "percent" 2 { g'8 g c, c  }   
+  \repeat "percent" 4 { b8 b8  }
 }
+\layout { raggedright = ##t }
+
index 280bcd014d936fd152a4dfe8fe1d7ef620b4307c..2c0072780815c1f8d05ada0733c4dcd356368cca 100644 (file)
@@ -1,27 +1,27 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "Unfolding tremolo repeats. All fragments fill one
+  texidoc = "Unfolding tremolo repeats. All fragments fill one
  measure with 16th notes exactly."
 
 }
 
 
-\score{
-    {
-       \time 2/4 
-       \applymusic #unfold-repeats     
-       { \repeat tremolo 4 { c'16 e' } |
-         \repeat tremolo 8 c'16 } |
 
-       \time 3/4 
-       \applymusic #unfold-repeats     
-       { \repeat tremolo 6 { c'16 e' } |
-         \repeat tremolo 12 c'16 } | \bar "|."
-       
-       \bar "|."
+{
+  \time 2/4 
+  \applymusic #unfold-repeats  
+  { \repeat tremolo 4 { c'16 e' } |
+    \repeat tremolo 8 c'16 } |
 
-       
-    }
-    \layout { raggedright = ##t }  
+  \time 3/4 
+  \applymusic #unfold-repeats  
+  { \repeat tremolo 6 { c'16 e' } |
+    \repeat tremolo 12 c'16 } | \bar "|."
+  
+  \bar "|."
+
+  
 }
+\layout { raggedright = ##t }  
+
index 3c9542505470d062d46e57d3204fd89d4bf6aefa..8381b3bf02c179682eb4915a78b9d074a242fd31 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 LilyPond has three modes for repeats: folded, unfolded and
 semi-unfolded.  Unfolded repeats are fully written out. Semi unfolded
 repeats have the body written and all alternatives sequentially.
@@ -15,14 +15,14 @@ Unfolded behavior:
 "
 }
 
-\score {
 
-  \context Voice \relative c'' {
-\repeat unfold 3 { c^"3x 0a" d }
-% less alts than body
-\repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
-% more alts than body
-\repeat unfold 2 { c^"2x 3a" d } \alternative { e f g } 
-}}
+
+\context Voice \relative c'' {
+  \repeat unfold 3 { c^"3x 0a" d }
+  %% less alts than body
+  \repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
+  %% more alts than body
+  \repeat unfold 2 { c^"2x 3a" d } \alternative { e f g } 
+}
 
 
index 0741104b7dd1f4e288a2ff004ff70855a14d200a..be809379ee1bd25d8cff95c92689cb8995876e1f 100644 (file)
@@ -1,24 +1,21 @@
 \version "2.6.0"
 
 \header{
-texidoc="
+  texidoc="
 Volta (Semi folded) behavior.  Voltas can start on non-barline moments.
 If they don't barlines should still be shown.
 "
 }
 
-%  no alts.
-\score {
-   \context Voice \relative c'' {
-    % repeat non aligning with barlines.
-    \repeat volta 3 { c^"3x 0alt" d e }
-    % less alts than body
-    \repeat volta 4 { c^"4x 2alt" d } \alternative { e f }
-    % more alts than body
-    \repeat volta 2 { c^"2x 3alt" d } \alternative { e f g }
-  }
-  \layout {}
-  \midi {}
+%%  no alts.
+
+\context Voice \relative c'' {
+  %% repeat non aligning with barlines.
+  \repeat volta 3 { c^"3x 0alt" d e }
+  %% less alts than body
+  \repeat volta 4 { c^"4x 2alt" d } \alternative { e f }
+  %% more alts than body
+  \repeat volta 2 { c^"2x 3alt" d } \alternative { e f g }
 }
 
 
index b18997db8a15bc411bf57c35485fecc0322f9650..d9cc6e7b1217257dac8a83532d77059009f7ccbb 100644 (file)
@@ -1,37 +1,38 @@
 \header {
-    texidoc = "Rests under beams are only moved if necessary."
+  texidoc = "Rests under beams are only moved if necessary."
 }
 
 \version "2.6.0"
 
 fig =   \relative c' {
-    <a c e>8[ r <c e a> r <e a c> r <a c e>]  r |
+  <a c e>8[ r <c e a> r <e a c> r <a c e>]
+           r |
 }
 
-                        
-\score {
-   \relative c' \new Staff {
-     \fig 
-      \transpose c c,  \fig
-      \new Voice { \stemUp \transpose c f  \fig }
-      <<
-         \\
-         \transpose f c \fig
-      >>
-      
-      <<
-         { \transpose c c' \fig }
-         \\
-         {} 
-      >>
-      
-      << \transpose c c' \fig \\
-         \transpose f c \fig
-      >>
+  
+
+  \relative c' \new Staff {
+    \fig 
+    \transpose c c,  \fig
+    \new Voice { \stemUp \transpose c f  \fig }
+    <<
+      \\
+      \transpose f c \fig
+    >>
+    
+    <<
+      { \transpose c c' \fig }
+      \\
+      {} 
+    >>
+    
+    << \transpose c c' \fig \\
+       \transpose f c \fig
+     >>
   }
 
   \layout {
-      raggedright = ##t
+    raggedright = ##t
   }
-}
+
 
index a9fe4453f44775a28830b49597040193aa2ee35e..bfbe75b1afe3c2f4e254c0206cf47042110120ab 100644 (file)
@@ -1,7 +1,7 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Rests should not collide with beams, stems and noteheads.  Rests may
 be under beams.  Rests should be move by integral number of spaces
 inside the staff, and by half spaces outside.  Notice that the half
@@ -18,38 +18,38 @@ rests =              {
   r r r  r r r r r r r r r r r r r
 } 
 different = <<  {
-       \relative c'' {
-        r8 a e4 a e
-      }
-    }\\ {
-      
-       \relative c'' {
-        r1
-      }} >>
+  \relative c'' {
+    r8 a e4 a e
+  }
+}\\ {
+  
+  \relative c'' {
+    r1
+  }} >>
 
 scales = \context Staff  <<
-        {  r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
-        \\
-        { a'1 a'2 d'2 \rests r1 r2 r2  \scale }
+  {  r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
+  \\
+  { a'1 a'2 d'2 \rests r1 r2 r2  \scale }
 >>
 
 restsII = \context Staff  {
-       r4 r8
-       \context Staff << {  r8 } \\{  r8} >>
-       \context Staff << { r8} r8 \\{  r8} >>
-       \context Staff << { r8} r8 r8 \\ {  r8} >>
-       \context Staff << { r} \\ {  r} >>
-       \context Staff << { r} r\\ { \stemDown r} >>
-       \different      
-       }
-
-\score{
-        
-               \scales 
-               \restsII 
-       }
-       \layout { raggedright = ##t }
-}      
+  r4 r8
+  \context Staff << {  r8 } \\{  r8} >>
+  \context Staff << { r8} r8 \\{  r8} >>
+  \context Staff << { r8} r8 r8 \\ {  r8} >>
+  \context Staff << { r} \\ {  r} >>
+  \context Staff << { r} r\\ { \stemDown r} >>
+  \different   
+}
+
+
+{ 
+  \scales 
+  \restsII 
+}
+\layout { raggedright = ##t }
+       
 
 
 
index bf5170cc27200a2ed769050cc9e9960f55847bba..5aa510cc4ac0405360c59db82362b1022bcb494b 100644 (file)
@@ -1,23 +1,23 @@
 \version "2.6.0"
 \header {
 
-texidoc = "Rests can have pitches--these will be affected by
+  texidoc = "Rests can have pitches--these will be affected by
 transposition and relativization. If a rest has a pitch, rest/rest and
 beam/rest collision resolving will leave it alone."
 
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score { \relative c'' 
-        {
-            a4\rest b4\rest c4\rest
+\relative c'' 
+{
+  a4\rest b4\rest c4\rest
+
+  <<d \\  d\rest^"rest pitch" >>
+  <<d \\  r>>
+  c16 [ d r e] 
+  c16 [ d e\rest^"rest pitch" e] 
+  
+}
 
-            <<d \\  d\rest^"rest pitch" >>
-            <<d \\  r>>
-            c16 [ d r e] 
-            c16 [ d e\rest^"rest pitch" e] 
-            
-        }
-     }
 
index a2e178899afb57fe72b9fa9d7eac57587e3cb1c2..b962edcd5e2e828030faae3532cdd34c8d01e17f 100644 (file)
@@ -1,18 +1,18 @@
 \header {
 
-    texidoc = "In polyphonic situations, rests are moved down
+  texidoc = "In polyphonic situations, rests are moved down
 even if there is no opposite note or rest. The amount is two
 @code{staff-space}s. "
 
-    }
+}
 
 
 \version "2.6.0"
 
-\score {
-  \new Staff  \relative c' {
-     << { r8 g''4 g8 r g4 g8 } \\
-            { d,4    r   d   r   } >>
-  }
-  \layout { raggedright = ##t }
+
+\new Staff  \relative c' {
+  << { r8 g''4 g8 r g4 g8 } \\
+     { d,4    r   d   r   } >>
 }
+\layout { raggedright = ##t }
+
index 79c920f83759f95467311a264b7140507cee2f4f..ef5f32f6bee11c548ed62c80a393d83c3c885f60 100644 (file)
@@ -2,17 +2,17 @@
 
 \header {
 
-    texidoc = "Scripts are put on the utmost head, so they are
+  texidoc = "Scripts are put on the utmost head, so they are
       positioned correctly when there are collisions."
 }
 
-\score  {
- \relative c'' {
+
+\relative c'' {
   c4
   <c d c'>\marcato
   <<  { c4^^ }\\
-     { d4_^ } >>
-    }
+      { d4_^ } >>
+}
 \layout { raggedright = ##t}
-    }
+
 
index 0e8a02a51e8e3edd6a7e436e186a763916c40470..5114c08ab90785679c5b77e933a1e3968dffd928 100644 (file)
@@ -1,13 +1,13 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Scripts can be stacked. The order is determined by a
+  texidoc = "Scripts can be stacked. The order is determined by a
 priority field, but when objects have the same priority, the input
 order determines the order. Objects specified first are closest to the note.
 "
 }
 
-\score{ \relative c'' { c4^"inner up"^"outer up"_"inner down"_"outer down" }
-       \layout { raggedright = ##t}
-    } 
+\relative c'' { c4^"inner up"^"outer up"_"inner down"_"outer down" }
+\layout { raggedright = ##t}
+
 
index 6f6ca5ee19afc27532da509f669d5d23776e2cf9..7c85edcd1b4683a400aaa6891218118d84d6269a 100644 (file)
@@ -3,8 +3,8 @@
 \layout { raggedright= ##t }
 
 \header { 
-texidoc = "Scripts may be stacked."
+  texidoc = "Scripts may be stacked."
 }
 
-\score {  { c'''->-. } }
+{ c'''->-. } 
 
index 357a0b5ddeee032161aa5c41a27375216dde684c..33b48fceb6845b460a7ceba1d781b53c4435477b 100644 (file)
@@ -1,50 +1,50 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Slurs behave decently when broken across a linebreak.
 "
 }
 
-       
-\score{
-       \context PianoStaff <<
-       \context Staff = "one" \relative c'{
-               \stemUp \slurUp
-                c4( c \change Staff=two c  c) |
-               \change Staff=one
-               \stemUp \slurUp
-                c4( c \change Staff=two c  c) |
-               \stemUp \slurUp
-                c4( c \change Staff=one c  c) |
-               \change Staff=two
-               \stemUp \slurUp
-                c4( c \change Staff=one c  c) |
-               \change Staff=two
-               \stemUp \slurUp
-                c4( \change Staff=one c c  c) |
-               r2
-               \change Staff=two
-               \stemUp \slurUp
-                c4( \change Staff=one c
-                  \break
-               c  c)
-               r2
-%              \stemDown \slurDown
-%               c4( \change Staff=two c c \change Staff=one  c)
-               \stemDown \slurDown
-                d4( \change Staff=two c c \change Staff=one  d)
-               \change Staff=two
-               \stemUp \slurUp
-                c4( \change Staff=one c c \change Staff=two  c)
-               r1
-       }
-       \context Staff = "two" \relative c'{
-               \clef bass
-               s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
-       }
-       >>
-}
+
+
+\context PianoStaff <<
+  \context Staff = "one" \relative c'{
+    \stemUp \slurUp
+    c4( c \change Staff=two c  c) |
+    \change Staff=one
+    \stemUp \slurUp
+    c4( c \change Staff=two c  c) |
+    \stemUp \slurUp
+    c4( c \change Staff=one c  c) |
+    \change Staff=two
+    \stemUp \slurUp
+    c4( c \change Staff=one c  c) |
+    \change Staff=two
+    \stemUp \slurUp
+    c4( \change Staff=one c c  c) |
+    r2
+    \change Staff=two
+    \stemUp \slurUp
+    c4( \change Staff=one c
+    \break
+    c  c)
+    r2
+    %%         \stemDown \slurDown
+    %%          c4( \change Staff=two c c \change Staff=one  c)
+    \stemDown \slurDown
+    d4( \change Staff=two c c \change Staff=one  d)
+    \change Staff=two
+    \stemUp \slurUp
+    c4( \change Staff=one c c \change Staff=two  c)
+    r1
+  }
+  \context Staff = "two" \relative c'{
+    \clef bass
+    s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
+  }
+>>
+
 
 
 
index 1d3f5333e50d4c8614d0d50bd5024f4b0b6868c2..d9e332359dea32b906f9f3a84d965b7b7f816bf0 100644 (file)
@@ -2,22 +2,22 @@
 \header {texidoc = "@cindex Slur, dotted, dashed
 The appearance of slurs may be changed from solid to dotted or dashed.
 "
-} 
-\score{
-       \relative c'{
-               c( d e  c) |
-               \slurDotted
-               c( d e  c) |
-               \slurDashed
-               c( d e  c) |
-               \override Slur #'dash-period = #2.0
-               \override Slur #'dash-fraction = #0.4
-               c( d e  c) |
-               \slurSolid
-               c( d e  c) |
-       }
-       \layout{ raggedright=##t }
+       } 
+
+\relative c'{
+  c( d e  c) |
+  \slurDotted
+  c( d e  c) |
+  \slurDashed
+  c( d e  c) |
+  \override Slur #'dash-period = #2.0
+  \override Slur #'dash-fraction = #0.4
+  c( d e  c) |
+  \slurSolid
+  c( d e  c) |
 }
+\layout{ raggedright=##t }
+
 
 
 
index b42c1f8fe5bfd89e7eb441ee5b42facb7ec4ba34..a51dbe94bf698d9b08199b89e0a5e40f9fa92a90 100644 (file)
@@ -1,16 +1,16 @@
 
 \version "2.6.0"
 \header{
-texidoc="Slurs should not get confused by augmentation dots.  With a lot
+  texidoc="Slurs should not get confused by augmentation dots.  With a lot
 of dots, the problems becomes more visible."
 }
-\score {
-  \relative c'' {
-    c4.............( c)
-  }
-  \layout {
-    raggedright = ##t
-  }
+
+\relative c'' {
+  c4.............( c)
+}
+\layout {
+  raggedright = ##t
 }
 
 
+
index 6bfe231ccb55dc2f02f94094f195a0016dcce534..d9a9d051d6460d03bd87962c8322cff762f93bcd 100644 (file)
@@ -1,26 +1,26 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Slurs should look nice and symmetric.  The curvature may increase
 only to avoid noteheads, and as little as possible.  Slurs never
 run through noteheads or stems.
 "
 }
 
-\score{
-       \relative c''{
-               \time 3/4
-               \slurUp
-               \stemNeutral a ( \stemDown a \stemNeutral  a) a( c  a) a( e'  a,) a( g'  a,)
-               \stemUp a( e'  a,)
-               \break
-               \slurDown
-               \stemNeutral c ( \stemUp c \stemNeutral  c) c ( a  c) c( d,  c') c( f,  c')
-               \stemDown c( f,  c')
-       }
-       \layout{
-               linewidth = 120.\mm
-       }
+
+\relative c''{
+  \time 3/4
+  \slurUp
+  \stemNeutral a ( \stemDown a \stemNeutral  a) a( c  a) a( e'  a,) a( g'  a,)
+  \stemUp a( e'  a,)
+  \break
+  \slurDown
+  \stemNeutral c ( \stemUp c \stemNeutral  c) c ( a  c) c( d,  c') c( f,  c')
+  \stemDown c( f,  c')
+}
+\layout{
+  linewidth = 120.\mm
 }
 
+
index 2dcda470eb947e725b5d2089897f7cbe8da68230..1278958aba6b1f101756c470fbd3e8a6be1b9fe6 100644 (file)
@@ -2,19 +2,19 @@
 \version "2.6.0"
 \header
 {
-    texidoc ="Slurs may be placed over rest. The slur will avoid colliding with
+  texidoc ="Slurs may be placed over rest. The slur will avoid colliding with
 the rest.
 
 "
 }
-\score{   { \stemDown c'4 ( r4  c'2)
+{ \stemDown c'4 ( r4  c'2)
 
-                 \relative c'' { 
-       % Finish with F if played separately 
-       c8-.(   r c,-. r  c4) r4|  }
-                 
+  \relative c'' { 
+    %% Finish with F if played separately 
+    c8-.(   r c,-. r  c4) r4|
+  }
+  
+}
+\layout { raggedright = ##t }
 
-             }
-\layout { raggedright = ##t}
-    }
 
index f3ae54473259d7293e7a1e0117d8840c9e78788d..fa283c2535b5176f49768a21db63942f76877f2a 100644 (file)
@@ -18,9 +18,6 @@
 %    #(define debug-slur-scoring #t)
 }
 
-%% help lilypond-book
-%% \score
-
 \relative {
   
     \grace e=''16( d8.[) c16]
index 0da03ba5b3c582e471ae43343655e552ebed311c..844bee98882cf0173e1716d01bc3e90b71afe7f4 100644 (file)
@@ -4,18 +4,18 @@
   texidoc = "Symmetric figures should lead to symmetric slurs."
 }
 
-\score{
-       \relative c''<<
-               \time 4/4
-               \context Staff{
-                       f8(f f f) f(g g f) f(a a f) f(b b f)
-               }
-               \new Staff{
-                       e,(e e e) e(d d e) e(c c e) e(b b e)
-               }
-       >>
-       \layout{
-               raggedright = ##t
-       }
+
+\relative c''<<
+  \time 4/4
+  \context Staff{
+    f8(f f f) f(g g f) f(a a f) f(b b f)
+  }
+  \new Staff{
+    e,(e e e) e(d d e) e(c c e) e(b b e)
+  }
+>>
+\layout{
+  raggedright = ##t
 }
 
+
index 29c4fb76f0a1a8538f5a8c4d57750c286f64e676..a86dc56b5ca0e7b38d513ff9df08aaf0547746df 100644 (file)
@@ -1,22 +1,22 @@
 \version "2.6.0"
 \header
 {
-    texidoc = "Symmetric figures should lead to symmetric slurs."
+  texidoc = "Symmetric figures should lead to symmetric slurs."
 
 }
 
-\score{
-       \relative c'<<
-               \time 6/8
-               \context Staff{
-                       e8(e e) e(d e) e(c e) e(b e)
-               }
-               \new Staff{
-                       f'8(f f) f(g f) f(a f) f(b f)
-               }
-       >>
-       \layout{
-               raggedright = ##t
-       }
+
+\relative c'<<
+  \time 6/8
+  \context Staff{
+    e8(e e) e(d e) e(c e) e(b e)
+  }
+  \new Staff{
+    f'8(f f) f(g f) f(a f) f(b f)
+  }
+>>
+\layout{
+  raggedright = ##t
 }
 
+
index a950f7e50b47d881fb0bc55d62e76f81f8573a1a..7b8a3eaae54e69c09dfea9c56a7b9d34b90b2365 100644 (file)
@@ -1,21 +1,24 @@
 \version "2.6.0"
 
 \header { 
-texidoc = "Accidentals in different staves do not affect the
+  texidoc = "Accidentals in different staves do not affect the
 spacing of the eighth notes here."
 }
 
-\score {  \relative c'' << \new Staff { \time 4/4
+\relative c'' <<
+  \new Staff {
+    \time 4/4
 
- c8[ c8 cis8 cis8]
- cis8[ cis8 cis8 cis]
+    c8[ c8 cis8 cis8]
+    cis8[ cis8 cis8 cis]
+  }
+  {
+    \key d \major cis4 cis4 cis4 cis!4
+  }
+>>
 
+\layout { raggedright = ##t} 
 
- }
-   { \key d \major cis4 cis4 cis4 cis!4  } >>
-
-   \layout { raggedright = ##t} 
- }
 
 
 
index 3ede19f40779072af26810dc195f8711b3618a8c..6d8973800127a2042f01ad448161bf86a3540e1f 100644 (file)
@@ -2,17 +2,17 @@
 \version "2.6.0"
 
 \header {
-texidoc = "Accidentals sticking out to the left
+  texidoc = "Accidentals sticking out to the left
 of a note will take a little more space, but only if the spacing is tight." 
 }
 
-\score {  \relative c'' {
-    \time 8/4
-    c2 c2 cis2 cis2 |
-    c8 c8 cis8 cis8 cis c c c]
+\relative c'' {
+  \time 8/4
+  c2 c2 cis2 cis2 |
+  c8 c8 cis8 cis8 cis c c c]
 }
 \layout { raggedright = ##t}
 
-}
+
 
 
index f74f1089545f9ec0c9638a2a5990ae27c88836b4..68cd8d1487292f323d55042597e4708790ce06e9 100644 (file)
@@ -1,7 +1,7 @@
 
 \version "2.6.0"
 \header {
-texidoc = "Downstem notes following a barline are
+  texidoc = "Downstem notes following a barline are
 printed with some extra space. This is an optical correction similar
 to juxtaposed stems.
 
@@ -11,16 +11,16 @@ Accidentals after the barline get some space as well.
 
 sd = \override Stem  #'direction = #-1
 su = \override Stem  #'direction = #1
-\score { \relative c''
+\relative c''
 {
 
-%\override Staff.StaffSpacing  #'stem-spacing-correction = #10
-%\override Staff.NoteSpacing  #'stem-spacing-correction = #10
+  %%\override Staff.StaffSpacing  #'stem-spacing-correction = #10
+  %%\override Staff.NoteSpacing  #'stem-spacing-correction = #10
 
-\time 1/4 \sd c4 \su c4
-\sd c4 \su c4
-\sd f c,4  c'4 cis4 \stemUp c4
+  \time 1/4 \sd c4 \su c4
+  \sd c4 \su c4
+  \sd f c,4  c'4 cis4 \stemUp c4
 }
 \layout { raggedright = ##t}
-}
+
 
index 264ad91cefefda60243d17b5342909148fe8f346..468b78624bc4b3c137acdc0ac064f6430d407534 100644 (file)
@@ -1,28 +1,28 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "Clef changes at the start of a line get much more space
+  texidoc = "Clef changes at the start of a line get much more space
 than clef changes halfway the line."
 
 }
 
-\score  {  
-    <<
-       \new Staff {
-           c'2
-           \clef bass e16 f a
-           \clef treble b
-       }
-       \new Staff  {
-           c'4 c'4 c'4 
-       }
-    >>
-    \layout {
-       raggedright = ##t
-       \context {
-           \Staff
-           \remove Time_signature_engraver
-       }
+
+<<
+  \new Staff {
+    c'2
+    \clef bass e16 f a
+    \clef treble b
+  }
+  \new Staff  {
+    c'4 c'4 c'4 
+  }
+>>
+  \layout {
+    raggedright = ##t
+    \context {
+      \Staff
+      \remove Time_signature_engraver
     }
-}
+  }
+
 
index ba53ee3b04bf37b7e8d08dfa82226eaf0dc1c4a4..093545241ecd5f97f8d0254daa98e99dc417c273 100644 (file)
@@ -1,19 +1,18 @@
 
 \version "2.6.0"
 \header {
-    
-    texidoc ="Broken engraving of a bar at the end of a line does not upset 
+  
+  texidoc ="Broken engraving of a bar at the end of a line does not upset 
     the space following rests and notes."  }
 
-\score
-{
- \relative c' {
-    c2.. r8
-    c2.. r8
-    \time 3/4 \break
-    e2 e4 | e2 e4 \time 4/4 \break
+
+\relative c' {
+  c2.. r8
+  c2.. r8
+  \time 3/4 \break
+  e2 e4 | e2 e4 \time 4/4 \break
 }
 \layout {
-    raggedright = ##t }  
-}
+  raggedright = ##t }  
+
 
index 69bb65ac5a8d7ff6cf554f051d8e82797e7ae2b1..6ceab62b6b7c8fcba8b0e45b5b82654fdce5ebbe 100644 (file)
@@ -2,20 +2,20 @@
 \header { texidoc = "
 A voicelet (a very short voice to get polyphonic chords correct)
 should not confuse the spacing engine."
-}
+       }
 
 
-       \score {
- {  \context Staff \relative c' {
+
+{  \context Staff \relative c' {
   c4
   <<
-      { r4 dis'4 } \\
-      { r4 fis,4 } \\
-      { r bis } \\
-      { s gis }
+    { r4 dis'4 } \\
+    { r4 fis,4 } \\
+    { r bis } \\
+    { s gis }
   >>
   c4
 }}
-  \layout { raggedright = ##t }
-}
+\layout { raggedright = ##t }
+
 
index 9a87bec5843b99abc3cb80e77c2ac090cfe1beaa..ccda67c40360dba92cc81ecde9d5649877ed6ee7 100644 (file)
@@ -2,22 +2,22 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "Spacing uses the duration of the notes, but disregards
+  texidoc = "Spacing uses the duration of the notes, but disregards
     grace notes for this. In this example, the 8ths around the grace
     are spaced exactly as the other 8th notes.
 
 "
 }
 
-\score {  \relative c''
-        \context Voice 
+\relative c''
+\context Voice 
 {
-     c8[  c8]
-    \grace {  b16 }
-     c8[ c8]  c8[ c8] 
+  c8[  c8]
+  \grace {  b16 }
+  c8[ c8]  c8[ c8] 
 
 }
 
-        \layout { raggedright = ##t}
-}
+\layout { raggedright = ##t}
+
 
index d40cf5e185c459908ff6487258faedd6b3233044..82553d1c4f209db7a144475c89b40c1f81283db3 100644 (file)
@@ -3,10 +3,10 @@
 \header {
   texidoc = "Grace note spacing.  "
 }
-       
-\score {
-  \context Voice \relative c'' { \grace {  c16[ d] } c4 }
-  \layout { raggedright = ##t}
 
-}
+
+\context Voice \relative c'' { \grace {  c16[ d] } c4 }
+\layout { raggedright = ##t}
+
+
 
index 84685090f88cc094c2fea0cba2aa90deb708c22c..442f78c445ee98f172ab4f2e2b93532eac708ff7 100644 (file)
@@ -1,22 +1,22 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "For knees, the spacing correction is such that the
+  texidoc = "For knees, the spacing correction is such that the
 stems are put at regular distances. This effect takes into account the
 width of the note heads and the thickness of the stem.
 "
-    }
-\score { 
+}
+
 {
- g''8[ g g'' g''] 
 g''8[ g g'' g''] 
 
- % check code independent of default settings.
- \override NoteSpacing  #'knee-spacing-correction = #1.0 
- g''8[ g g'' g''] 
- \override Stem  #'thickness = #10 
- g''8[ g g'' g''] 
-    }
                              % check code independent of default settings.
 \override NoteSpacing  #'knee-spacing-correction = #1.0 
 g''8[ g g'' g''] 
 \override Stem  #'thickness = #10 
 g''8[ g g'' g''] 
+}
 \layout { raggedright = ##t}
-     }
+
 
 
index dc0293b058b88a891a6fc8b6892e8481de6804c8..d0edc43d1a87212ba4627d2cb65f2ca712f8ed0e 100644 (file)
@@ -1,21 +1,21 @@
 
 \header {
 
-texidoc = "The flags of 8th notes take some space, but not
+  texidoc = "The flags of 8th notes take some space, but not
     too much: the space following a flag is less than the space
     following a beamed 8th head."
 
 }
 
-\score {  \relative c'' \context Staff {
-    \set autoBeaming = ##f
-    a8[ a8 a8 a8]
-    a8 a8 a8 a8
+\relative c'' \context Staff {
+  \set autoBeaming = ##f
+  a8[ a8 a8 a8]
+  a8 a8 a8 a8
 }
 \layout {
-raggedright = ##t
-    }
-     }
+  raggedright = ##t
+}
+
 
 \version "2.6.0"
 
index 9ee437acdbf04f39fe42f2f97e30e188329541d3..439b7736ed46298e6da6eba00012787d12689f31 100644 (file)
@@ -1,17 +1,17 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Rests get a little less space, since they are narrower.
+  texidoc = "Rests get a little less space, since they are narrower.
 However, the quarter rest in feta font is relatively wide, causing this 
 effect to be very small.
 "
-    }
-\score {  \relative c'' \context Staff {
-    \time 12/4
-    r4 c4 c4 c4 r4 r4 c4
+}
+\relative c'' \context Staff {
+  \time 12/4
+  r4 c4 c4 c4 r4 r4 c4
 }
 \layout {
-raggedright = ##t
-    }
-     }
+  raggedright = ##t
+}
+
 
index d68e75495629eb90e990ba79f24b9a5510862d9d..d6f5243ac53aaa106977974fb5c749f4f308719e 100644 (file)
@@ -1,8 +1,8 @@
 
 \version "2.6.0"
 \header {
-    
-texidoc = "Notes that are shorter than the common shortest note get a
+  
+  texidoc = "Notes that are shorter than the common shortest note get a
 space (i.e. without the space needed for the note) proportional to
 their duration. So, the 16th notes get 1/2 of the space of an eigth note.
 The total distance for a 16th (which includes note head) is 3/4 of the
@@ -10,16 +10,16 @@ eighth note. "
 
 }
 
-\score {  \relative c''
+\relative c''
 {
-    \time 2/4 
-    c16 c c c c4 c4
-    c8 c8 c8 c8
-    c8 c8 c4
-    c8 c8 c4
+  \time 2/4 
+  c16 c c c c4 c4
+  c8 c8 c8 c8
+  c8 c8 c4
+  c8 c8 c4
 
 }
 
-        \layout { raggedright = ##t}
-}
+\layout { raggedright = ##t}
+
 
index 82fbbbc6c44759bad9e358bf6504ca8ad244ed3a..52086b9374c0000a31a1b6a2d4f2c7bebfeced64 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0"
 \header {
 
-texidoc = "Upstem notes before a barline are printed with some extra
+  texidoc = "Upstem notes before a barline are printed with some extra
 space. This is an optical correction similar to juxtaposed stems.
 "
 
@@ -10,20 +10,20 @@ space. This is an optical correction similar to juxtaposed stems.
 
 sd = \override Stem  #'direction = #-1
 su = \override Stem  #'direction = #1
-\score { \relative e'
+\relative e'
 {
 
-%\override Staff.StaffSpacing  #'stem-spacing-correction = #0.5
-%\override Staff.NoteSpacing  #'stem-spacing-correction = #0.5
+                               %%\override Staff.StaffSpacing  #'stem-spacing-correction = #0.5
+                               %%\override Staff.NoteSpacing  #'stem-spacing-correction = #0.5
 
-\time 3/8
-\su
-e8 e e
-f f f
-a a a
-c c c
-e e e
+  \time 3/8
+  \su
+  e8 e e
+  f f f
+  a a a
+  c c c
+  e e e
 }
 \layout { raggedright = ##t}
-}
+
 
index 3b5c0526235e49028762c7334ad8a7f9650d9614..1bfeb562f92441c29a3685e0c870a3bd30fb97ee 100644 (file)
@@ -3,7 +3,7 @@
 
 \header{
 
-texidoc="
+  texidoc="
 
 There are optical corrections to the spacing of stems. The overlap between 
 two adjacent stems of different direction is used as a measure for how
@@ -11,15 +11,15 @@ much to correct."
 
 }
 
-\score { 
-  \context Voice \relative c {
-  % make sure neutral is down.
-    \override Stem  #'neutral-direction = #-1
-       \time 16/4  c''4 c c,  c' d, c' e, c' f, c' g c a c b c
-       
-  }
-  \layout {
-    raggedright = ##t
-  }  
+
+\context Voice \relative c {
+  %% make sure neutral is down.
+  \override Stem  #'neutral-direction = #-1
+  \time 16/4  c''4 c c,  c' d, c' e, c' f, c' g c a c b c
 }
 
+\layout {
+  raggedright = ##t
+}  
+
+
index 0a3ce37afb4145d4a4dd2ddf2beff7628450e825..464940b86e2ef86a7953fb2dc9914ec5183cfed7 100644 (file)
@@ -1,17 +1,17 @@
 
 \version "2.6.0"
 \header {
-       texidoc = "For juxtaposed chords with the same direction, a
+  texidoc = "For juxtaposed chords with the same direction, a
 slight optical correction is used. It is constant, and works only if
 two chords have no common head-positions range."
 }
 
-\score {  \relative c'' {
-\stemDown
-\time 12/4
+\relative c'' {
+  \stemDown
+  \time 12/4
   f8[
-      e f e]  f[ d f d]  f[ c f c]  f[ b, f' b,]  f'[ a, f' a,]
+    e f e]  f[ d f d]  f[ c f c]  f[ b, f' b,]  f'[ a, f' a,]
 }
 \layout { raggedright = ##t}
-}
+
 
index 176f0de0024af691c85ac2b163271eed5109cf33..5d9308f599ac0beeffacc1d89cb118830898949b 100644 (file)
@@ -2,21 +2,21 @@
 \version "2.6.0"
 \header {
 
-    texidoc ="Space from a normal note (or barline) to a grace note is
+  texidoc ="Space from a normal note (or barline) to a grace note is
     smaller than to a normal note."
-    
+  
 }
 
-\score {
-    \context Voice 
-    { \time 2/4
-      \relative c'' {
-         e8 e \grace d8 e e \grace f8 e es, d' d
-         e8 e e e \grace { \stemDown f8 \stemNeutral } e es, d'
 
-                 }  
+\context Voice 
+{ \time 2/4
+  \relative c'' {
+    e8 e \grace d8 e e \grace f8 e es, d' d
+    e8 e e e \grace { \stemDown f8 \stemNeutral } e es, d'
+
+  }  
+
+}
+\layout { raggedright = ##t}
 
-    }
-    \layout { raggedright = ##t}
-    }
 
index 3554c2d48353eba467c4ffe7f25fd8652f8651b0..793ec60ee613b2000c58ba53e6f95f18d13fbc56 100644 (file)
@@ -2,18 +2,18 @@
 
 \header {
 
-    texidoc = "At the beginning of a system, the @code{|:} repeat
+  texidoc = "At the beginning of a system, the @code{|:} repeat
 barline is drawn between the staves, but the @code{:|} is not."
 
-      }
-
-\score {
- \new PianoStaff <<
-    \context Staff = "up" {
-       \bar "|:" r1
-       \bar ":|" \break r1
-    }
-    \context Staff = "down" { r r }
-  >>
-  \layout{ raggedright = ##t }
 }
+
+
+\new PianoStaff <<
+  \context Staff = "up" {
+    \bar "|:" r1
+    \bar ":|" \break r1
+  }
+  \context Staff = "down" { r r }
+>>
+\layout{ raggedright = ##t }
+
index 0a3a8453c8981b7ff9ce58f7c7a475a73a32170e..dbd9b2da0f26f5591dec05afca00db792ee323d8 100644 (file)
@@ -9,32 +9,32 @@ between systems.
 "
 }
 
-\score {
-   \relative c' \new StaffGroup <<
-    \new Staff {
-      \override Score.BarLine #'transparent = ##t
-      a1 a1
-      \revert Score.BarLine #'transparent
-      \override Score.SpanBar #'transparent = ##t
-      a1 a1
-    }
-    \lyricmode <<
-      \new Lyrics { bla1 die bla }
-      \new Lyrics { foo bar foo }
-    >>
-    \new Staff {
-      f1 f1 f1 f1
-    }
+
+\relative c' \new StaffGroup <<
+  \new Staff {
+    \override Score.BarLine #'transparent = ##t
+    a1 a1
+    \revert Score.BarLine #'transparent
+    \override Score.SpanBar #'transparent = ##t
+    a1 a1
+  }
+  \lyricmode <<
+    \new Lyrics { bla1 die bla }
+    \new Lyrics { foo bar foo }
   >>
-  \layout {
-    \context {
-      \Staff
-    }
-    raggedright =##t 
+  \new Staff {
+    f1 f1 f1 f1
   }
+>>
+\layout {
+  \context {
+    \Staff
+  }
+  raggedright =##t 
 }
 
 
+
 %% Local variables:
 %% LilyPond-indent-level:2
 %% End:
index 44611e7fdb3240c574729aee9eed70cb447b76b4..bca8c63bae8f96f4b72385405f982451ceec27db 100644 (file)
@@ -3,21 +3,21 @@
 
 \header{
 
-    texidoc=" The staccato dot (and all scripts with follow-into-staff
+  texidoc=" The staccato dot (and all scripts with follow-into-staff
 set) must not be on staff lines. The staccato dot is close to the
 notehead. If the head is in a space, then the dot is in the space next
 to it.  "
 
 }
 
-\score { 
-    \context Voice \relative c' {
-       e'4-. f-. g-. d-. c-. b-.
-       \stemDown
-       e,-. d-. c-. b-. a-. g-.    
-    }
-    \layout {
-       raggedright = ##t
-    }  
+
+\context Voice \relative c' {
+  e'4-. f-. g-. d-. c-. b-.
+  \stemDown
+  e,-. d-. c-. b-. a-. g-.    
 }
+\layout {
+  raggedright = ##t
+}  
+
 
index 4f3b6fa69ac810f6ea1bdae1d3fd4b0e74be9aaf..86087c938e32ea6be68ed6f2e2fc200cbae4da43 100644 (file)
@@ -1,6 +1,6 @@
 \header {
-    
-texidoc = "Staves may be present in several sizes within a score.
+  
+  texidoc = "Staves may be present in several sizes within a score.
 This is achieved with an internal scaling factor. If the scaling factor is 
 forgotten in some places, objects generally become too thick or too 
 large on smaller staves."
@@ -9,25 +9,25 @@ large on smaller staves."
 
 \version "2.6.0"
 
-\score {
-  <<
-    \new Staff \with {
-      fontSize = #-4
-      \override StaffSymbol #'staff-space = #(magstep -4)
-    }
-     \relative c' {
-\override DynamicText  #'extra-offset = #'(0 . 3)
-      s1-\f c''8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
-    }
+
+<<
+  \new Staff \with {
+    fontSize = #-4
+    \override StaffSymbol #'staff-space = #(magstep -4)
+  }
+  \relative c' {
+    \override DynamicText  #'extra-offset = #'(0 . 3)
+    s1-\f c''8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
+                           }
     \new Staff
-     \relative c' {
-\override DynamicText  #'extra-offset = #'(0 . 3)
+    \relative c' {
+      \override DynamicText  #'extra-offset = #'(0 . 3)
       s1-\f c''8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
-    }
-  >>
+                             }
+    >>
 
   \layout {
     #(layout-set-staff-size 6)
     raggedright = ##t
   }
-}
+
index c3e06ee4c78976d067f7b6e9558dccf3456c4062..28e9d8bce2d6551f1fd949d6b08b26b280b25fbb 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 
 \header {
-texidoc = "The staff is a grob (graphical object) which may be adjusted as well, for example, to have 6 thick lines and a slightly large @code{staff-space}.
+  texidoc = "The staff is a grob (graphical object) which may be adjusted as well, for example, to have 6 thick lines and a slightly large @code{staff-space}.
 However, beams remain correctly quantized."    
 
 }
@@ -9,18 +9,18 @@ However, beams remain correctly quantized."
 
 mus =  \relative c' { c4 g' d'8 d d d }
 
-\score {
-   <<
-    \new Staff {
-       \override Staff.StaffSymbol  #'thickness = #2.0
-       \override Staff.StaffSymbol  #'line-count = #6
-       \override Staff.StaffSymbol  #'staff-space = #1.1
-       \mus
-    }
+
+<<
+  \new Staff {
+    \override Staff.StaffSymbol  #'thickness = #2.0
+    \override Staff.StaffSymbol  #'line-count = #6
+    \override Staff.StaffSymbol  #'staff-space = #1.1
     \mus
-  >>
+  }
+  \mus
+>>
   \layout  {
     raggedright = ##t
   }
-}
+
 
index 91a01faec39f269756d9a9e27e9bb1f37f899f5d..ef35c229b347b9a26169b907fcbbd7b05dbb8c28 100644 (file)
@@ -2,23 +2,23 @@
 \version "2.6.0"
 
 \header {
-    
-    texidoc = "If note head is `over' the center line, the stem is
+  
+  texidoc = "If note head is `over' the center line, the stem is
  shortened.  This happens with forced stem directions, and with some
  chord configurations."
 
 }
 
-\score {
-     \relative c'' {
-       \stemDown d c b a g f e
-       \stemNeutral
-       \stemUp a b c d e f g a
-       \stemNeutral
-       <g, e'>2 <b e g> <c e g> <d f g>
-       
-    } 
-    \layout  {
-       raggedright = ##t
-    }
+
+\relative c'' {
+  \stemDown d c b a g f e
+  \stemNeutral
+  \stemUp a b c d e f g a
+  \stemNeutral
+  <g, e'>2 <b e g> <c e g> <d f g>
+  
+} 
+\layout  {
+  raggedright = ##t
 }
+
index 66b73426905e51c2da3705fadec0ae48d6659d56..61098a6b8243c2436259fdc656d4cdd8653aead8 100644 (file)
@@ -1,7 +1,7 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 Stem tremolos or rolls are tremolo signs that look like beam segments
 crossing stems.  If the stem is in a beam, the tremolo must be parallel
 to the beam.  If the stem is invisible (e.g. on a whole note), the
@@ -10,24 +10,24 @@ tremolo must be centered on the note.
 }
 
 
-\score{
-       \context Voice \relative c''{
-               \override TextScript  #'direction = #1
-               \override TextScript  #'padding = #5
-               a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":"
-               a4:4 c:8 a:16 c:32 a a: a2:
-               \break
-               \stemUp
-               a4:32 a'4:64 
-               \stemDown
-               c,4:32 c,4:64
-               \stemNeutral
-               c'8:16 c c c
-               a': a a: a
-               c,16:32 c: c c a16:32 a: a a
-               c8:16 g: d: a:
-               c8:32 f: b: e:
-               \transpose c c { f''8:256[ f'8: f'':] }
-       }
+
+\context Voice \relative c''{
+  \override TextScript  #'direction = #1
+  \override TextScript  #'padding = #5
+  a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":"
+  a4:4 c:8 a:16 c:32 a a: a2:
+  \break
+  \stemUp
+  a4:32 a'4:64 
+  \stemDown
+  c,4:32 c,4:64
+  \stemNeutral
+  c'8:16 c c c
+  a': a a: a
+  c,16:32 c: c c a16:32 a: a a
+  c8:16 g: d: a:
+  c8:32 f: b: e:
+  \transpose c c { f''8:256[ f'8: f'':] }
 }
 
+
index efc7b709d1b2eba6bb58a8b5a1f1ad5fd562c530..5eb99f1e562648586e9b99c741660ec5fb21aabb 100644 (file)
@@ -1,21 +1,21 @@
 \version "2.6.0"
 \header {
-    texidoc =
-"
+  texidoc =
+  "
 The piano brace should be shifted horizontally if it  is enclosed in a bracket.
 "
 }
 
 
-\score {   {
-    \context StaffGroup <<
-       c4
-       \context PianoStaff <<
-           \new Staff d
-           \new Staff e
-          >>
+{
+  \context StaffGroup <<
+    c4
+    \context PianoStaff <<
+      \new Staff d
+      \new Staff e
     >>
-    }
-    \layout {raggedright = ##t}
+  >>
 }
+\layout {raggedright = ##t}
+
 
index 806f334972ae756b0dc26b15ab11e027c099c45a..230852a6eda1253f09608f8e3d751c35e960a794 100644 (file)
@@ -1,6 +1,6 @@
 \header {
 
-    texidoc = "For other tunings, it is sufficient to set
+  texidoc = "For other tunings, it is sufficient to set
     @code{stringTunings}. The number of staff lines is adjusted
     accordingly."
 
@@ -8,10 +8,10 @@
 
 \version "2.6.0"
 
-\score  {
-     \new TabStaff {
-       \set TabStaff.stringTunings = #'(5  10 15 20)
-       \relative c''  { c4 d e f }
-       }
+
+\new TabStaff {
+  \set TabStaff.stringTunings = #'(5  10 15 20)
+  \relative c''  { c4 d e f }
 }
+
  
index 3fc3517b3e516d85590f8f1f3b7a205ab6fff654..f3236c3a38eae24c951e7cb6b35b153a292fafd4 100644 (file)
@@ -10,25 +10,25 @@ from string-number + pitch to number.
 String numbers can be entered as note articulations (inside a chord) and
 chord articulations (outside a chord)
 "
-}
+       }
 
 partition =  {
-    \key e \major
-    <e\5 dis'\4>
-    <e dis'>
-    <<e\5 dis'\4>>
-    <e dis'>\5\4
+  \key e \major
+  <e\5 dis'\4>
+  <e dis'>
+  <<e\5 dis'\4>>
+  <e dis'>\5\4
 }
 
-\score {
-  \context StaffGroup <<
-    \context Staff <<
-       \clef "G_8"
-       \partition
-    >>
-    \context TabStaff <<
-       \partition
-    >>
+
+\context StaffGroup <<
+  \context Staff <<
+    \clef "G_8"
+    \partition
   >>
-}
+  \context TabStaff <<
+    \partition
+  >>
+>>
+
 
index 2ead2b8307ef4f996cedf4bedcab27141d118cf8..a2dea75d7c47093499c240a58b972e2c994c7c02 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.6.0"
 \header {
 
-texidoc = "The @code{\\tag} command marks music expressions with a
+  texidoc = "The @code{\\tag} command marks music expressions with a
 name. These tagged expressions can be filtered out later. This
 mechanism can be used to make different versions of the same music. In
 this example, the top stave displays the music expression with all
@@ -14,40 +14,40 @@ notes and fingerings, but the score has not."
 \layout { raggedright= ##t }
 
 common =
- \relative c''  {
-
-    c1
-    \relative c' <<
-       \tag #'part <<
-         R1 \\
-         {
-             \set fontSize = #-1
-             c4_"cue" f2 g4 } 
-        >>
-       \tag #'score R1
-     >>
-    c1-\tag #'part ^4
+\relative c''  {
+
+  c1
+  \relative c' <<
+    \tag #'part <<
+      R1 \\
+      {
+       \set fontSize = #-1
+       c4_"cue" f2 g4 } 
+    >>
+    \tag #'score R1
+  >>
+  c1-\tag #'part ^4
 }
 
 
-\score {
-    \simultaneous { 
-    \new Staff {
-       \set Staff.instrument = #"both"
-       \common
-       }
-    \new Staff {
-       \set Staff.instrument = #"part"
-       \keepWithTag #'part \common
-       }
-    \new Staff {
-       \set Staff.instrument = #"score"
-       \keepWithTag #'score \common
-       }
-    }
+
+\simultaneous { 
+  \new Staff {
+    \set Staff.instrument = #"both"
+    \common
+  }
+  \new Staff {
+    \set Staff.instrument = #"part"
+    \keepWithTag #'part \common
+  }
+  \new Staff {
+    \set Staff.instrument = #"score"
+    \keepWithTag #'score \common
+  }
 }
 
 
 
 
 
+
index 8486bf4650b11a980a631e07e0d58b3844423834..169be093cc6aedeae776cc67916a8aa848077802 100644 (file)
@@ -1,26 +1,25 @@
 \version "2.6.0"
 \header {
 
-texidoc = "Tie engraver uses @code{busyGrobs} to keep track of
+  texidoc = "Tie engraver uses @code{busyGrobs} to keep track of
 note heads. By throwing many  mixed tuplets on the queue,
 one may have collisions between ties and beams. 
 " 
 
 }
 
-\score
-{
-    \context Staff \relative c'' 
-    <<
-       {  \times 2/3 { c'8~  c8~ c8~ c8~ c8~ c8 } }
-       \\
-       { \voiceTwo \times 2/5 { a,4 ~a4 ~a4~ a4~ a4 }}
-       \\
-       { \voiceThree  { b,8 ~ b8 ~ b8 ~  b8 }}
-    >>
 
-    \layout {
-       raggedright = ##t
-    }
-}
+\context Staff \relative c'' 
+<<
+  {  \times 2/3 { c'8~  c8~ c8~ c8~ c8~ c8 } }
+  \\
+  { \voiceTwo \times 2/5 { a,4 ~a4 ~a4~ a4~ a4 }}
+  \\
+  { \voiceThree  { b,8 ~ b8 ~ b8 ~  b8 }}
+>>
+
+  \layout {
+    raggedright = ##t
+  }
+
 
index 9a8ce159776caa2cbb05021ded9087fe7f95b90b..14918a58334f2f85500b5837ef8ab9385d2410e1 100644 (file)
@@ -1,7 +1,7 @@
 
 \version "2.6.0"
 \header{
-texidoc="
+  texidoc="
 When tying chords, the outer ties point outwards, the inner ties
 point away from the center of the staff. The behavior can be overridden 
 by setting explicitly the @code{direction} of a @code{TieColumn}.
@@ -11,14 +11,14 @@ by setting explicitly the @code{direction} of a @code{TieColumn}.
 
 t =  \relative c' {   <c e g> ~ <c e g> }
 
-       \score { 
- \context Voice {
-   \t
-   \transpose c g \t
 
-   \override TieColumn  #'direction = #-1
-   \t
+\context Voice {
+  \t
+  \transpose c g \t
+
+  \override TieColumn  #'direction = #-1
+  \t
 
-  }
 }
 
+
index 3083b7441c9d155e57ce95d9a22cb8109dad1aba..f6ba9db21ea1e7d5eb1da9ef6cc2230e646db6c1 100644 (file)
@@ -1,13 +1,14 @@
 \version "2.6.0"
 \header {
-texidoc = "Ties should not collide with dots."
+  texidoc = "Ties should not collide with dots."
 }
 
-\score{{\time 9/8 \key f \major\clef bass
+{
+  \time 9/8 \key f \major\clef bass
   g4 d8 bes4.  ~    bes4    a8    \bar "|"
   a8    gis8    d8 f4.    gis,4.    \bar "|"
   a,4.   ~    a,4    r8   r4   r8   \bar "|"
   c4.   ~    c8    a8    g8    f8
-}}
+}
 
 
index 1ce1d00c163997b5ccae37ca4b99169f99e23c79..9feb9e4322dc25a45ef8fe3701d661965508e5cd 100644 (file)
@@ -1,13 +1,13 @@
 
 \version "2.6.0"
 \header {
-    texidoc = "Tieing a grace to the to a following grace or main note works."
+  texidoc = "Tieing a grace to the to a following grace or main note works."
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score {  \context Voice \relative c'' {
-    c4 \grace { c8 ~ c16 ~ } c4 
-  }
+\context Voice \relative c'' {
+  c4 \grace { c8 ~ c16 ~ } c4 
 }
 
+
index f6047d6cc03bf762acef57602caa7245c84ef49d..b98b044105fa9da1801270b40ed40040eb4fda29 100644 (file)
@@ -2,16 +2,16 @@
 \version "2.6.0"
 \header {
 
-texidoc = "In combination with a beam, the bracket of the tuplet
+  texidoc = "In combination with a beam, the bracket of the tuplet
 bracket is removed. This only happens if there is one beam, as long as
 the bracket."
 
 }
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score {  \context Voice\relative c'' {
-\times 2/3 { r  c8[ c8] }
-\times 2/3 {  c8[ c c] }
-\times 2/3 {  c16[ c16]  c8[ c8] }
-}}
+\context Voice\relative c'' {
+  \times 2/3 { r  c8[ c8] }
+  \times 2/3 {  c8[ c c] }
+  \times 2/3 {  c16[ c16]  c8[ c8] }
+}
 
index e27172987111d72ff3e3f017f3152e1f7f2331b8..69d92a213867d3f2b6c8ef68fdbdc62be1bea3af 100644 (file)
@@ -1,6 +1,6 @@
 \header {
 
-    texidoc = "The size of the tuplet bracket gap is adjusted to the
+  texidoc = "The size of the tuplet bracket gap is adjusted to the
     width of the text."
 
 }
@@ -8,13 +8,13 @@
 \version "2.6.0"
 
 \layout {
-   indent = 0.0\mm
-   raggedright = ##t
+  indent = 0.0\mm
+  raggedright = ##t
 }
 
-\score{
-     \relative c'' {
-       \set tupletNumberFormatFunction = #fraction-tuplet-formatter
-       \times  17/12  { c8 c4 c8 c8}
-       }
+
+\relative c'' {
+  \set tupletNumberFormatFunction = #fraction-tuplet-formatter
+  \times  17/12  { c8 c4 c8 c8}
 }
+
index f7595c18a2948623d238d9a50f584c699bbdf8d8..c968531b4062d4fab32527f22e9358029ee18b71 100644 (file)
@@ -1,45 +1,45 @@
 
 \header {
-texidoc = "Tuplet bracket formatting supports numerous options,
+  texidoc = "Tuplet bracket formatting supports numerous options,
 for instance, bracketed (B) and non-bracketed (NB).
 "
 }
+
 
 \version "2.6.0"
 
 
-\score { 
-    \context Voice \relative c'' {
-
-       \times 2/3 { c'8 c,, c }
-       \times 2/3 { c'8 c'' c,, }
-
-       
-       \times 2/3 {  c8[^"NB" c c]  }
-       
-       \times 2/3 { c8^"B"  c[ c]  }
-       \times 2/4 { r8_"B"  c,[ c'] r8 }
-       
-       \override TupletBracket  #'bracket-visibility = #'if-no-beam  
-       \times 2/3 {  c8[ c c]  }
-       
-       \override TupletBracket  #'direction = #1
-       \override TupletBracket  #'number-visibility = ##f
-       \times 2/3 { c8^""^""^"up, no digit"  c[ c]  }
-       \revert TupletBracket #'number-visibility
-
-       \override TupletBracket  #'bracket-visibility = ##t
-       \override TupletBracket  #'edge-height = #'(0.0 . 0.0)
-       \override TupletBracket  #'shorten-pair = #'(2.0 . 2.0)
-       \times 4/6 { c_"shorter, no edges" f b  b f c}  
-       \revert TupletBracket #'edge-height
-       \revert TupletBracket #'shorten-pair
-       \override TupletBracket  #'bracket-flare = #'(0.5 . 0.5)
-       \times 2/3 { b^""^""^"angled edges" b b }
-       \revert TupletBracket #'direction
-       \times 2/3 { b b b }
-
-    }
+
+\context Voice \relative c'' {
+
+  \times 2/3 { c'8 c,, c }
+  \times 2/3 { c'8 c'' c,, }
+
+  
+  \times 2/3 {  c8[^"NB" c c]  }
+  
+  \times 2/3 { c8^"B"  c[ c]  }
+  \times 2/4 { r8_"B"  c,[ c'] r8 }
+  
+  \override TupletBracket  #'bracket-visibility = #'if-no-beam  
+  \times 2/3 {  c8[ c c]  }
+  
+  \override TupletBracket  #'direction = #1
+  \override TupletBracket  #'number-visibility = ##f
+  \times 2/3 { c8^""^""^"up, no digit"  c[ c]  }
+  \revert TupletBracket #'number-visibility
+
+  \override TupletBracket  #'bracket-visibility = ##t
+  \override TupletBracket  #'edge-height = #'(0.0 . 0.0)
+  \override TupletBracket  #'shorten-pair = #'(2.0 . 2.0)
+  \times 4/6 { c_"shorter, no edges" f b  b f c}       
+  \revert TupletBracket #'edge-height
+  \revert TupletBracket #'shorten-pair
+  \override TupletBracket  #'bracket-flare = #'(0.5 . 0.5)
+  \times 2/3 { b^""^""^"angled edges" b b }
+  \revert TupletBracket #'direction
+  \times 2/3 { b b b }
+
 }
 
+
index f99ce2ec79d6ef13957a0d9da36b2d9925851f7f..85506051dcd5434429b3361bc796e51665360062 100644 (file)
@@ -2,22 +2,22 @@
 \version "2.6.0"
 \header {
 
-    texidoc = "Tuplets may contain rests. "
+  texidoc = "Tuplets may contain rests. "
 
 }
 
-\score {
-  \context Voice  \relative c'' {
-    \time 2/4
-    \times 2/3 { r c,,, c''' }
-    \times 2/3 { r c c }
-    \times 2/3 { r c r}
-    \times 2/3 { r r r}
-    \times 2/3 { r c e}
-    \times 2/3 { c r e}
-    \times 2/3 { r c g}
-    \times 2/3 { c r g}
-  }
+
+\context Voice  \relative c'' {
+  \time 2/4
+  \times 2/3 { r c,,, c''' }
+  \times 2/3 { r c c  }
+  \times 2/3 { r c r }
+  \times 2/3 { r r r }
+  \times 2/3 { r c e }
+  \times 2/3 { c r e }
+  \times 2/3 { r c g }
+  \times 2/3 { c r g }
 }
 
 
+
index c8ef756de3d282055d9dd789a7772053dcc4ce08..1e40b66a72479351ac62dacf98eca12aa449bfec 100644 (file)
@@ -2,17 +2,17 @@
 \version "2.6.0"
 \header {
 
-texidoc = "Horizontal tuplet brackets are shifted vertically
+  texidoc = "Horizontal tuplet brackets are shifted vertically
 to avoid staff line collisions."
 
 }
 
-    \layout { raggedright= ##t }
+\layout { raggedright= ##t }
 
-\score {  \context Voice\relative c'' {
-\times 2/3 { b'4 b b }
-\times 2/3 { f4 f f }
-\times 2/3 { g4 g g }
-\times 2/3 { a4 a a }
-}}
+\context Voice\relative c'' {
+  \times 2/3 { b'4 b b }
+  \times 2/3 { f4 f f }
+  \times 2/3 { g4 g g }
+  \times 2/3 { a4 a a }
+}
 
index 564420e1bd6dbb6de9450b15953ca0526c43c75c..8ccbeebde098e49b16e6aebe6af7d5fd9b353da6 100644 (file)
@@ -1,8 +1,8 @@
 
 \version "2.6.0"
 \header{
-    
-texidoc="
+  
+  texidoc="
 Tuplets are indicated by a bracket with a number.  There should be no
 bracket if there is a beam exactly  matching  the length of the tuplet.
 The bracket does not interfere with the stafflines, and the number is
@@ -18,21 +18,21 @@ direction as the bracket. The endings can be adjusted with
 }
 \layout { raggedright= ##t }
 
-\score{
-        \context Voice \relative c'' {
-                \times 2/3 { a8 b c }
-                \times 2/3 { r8  b[ f] }
-                \override TupletBracket  #'bracket-flare = #'(0.5 . 0.5)
-                \times 2/3 { r8 b r8 }
-                c4 |
-                
-                \times 3/4 { c4 c4 c4 c4 } c4 | 
-                
-                \time 6/8
-                \times 6/9 { c8 c c c c c c c c }
-
-                }
+
+\context Voice \relative c'' {
+  \times 2/3 { a8 b c }
+  \times 2/3 { r8  b[ f] }
+  \override TupletBracket  #'bracket-flare = #'(0.5 . 0.5)
+  \times 2/3 { r8 b r8 }
+  c4 |
+  
+  \times 3/4 { c4 c4 c4 c4 } c4 | 
+  
+  \time 6/8
+  \times 6/9 { c8 c c c c c c c c }
+
 }
 
 
 
+
index 426c110720641b04d35e18ae46fe08ae7690f794..419bde81c56e6b5cd0a417028f43bc018f16140c 100644 (file)
@@ -7,19 +7,19 @@ Whenever a voice switches to another staff a line connecting the notes
 can be printed automatically. This is enabled if the property
 @code{followVoice} is set to true. "
 
-      }
-\score {
-     \relative c'
-    \context PianoStaff <<
-       \set PianoStaff.followVoice = ##t
-       \context Staff = "one" \context Voice {
-           c1
-           \change Staff=two
-           b2 a
        }
-       \context Staff = "two" {\clef bass \skip 1*2 }
-    >>
-    \layout{ 
-       raggedright = ##t 
-    }
+
+\relative c'
+\context PianoStaff <<
+  \set PianoStaff.followVoice = ##t
+  \context Staff = "one" \context Voice {
+    c1
+    \change Staff=two
+    b2 a
+  }
+  \context Staff = "two" {\clef bass \skip 1*2 }
+>>
+\layout{ 
+  raggedright = ##t 
 }
+
index 676e2899360e6a85984c2e486e364efc2b22fbf0..1485927094a5155f073a8ec0f5284a4ab4943c0a 100644 (file)
@@ -1,7 +1,7 @@
 \version "2.6.0"
 
 \header {
-texidoc ="Broken volta spanners behave correctly at their left edge in all cases."
+  texidoc ="Broken volta spanners behave correctly at their left edge in all cases."
 
 }
 
@@ -17,12 +17,12 @@ I have attached a file which has several break-volta interactions.
 With the test file and unmodified 1.3.116 I see the following:
 
 Bar 3 - 1st volta spanner centered on first note - prefer it to start
-       closer to key signature (can live with this)
+closer to key signature (can live with this)
 Bar 6 - 1st volta continuation - perfect
 Bar 9 - 2nd volta spanner starts on left edge of key signature - prefer
-       it to start right of key signature
+it to start right of key signature
 Bar 12         1st volta starts between first two slurred notes in measure -
-       this is not acceptable
+this is not acceptable
 Bar 17 like above with hairpin.
 Bar 23 like above (I had expected this to be OK)
 Bar 20 2nd volta continuation perfect
@@ -40,84 +40,84 @@ Bar 23      Perfect
 %}
 
 voiceB =  {
-    \clef bass
-     \set Staff.instrument = "Bass"
-     \set Staff.instr = "B"
-     \key f \minor 
-     \time 4/4  
-    f1
-    \repeat  volta 2
-    {
-        f1    \break
+  \clef bass
+  \set Staff.instrument = "Bass"
+  \set Staff.instr = "B"
+  \key f \minor 
+  \time 4/4  
+  f1
+  \repeat  volta 2
+  {
+    f1    \break
+  }
+  \alternative
+  {
+    {  
+      f1 f g \break   
+      f e d  \break   
     }
-    \alternative
-    {
-        {      
-         f1 f g \break   
-         f e d  \break   
-       }
-        {   
-           f1      | 
-       }
+    {   
+      f1      | 
     }
+  }
 }
 voiceC =  {
-    \repeat volta 2
-    {
-f f 
-     \break
-    }
-    \alternative
-    {
-        f
-        { f f }
-    }
+  \repeat volta 2
+  {
+    f f 
+    \break
+  }
+  \alternative
+  {
+    f
+    { f f }
+  }
 }
 
 voiceD =  {
-    \repeat volta 2
-    {
-f f 
-     \break
-    }
-    \alternative
-    {
-        {      f
-       }
-        {      f f \break f 
-        }
-    }
+  \repeat volta 2
+  {
+    f f 
+    \break
+  }
+  \alternative
+  {
+    {  f
+      }
+    {  f f \break f 
+      }
+  }
 }
 voiceE =  {
-    \repeat volta 2
-    {
-f f\break
+  \repeat volta 2
+  {
+    f f\break
+  }
+  \alternative
+  {
+    {  
+      f
+
     }
-    \alternative
-    {
-        {      
-        f
-
-       }
-        {      
-         f f 
-        }
+    {  
+      f f 
     }
+  }
 }
-\score{
-         <<
 
+<<
 
-       \new Staff
-       {
-           \voiceB 
-           \voiceC
-           \break
-           \voiceD
-           \voiceE
-       }
 
-    >>
-       \layout { raggedright =##t }
-}
+  \new Staff
+  {
+    \voiceB 
+    \voiceC
+    \break
+    \voiceD
+    \voiceE
+  }
+
+>>
+  \layout { raggedright =##t }
+
 
index 574f78c7b32d6469c0b473ceb4b99e22321c0acd..7e68b4f39bda976a8749a5653f34534f3eac8c13 100644 (file)
@@ -1,6 +1,6 @@
 \header {
 
-    texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
+  texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
     also over other staves than the topmost one in a score."
 
 }
@@ -9,20 +9,20 @@
 
 vmus =  { \repeat volta 2 c1 \alternative { d e } } 
 
-\score  {
-
-     \relative c'' <<
-       \new StaffGroup <<
-           \context Staff \vmus
-           \new Staff \vmus
-       >>
-       \new StaffGroup <<
-           \new Staff <<
-               \set Staff.voltaOnThisStaff = ##t
-               \vmus >>
-           \new Staff \vmus
-       >>
-    >>
-
-    \layout { raggedright = ##t }
-}
+
+
+\relative c'' <<
+  \new StaffGroup <<
+    \context Staff \vmus
+    \new Staff \vmus
+  >>
+  \new StaffGroup <<
+    \new Staff <<
+      \set Staff.voltaOnThisStaff = ##t
+      \vmus >>
+    \new Staff \vmus
+  >>
+>>
+
+\layout { raggedright = ##t }
+