X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fshowing-the-same-articulation-above-and-below-a-note-or-chord.ly;h=276a97b33c40e5675be7a96f20ecda0b17066fad;hb=f22c889b1389cb7d761580762fe77973780f2f86;hp=6e8be0988b1eb1dbb1c8d3b0769d25fcb07800e4;hpb=4c1b05d4d94f84248cce5a8a4c7ae58c2e04bf54;p=lilypond.git diff --git a/Documentation/snippets/showing-the-same-articulation-above-and-below-a-note-or-chord.ly b/Documentation/snippets/showing-the-same-articulation-above-and-below-a-note-or-chord.ly index 6e8be0988b..276a97b33c 100644 --- a/Documentation/snippets/showing-the-same-articulation-above-and-below-a-note-or-chord.ly +++ b/Documentation/snippets/showing-the-same-articulation-above-and-below-a-note-or-chord.ly @@ -1,13 +1,16 @@ -%% Do not edit this file; it is automatically +%% 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.13.10" +\version "2.14.2" \header { - lsrtags = "expressive-marks, tweaks-and-overrides" + lsrtags = "expressive-marks, version-specific, tweaks-and-overrides" texidoc = " -By default, LilyPond does not allow the same articulation (e.g. an +By default, LilyPond does not allow the same articulation (e.g., an accent, a fermata, a flageolet, etc.) to be displayed above and below a note. For example, c4_\\fermata^\\fermata will only show a fermata below. The fermata above will simply be ignored. However, one can stick @@ -25,6 +28,7 @@ The direction will always be above, but one can tweak this via a doctitle = "Showing the same articulation above and below a note or chord" } % begin verbatim + % The same as \flageolet, just a little smaller smallFlageolet = #(let ((m (make-articulation "flageolet"))) @@ -34,17 +38,13 @@ smallFlageolet = m) \relative c' { - s4^"wrong:" - c_\fermata^\fermata % The second fermata is ignored! - ^\smallFlageolet_\smallFlageolet + s4^"Wrong:" + c4_\fermata^\fermata % The second fermata is ignored! + 4^\smallFlageolet_\smallFlageolet - % it works only if you wrap the note inside a chord. By default, - % all articulations will be printed above, so you have to tweak - % the direction. s4^"Works if written inside a chord:" - - - - + 4 + 4 + 4 + 4 } -