X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fhow-to-change-fret-diagram-position.ly;h=e1b3dd9b742b13ed9253304bee464f69128f9447;hb=eb51c8bcebc61723ca474027fba412011ae94f79;hp=065363ed9524cde7680e60fc69bc0ee80ff5461a;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/Documentation/snippets/how-to-change-fret-diagram-position.ly b/Documentation/snippets/how-to-change-fret-diagram-position.ly index 065363ed95..e1b3dd9b74 100644 --- a/Documentation/snippets/how-to-change-fret-diagram-position.ly +++ b/Documentation/snippets/how-to-change-fret-diagram-position.ly @@ -1,10 +1,13 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% DO NOT EDIT this file manually; it is automatically +%% 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.12.2" +\version "2.18.0" \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 @@ -30,7 +33,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 @@ -39,11 +42,11 @@ 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) + \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 +57,3 @@ harmonies = \chordmode } >> } - - -