]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/ly-examples/cary-layout.ily
Issue 4296: Let \displayLilyMusic print even repeated durations
[lilypond.git] / Documentation / ly-examples / cary-layout.ily
index 85db19169c697f4a3520df4c75af5d9db16ecdfa..66c6a7fbd326ad0de0536cfe777bccbeb204246d 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.17.6"
+\version "2.19.12"
 
 \layout {
   indent = #0
@@ -7,13 +7,13 @@
   \context {
     \Score
 
-    proportionalNotationDuration = #(ly:make-moment 1 64)
+    proportionalNotationDuration = #(ly:make-moment 1/64)
     \override Beam.breakable = ##t
     autoBeaming = ##f
     tupletFullLength = ##t
-    \override BarNumber.transparent = ##t
-    \override BarLine.transparent = ##t
-    \override SpanBar.transparent = ##t
+    \hide BarNumber
+    \hide BarLine
+    \hide SpanBar
     \override Beam.break-overshoot = #'(-0.5 . 1.0)
     \override TextScript.staff-padding = #6
     \override Glissando.thickness = #3
   }
 }
 
+\midi {
+  \context {
+    \Score
+    autoBeaming = ##f % synchronize lyrics the same way as \layout does
+  }
+}
+
 \paper {
   oddHeaderMarkup = \markup \fill-line { " " }
   evenHeaderMarkup = \markup \fill-line { " " }
@@ -35,7 +42,7 @@
   printfirst-page-number = ##t
   print-page-number = ##t
   ragged-last-bottom = ##t
-  markup-system-spacing #'minimum-distance = #25
+  markup-system-spacing.minimum-distance = #25
 }
 
 #(set-global-staff-size 14)