\magnifyStaff for dynamics?
\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 <1>: 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \magnifyStaff for dynamics?
On 12/20/2017 8:03 PM, Mason Hock wrote: \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} >> } Is there a way to magnify the dynamics staff by the same factor as the music staff? Thanks, Mason You could use something like this to change the font of the dynamics too? << \new Staff { \relative c'' { \dynamicDown c8\ff c c c c c c c } } \new Staff \with { *fontSize = #-3 \override StaffSymbol.staff-space = #(magstep -3)* } { \clef bass c8 c c c c\f c c c } http://lsr.di.unimi.it/LSR/Item?id=399 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re:\magnifyStaff for dynamics?
Resending this with the correct subject line. Thanks for your response. For dynamics within the staff that isn't necessary, as \magnifyStaff works fine. \version "2.19.63" \score { << \new Staff \with { \magnifyStaff #(magstep -2) } \relative c' { c\p\< c c c\f } >> } The issue is changing the size of a separate dynamics staff. Changing the font size was my solution in 2.18, \version "2.18.2" << \new Staff \with { fontSize = -3 \override StaffSymbol.staff-space = #(magstep -3) \override StaffSymbol.thickness = #(magstep -3) } \relative c'' { c4 c c c} \new Dynamics \with { fontSize = -3 \override Hairpin.height = #(magstep -3) \override Hairpin.thickness = #(magstep -3) } { s4\p\< s s s\f } >> but I was hoping to use 2.19's \magnifyStaff to simplify this. Mason Date: Wed, 20 Dec 2017 21:27:38 -0500 From: Ben To: lilypond-user@gnu.org Subject: Re: \magnifyStaff for dynamics? Message-ID: <6c63c15d-9bd7-8893-d58a-24da56f09...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" You could use something like this to change the font of the dynamics too? << \new Staff { \relative c'' { \dynamicDown c8\ff c c c c c c c } } \new Staff \with { *fontSize = #-3 \override StaffSymbol.staff-space = #(magstep -3)* } { \clef bass c8 c c c c\f c c c } http://lsr.di.unimi.it/LSR/Item?id=399 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user