X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fwilhelmus.ly;h=6c48f6d0a5a7f0c952d150bcfe56942babc3a8fc;hb=b3cf2199183a184c7eef9a9f8f3c9a691db1f0ad;hp=babf7d38423c6187fa2c5364caa86a5bc1c97531;hpb=5956be580d291c1460f1c4b5f6e4a1c3e6549602;p=lilypond.git diff --git a/input/wilhelmus.ly b/input/wilhelmus.ly index babf7d3842..6c48f6d0a5 100644 --- a/input/wilhelmus.ly +++ b/input/wilhelmus.ly @@ -1,4 +1,4 @@ -\version "2.3.16" +\version "2.7.39" \header { texidoc = "Wilhelmus van Nassouwe" @@ -28,26 +28,27 @@ noclefs = { s1 - \override Staff.Clef #'break-visibility = #(lambda (dir) (cons #t #t)) + \override Staff.Clef #'break-visibility = + #all-invisible } setMargins = { %% first line left margin %% justified: - %% \context Staff \applycontext #(set-extra-space 'TimeSignature 'first-note 4.5) - %% raggedright: - \context Staff \applycontext #(set-extra-space 'TimeSignature 'first-note 9.5) + %% \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 'KeySignature 'staff-bar 15) %% next lines small key-signature margin - \context Staff \applycontext #(set-extra-space 'LeftEdge 'key-signature 1.0) + \context Staff \applyContext #(set-extra-space 'LeftEdge 'key-signature 1.0) } pipeSymbol = { %% Set height of bar line to 2 staff-spaces - \once \override Staff.BarLine #'bar-size-procedure = #(lambda (x) 2) + \once \override Staff.BarLine #'bar-size = #2 %% Move barline one staff-space up \once \override Staff.BarLine #'extra-offset = #'(0 . 1) \bar "|" @@ -55,9 +56,9 @@ pipeSymbol = { myBreak = { \bar "" \break } -\paper { +\layout { indent = 0.0\mm - linewidth = 120.0\mm + line-width = 120.0\mm textheight = 270.0\mm } @@ -87,7 +88,7 @@ voice = \relative c' { %% justified lines: %%\override Staff.BarLine #'extra-offset = #'(12 . 0) - %% raggedright: + %% ragged-right: \override Staff.BarLine #'extra-offset = #'(23 . 0) \bar "|." } @@ -95,8 +96,7 @@ voice = \relative c' { stich = \relative c'' { \override Staff.NoteCollision #'merge-differently-dotted = ##t \set fontSize = #-3 - %% broken? - \override Stem #'beamed-lengths = #(map (lambda (x) (* 0.2 x)) '(3.26)) + \override Stem #'length-fraction = #(magstep -3) \voiceTwo \partial 4 @@ -142,11 +142,11 @@ text = \lyricmode { oneHalfNoteTime = \markup { \override #'(baseline-skip . 0) - \column < { \number "1" } { \smaller \smaller \note #"2" #-0.5 } > + \column { \line { \number "1" } \line { \smaller \smaller \note #"2" #-0.5 } } } -\paper { - raggedright = ##t +\layout { + ragged-right = ##t \context { \Score @@ -170,22 +170,22 @@ oneHalfNoteTime = \markup { \setMargins %% Less vertical space needed with lyrics - \set Staff.minimumVerticalExtent = #'(2 . 2) + \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(2 . 2) %% Custom time signature - \override Staff.TimeSignature #'print-function = #Text_item::print + \override Staff.TimeSignature #'stencil = #ly:text-interface::print \override Staff.TimeSignature #'text = #oneHalfNoteTime \noclefs - \context Voice = "voice" \voice - \context Voice = "stich" \stich + \new Voice = "voice" \voice + \new Voice = "stich" \stich >> \lyricsto "voice" \new Lyrics { - \set minimumVerticalExtent = #'(2 . 2) + \override VerticalAxisGroup #'minimum-Y-extent = #'(2 . 2) \text } >> - \paper {} + \layout {} \midi {} }