]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/incipit.ly
release: 1.3.1
[lilypond.git] / input / test / incipit.ly
index 150367dbbb674242b4720da9bb12bfb74da13f07..796def730fdc1421de3db88542833d653ed79fe6 100644 (file)
@@ -6,7 +6,7 @@
    /Mats B
 %}
 
-\version "1.0.14";
+\version "1.2.0";
 
 incipit = \notes\relative c'{
   <b1 fis' b d>
@@ -17,15 +17,29 @@ violin = \notes\relative c''{
   \time 2/2;
 
   a4. b8 c4 fis |
-  gis~ gis8 fis16^\trill ()e b8 c \type Staff<{\voiceone a d}{\voicetwo es,4}>|
+  gis~ gis8 fis16^\trill ()e b8 c \context Staff<{\voiceone a d}{\voicetwo es,4}>|
+}
+
+BC  = \notes\relative c{
+  \key D;
+  \time 2/2;
+  \clef "bass";
+
+  b2. cis4 | 
+  d e fis g |
 }
 
 \score{
   \notes{
+    \context Staff=violin
     \property Staff.clefStyle = "transparent" 
-    \incipit 
-    \property Staff.clefStyle = "fullSizeChanges" \clef "treble"; \bar "";
-    \violin
+      \incipit 
+    < \context Staff=violin { 
+      \bar ".|"; \endincipit
+      \violin}
+      \context Staff=cb { \property Staff.clefStyle = "transparent" 
+      \bar ".|";  \endincipit 
+      \BC}>
   }
   \paper{
     \translator{\StaffContext