]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/displaying-complex-chords.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / Documentation / snippets / new / displaying-complex-chords.ly
1 \version "2.14.0"
2
3 \header {
4   lsrtags = "simultaneous-notes, chords"
5   texidoc = "
6 Here is a way to display a chord where the same note is played twice
7 with different accidentals.
8 "
9   doctitle = "Displaying complex chords"
10 }
11
12 fixA = {
13   \once \override Stem #'length = #9
14 }
15 fixB = {
16   \once \override NoteHead #'X-offset = #1.7
17   \once \override Stem #'rotation = #'(45 0 0)
18   \once \override Stem #'extra-offset = #'(-0.2 . -0.2)
19   \once \override Flag #'style = #'no-flag
20   \once \override Accidental #'extra-offset = #'(4 . 0)
21 }
22
23 \relative c' {
24   << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
25 }