X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fproperty-init.ly;h=7cae78ebb11726d36116ca26c1c55d0d196fddb6;hb=5a462e8c890f6ea8c7e027fa899f583c34b76d61;hp=18e3386511db9447953816443a53c69dc8644653;hpb=671020aabbf0d8d10e1fa5f7e20e33e92df085fc;p=lilypond.git diff --git a/ly/property-init.ly b/ly/property-init.ly index 18e3386511..7cae78ebb1 100644 --- a/ly/property-init.ly +++ b/ly/property-init.ly @@ -1,6 +1,6 @@ % property-init.ly -\version "2.7.14" +\version "2.11.38" stemUp = \override Stem #'direction = #UP stemDown = \override Stem #'direction = #DOWN @@ -8,7 +8,7 @@ stemNeutral= \revert Stem #'direction slurUp = \override Slur #'direction = #UP slurDown = \override Slur #'direction = #DOWN -slurNeutral = \revert Slur #'direction +slurNeutral = \revert Slur #'direction %% There's also dash, but setting dash period/length should be fixed. slurDashed = { @@ -27,16 +27,16 @@ slurSolid = { phrasingSlurUp = \override PhrasingSlur #'direction = #UP phrasingSlurDown = \override PhrasingSlur #'direction = #DOWN -phrasingSlurNeutral = \revert PhrasingSlur #'direction +phrasingSlurNeutral = \revert PhrasingSlur #'direction shiftOn = \override NoteColumn #'horizontal-shift = #1 shiftOnn = \override NoteColumn #'horizontal-shift = #2 shiftOnnn = \override NoteColumn #'horizontal-shift = #3 -shiftOff = \revert NoteColumn #'horizontal-shift +shiftOff = \revert NoteColumn #'horizontal-shift tieUp = \override Tie #'direction = #UP tieDown = \override Tie #'direction = #DOWN -tieNeutral = \revert Tie #'direction +tieNeutral = \revert Tie #'direction tieDashed = { \override Tie #'dash-period = #0.75 @@ -51,17 +51,24 @@ tieSolid = { \revert Tie #'dash-fraction } -setEasyHeads = \sequential { - \override NoteHead #'stencil = #Note_head::brew_ez_stencil +easyHeadsOn = { + \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil \override NoteHead #'font-size = #-7 \override NoteHead #'font-family = #'sans \override NoteHead #'font-series = #'bold } +easyHeadsOff = { + \revert NoteHead #'stencil + \revert NoteHead #'font-size + \revert NoteHead #'font-family + \revert NoteHead #'font-series +} + aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti) sacredHarpHeads = - \set shapeNoteStyles = ##(#f #f mi #f fa la #f) + \set shapeNoteStyles = ##(fa #f la fa #f la mi) dynamicUp = { \override DynamicText #'direction = #UP @@ -100,17 +107,57 @@ voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice) voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice) voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice) +voiceOneStyle = { + \override NoteHead #'style = #'diamond + \override NoteHead #'color = #red + \override Stem #'color = #red + \override Beam #'color = #red +} +voiceTwoStyle = { + \override NoteHead #'style = #'triangle + \override NoteHead #'color = #blue + \override Stem #'color = #blue + \override Beam #'color = #blue +} +voiceThreeStyle = { + \override NoteHead #'style = #'xcircle + \override NoteHead #'color = #green + \override Stem #'color = #green + \override Beam #'color = #green +} +voiceFourStyle = { + \override NoteHead #'style = #'cross + \override NoteHead #'color = #magenta + \override Stem #'color = #magenta + \override Beam #'color = #magenta +} +voiceNeutralStyle = { + \revert NoteHead #'style + \revert NoteHead #'color + \revert Stem #'color + \revert Beam #'color +} + -tiny = -\set fontSize = #-2 +tiny = { + \set fontSize = #-2 +} -small = -\set fontSize = #-1 +small = { + \set fontSize = #-1 +} normalsize = { \set fontSize = #0 } +large = { + \set fontSize = #1 +} + +huge = { + \set fontSize = #2 +} %% End the incipit and print a ``normal line start''. endincipit = \context Staff { @@ -123,12 +170,34 @@ endincipit = \context Staff { autoBeamOff = \set autoBeaming = ##f autoBeamOn = \set autoBeaming = ##t -fatText = \override TextScript #'no-spacing-rods = ##f -emptyText = \override TextScript #'no-spacing-rods = ##t +textLengthOn = { + \override TextScript #'extra-spacing-width = #'(0 . 0) + \override TextScript #'infinite-spacing-height = ##t +} + +textLengthOff = { + \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0) + \override TextScript #'infinite-spacing-height = ##f +} showStaffSwitch = \set followVoice = ##t hideStaffSwitch = \set followVoice = ##f +expandFullBarRests = { + \set Score.skipBars = ##f +} + +compressFullBarRests = { + \set Score.skipBars = ##t +} + +numericTimeSignature = { + \override Staff.TimeSignature #'style = #'() +} + +defaultTimeSignature = { + \revert Staff.TimeSignature #'style +} % For drawing vertical chord brackets with \arpeggio @@ -151,7 +220,7 @@ arpeggioNeutral = \sequential { \revert Arpeggio #'arpeggio-direction } arpeggioBracket = \sequential { - \override Arpeggio #'stencil = #Arpeggio::brew_chord_bracket + \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket } glissando = #(make-music 'GlissandoEvent) @@ -200,14 +269,17 @@ italianChords = { improvisationOn = { \set squashedPosition = #0 \override NoteHead #'style = #'slash + \override Accidental #'stencil = ##f } improvisationOff = { \unset squashedPosition \revert NoteHead #'style + \revert Accidental #'stencil } textSpannerUp = \override TextSpanner #'direction = #UP textSpannerDown = \override TextSpanner #'direction = #DOWN textSpannerNeutral = \revert TextSpanner #'direction +