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=145e592db8d076dc4c9ecb9b105c48359dc3d6fb;hb=e8fc7813b17822c138150807484197ef8d4e7c21;hp=d28d3428dc75aed099b7d3b79544ce24358eea80;hpb=ce7347a5daec12396c1b8c831834f1c2cc66ea43;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 d28d3428dc..145e592db8 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,20 +1,29 @@ -% Do not edit this file; it is automatically -% generated from Documentation/snippets/new -% This file is in the public domain. -%% Note: this file works from version 2.13.36 -\version "2.13.36" +%% 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.2" \header { - lsrtags = "expressive-marks, tweaks-and-overrides" + lsrtags = "expressive-marks, tweaks-and-overrides, version-specific" texidoc = " 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, @code{c4_\\fermata^\\fermata} will only show a fermata -below, ignoring the fermata above. However, one can stick +note. For example, c4_\\fermata^\\fermata will only show a fermata +below. The fermata above will simply be ignored. However, one can stick scripts (just like fingerings) inside a chord, which means it is -possible to have as many articulations as desired. So, the solution is to -write the note as a chord and add the articulations inside the @code{<@dots{}>}. +possible to have as many articulations as desired. This approach has +the advantage that it ignores the stem and positions the articulation +relative to the note head. This can be seen in the case of the +flageolets in the snippet. To mimic the behaviour of scripts outside a +chord, 'add-stem-support would be required. So, the solution is to +write the note as a chord and add the articulations inside the <...>. +The direction will always be above, but one can tweak this via a +\\tweak: @code{} + " doctitle = "Showing the same articulation above and below a note or chord" } % begin verbatim