]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/avoiding-collisions-with-chord-fingerings.ly
db591c6d95ac3499cddd43100489736b531d2907
[lilypond.git] / Documentation / snippets / avoiding-collisions-with-chord-fingerings.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.12.2"
8
9 \header {
10   lsrtags = "rhythms, editorial-annotations, chords, tweaks-and-overrides"
11
12 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
13
14   texidoces = "
15
16 Las digitaciones y números de cuerda que se aplican a las notas
17 individuales evitan automáticamente las barras y las plicas de las
18 figuras, pero esto no es cierto de forma predeterminada para las
19 digitaciones y números de cuerda que se aplican sobre notas
20 individuales de acordes.  El ejemplo siguiente muestra cómo se puede
21 sobreescribir este comportamiento predeterminado.
22
23 "
24   doctitlees = "Evitar colisiones con digitaciones de acordes"
25
26
27   texidoc = "
28 Fingerings and string numbers applied to individual notes will
29 automatically avoid beams and stems, but this is not true by default
30 for fingerings and string numbers applied to the individual notes of
31 chords.  The following example shows how this default behavior can be
32 overridden.
33
34 "
35   doctitle = "Avoiding collisions with chord fingerings"
36 } % begin verbatim
37
38 \relative c' {
39   \set fingeringOrientations = #'(up)
40   \set stringNumberOrientations = #'(up)
41   \set strokeFingerOrientations = #'(up)
42
43   % Default behavior
44   r8
45   <f c'-5>8
46   <f c'\5>8
47   <f c'-\rightHandFinger #2 >8
48
49   % Corrected to avoid collisions
50   r8
51   \override Fingering #'add-stem-support = ##t
52   <f c'-5>8
53   \override StringNumber #'add-stem-support = ##t
54   <f c'\5>8
55   \override StrokeFinger #'add-stem-support = ##t
56   <f c'-\rightHandFinger #2 >8
57 }
58