]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/mensural-ligatures.ly
*** empty log message ***
[lilypond.git] / input / test / mensural-ligatures.ly
index 5fc0992abec37bf10930d601edba8ac29a2dadb9..f357889b41ad08cc80b5504fc8fa0852512622f9 100644 (file)
@@ -1,9 +1,10 @@
-\version "1.9.0"
+\version "2.2.0"
 % TODO:
 % check with ancient- stuff.  rename, merge, something.  -gp
 
 \header { texidoc = "@cindex Ancient Mensural Ligatures
-LilyPond can print mensural ligatures."
+In mensural ligatures, notes with ancient durations are printed
+in a tight manner."
 }
 
 
@@ -13,8 +14,8 @@ LilyPond can print mensural ligatures."
 % This is intended behaviour.
 
 voice = \notes \transpose c c' {
-  \property Score.timing = ##f
-  \property Score.defaultBarType = "empty"
+  \set Score.timing = ##f
+  \set Score.defaultBarType = "empty"
   g\longa c\breve a\breve f\breve d'\longa^\fermata
   \bar "|"
   \[
@@ -32,50 +33,49 @@ voice = \notes \transpose c c' {
 }
 
 \score {
-    \context ChoirStaff <
-       \context MensuralStaff = upperStaff <
-           \context MensuralVoice <
+    \context ChoirStaff <<
+       \new MensuralStaff <<
+           \context MensuralVoice <<
                \voice
-           >
-       >
-       \context Staff = lowerStaff <
-           \context Voice <
+           >>
+       >>
+       \new Staff <<
+           \context Voice <<
                \voice
-           >
-       >
-    >
+           >>
+       >>
+    >>
     \paper {
-       stafflinethickness = \staffspace / 5.0
-       \translator {
+       linethickness = \staffspace / 5.0
+       \context {
            \VoiceContext
            \name MensuralVoice
            \alias Voice
            \remove Ligature_bracket_engraver
            \consists Mensural_ligature_engraver
-           NoteHead \set #'style = #'mensural
+           \override NoteHead #'style = #'mensural
        }
-       \translator {
+       \context {
            \StaffContext
            \name MensuralStaff
            \alias Staff
            \accepts MensuralVoice
            \consists Custos_engraver
-           TimeSignature \set #'style = #'mensural
-           KeySignature \set #'style = #'mensural
-           Accidental \set #'style = #'mensural
-           Custos \set #'style = #'mensural
-           Custos \set #'neutral-position = #3
-           Custos \set #'neutral-direction = #-1
-           Custos \set #'adjust-if-on-staffline = ##t
+           \override TimeSignature #'style = #'mensural
+           \override KeySignature #'style = #'mensural
+           \override Accidental #'style = #'mensural
+           \override Custos #'style = #'mensural
+           \override Custos #'neutral-position = #3
+           \override Custos #'neutral-direction = #-1
            clefGlyph = #"clefs-petrucci_g"
            clefPosition = #-2
            clefOctavation = #-0
        }
-       \translator {
+       \context {
            \RemoveEmptyStaffContext
            \accepts MensuralVoice
         }
-       \translator {
+       \context {
            \ScoreContext
            \accepts MensuralStaff
        }