On Sep 21, 2011, at 8:12 AM, m...@apollinemike.com wrote:

> On Sep 21, 2011, at 1:53 AM, Trevor Daniels wrote:
> 
>> 
>> <m...@apollinemike.com>
>> Tuesday, September 20, 2011 8:31 PM
>> 
>>> I'm working on a piece that uses a fair bit of spoken text.
>>> 
>>> Does anyone have any suggestions as to:
>>> 
>>> (1) A better way to do this; and/or
>>> (2) If there is no better way, how to fix the horizontal spacing problem 
>>> above?
>> 
>> Mike, this might be an a more promising approach:
>> 
>> <<
>> \new Staff {
>> \repeat unfold 20 \skip 4
>> }
>> \new Lyrics
>> \with {
>>   \override VerticalAxisGroup
>>     #'nonstaff-relatedstaff-spacing = #'((padding . -3))
>> }
>> \lyricmode {
>> \skip 4 Attention4 K-Mart4 shoppers.4
>> \skip 4 Today's4 Blue4 Light4
>> special1*1/5 can1*1/5 be1*1/5 found1*1/5 in1*1/5
>> aisle4 seven.4 \skip 2
>> Aisle4 seven,4 K-Mart4 shoppers.4
>> }
>> \new Staff {
>> \repeat unfold 40 a'8
>> }
>>>> 
>> 
>> But being able to space a spoken phrase evenly between
>> two end points would be a welcome enhancement.
>> 
>> Trevor
>> 
> 
> This works very well - thanks!  I agree about you with the enhancement, but 
> I'd have to mull over how that'd work with horizontal spacing.
> 
> Cheers,
> MS

Just a follow up: I've been using this to achieve the above effect and it works 
like a charm.

\version "2.14.0"

bar = {
  \override TextScript #'extra-spacing-width = #'(0 . 0)
  \override TextScript #'Y-offset = #0
  \override TextScript #'outside-staff-priority = ##f
  \override TextScript #'self-alignment-X = #LEFT
  \override Stem #'transparent = ##t
  \override NoteHead #'transparent = ##t
  \override NoteHead #'no-ledgers = ##t
}

<<
\new Staff \with { \override StaffSymbol #'line-count = #1 \override BarLine 
#'bar-extent = #'(-1.5 . 1.5) }
  \repeat unfold 6 \relative c' { \bar c-\markup { i } c-\markup { hope } 
c-\markup { this } c-\markup { works } }
\new Staff \with { \override StaffSymbol #'line-count = #1 \override BarLine 
#'bar-extent = #'(-1.5 . 1.5) }
  \repeat unfold 8 \relative c' { \bar c-\markup { o } c-\markup { ooooooo } 
c-\markup { o } }
>>

I'll throw it up on the LSR.

Cheers,
MS


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to