X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnote-head-style.ly;h=3071c54de63189bbc25015dea10e76277536f9e3;hb=96daa4430aac946efe392e8ee9986c88e55a3d9e;hp=89bc9c64e45da3f618f38d4abd1c0394bb98663c;hpb=68a168bff1fec7f8011b2afa82d4fc89182c4bf7;p=lilypond.git diff --git a/input/regression/note-head-style.ly b/input/regression/note-head-style.ly index 89bc9c64e4..3071c54de6 100644 --- a/input/regression/note-head-style.ly +++ b/input/regression/note-head-style.ly @@ -1,69 +1,100 @@ -\version "1.3.146" +\version "2.11.51" \header{ -texidoc=" -Note head shapes are settable. The stem endings should be adjusted -per note head. If you want different note head styles on one stem, -you must create a special context called Thread. + texidoc=" +Note head shapes may be set from several choices. +The stem endings should be adjusted according to the note head. +If you want different note head styles on one stem, +you must create a special context. Harmonic notes have a different shape and different -dimensions. Nevertheless, noteheads in both styles can be combined, on -either up or down stems. +dimensions. " } +\layout { + indent = 0.0 + ragged-right = ##t +} -\include "paper23.ly" - -\score { \notes \relative c''{ -% \property Voice.Stem \override #'thickness = #5.0 -\property Voice.NoteHead \set #'style = #'default -c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break -\property Voice.NoteHead \set #'style = #'diamond -c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break -\property Voice.NoteHead \set #'style = #'transparent -c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break -\property Voice.NoteHead \set #'style = #'cross -c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break -\property Voice.NoteHead \set #'style = #'xcircle -c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break -\property Voice.NoteHead \set #'style = #'slash -c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break -\property Voice.NoteHead \set #'style = #'mensural -c4 c2 c8 c16 c16 c1 c\breve c\longa b4 b2 b8 b16 b16 b1 b\breve b\longa \break -\property Voice.NoteHead \set #'style = #'harmonic -c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break -\property Voice.NoteHead \set #'style = #'baroque -c4 c2 c8 c16 c16 c1 c\breve c\longa b4 b2 b8 b16 b16 b1 b\breve b\longa \break - - - \context Voice = another < - \context Thread = TA - { - \property Thread.NoteHead \set #'style = #'cross - \property Voice.Stem \set #'direction = #1 - c16 - } - \context Thread = TB - { \property Thread.NoteHead \set #'style = #'default a16 } - - \context Thread = TC - { \property Thread.NoteHead \set #'style = #'mensural d16 } - - > - - - \context Voice < - \context Thread = TA { - \property Thread.NoteHead \set #'style = #'cross - c4 c4 c4 c4 } - \context Thread = TB { - \property Thread.NoteHead \set #'style = #'mensural - c'4 \stemDown c - \property Thread.NoteHead \set #'style = #'slash - \stemUp c4 \stemDown c -} > +pattern = << + \new Voice { + \override Stem #'direction = #UP + e'4 e'2. e'1 e'\breve*1/2 e'\longa*1/4 + } + \new Voice { + \override Stem #'direction = #DOWN + a4 a2. a1 a\breve*1/2 a\longa*1/4 + } +>> -} - \paper {} +\transpose c c { + \clef C + + \override Staff.NoteHead #'style = #'default + s1*0^\markup { "default" } + \pattern + + \override Staff.NoteHead #'style = #'baroque + s1*0^\markup { "baroque" } + \pattern + + \break + + \override Staff.NoteHead #'style = #'neomensural + s1*0^\markup { "neomensural" } + \pattern + + \override Staff.NoteHead #'style = #'mensural + s1*0^\markup { "mensural" } + \pattern + + \break + + \override Staff.NoteHead #'style = #'petrucci + s1*0^\markup { "petrucci" } + \pattern + + \override Staff.NoteHead #'style = #'harmonic + s1*0^\markup { "harmonic" } + \pattern + + \break + + \override Staff.NoteHead #'style = #'harmonic-black + s1*0^\markup { "harmonic-black" } + \pattern + + \override Staff.NoteHead #'style = #'harmonic-mixed + s1*0^\markup { "harmonic-mixed" } + \pattern + + \break + + \override Staff.NoteHead #'style = #'diamond + s1*0^\markup { "diamond" } + \pattern + + \override Staff.NoteHead #'style = #'cross + s1*0^\markup { "cross" } + \pattern + + \break + + \override Staff.NoteHead #'style = #'xcircle + s1*0^\markup { "xcircle" } + \pattern + + \override Staff.NoteHead #'style = #'triangle + s1*0^\markup { "triangle" } + \pattern + + \break + + \override Staff.NoteHead #'style = #'slash + s1*0^\markup { "slash" } + \pattern } + + +