lilypond-user
[Top][All Lists]
Advanced

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

Re: Spacing issue with magnifyStaff


From: David Kastrup
Subject: Re: Spacing issue with magnifyStaff
Date: Mon, 03 Sep 2018 19:28:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Malte Meyn <address@hidden> 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



reply via email to

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