Re: Help with satb.ly and repeated lyrics

2023-07-20 Thread Mark Probert
You wrote:
> 
> use the alignBelowContext property to tell Lilypond where to put the Lyrics:
> 
Thanks, Valentin!

I see how that is used now (section 5.1.7).

Much appreciated

 ..mark.



Re: Help with satb.ly and repeated lyrics

2023-07-20 Thread Valentin Petzel
Hello Mark,

use the alignBelowContext property to tell Lilypond where to put the Lyrics:

\version "2.24"

SopranoMusic = \relative {
  \repeat volta 2 {a' a a a }
}
AltoMusic = \relative { f' f f f }
TenorMusic = \relative { a a a a }
BassMusic = \relative { f f f f }

VerseOne = \lyricmode {
  \set stanza = "1."
  <<
{ Words to verse one }
\new Lyrics \with { alignBelowContext = "SopranoVerseOne" } {
  \set associatedVoice = "VerseOne"
  Re -- peat words here
}
  >>
}

VerseTwo = \lyricmode { \set stanza = "2." a b c d }

TwoVoicesPerStaff = ##t
\include "satb.ly"

Cheers,
Valentin

Am Donnerstag, 20. Juli 2023, 03:45:40 CEST schrieb Mark Probert:
> Hi.
> 
> I am setting a hymn, using the satb.ly template, that has an A1A2B
> structure where there are different lyrics for A1 and A2 and the same
> music. My first attempt is:
> 
> 
> 
> \version "2.24"
> 
> SopranoMusic = \relative {
>   \repeat volta 2 {a' a a a }
> }
> AltoMusic = \relative { f' f f f }
> TenorMusic = \relative { a a a a }
> BassMusic = \relative { f f f f }
> 
> VerseOne = \lyricmode {
>   \set stanza = "1."
>   <<
> { Words to verse one }
> \new Lyrics {
>   \set associatedVoice = "VerseOne"
>   Re -- peat words here
> }
> 
> }
> 
> TwoVoicesPerStaff = ##t
> \include "satb.ly"
> 
> 
> 
> However the repeat lyrics are not where I expect them (they are below
> the staff not below the other lyrics. Given that there are multiple
> verses this is not really going to work.
> 
> Can someone tell me the correct way of doing this kind of setting?
> 
> TIA
> 
>  ..mark.



signature.asc
Description: This is a digitally signed message part.


Help with satb.ly and repeated lyrics

2023-07-19 Thread Mark Probert


Hi.

I am setting a hymn, using the satb.ly template, that has an A1A2B 
structure where there are different lyrics for A1 and A2 and the same 
music. My first attempt is:



\version "2.24"

SopranoMusic = \relative {
  \repeat volta 2 {a' a a a }
}
AltoMusic = \relative { f' f f f }
TenorMusic = \relative { a a a a }
BassMusic = \relative { f f f f }

VerseOne = \lyricmode {
  \set stanza = "1."
  <<
{ Words to verse one }
\new Lyrics {
  \set associatedVoice = "VerseOne"
  Re -- peat words here
}
  >>
}

TwoVoicesPerStaff = ##t
\include "satb.ly"



However the repeat lyrics are not where I expect them (they are below 
the staff not below the other lyrics. Given that there are multiple 
verses this is not really going to work.

Can someone tell me the correct way of doing this kind of setting?

TIA

 ..mark.