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