4 lsrtags = "fretted-strings"
7 Alternate fretboard tables can be created. These would be used in
8 order to have alternate fretboards for a given chord.
10 In order to use an alternate fretboard table, the table must first
11 be created. Fretboards are then added to the table.
13 The created fretboard table can be blank, or it can be copied
14 from an existing table.
16 The table to be used in displaying predefined fretboards is selected
17 by the property @code{\predefinedDiagramTable}.
20 doctitle = "Alternate fretboard tables"
23 \include "predefined-guitar-fretboards.ly"
25 % Make a blank new fretboard table
26 #(define custom-fretboard-table-one (make-fretboard-table))
28 % Make a new fretboard table as a copy of default-fret-table
29 #(define custom-fretboard-table-two (make-fretboard-table default-fret-table))
31 % Add a chord to custom-fretboard-table-one
32 \storePredefinedDiagram #custom-fretboard-table-one
37 % Add a chord to custom-fretboard-table-two
38 \storePredefinedDiagram #custom-fretboard-table-two
51 \set predefinedDiagramTable = #default-fret-table
53 \set predefinedDiagramTable = #custom-fretboard-table-one
55 \set predefinedDiagramTable = #custom-fretboard-table-two
68 s1_\markup "Default table" | s1 |
69 s1_\markup \column {"New table" "from empty"} | s1 |
70 s1_\markup \column {"New table" "from default"} | s1 |