1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.36
8 lsrtags = "fretted-strings"
11 Alternate fretboard tables can be created. These would be used in
12 order to have alternate fretboards for a given chord.
14 In order to use an alternate fretboard table, the table must first
15 be created. Fretboards are then added to the table.
17 The created fretboard table can be blank, or it can be copied
18 from an existing table.
20 The table to be used in displaying predefined fretboards is selected
21 by the property @code{\\predefinedDiagramTable}.
24 doctitle = "Alternate fretboard tables"
28 \include "predefined-guitar-fretboards.ly"
30 % Make a blank new fretboard table
31 #(define custom-fretboard-table-one (make-fretboard-table))
33 % Make a new fretboard table as a copy of default-fret-table
34 #(define custom-fretboard-table-two (make-fretboard-table default-fret-table))
36 % Add a chord to custom-fretboard-table-one
37 \storePredefinedDiagram #custom-fretboard-table-one
42 % Add a chord to custom-fretboard-table-two
43 \storePredefinedDiagram #custom-fretboard-table-two
56 \set predefinedDiagramTable = #default-fret-table
58 \set predefinedDiagramTable = #custom-fretboard-table-one
60 \set predefinedDiagramTable = #custom-fretboard-table-two
73 s1_\markup "Default table" | s1 |
74 s1_\markup \column {"New table" "from empty"} | s1 |
75 s1_\markup \column {"New table" "from default"} | s1 |