]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/displaying-complex-chords.ly
dbd3e41d2442b55a9ee1fa9bf0edf783041a97cb
[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.15.40"
8
9 \header {
10   lsrtags = "workaround, chords, simultaneous-notes"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13
14   texidoces = "
15 He aquí una forma de imprimir un acorde en el que suena la misma nota
16 dos veces con distintas alteraciones.
17
18 "
19   doctitlees = "Impresión de acordes complejos"
20
21 %% Translation of GIT committish: 30339cb3706f6399c84607426988b25f79b4998c
22   texidocfr = "
23 Voici comment obtenir l'impression d'un accord au sein duquel une même
24 note est jouée deux fois avec des altérations différentes.
25
26 "
27   doctitlefr = "Impression d'accords complexes"
28
29   texidoc = "
30 Here is a way to display a chord where the same note is played twice
31 with different accidentals.
32
33 "
34   doctitle = "Displaying complex chords"
35 } % begin verbatim
36
37 fixA = {
38   \once \override Stem #'length = #9
39 }
40 fixB = {
41   \once \override NoteHead #'X-offset = #1.7
42   \once \override Stem #'rotation = #'(45 0 0)
43   \once \override Stem #'extra-offset = #'(-0.2 . -0.2)
44   \once \override Flag #'style = #'no-flag
45   \once \override Accidental #'extra-offset = #'(4 . 0)
46 }
47
48 \relative c' {
49   << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
50 }