X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fnew%2Fchordchanges-for-fretboards.ly;fp=Documentation%2Fsnippets%2Fnew%2Fchordchanges-for-fretboards.ly;h=e8e8236d41e81f521058871eb9b606516b792368;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/new/chordchanges-for-fretboards.ly b/Documentation/snippets/new/chordchanges-for-fretboards.ly new file mode 100644 index 0000000000..e8e8236d41 --- /dev/null +++ b/Documentation/snippets/new/chordchanges-for-fretboards.ly @@ -0,0 +1,23 @@ +\version "2.14.0" + +\header { + lsrtags = "fretted-strings" + texidoc = "FretBoards can be set to display only when the chord changes +or at the beginning of a new line." + doctitle = "chordChanges for FretBoards" +} + +\include "predefined-guitar-fretboards.ly" + +myChords = \chordmode { + c1 c1 \break + \set chordChanges = ##t + c1 c1 \break + c1 c1 \break +} + +<< + \new ChordNames { \myChords } + \new FretBoards { \myChords } + \new Staff { \myChords } +>>