X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fwilhelmus.ly;h=bd3eddc6592c788fac025274b5fd68416ee8b1f5;hb=4bb694525afcf12565aafee08e49dd4252a6e86c;hp=4ae2161c109a0f632076c80ec5accc643157dd10;hpb=730c54a571ab3b6c30e02be5f93c876abee0f9a7;p=lilypond.git diff --git a/input/wilhelmus.ly b/input/wilhelmus.ly index 4ae2161c10..bd3eddc659 100644 --- a/input/wilhelmus.ly +++ b/input/wilhelmus.ly @@ -1,4 +1,4 @@ -\version "2.10.0" +\version "2.11.61" \header { texidoc = "Wilhelmus van Nassouwe" @@ -11,21 +11,6 @@ } %% hymn tricks -#(define (prepend-grob-property grob-name - grob-prop entry) - (lambda (context) - (let* - ((grob-def (ly:context-property context grob-name))) - (if (pair? grob-def) - (ly:context-pushpop-property context grob-name grob-prop - (cons - entry - (assoc-get grob-prop (car grob-def)))))))) - -#(define (set-extra-space grob-name entry value) - (prepend-grob-property grob-name 'space-alist - (cons entry (cons 'extra-space value)))) - noclefs = { s1 \override Staff.Clef #'break-visibility = @@ -33,17 +18,13 @@ noclefs = { } setMargins = { - %% first line left margin - %% justified: - %% \context Staff \applyContext #(set-extra-space 'TimeSignature 'first-note 4.5) - %% ragged-right: - \context Staff \applyContext #(set-extra-space 'TimeSignature 'first-note 9.5) - - %% next lines left margin - \context Staff \applyContext #(set-extra-space 'KeySignature 'staff-bar 15) + %% \context Staff \applyContext #(set-extra-space 'TimeSignature + %% 'first-note -> extra-space 4.5 + + \override Staff.TimeSignature #'space-alist #'first-note = #'(extra-space . 9.5) + \override Staff.KeySignature #'space-alist #'staff-bar = #'(extra-space . 15) + \override Score.LeftEdge #'space-alist #'key-signature = #'(extra-space . 1) - %% next lines small key-signature margin - \context Staff \applyContext #(set-extra-space 'LeftEdge 'key-signature 1.0) } pipeSymbol = { @@ -142,7 +123,10 @@ text = \lyricmode { oneHalfNoteTime = \markup { \override #'(baseline-skip . 0) - \column { \line { \number "1" } \line { \smaller \smaller \note #"2" #-0.5 } } + \column { + \line { \number "1" } + \line { \smaller \smaller \note #"2" #-0.6 } + } } \layout { @@ -175,6 +159,7 @@ oneHalfNoteTime = \markup { %% Custom time signature \override Staff.TimeSignature #'stencil = #ly:text-interface::print \override Staff.TimeSignature #'text = #oneHalfNoteTime + \override Staff.TimeSignature #'style = #'() \noclefs \new Voice = "voice" \voice