lilypond-user
[Top][All Lists]
Advanced

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

Re: Rest in Lyrics


From: Thomas Morley
Subject: Re: Rest in Lyrics
Date: Mon, 3 Aug 2015 12:28:37 +0200

2015-08-03 9:51 GMT+02:00 David Kastrup <address@hidden>:
> Marc Hohl <address@hidden> writes:
>
>> Am 03.08.2015 um 02:53 schrieb David Kastrup:
>> [...]
>>> Alternatively:
>>>
>>> <<
>>>    \new Voice = "melody" { c''4 d'' e'' f'' }
>>>    \new Lyrics \with { \consists "Rest_engraver"
>>>                    \override Rest.Y-offset = 0.5
>>>                  }
>>>    \lyricsto "melody" {
>>>      c d \notemode { \parenthesize r4 } f
>>>    }
>>>>>
>>
>> Wow, that's cool!
>
> I was annoyed of having to replace the original \addlyrics with the
> whole \lyricsto machinery, so I've added
> <URL:https://code.google.com/p/lilypond/issues/detail?id=4537>.



At least in the minimal example

\layout {
  \context {
    \Lyrics
    \consists "Rest_engraver"
    \override Rest.Y-offset = 0.5
  }
}

\new Voice { c''4 d'' e'' f'' }
\addlyrics { c d \notemode { \parenthesize  r4 } f }

works as well.
If we allow this general approach for every Lyrics-context (and
ofcourse we do so), then it's a strong argument to allow \with for the
context created by \addlyrics as well.

Cheers,
  Harm



reply via email to

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