]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/displaying-complex-chords.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / displaying-complex-chords.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "chords, simultaneous-notes, workaround"
11
12   texidoc = "
13 Here is a way to display a chord where the same note is played twice
14 with different accidentals.
15
16 "
17   doctitle = "Displaying complex chords"
18 } % begin verbatim
19
20 fixA = {
21   \once \override Stem.length = #11
22 }
23
24 fixB = {
25   \once \override NoteHead.X-offset = #1.7
26   \once \override Stem.length = #7
27   \once \override Stem.rotation = #'(45 0 0)
28   \once \override Stem.extra-offset = #'(-0.1 . -0.2)
29   \once \override Flag.style = #'no-flag
30   \once \override Accidental.extra-offset = #'(4 . -.1)
31 }
32
33
34 \relative c' {
35   << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
36 }