]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/how-to-change-fret-diagram-position.ly
CG: note that CPU threads affect cell count in regtests (issue 3257)
[lilypond.git] / Documentation / snippets / how-to-change-fret-diagram-position.ly
index 0cf18e12462ebcacbb70aaa56eb78fc1bf57c7ac..6b2a0ecc74af7124ace167aff732447e7c3d22bc 100644 (file)
@@ -1,10 +1,13 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.31"
+\version "2.17.11"
 
 \header {
-  lsrtags = "fretted-strings, tweaks-and-overrides"
+  lsrtags = "fretted-strings, specific-notation, tweaks-and-overrides"
 
   texidoc = "
 If you want to move the position of a fret diagram, for example, to
@@ -26,11 +29,12 @@ itself.
   doctitle = "How to change fret diagram position"
 } % begin verbatim
 
+
 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
@@ -43,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
      <<
@@ -54,6 +58,3 @@ harmonies = \chordmode
    }
   >>
 }
-
-
-