lilypond-user
[Top][All Lists]
Advanced

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

Re: staff consisting of lyrics with bar lines


From: Alan Shaw
Subject: Re: staff consisting of lyrics with bar lines
Date: Mon, 29 Jun 2009 04:45:59 -0700 (PDT)

I would need to put it where it didn't affect all lyrics, since there are
"normal" staves with lyrics in the same score, and I don't want those lyrics
to have their own bar lines.

One small problem I have found with the first solution is that hyphens don't
get adjusted vertically. I remember seeing something about this problem
somewhere, so I can probably track down a fix for it. It's not a big deal
because I don't use many hyphens in this spoken part; I'm mainly concerned
with showing where words fall with respect to the main beats, not with each
syllable and beat subdivision. But I occasionally still need a hyphen, when
a polysyllabic word crosses a bar line.

I had thought earlier that maybe a Devnull approach would work, but it
seemed like it might not be flexible enough.

Anyway, thanks for the suggestions.


 

Mats Bengtsson-4 wrote:
> 
> Isn't it easier to add the Bar_engraver to the default Lyrics context 
> definition:
> 
> \layout{
>   \context{
>     \Lyrics
>     \consists Bar_engraver
>     \override BarLine #'bar-size = #4
>   }
> }
> 
> You still have to adjust the vertical position, since the center of the 
> bar lines will be aligned with the baseline of the lyrics, whereas you  
> probably want them aligned with the vertical center of the lyrics (which 
> may be different if you only have characters that extend downwards, like 
> "pgj" or characters that extend upwards, like "lhkfbd".
> 
>    /Mats
> 
> Jonathan Kulp wrote:
>> On Fri, Jun 26, 2009 at 11:42 PM, Alan Shaw <address@hidden 
>> <mailto:address@hidden>> wrote:
>>
>>
>>     I am trying to make a staff consisting only of lyrics separated by
>>     bar lines.
>>     I've made a Rhythmic Staff with number of lines set to 0, removed the
>>     time-signature, used hideNotes on the notes the lyrics are
>>     attached to, and
>>     used hidden rests. The result is close to what I want, but I can't
>>     seem to
>>     get the lyrics centered vertically between the bar lines (that is,
>>     right in
>>     the center of the staff itself if it were visible). The best I can
>> do,
>>     fiddling with the numbers in minimum-Y-extent for the
>>     VerticalAxisGroup, is
>>     get them to barely overlap the lower portion of the space between
>>     the bars.
>>
>>     Any suggestions? I've searched this forum and the documentation
>> pretty
>>     thoroughly. Thanks.
>>
>>     Alan Shaw
>>
>>
>> extra-offset is your friend.  Add this to your code:
>>
>> \override LyricText #'extra-offset = #'( 0.0 . 5.6)
>>
>> I just changed the offset value from the following snippet from the 
>> Lilypond Snippet Repository:
>>
>> http://lsr.dsi.unimi.it/LSR/Item?id=537
>>
>> HTH,
>>
>> Jon
>>
>> -- 
>> Jonathan Kulp
>> http://www.jonathankulp.com
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>   
> 
> -- 
> =============================================
>       Mats Bengtsson
>       Signal Processing
>       School of Electrical Engineering
>       Royal Institute of Technology (KTH)
>       SE-100 44  STOCKHOLM
>       Sweden
>       Phone: (+46) 8 790 8463                         
>         Fax:   (+46) 8 790 7260
>       Email: address@hidden
>       WWW: http://www.s3.kth.se/~mabe
> =============================================
> 
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/staff-consisting-of-lyrics-with-bar-lines-tp24230425p24252703.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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