1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.27
8 lsrtags = "expressive-marks, tweaks-and-overrides"
11 By default, LilyPond does not allow the same articulation (e.g., an
12 accent, a fermata, a flageolet, etc.) to be displayed above and below a
13 note. For example, @code{c4_\\fermata^\\fermata} will only show a fermata
14 below, ignoring the fermata above. However, one can stick
15 scripts (just like fingerings) inside a chord, which means it is
16 possible to have as many articulations as desired. So, the solution is to
17 write the note as a chord and add the articulations inside the @code{<@dots{}>}.
19 doctitle = "Showing the same articulation above and below a note or chord"
23 % The same as \flageolet, just a little smaller
25 #(let ((m (make-articulation "flageolet")))
26 (set! (ly:music-property m 'tweaks)
28 (ly:music-property m 'tweaks)))
33 c4_\fermata^\fermata % The second fermata is ignored!
34 <e d'>4^\smallFlageolet_\smallFlageolet
36 s4^"Works if written inside a chord:"
37 <e_\smallFlageolet d'^\smallFlageolet>4
38 <e_\flageolet d'^\flageolet>4
39 <e_\smallFlageolet^\smallFlageolet>4
40 <e_\fermata^\fermata>4