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