Malte Meyn <[email protected]> writes:
> Am 03.09.18 um 18:28 schrieb foxfanfare:
>> Is it possible to include those parameters in a small variable that I can
>> call in all my projects? Something like
>>
>> smallInstrument = {
>> fontSize = #(magnification->font-size 4/7)
>> \override StaffSymbol.staff-space = #4/7
>> }
>>
>>
>> ***
>> \new Staff \with {
>> \smallInstrument
>> }
>>
>> ... but this doesn't work!
> smallInstrument = \with { … }
>
> should do the trick :)
Also
smallInstrument = {
\set fontSize = #(magnification->font-size 4/7)
\override StaffSymbol.staff-space = #4/7
}
should work. Your solution is the cleaner one, but LilyPond should
be able interpret proper music containing \set/\override as well.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user