]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/how-to-change-fret-diagram-position.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / how-to-change-fret-diagram-position.ly
index da24c5a5dda064c02dbe9cc86f0adebdd7e1e3cd..e1b3dd9b742b13ed9253304bee464f69128f9447 100644 (file)
@@ -1,10 +1,10 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.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.19.2"
+\version "2.18.0"
 
 \header {
   lsrtags = "fretted-strings, specific-notation, tweaks-and-overrides"
@@ -29,7 +29,6 @@ itself.
   doctitle = "How to change fret diagram position"
 } % begin verbatim
 
-
 harmonies = \chordmode
 {
   a8:13
@@ -43,15 +42,15 @@ harmonies = \chordmode
 \score
 {
   <<
-    \context ChordNames \harmonies
-    \context Staff
+    \new ChordNames \harmonies
+    \new 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)
      b4.~^\markup { \fret-diagram  #"6-x;5-2;4-4;3-2;2-2;1-4;"  } b4. a8\break
 % HERE IS THE SECOND METHOD
      <<
-       { a8 b4.~ 4. a8}
+       { a8 b4.~ b4. a8}
        { s4 s4 s4^\markup { \fret-diagram  #"6-x;5-2;4-4;3-2;2-2;1-4;"  }
        }
      >>