]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/avoiding-collisions-with-chord-fingerings.ly
c776d63ff344ae3719e7067854a5d3e3959a95fe
[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.31"
5
6 \header {
7 %% Translation of GIT committish: 496c48f1f2e4d345ae3637b2c38ec748a55cda1d
8
9   texidoces = "
10
11 Las digitaciones y números de cuerda que se aplican a las notas
12 individuales evitan automáticamente las barras y las plicas de las
13 figuras, pero esto no es cierto de forma predeterminada para las
14 digitaciones y números de cuerda que se aplican sobre notas
15 individuales de acordes.  El ejemplo siguiente muestra cómo se puede
16 sobreescribir este comportamiento predeterminado.
17
18 "
19   doctitlees = "Evitar colisiones con digitaciones de acordes"
20
21
22   lsrtags = "rhythms, editorial-annotations, chords, tweaks-and-overrides"
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