X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fincluded%2Fnote-head-style.ly;h=0d2cabfcdac63dbe67ad5d40d14241f5376cff57;hb=16a04d4a27ff185fd83125d965d48b534182d7d2;hp=471b79d9ee20d144c445e7a24a1f47c33bc7e616;hpb=2f320e9722ec20d6f13ec567d007763cc912c5da;p=lilypond.git diff --git a/Documentation/included/note-head-style.ly b/Documentation/included/note-head-style.ly index 471b79d9ee..0d2cabfcda 100644 --- a/Documentation/included/note-head-style.ly +++ b/Documentation/included/note-head-style.ly @@ -1,29 +1,35 @@ -\version "2.14.0" -\header{ +\version "2.19.0" + +\header { texidoc=" -Note head shapes may be set from several choices. -The stem endings should be adjusted according to the note head. +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. +dimensions. " } \layout { indent = 0.0 ragged-right = ##t + + \context { + \Score + \remove "Bar_number_engraver" + } } pattern = << \new Voice { - \override Stem #'direction = #UP - e'4 e'2. e'1 e'\breve*1/2 e'\longa*1/4 + \override Stem.direction = #UP + e'4 2. 1 \breve*1/2 \longa*1/4 \bar "||" } \new Voice { - \override Stem #'direction = #DOWN - a4 a2. a1 a\breve*1/2 a\longa*1/4 + \override Stem.direction = #DOWN + a4 2. 1 \breve*1/2 \longa*1/4 \bar "||" } >> @@ -31,74 +37,71 @@ pattern = << \transpose c c { \clef C - \override Staff.NoteHead #'style = #'default + \override Staff.NoteHead.style = #'default s1*0^\markup { "default" } \pattern - \override Staff.NoteHead #'style = #'altdefault + \override Staff.NoteHead.style = #'altdefault s1*0^\markup { "altdefault" } \pattern \break - \override Staff.NoteHead #'style = #'baroque + \override Staff.NoteHead.style = #'baroque s1*0^\markup { "baroque" } \pattern - \override Staff.NoteHead #'style = #'neomensural + \override Staff.NoteHead.style = #'neomensural s1*0^\markup { "neomensural" } \pattern \break - \override Staff.NoteHead #'style = #'mensural + \override Staff.NoteHead.style = #'mensural s1*0^\markup { "mensural" } \pattern - \override Staff.NoteHead #'style = #'petrucci + \override Staff.NoteHead.style = #'petrucci s1*0^\markup { "petrucci" } \pattern \break - \override Staff.NoteHead #'style = #'harmonic + \override Staff.NoteHead.style = #'harmonic s1*0^\markup { "harmonic" } \pattern - \override Staff.NoteHead #'style = #'harmonic-black + \override Staff.NoteHead.style = #'harmonic-black s1*0^\markup { "harmonic-black" } \pattern \break - \override Staff.NoteHead #'style = #'harmonic-mixed + \override Staff.NoteHead.style = #'harmonic-mixed s1*0^\markup { "harmonic-mixed" } \pattern - \override Staff.NoteHead #'style = #'diamond + \override Staff.NoteHead.style = #'diamond s1*0^\markup { "diamond" } \pattern \break - \override Staff.NoteHead #'style = #'cross + \override Staff.NoteHead.style = #'cross s1*0^\markup { "cross" } \pattern - \override Staff.NoteHead #'style = #'xcircle + \override Staff.NoteHead.style = #'xcircle s1*0^\markup { "xcircle" } \pattern \break - \override Staff.NoteHead #'style = #'triangle + \override Staff.NoteHead.style = #'triangle s1*0^\markup { "triangle" } \pattern - \override Staff.NoteHead #'style = #'slash + \override Staff.NoteHead.style = #'slash s1*0^\markup { "slash" } \pattern } - - -