lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics inside the staff


From: Jan-Peter Voigt
Subject: Re: Lyrics inside the staff
Date: Wed, 20 Oct 2010 09:47:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

Hi ZB,

I did a short "hack" to place the lyrics on top/across the staff:

--snip--

\version "2.12.3"

% a short hack to place Lyrics on top of the staff
<<
  \new Staff <<
    \new Voice = "voc" \relative c' { a bes c8 b c4 }
>>
  \new Lyrics \with {
    % to place something on top of the staff, it may not use use any space
    \override VerticalAxisGroup #'Y-extent = #'(0 . 0)
    % now we shift Lyric text *and* extenders *and* hyphens.
% the amount here is found by trial and error - there's probably a better way to align it vertically ...
    \override LyricText #'extra-offset = #'(0 . 8)
    \override LyricExtender #'extra-offset = #'(0 . 8)
    \override LyricHyphen #'extra-offset = #'(0 . 8)
  } \lyricsto "voc" { La la -- la __ _ la }
>>

--snip--

Is this what you're looking for?

Regards,
Jan-Peter.


On 20.10.2010 00:24, zbigb wrote:
Hello,

I couldn't find anything useful re: placing the lyrics inside the staff -
i.e. shifting vertically
is it possible?

thanks,
zb




reply via email to

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