lilypond-user
[Top][All Lists]
Advanced

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

Re: Text above a vertically shifted MultiMeasureRest


From: Thomas Morley
Subject: Re: Text above a vertically shifted MultiMeasureRest
Date: Thu, 11 Jun 2020 19:03:11 +0200

Am Do., 11. Juni 2020 um 18:52 Uhr schrieb Paolo Prete <paolopr976@gmail.com>:
>
> Hello,
>
> How can I put a text above a MultiMeasureRest, and not above the staff? This 
> would be useful for cross-staff MultiMeasureRests; for them I normally use 
> the Y-offset property in order to shift them down, as shown in the below code:
>
> { \override MultiMeasureRest.Y-offset = #-5 \time 2/4 R2^\markup { \italic 
> "ad lib." } }
>
> Thanks!

{
  \override MultiMeasureRest.Y-offset = #-5
  %% probably apply padding or Y-offset
  %\override MultiMeasureRestText.padding = 2
  \override MultiMeasureRestText.staff-padding = #'()
  \override MultiMeasureRestText.outside-staff-priority = #'()
  \time 2/4
  R2^\markup { \italic "ad lib." }
}

Cheers,
  Harm



reply via email to

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