X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fproperty-init.ly;h=71076e5f7baa231833a1de52311f8a13b9c4fcce;hb=36f6cd546770e38c6e2314404e21f1c89504eb7d;hp=8103849c651182dbb38f6d082dcae74efd01dcc8;hpb=254f634d6e541adeea359a557ea9c9ad8860131c;p=lilypond.git diff --git a/ly/property-init.ly b/ly/property-init.ly index 8103849c65..71076e5f7b 100644 --- a/ly/property-init.ly +++ b/ly/property-init.ly @@ -1,6 +1,6 @@ % property-init.ly -\version "2.4.0" +\version "2.6.0" stemUp = \override Stem #'direction = #1 stemDown = \override Stem #'direction = #-1 @@ -10,9 +10,19 @@ slurUp = \override Slur #'direction = #1 slurDown = \override Slur #'direction = #-1 slurNeutral = \revert Slur #'direction -% There's also dash, but setting dash period/length should be fixed. -slurDotted = \override Slur #'dashed = #1 -slurSolid = \revert Slur #'dashed +%% There's also dash, but setting dash period/length should be fixed. +slurDashed = { + \override Slur #'dash-period = #0.75 + \override Slur #'dash-fraction = #0.4 +} +slurDotted = { + \override Slur #'dash-period = #0.75 + \override Slur #'dash-fraction = #0.1 +} +slurSolid = { + \revert Slur #'dash-period + \revert Slur #'dash-fraction +} phrasingSlurUp = \override PhrasingSlur #'direction = #1 @@ -28,13 +38,24 @@ tieUp = \override Tie #'direction = #1 tieDown = \override Tie #'direction = #-1 tieNeutral = \revert Tie #'direction -tieDotted = \override Tie #'dashed = #1 -tieSolid = \revert Tie #'dashed +tieDashed = { + \override Tie #'dash-period = #0.75 + \override Tie #'dash-fraction = #0.4 +} +tieDotted = { + \override Tie #'dash-period = #0.75 + \override Tie #'dash-fraction = #0.1 +} +tieSolid = { + \revert Tie #'dash-period + \revert Tie #'dash-fraction +} setEasyHeads = \sequential { - \override NoteHead #'print-function = #Note_head::brew_ez_stencil - \override NoteHead #'Y-extent-callback = #'() - \override NoteHead #'X-extent-callback = #'() + \override NoteHead #'print-function = #Note_head::brew_ez_stencil + \override NoteHead #'font-size = #-7 + \override NoteHead #'font-family = #'sans + \override NoteHead #'font-series = #'bold } aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti) @@ -81,22 +102,22 @@ voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice) tiny = - \set fontSize = #-2 +\set fontSize = #-2 small = - \set fontSize = #-1 +\set fontSize = #-1 normalsize = { - \set fontSize = #0 + \set fontSize = #0 } -% End the incipit and print a ``normal line start''. +%% End the incipit and print a ``normal line start''. endincipit = \context Staff { - \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit - \once \override Staff.Clef #'full-size-change = ##t - \once \override Staff.Clef #'non-default = ##t - \bar "" + \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit + \once \override Staff.Clef #'full-size-change = ##t + \once \override Staff.Clef #'non-default = ##t + \bar "" } autoBeamOff = \set autoBeaming = ##f @@ -130,7 +151,7 @@ arpeggioNeutral = \sequential { \revert Arpeggio #'arpeggio-direction } arpeggioBracket = \sequential { - \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket + \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket } glissando = #(make-music 'GlissandoEvent) @@ -166,7 +187,15 @@ semiGermanChords = { \set chordNoteNamer = #note-name->german-markup } +frenchChords = { + \set chordRootNamer = #(chord-name->italian-markup #t) + \set chordPrefixSpacer = #0.4 +} +italianChords = { + \set chordRootNamer = #(chord-name->italian-markup #f) + \set chordPrefixSpacer = #0.4 +} improvisationOn = { \set squashedPosition = #0 @@ -177,3 +206,8 @@ improvisationOff = { \unset squashedPosition \revert NoteHead #'style } + +textSpannerUp = \override TextSpanner #'direction = #1 +textSpannerDown = \override TextSpanner #'direction = #-1 +textSpannerNeutral = \revert TextSpanner #'direction +