]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/customizing-markup-fret-diagrams.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / new / customizing-markup-fret-diagrams.ly
index af791b31d427ea34730a6245e332476554ecfdfa..c3d03fd9b12a2654a372bf69be3e396a37c71c02 100644 (file)
@@ -1,10 +1,10 @@
-\version "2.11.61"
+\version "2.12.0"
 
 \header {
   lsrtags = "fretted-strings,tweaks-and-overrides"
 
   texidoc = "Fret diagram properties can be set through
-@code{fret-diagram-details}.  For markup fret diagrams, overrides
+@code{'fret-diagram-details}.  For markup fret diagrams, overrides
 can be applied to the @code{Voice.TextScript} object or directly
 to the markup.
 "
@@ -17,11 +17,11 @@ to the markup.
   \new Voice = "mel" {
     \textLengthOn
     % Set global properties of fret diagram
-    \override Voice.TextScript #'size = #'1.2
-    \override Voice.TextScript #'fret-diagram-details
-                                  #'finger-code = #'in-dot
-    \override Voice.TextScript #'fret-diagram-details
-                                  #'dot-color = #'white
+    \override TextScript #'size = #'1.2
+    \override TextScript
+      #'(fret-diagram-details finger-code) = #'in-dot
+    \override TextScript
+      #'(fret-diagram-details dot-color) = #'white
 
     %% C major for guitar, no barre, using defaults
        % terse style