]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/displaying-complex-chords.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / displaying-complex-chords.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.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.16.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 = #9
22 }
23 fixB = {
24   \once \override NoteHead #'X-offset = #1.7
25   \once \override Stem #'rotation = #'(45 0 0)
26   \once \override Stem #'extra-offset = #'(-0.2 . -0.2)
27   \once \override Flag #'style = #'no-flag
28   \once \override Accidental #'extra-offset = #'(4 . 0)
29 }
30
31 \relative c' {
32   << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
33 }