lilypond-user
[Top][All Lists]
Advanced

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

Re: Vertically centering a song text.


From: Simon Albrecht
Subject: Re: Vertically centering a song text.
Date: Thu, 3 Dec 2015 12:35:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 03.12.2015 07:32, David Kastrup wrote:
tisimst<address@hidden>  writes:

>\skip in the Lyrics context is necessary for skipping beats without
>creating a melisma (which can be manually created with a single underscore
>for each beat in the melisma). I'm not sure why it's insensitive to the
>number after it. I have wondered the same thing, but that's the way it
>works at the moment.
Because the whole point of \addlyrics/\lyricsto is to ignore durations
and instead take items one-by-one irrespective of their length?


One _might_ do

%%%%%%%%%%%
\version "2.19.32"

% modified from ly/music-functions-init.ly
skip =
#(define-music-function (dur) ((ly:duration? (ly:make-duration 2)))
  (_i "Skip forward by @var{dur}.")
  (make-music 'SkipMusic
              'duration dur))

<<
  { 4 2 4 }
  \addlyrics { test \skip \default test }
>>
%%%%%%%%%%%

but it doesn’t make much of a difference. (It would if \skip\default would inherit a duration just like a note with implicit duration; is that possible via make-music?)

Yours, Simon



reply via email to

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