X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fproperty-init.ly;h=2d50a6c6019569271214b6c1ca09e0acada8552d;hb=d664f5a7153ec2b1a1c4c9fba2d2174bf3140695;hp=9098d313cf9c113a038e3e8dd82847b0ed288bfc;hpb=c39c24228ac07650d316df5a28a00a05d2d5da51;p=lilypond.git diff --git a/ly/property-init.ly b/ly/property-init.ly index 9098d313cf..2d50a6c601 100644 --- a/ly/property-init.ly +++ b/ly/property-init.ly @@ -1,6 +1,6 @@ % property-init.ly -\version "2.11.53" +\version "2.12.0" stemUp = \override Stem #'direction = #UP stemDown = \override Stem #'direction = #DOWN @@ -10,7 +10,6 @@ slurUp = \override Slur #'direction = #UP slurDown = \override Slur #'direction = #DOWN slurNeutral = \revert Slur #'direction -%% 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 @@ -29,6 +28,19 @@ phrasingSlurUp = \override PhrasingSlur #'direction = #UP phrasingSlurDown = \override PhrasingSlur #'direction = #DOWN phrasingSlurNeutral = \revert PhrasingSlur #'direction +phrasingSlurDashed = { + \override PhrasingSlur #'dash-period = #0.75 + \override PhrasingSlur #'dash-fraction = #0.4 +} +phrasingSlurDotted = { + \override PhrasingSlur #'dash-period = #0.75 + \override PhrasingSlur #'dash-fraction = #0.1 +} +phrasingSlurSolid = { + \revert PhrasingSlur #'dash-period + \revert PhrasingSlur #'dash-fraction +} + mergeDifferentlyDottedOn = { \override Staff.NoteCollision #'merge-differently-dotted = ##t } @@ -341,3 +353,18 @@ bassFigureStaffAlignmentNeutral = { \revert Staff.BassFigureAlignmentPositioning #'direction } +predefinedFretboardsOff = { + \set FretBoards.predefinedDiagramTable = ##f +} + +predefinedFretboardsOn = { + \set FretBoards.predefinedDiagramTable = #fretboard-table +} + +pointAndClickOff = #(define-music-function (parser location) () + (ly:set-option 'point-and-click #f) + (make-music 'SequentialMusic 'void #t)) + +pointAndClickOn = #(define-music-function (parser location) () + (ly:set-option 'point-and-click #t) + (make-music 'SequentialMusic 'void #t))