X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Favoiding-collisions-with-chord-fingerings.ly;fp=Documentation%2Fsnippets%2Favoiding-collisions-with-chord-fingerings.ly;h=2e01a839567b5c6fa2ea5cf5422cca98bb358f14;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/avoiding-collisions-with-chord-fingerings.ly b/Documentation/snippets/avoiding-collisions-with-chord-fingerings.ly new file mode 100644 index 0000000000..2e01a83956 --- /dev/null +++ b/Documentation/snippets/avoiding-collisions-with-chord-fingerings.ly @@ -0,0 +1,58 @@ +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.14.0" + +\header { + lsrtags = "rhythms, editorial-annotations, chords, tweaks-and-overrides" + +%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c + + texidoces = " + +Las digitaciones y números de cuerda que se aplican a las notas +individuales evitan automáticamente las barras y las plicas de las +figuras, pero esto no es cierto de forma predeterminada para las +digitaciones y números de cuerda que se aplican sobre notas +individuales de acordes. El ejemplo siguiente muestra cómo se puede +sobreescribir este comportamiento predeterminado. + +" + doctitlees = "Evitar colisiones con digitaciones de acordes" + + + texidoc = " +Fingerings and string numbers applied to individual notes will +automatically avoid beams and stems, but this is not true by default +for fingerings and string numbers applied to the individual notes of +chords. The following example shows how this default behavior can be +overridden. + +" + doctitle = "Avoiding collisions with chord fingerings" +} % begin verbatim + +\relative c' { + \set fingeringOrientations = #'(up) + \set stringNumberOrientations = #'(up) + \set strokeFingerOrientations = #'(up) + + % Default behavior + r8 + 8 + 8 + 8 + + % Corrected to avoid collisions + r8 + \override Fingering #'add-stem-support = ##t + 8 + \override StringNumber #'add-stem-support = ##t + 8 + \override StrokeFinger #'add-stem-support = ##t + 8 +} +