lilypond-user
[Top][All Lists]
Advanced

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

Re: text at the end of a multimeasure rest


From: Paul Scott
Subject: Re: text at the end of a multimeasure rest
Date: Mon, 4 Jan 2021 23:18:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0


On 1/4/21 10:29 PM, Josiah Boothby wrote:
I think I used to know how to do this but I can't find any evidence of it, but I'd like to do something that looks roughly like the following, where the text ("fine" or "D.C. al fine") are printed below the line:

|: /— 4 —/ :|: /— 4 —/ fine :|
|: /— 4 —/ :|: /— 4 —/ D.C. al fine :|

...while separating notes and time into separate variables. It seems like I should be able to do this by simply setting text to right-align:

Time = {
  \repeat volta 2 { s1*4 }
  \repeat volta 2 { s1*4_\markup\right-align{ fine } }
  \repeat volta 2 { s1*4 }
  \repeat volta 2 { s1*4_\markup\right-align{ D.C. al fine } }
}

Notes = {
  R1*4
  R1*4
  R1*4
  R1*4
}

...but that's clearly not how it works, since the text ends up being printed in the middle of the rest. Please remind me how to do this?

s1*3 s1_"fine"

ends up breaking the multimeasure rest, so is suboptimal.


This is one of the pieces of code I have defined in  my common file that I load with all of my code:


endMarkDown = {
  \once \override Score.RehearsalMark #'self-alignment-X = #right
  \once \override Score.RehearsalMark
  #'break-visibility = #begin-of-line-invisible
  \once \override Score.RehearsalMark #'direction = #DOWN
  \once \override Score.RehearsalMark #'font-size = #0
}

(The above could probably better but It works for me.

Then:

R1*4 \endMarkDown \mark \markup(D.S. al Fine)

I also have endMark which puts the text above.

HTH,

Paul





reply via email to

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