Re: Setting staff size for lilypond-book in Lyx
Perfect, thank you! Kind regards, Joshua On Thu, 03 Jan 2013 07:09:00 -0500 Julien Rioux jri...@lyx.org wrote: On 30/12/2012 4:47 PM, Joshua Stutter wrote: Dear all, My Lilypond snippet is too big. Setting #(set-global-staff-size 10) in the Lilypond source does nothing to the output, and #(layout-set-staff-size 10) causes an unnamed error during compilation. How do I change the staff size for different Lilypond snippets? Thanks in advance. Insert the following as the very first thing inside the lilypond inset: [staffsize=10] You can add other options by separating them by a comma, for example: [staffsize=10,verbatim] A list of options is available in the LilyPond documentation at http://www.lilypond.org/doc/v2.16/Documentation/usage-big-page#music-fragment-options If you need this for every single lilypond inset, and you have so many of them that adding the above to each of them would be untrackable, you could make your own customized version of the lilypond.module file. See Help Customization, especially read about LatexParam under Section 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module to your user directory (usually under ~/.lyx/layouts/) and in the relevant place adding the line: LatexParam staffsize=10 Hope this helps, Cheers, Julien
Re: Setting staff size for lilypond-book in Lyx
Perfect, thank you! Kind regards, Joshua On Thu, 03 Jan 2013 07:09:00 -0500 Julien Rioux jri...@lyx.org wrote: On 30/12/2012 4:47 PM, Joshua Stutter wrote: Dear all, My Lilypond snippet is too big. Setting #(set-global-staff-size 10) in the Lilypond source does nothing to the output, and #(layout-set-staff-size 10) causes an unnamed error during compilation. How do I change the staff size for different Lilypond snippets? Thanks in advance. Insert the following as the very first thing inside the lilypond inset: [staffsize=10] You can add other options by separating them by a comma, for example: [staffsize=10,verbatim] A list of options is available in the LilyPond documentation at http://www.lilypond.org/doc/v2.16/Documentation/usage-big-page#music-fragment-options If you need this for every single lilypond inset, and you have so many of them that adding the above to each of them would be untrackable, you could make your own customized version of the lilypond.module file. See Help Customization, especially read about LatexParam under Section 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module to your user directory (usually under ~/.lyx/layouts/) and in the relevant place adding the line: LatexParam staffsize=10 Hope this helps, Cheers, Julien
Re: Setting staff size for lilypond-book in Lyx
Perfect, thank you! Kind regards, Joshua On Thu, 03 Jan 2013 07:09:00 -0500 Julien Riouxwrote: > On 30/12/2012 4:47 PM, Joshua Stutter wrote: > > Dear all, > > > > My Lilypond snippet is too big. Setting #(set-global-staff-size 10) in the > > Lilypond source does nothing to the output, and #(layout-set-staff-size 10) > > causes an unnamed error during compilation. How do I change the staff size > > for > > different Lilypond snippets? > > > > Thanks in advance. > > > > > > Insert the following as the very first thing inside the lilypond inset: > > [staffsize=10] > > You can add other options by separating them by a comma, for example: > > [staffsize=10,verbatim] > > A list of options is available in the LilyPond documentation at > http://www.lilypond.org/doc/v2.16/Documentation/usage-big-page#music-fragment-options > > If you need this for every single lilypond inset, and you have so many > of them that adding the above to each of them would be untrackable, you > could make your own customized version of the lilypond.module file. See > Help > Customization, especially read about LatexParam under Section > 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module > to your user directory (usually under ~/.lyx/layouts/) and in the > relevant place adding the line: > > LatexParam "staffsize=10" > > Hope this helps, > Cheers, > Julien