1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "fretted-strings"
13 Alternate fretboard tables can be created. These would be used in
14 order to have alternate fretboards for a given chord.
16 In order to use an alternate fretboard table, the table must first be
17 created. Fretboards are then added to the table.
19 The created fretboard table can be blank, or it can be copied from an
22 The table to be used in displaying predefined fretboards is selected by
23 the property @code{\\predefinedDiagramTable}.
26 doctitle = "Fretboards alternate tables"
29 \include "predefined-guitar-fretboards.ly"
31 % Make a blank new fretboard table
32 #(define custom-fretboard-table-one (make-fretboard-table))
34 % Make a new fretboard table as a copy of default-fret-table
35 #(define custom-fretboard-table-two (make-fretboard-table default-fret-table))
37 % Add a chord to custom-fretboard-table-one
38 \storePredefinedDiagram #custom-fretboard-table-one
43 % Add a chord to custom-fretboard-table-two
44 \storePredefinedDiagram #custom-fretboard-table-two
57 \set predefinedDiagramTable = #default-fret-table
59 \set predefinedDiagramTable = #custom-fretboard-table-one
61 \set predefinedDiagramTable = #custom-fretboard-table-two
74 s1_\markup "Default table" | s1 |
75 s1_\markup \column {"New table" "from empty"} | s1 |
76 s1_\markup \column {"New table" "from default"} | s1 |