]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/avoiding-collisions-with-chord-fingerings.ly
Doc: run makelsr locally
[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.14.2"
8
9 \header {
10   lsrtags = "editorial-annotations, chords, tweaks-and-overrides, rhythms"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
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
39 \relative c' {
40   \set fingeringOrientations = #'(up)
41   \set stringNumberOrientations = #'(up)
42   \set strokeFingerOrientations = #'(up)
43
44   % Default behavior
45   r8
46   <f c'-5>8
47   <f c'\5>8
48   <f c'-\rightHandFinger #2 >8
49
50   % Corrected to avoid collisions
51   r8
52   \override Fingering #'add-stem-support = ##t
53   <f c'-5>8
54   \override StringNumber #'add-stem-support = ##t
55   <f c'\5>8
56   \override StrokeFinger #'add-stem-support = ##t
57   <f c'-\rightHandFinger #2 >8
58 }
59