On Thu, Jun 28, 2018 at 1:22 PM Karlin High <karlinh...@gmail.com> wrote:

> On Thu, Jun 28, 2018 at 2:15 PM, Flaming Hakama by Elaine
> <ela...@flaminghakama.com> wrote:
> >
> > I was unfamiliar with the next one, which might do the trick:
> >
> > To set the staff size for a single score within a book, use
> > layout-set-staff-size inside that score’s \layout block:
> >
> > \score {
> >   …
> >   \layout {
> >     #(layout-set-staff-size 14)
> >   }
> > }
>
> I read the OP as saying that layout-set-staff-size wasn't getting the
> desired result.
>
> <http://lists.gnu.org/archive/html/lilypond-user/2018-06/msg00554.html>
>
> "I found in the documentation that you should use
> #(layout-set-staff-size) for individual parts. Problem with that is
> that doing this keeps the staff at the same global size and only makes
> the other elements of the staff larger."
>
> And on closer examination, it looks like the code I posted is doing
> the same thing that layout-set-staff-size does.
>
> layout-set-staff-size
> seems to do a conversion on the staff size value passed to it, then pass
> that to
> layout-set-absolute-staff-size
> which passes it with the (current-module) to
> layout-set-absolute-staff-size-in-module
>
> So if layout-set-staff-size isn't working for the OP, the code I
> posted likely won't work either. Crimson Sunrise, could you verify
> this? Check the PDF I posted.
>
> That leaves the OP's question: what exactly is set-global-staff-size
> doing that the other commands are not? Creating a new top-level \paper
> context that supersedes whatever existed before?
> --
> Karlin High
> Missouri, USA
>

I'm not sure that the OP ever posted an mwe attempting to use
layout-set-staff-size.
Perhaps the OP didn't quite have the syntax right?

When I tried adding it to the posted mwe, it does seem to do the trick:


\version "2.19.81"

#(set-default-paper-size "a6")

fluteI  = { \repeat unfold 20 { c''8 e'' g'' e'' } \bar "|." }
fluteII = { \repeat unfold 20 { c'4 g' } \bar "|." }

\bookpart {
    \header { instrument = "Full Score" }
    \score {
        \new StaffGroup <<
            \new Staff \with {
                instrumentName = "Fl. 1"
            } \fluteI
            \new Staff \with {
                instrumentName = "Fl. 2"
            } \fluteII
        >>
        \layout {
            #(layout-set-staff-size 14)
        }
    }
}

\bookpart {
    \header { instrument = "Flute 1" }
    \score {
        \new Staff \fluteI
    }
}

\bookpart {
    \header { instrument = "Flute 2" }
    \score {
        \new Staff \fluteII
    }
}



Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to