[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Forcing a DynamicText to appear inside the staff
From: |
David Kastrup |
Subject: |
Re: Forcing a DynamicText to appear inside the staff |
Date: |
Wed, 10 Aug 2016 22:27:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Thomas Weber <address@hidden> writes:
> Am 10.08.2016 um 20:33 schrieb Robin Bannister:
>> Thomas Weber wrote:
>>> But Lilypond insist on keeping the dynamic outside of the staff.
>>
>> Try
>> {
>> \override Staff.DynamicLineSpanner #'outside-staff-priority = ##f
>> \override Staff.DynamicText #'X-offset = -4
>> \override Staff.DynamicLineSpanner #'Y-offset = 0
>> c' \f
>> }
>
>
> Great, that works! What does ##f actually stand for?
"false". The Scheme notation for false is #f, and to get from LilyPond
to Scheme requires another # . You could also write #(< 1 0) with the
same result: (< 1 0) evaluates to false in Scheme.
The normal value for outside-staff-priority is a number determining how
material outside of the staff is to be ordered. Setting it to false
instructs LilyPond to not place it outside the staff at all.
--
David Kastrup