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=6f72c31fed6c54d38bcd2a91124c6521ce1406e8;hb=60a701cd0778ecf62ef2834cbfd00b8c2f249374;hp=9bf193f310277ed39caca0d584ad024d5a0286e8;hpb=ff6a7dbf042a49cf966b09f6a0a9b744c8211dbe;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 9bf193f310..6f72c31fed 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,50 @@ -% 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.40" +%% 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" + +%% Translation of GIT committish: 28097cf54698db364afeb75658e4c8e0e0ccd716 + texidocfr = " +LilyPond ne permet pas, par défaut, qu'une même articulation (accent, +flageolet, point d'orgue etc.) se retrouve à la fois au-dessus et +au-dessous d'une note. Par exemple, @code{c4_\\fermata^\\fermata} ne +donnera qu'un seul point d'orgue en dessous du do ; celui du dessus sera +tout bonnement ignoré. On peut néanmoins accoler des scripts, tels des +doigtés, à l'intérieur d'un accord ; il peut donc y avoir autant +d'articulations que de besoin, ce qui, par voie de conséquence, permet +de s'affranchir de la présence de hampes et de positionner l'articulation +relativement à la tête de note comme dans le cas du flageolet +ci-dessous. L'imitation du traitement d'un script externe à un accord +requérant un @code{'add-stem-support}, la solution consiste à libeller +la note comme étant un accord et ajouter les articulations au sein de la +construction @code{<...>}. Un simple amendement permettra de rectifier +le positionnement habituel en surplomb : +@code{} + +" + doctitlefr = "Impression d'une même articulation des deux côtés d'une note ou d'un accord" 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