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