Massive changes - see ChangeLog.
[lilypond.git] / input / regression / beam-concave.ly
blob5b1ef400a197a4218c092b8e297802a42891f147
1 #(ly:set-option 'old-relative)
2 \version "1.9.0"
3 \header{
5 texidoc = "Concave beams should be horizontal. Informally spoken,
6 concave refers to the shape of the notes that are opposite a
7 beam. If an up-beam has high notes on its center stems, then we call
8 it concave. This example shows borderline cases. Only the beams
9 that are marked `horiz' should be printed horizontally. " }
13 However, what exactly
14 it is that makes a beam concave is still unclear.
16 Beams 1 and 3 should be sloped, 2 and 4 should be horizontal. Two
17 sane attempts of calculating concaveness of a beam fail to distinguish
18 beams this way."
22 \score{
23 \notes\relative c'{
25 %% This case seems easy: second beam should be horizontal.
27 %% SCS-I Menuet I, m15
28 %% sloped
29 %% slope = -0.5ss
30 %% concaveness: 0.06
31 \clef bass
32 \time 3/4
33 \key g\major
34 a8 g fis e b dis
36 %% SCS-I Menuet II, m20
37 %% horizontal
38 %% slope = 0
39 %% concaveness: 0.09
40 \key f\major
41 fis,^"horiz." a c es d c
43 %%% Sarabande: the first beam, obviously more concave, is not horizontal,
44 %%% but is matched with the next beam in the piece: context.
46 %% Sarabande: m24
47 %% sloped
48 %% concaveness: 0.00
49 \stemUp
50 d,16-[ a' b cis]
52 %% Sarabande: m25
53 %% horizontal
54 %% concaveness:a: 0.12
55 a'16-[^"horiz." b c b]
57 % Hmm. Concaveness of both: 1.75
58 % %% SCS-VI Prelude, m81
59 % %% slope = 0.0
60 % \stemBoth
61 % \key d\major
62 % e,8-[ cis a']
64 % %% SCS-VI Prelude, m82
65 % %% slope = 0.1ss (possibly b.o. context?)
66 % g,-[ e' cis]
69 %%% Han-Wen: this should be concave
70 a,16-[^"horiz." a' a a]
72 \clef treble
74 %%%% This should not be concave (hwn)
75 \stemUp bes8[ \stemDown d'8 bes8]
77 \paper{
78 raggedright = ##t
82 %% Local variables:
83 %% LilyPond-indent-level:2
84 %% End: