]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/displaying-complex-chords.ly
LSR: Update.
[lilypond.git] / Documentation / snippets / displaying-complex-chords.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.10"
5
6 \header {
7   lsrtags = "simultaneous-notes, chords"
8
9   texidoc = "
10 Here is a way to display a chord where the same note is played twice
11 with different accidentals.
12
13 "
14   doctitle = "Displaying complex chords"
15 } % begin verbatim
16
17 fixA = {
18   \once \override Stem #'length = #9
19   \once \override Accidental #'extra-offset = #'(0.3 . 0)
20 }
21 fixB = {
22   \once \override NoteHead #'extra-offset = #'(1.7 . 0)
23   \once \override Stem #'rotation = #'(45 0 0)
24   \once \override Stem #'extra-offset = #'(-0.2 . -0.2)
25   \once \override Stem #'flag-style = #'no-flag
26   \once \override Accidental #'extra-offset = #'(3.1 . 0)
27 }
28
29 \relative c' {
30   << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
31 }
32