]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/how-to-change-fret-diagram-position.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / how-to-change-fret-diagram-position.ly
index c241b7f6afc1885153e408d17a7fe29667a0c2da..cbcd2bc9c724c931b57be795526ef4f3feb74547 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
 
 \header {
   lsrtags = "fretted-strings, specific-notation, tweaks-and-overrides"
@@ -34,7 +34,7 @@ harmonies = \chordmode
 {
   a8:13
 % THE FOLLOWING IS THE COMMAND TO MOVE THE CHORD NAME
-  \once \override ChordNames.ChordName #'extra-offset = #'(10 . 0)
+  \once \override ChordNames.ChordName.extra-offset = #'(10 . 0)
   b8:13 s2.
 % THIS LINE IS THE SECOND METHOD
     s4 s4  b4:13
@@ -47,7 +47,7 @@ harmonies = \chordmode
     \context Staff
     {a8^\markup { \fret-diagram  #"6-x;5-0;4-2;3-0;2-0;1-2;"  }
 % THE FOLLOWING IS THE COMMAND TO MOVE THE FRET DIAGRAM
-     \once \override TextScript #'extra-offset = #'(10 . 0)
+     \once \override TextScript.extra-offset = #'(10 . 0)
      b4.~^\markup { \fret-diagram  #"6-x;5-2;4-4;3-2;2-2;1-4;"  } b4. a8\break
 % HERE IS THE SECOND METHOD
      <<