]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/showing-the-same-articulation-above-and-below-a-note-or-chord.ly
LSR updates from tarball - July 2012
[lilypond.git] / Documentation / snippets / showing-the-same-articulation-above-and-below-a-note-or-chord.ly
index 12fa247742565f94d4fa729e5aea19fec6fa8203..6f72c31fed6c54d38bcd2a91124c6521ce1406e8 100644 (file)
@@ -1,13 +1,37 @@
-%% 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.16"
+\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{<c-\\tweak #'direction #DOWN-\\fermata^\\fermata>}
+
+"
+  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
+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 +49,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 +59,13 @@ smallFlageolet =
    m)
 
 \relative c' {
-  s4^"wrong:"
-  c_\fermata^\fermata % The second fermata is ignored!
-  <e d'>^\smallFlageolet_\smallFlageolet
+  s4^"Wrong:"
+  c4_\fermata^\fermata % The second fermata is ignored!
+  <e d'>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:"
-  <e-\tweak #'direction #DOWN -\smallFlageolet d'^\smallFlageolet>
-  <e-\tweak #'direction #DOWN -\flageolet d'^\flageolet>
-  <e-\tweak #'direction #DOWN -\smallFlageolet^\smallFlageolet>
-  <e-\tweak #'direction #DOWN -\fermata^\fermata>
+  <e_\smallFlageolet d'^\smallFlageolet>4
+  <e_\flageolet d'^\flageolet>4
+  <e_\smallFlageolet^\smallFlageolet>4
+  <e_\fermata^\fermata>4
 }
-