]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/displaying-complex-chords.ly
LSR: Local update.
[lilypond.git] / Documentation / snippets / displaying-complex-chords.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.1
5 \version "2.13.18"
6
7 \header {
8   lsrtags = "simultaneous-notes, chords"
9   texidoc = "
10 Here is a way to display a chord where the same note is played twice
11 with different accidentals.
12 "
13   doctitle = "Displaying complex chords"
14 } % begin verbatim
15
16
17 fixA = {
18   \once \override Stem #'length = #9
19 }
20 fixB = {
21   \once \override NoteHead #'X-offset = #1.7
22   \once \override Stem #'rotation = #'(45 0 0)
23   \once \override Stem #'extra-offset = #'(-0.2 . -0.2)
24   \once \override Stem #'flag-style = #'no-flag
25   \once \override Accidental #'extra-offset = #'(4 . 0)
26 }
27
28 \relative c' {
29   << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
30 }