X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbreve-extent.ly;fp=input%2Fregression%2Fbreve-extent.ly;h=257445615db087a75cb91645c6b9cf8f3e36cba0;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=0000000000000000000000000000000000000000;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/input/regression/breve-extent.ly b/input/regression/breve-extent.ly new file mode 100644 index 0000000000..257445615d --- /dev/null +++ b/input/regression/breve-extent.ly @@ -0,0 +1,31 @@ +\version "2.16.0" + +\header { + texidoc = "LilyPond knows that breves and longas are wider than whole notes + (because of vertical lines on their sides). Breves and longas don't collide + with accidentals, barlines, neighbor notes etc. The distance between + accidental and note is the same for whole notes, breves and longas." +} + +{ + gis'1 + gis'\breve*1/2 + gis'\longa*1/4 + \override NoteHead #'style = #'altdefault + gis'\breve*1/2 +} + +\score { + \new Staff { + \repeat unfold 8 { a'\breve*1/16 } + \override NoteHead #'style = #'altdefault + \repeat unfold 8 { a'\breve*1/16 } + } + \layout { + \context { + \Score + \override SpacingSpanner + #'common-shortest-duration = #(ly:make-moment 1 1 ) + } + } +}