]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/stemlets.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / stemlets.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.62"
4
5 \header {
6   lsrtags = "rhythms"
7
8   texidoc = "
9 In some notational conventions beams are allowed to extend over rests. 
10 Depending on preference, these beams may drop 'stemlets' to help the
11 eye appreciate the rhythm better, and in some modern music the rest
12 itself is omitted and only the stemlet remains.
13
14
15 This snippet shows a progression from traditional notation, to beams
16 over the rest, to stemlets over the rest, to stemlets alone.  Stemlets
17 are generated by overriding the @code{'stemlet-length} property of
18 @code{Stem}, while rests are hidden by setting @code{'transparent =
19 ##t}.
20
21
22 Some @code{\\markup} elements are included in the source to highlight
23 the different notations. 
24
25 "
26   doctitle = "Stemlets"
27 } % begin verbatim
28 \paper { ragged-right = ##f }
29
30 {
31   c'16^\markup { traditional } d' r f'
32   g'16[^\markup { beams over rests } f' r d']
33   
34   % N.B. use Score.Stem to set for the whole score.
35   \override Staff.Stem #'stemlet-length = #0.75
36   
37   c'16[^\markup { stemlets over rests } d' r f']
38   g'16[^\markup { stemlets and no rests } f' \once \override Rest #'transparent = ##t r d']
39 }
40