lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

\magnifyStaff for dynamics?


From: Mason Hock
Subject: \magnifyStaff for dynamics?
Date: Wed, 20 Dec 2017 17:03:33 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

\version "2.19.63"
\score {
  <<
    \new Staff \with { \magnifyStaff #(magstep -3) }
    \relative c' { c c c c }
    \new Dynamics \with { \override VerticalAxisGroup.staff-affinity = #UP }
    { s\p\< s s s\f}
  >>
}

shrinks the music staff as expected but does not shrink the dynamics staff.

\version "2.19.63"
\score {
  <<
    \new Staff \with { \magnifyStaff #(magstep -3) }
    \relative c' { c c c c }
    \new Dynamics \with { \override VerticalAxisGroup.staff-affinity = #UP \magnifyStaff #(magstep -3) }
    { s\p\< s s s\f}
  >>
}

gives

In procedure ly:context-property in _expression_ (ly:context-property Staff (quote magnifyStaffValue)):

/home/mason/.guix-profile/share/lilypond/2.19.63/scm/music-functions.scm:2513:19: Wrong type argument in position 1 (expecting Context): #f

Exited with return code 1.


Is there a way to magnify the dynamics staff by the same factor as the music staff?

Thanks,

Mason

reply via email to

[Prev in Thread] Current Thread [Next in Thread]