]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/changing-fret-orientations.ly
Doc: 989 - Fretted string orientations to NR
[lilypond.git] / Documentation / snippets / new / changing-fret-orientations.ly
1 \version "2.13.27"
2
3 \header {
4   lsrtags = "fretted-strings"
5
6   texidoc = "Fret diagrams can be oriented in three ways.  By default
7 +the top string or fret in the different orientations will be aligned.
8 "
9   doctitle = "Changing fret orientations"
10 }
11
12 \include "predefined-guitar-fretboards.ly"
13 \layout { ragged-right = ##t }
14 <<
15   \chords {
16     c1
17     c1
18     c1
19   }
20   \new FretBoards {
21     \chordmode {
22     c1
23     \override FretBoard #'fret-diagram-details
24        #'orientation = #'landscape
25     c1
26     \override FretBoard #'fret-diagram-details
27        #'orientation = #'opposing-landscape
28     c1
29     }
30   }
31   \new Voice {
32     c'1
33     c'1
34     c'
35   }
36 >>