lilypond-user
[Top][All Lists]
Advanced

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

\magnifyStaff for a staff group?


From: Kieren MacMillan
Subject: \magnifyStaff for a staff group?
Date: Fri, 5 May 2017 09:18:03 -0400

Hello all,

Please consider the following snippet, the first part of which works as 
expected and the second part of which fails:

%%  SNIPPET BEGINS
\version "2.19.59"

\score {
  <<
    \new Staff c''1
    \new PianoStaff
    <<
      \new Staff \with { \magnifyStaff #5/7 } c''1
      \new Staff \with { \magnifyStaff #5/7 } c''1
    >>
  >>
}

\score {
  <<
    \new Staff c''1
    \new PianoStaff \with { \magnifyStaff #5/7 }
    <<
      \new Staff c''1
      \new Staff c''1
    >>
  >>
}
%%  SNIPPET ENDS

Looking in music-functions-init.ly, it’s easy to work out *why* the second 
score throws an error. My questions are:

1. Is there a simple (e.g., single command) way to change the size of a whole 
staff group?

2. Regardless of whether such a thing already exists, is it somehow preferable 
to keep the magnification work at the Staff level, or would some syntactic 
sugar (e.g., \magnifyGroup) be a nice feature?

Thanks,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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