Re: Lyrics placement

2018-09-24 Thread Vaughan McAlley
On Mon, 24 Sep 2018 at 05:31, Guy Stalnaker  wrote:

> And THEN I find this:
>
> http://lsr.di.unimi.it/LSR/Item?id=781
>
> LOL
>
> I've already redone the code to swap the voices, but I'll investigate this
> snippet to see if I can learn how it works.
>
> Guy
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


Hmmm… the LSR page says:

> The solution is to create one or more named lyrics context(s) with
>
> \new Lyrics = "lyr1"
> \new Lyrics = "lyr2"
> …
>
> *before* they are filled with the lyrics text.
>
> It is noteable that the definition of the contexts *must * use \new …
> while later references *must * use \context …
>
 …then the snippet never has any \new Lyrics. I can’t work this snippet out
at all.

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


Re: Lyrics placement

2018-09-23 Thread Guy Stalnaker
And THEN I find this:

http://lsr.di.unimi.it/LSR/Item?id=781

LOL

I've already redone the code to swap the voices, but I'll investigate this
snippet to see if I can learn how it works.

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


Re: Lyrics placement

2018-09-23 Thread Guy Stalnaker
Thank you both. I'm afraid I don't know enough about LP context to ferret
out if that is the issue. I was hoping that my reading of the LP Learning
Manual had the proper way to do this instantiation of temporary lyrics in
the temporary polyphonic context, but nope. Phil's suggestion is what I've
done.

Guy

Guy Stalnaker
jimmyg...@gmail.com


On Sun, Sep 23, 2018 at 9:08 AM Phil Holmes  wrote:

> - Original Message -
> From: "Kieren MacMillan" 
> To: "Guy Stalnaker" 
> Cc: "Lilypond-User Mailing List" 
> Sent: Sunday, September 23, 2018 2:51 PM
> Subject: Re: Lyrics placement
>
>
> > Hi Guy,
> >
> > Does your definition of ChoirStaff accept Lyrics?
> > That’s usually the reason I see for "jumping" contexts…
> >
> > Hope that helps!
> > Kieren.
> > 
> >
> > Kieren MacMillan, composer
>
>
> Alternatively, it might be that the temporary voice has disappeared prior
> to
> the lyrics being placed.  Guy - you might try making the upper voice the
> temporary one and assigning the lyrics to the permanent voice.
>
> --
> Phil Holmes
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics placement

2018-09-23 Thread Phil Holmes
- Original Message - 
From: "Kieren MacMillan" 

To: "Guy Stalnaker" 
Cc: "Lilypond-User Mailing List" 
Sent: Sunday, September 23, 2018 2:51 PM
Subject: Re: Lyrics placement



Hi Guy,

Does your definition of ChoirStaff accept Lyrics?
That’s usually the reason I see for "jumping" contexts…

Hope that helps!
Kieren.


Kieren MacMillan, composer



Alternatively, it might be that the temporary voice has disappeared prior to 
the lyrics being placed.  Guy - you might try making the upper voice the 
temporary one and assigning the lyrics to the permanent voice.


--
Phil Holmes 



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


Re: Lyrics placement

2018-09-23 Thread Kieren MacMillan
Hi Guy,

Does your definition of ChoirStaff accept Lyrics?
That’s usually the reason I see for "jumping" contexts…

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Lyrics placement

2018-09-22 Thread Guy Stalnaker
All,

Every so often LP does something so unexpected I have no idea how to
trouble-shoot it. I have a score with this structure (simplified - this
structure is a Frescobaldi standard SATB with piano reduction Wizard
output):

%Voices
/soprano
/also
/tenor
/bass %Temp lyrics (see below) here
%keyboard
/pRHTop
/pRHBottom
/pLHTop
/pRHBottom
%staves
sopranoStaff = {
  \new Staff { /sopraon }
}
altoStaff = {
  \new Staff { /alto }
}
tenorStaff = {
  \new Staff { /tenor }
}
bassStaff = {
  \new Staff { /bass }
}
pianoReduction = \new PianoStaff <<
 {
<<
  \new Voice = "1" \rightHandTop }
  \new Voice = "2" \rightHandBottom }
>>
  }
  \new Staff {
\clef bass
<<
  \new Voice = "1"  \leftHandTop }
  \new Voice = "2"   \leftHandBottom }
>>
  }
>>
%score
\score {
  \new ChoirStaff <<
\sopranoStaff
\altoStaff
\tenorStaff
\bassStaff
\pianoReduction
  >>
  \layout { }
  \midi { }
}

I have a temp polyphonic voice with temp lyrics in the VOICE bass part for
the last four measures of the work:

  << { \voiceOne
   fs8\!\p fs fs fs |
   g2 ~ |
   g4 g |
   fs2 \fermata
 }
 { <<
   \new Voice = "bassTemp" {
   \voiceTwo
   b,8\p b, b, b, |
   as,4 as,  |
   b,8 g d cs |
   b,2 \fermata
   }
   \new Lyrics \lyricsto "bassTemp" {  O mag -- num mys -- ter -- i --
um mys -- ter -- i -- um }
   >>
 }
  >> \oneVoice

Engraving produces no errors, but LP puts the the lyrics for "bassTemp"
below the piano reduction staff and not below the voice staff where this
code is. I use "\new Voice = "bassTemp"" nowhere else in the code.

[image: image.png]

Any ideas on how I can code this so avoid such an error in lyric placement
is appreciated.

Guy Stalnaker
jimmyg...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyrics placement change from 2.18 to 2.19 ?

2015-10-16 Thread Johannes Waldmann
On 10/09/2015 06:57 AM, David Kastrup wrote:

> ...

thanks, that's a very useful code snippet,
and it solves my immediate problem.

- Johannes.


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


Re: lyrics placement change from 2.18 to 2.19 ?

2015-10-09 Thread David Kastrup
Johannes Waldmann <johannes_waldm...@web.de> writes:

> Hi.
>
> The following snippet is interpreted
> differently by 2.18.* and 2.19.* :
>
> \score {
> <<
> \new Staff { \key a \minor \relative c'' {
>   a1   \new Voice { c2 d2 } e1
> }}
> \addlyrics  { foo bar }
>>>
> }
>
> notes are displayed identically,
> but lyrics placement is changed:
>
> with 2.18.2,  foo -> a1, bar -> e1,
> with 2.19.27, foo -> a1, bar -> c2.
>
> This breaks a bunch of my scores (so I don't like it).
> Is this a bug? Or a bug-fix?

If you put \addlyrics to a staff, how can you expect one voice in the
staff to be relevant for the lyrics and another not?  LilyPond did not
do anything sensible here.  Try

\score {
  \new Staff { \key a \minor
	   \relative c'' {
		 a1   \new Voice { c2 d2 } e1
	   }
	   \addlyrics { foo bar }
	 }
}

> What is the relevant section of documentation?

What is the relevant section of documentation that would have promised
your version to work?

-- 
David Kastrup
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


lyrics placement change from 2.18 to 2.19 ?

2015-10-08 Thread Johannes Waldmann
Hi.

The following snippet is interpreted
differently by 2.18.* and 2.19.* :

\score {
<<
\new Staff { \key a \minor \relative c'' {
  a1   \new Voice { c2 d2 } e1
}}
\addlyrics  { foo bar }
>>
}

notes are displayed identically,
but lyrics placement is changed:

with 2.18.2,  foo -> a1, bar -> e1,
with 2.19.27, foo -> a1, bar -> c2.

This breaks a bunch of my scores (so I don't like it).
Is this a bug? Or a bug-fix?
What is the relevant section of documentation?

Thanks - J.W.

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


Re: lyrics placement change from 2.18 to 2.19 ?

2015-10-08 Thread Simon Albrecht

Hello Johannes, and welcome to the list.

On 09.10.2015 00:02, Johannes Waldmann wrote:

Hi.

The following snippet is interpreted
differently by 2.18.* and 2.19.* :

\score {
<<
\new Staff { \key a \minor \relative c'' {
   a1   \new Voice { c2 d2 } e1
}}
\addlyrics  { foo bar }
}

notes are displayed identically,
but lyrics placement is changed:

with 2.18.2,  foo -> a1, bar -> e1,
with 2.19.27, foo -> a1, bar -> c2.

This breaks a bunch of my scores (so I don't like it).
Is this a bug? Or a bug-fix?


Most likely so. I suspect the fix for issue 2010 
<http://sourceforge.net/p/testlilyissues/issues/2010/> or something in 
that context.



What is the relevant section of documentation?


It’s relevant that \addlyrics has never been working reliably with any 
but the _most_ simple situations. So you were on shifting ground anyway. 
And if you start creating new contexts within the music expression to 
which \addlyrics is applied, it’s most certainly better to use \lyricsto 
and named contexts.
If you have further, more specific questions, feel free to post code 
examples and ask again.


Yours, Simon

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


Re: Lyrics placement

2012-10-29 Thread Trevor Daniels

Guy Stalnaker wrote Monday, October 29, 2012 2:37 AM


 Hello everyone -- my first question to this list.

Hi, welcome!

 I have looked over the Learning Guide and the Notation Reference for 
 help in telling Lilypond to put S1 lyrics above the staff. Yet I'm 
 stymied by differences in terminology. The Learning Guide uses 
 /addlyrics in its examples (as does my file) while the Notation 
 Reference uses /new lyrics /lyricsto. When the Notatation Reference 
 shows examples on how to modify lyric placement, it shows two different 
 examples that I cannot map to my use of /addlyrics. I know it's a 
 context thing, but I cannot grok what's supposed to happen.

\addlyrics is useful for simple situations but it does not have the
flexibility available when the lyrics context is specified explicitly.
In particular \addlyrics cannot be used if the vertical placement
of the lyrics needs to be changed, as the lyrics context needs
to be explicitly exposed to do this.

The method to use is outlined in
http://www.lilypond.org/doc/v2.17/Documentation/notation/techniques-specific-to-lyrics#placing-lyrics-vertically

[snip score]

 This works perfectly with lyrics for sopranoVoiceOne and places them 
 below the staff aligned with the notes. How to I get the lyrics above 
 the staf if I use /addlyrics? I've tried futzing with modifying 
 /addlyrics to /new lyrics, etc. but that creates errors on compiling.

\new Lyrics is definitely required (with a capital L) as the examples show.
Try this again, and come back to the list with more specifics of the
compilation errors, if they persist.

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


Re: Lyrics placement

2012-10-29 Thread Guy Stalnaker
Thanks Trevor -- I had to completely rework how the score was described 
and, and you said, jettison /addlyrics. The template will be different 
now, but the lyrics are indeed above the staff where I want them to be. 
The issue was with using   in a nested way to get SopranoOne and 
SopranoTwo music on the same stave with lyrics for one above and lyrics 
for the other below:


\context Staff = soprano 
  
\context Voice = sopranoVoiceOne {
  \sopranoVoiceOne
  } % Voice
\lyricsto sopranoVoiceOne
  \new Lyrics \with { alignAboveContext = soprano } \lyricmode {
  \verseSopranoVoiceOne
} % Lyrics
   %SopOne
  
\context Voice = sopranoVoiceTwo {
  \sopranoVoiceTwo
  } % Voice
\lyricsto sopranoVoiceTwo \new Lyrics \lyricmode {
  \verseSopranoVoiceTwo
  } % Lyrics 1
   % SopTwo


That bit works.

Guy

On 10/29/2012 03:27 AM, Trevor Daniels wrote:


Guy Stalnaker wrote Monday, October 29, 2012 2:37 AM



Hello everyone -- my first question to this list.


Hi, welcome!


I have looked over the Learning Guide and the Notation Reference for
help in telling Lilypond to put S1 lyrics above the staff. Yet I'm
stymied by differences in terminology. The Learning Guide uses
/addlyrics in its examples (as does my file) while the Notation
Reference uses /new lyrics /lyricsto. When the Notatation Reference
shows examples on how to modify lyric placement, it shows two different
examples that I cannot map to my use of /addlyrics. I know it's a
context thing, but I cannot grok what's supposed to happen.


\addlyrics is useful for simple situations but it does not have the
flexibility available when the lyrics context is specified explicitly.
In particular \addlyrics cannot be used if the vertical placement
of the lyrics needs to be changed, as the lyrics context needs
to be explicitly exposed to do this.

The method to use is outlined in
http://www.lilypond.org/doc/v2.17/Documentation/notation/techniques-specific-to-lyrics#placing-lyrics-vertically

[snip score]


This works perfectly with lyrics for sopranoVoiceOne and places them
below the staff aligned with the notes. How to I get the lyrics above
the staf if I use /addlyrics? I've tried futzing with modifying
/addlyrics to /new lyrics, etc. but that creates errors on compiling.


\new Lyrics is definitely required (with a capital L) as the examples show.
Try this again, and come back to the list with more specifics of the
compilation errors, if they persist.

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



--

There is only love, and then oblivion. Love is all we have
to set against hatred. (paraphrased) Ian McEwan

Guy Stalnaker
jimmyg...@gmail.com

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


Lyrics placement

2012-10-28 Thread Guy Stalnaker

Hello everyone -- my first question to this list.

I am new to Lilypond and have been working with it over the past week or 
so. I think I have notation well in hand and lyrics. I'm using 
Frescobaldi for entering data and running Lilypond against the .ly file.


I have all the music coded for a new SSATBB choral piece. I want the 
lyrics for the SopranoOne part to be above the staff with the lyrics for 
SopranoTwo below. Naturally, Lilypond puts the lyrics below the staff 
per the default.


I have looked over the Learning Guide and the Notation Reference for 
help in telling Lilypond to put S1 lyrics above the staff. Yet I'm 
stymied by differences in terminology. The Learning Guide uses 
/addlyrics in its examples (as does my file) while the Notation 
Reference uses /new lyrics /lyricsto. When the Notatation Reference 
shows examples on how to modify lyric placement, it shows two different 
examples that I cannot map to my use of /addlyrics. I know it's a 
context thing, but I cannot grok what's supposed to happen. I'm building 
the score with variables thus:


quote

sopranoVoicePart = \new Staff \with {

instrumentName = Soprano

midiInstrument = choir aahs

} 

{ \sopranoVoiceOne }

\addlyrics { \verseSopranoVoiceOne }

{ \sopranoVoiceTwo }

\addlyrics { \verseSopranoVoiceTwo }



altoVoicePart = \new Staff \with {

instrumentName = Alto

midiInstrument = choir aahs

} { \altoVoice }

\addlyrics { \verseAltoVoice }


tenorVoicePart = \new Staff \with {

instrumentName = Tenor

midiInstrument = choir aahs

} { \clef treble_8 \tenorVoice }

\addlyrics { \verseTenorVoice }


bassVoicePart = \new Staff \with {

instrumentName = Bass

midiInstrument = choir aahs

} { \clef bass \bassVoice }

\addlyrics { \verseBassVoice }

\score {



\sopranoVoicePart

\altoVoicePart

\tenorVoicePart

\bassVoicePart



\layout { }

\midi { }
/quote


This works perfectly with lyrics for sopranoVoiceOne and places them 
below the staff aligned with the notes. How to I get the lyrics above 
the staf if I use /addlyrics? I've tried futzing with modifying 
/addlyrics to /new lyrics, etc. but that creates errors on compiling.


Any help is appreciated.

Guy

--

There is only love, and then oblivion. Love is all we have
to set against hatred. (paraphrased) Ian McEwan

Guy Stalnaker, I^2@DOIT, 1210 West Dayton Street, Room 3209 CSS, Madison
WI 53719-1220, jstal...@wisc.edu, work 608.263.8035, cell 608.235.4718,
fax 608.265.6681, page page-...@watchdog.doit.wisc.edu

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


Re: Bug in lyrics placement in mensural music?

2012-09-28 Thread Phil Holmes
- Original Message - 
From: Trevor Daniels t.dani...@treda.co.uk
To: Phil Holmes em...@philholmes.net; LilyPond User Group 
lilypond-user@gnu.org

Sent: Thursday, September 27, 2012 7:38 PM
Subject: Re: Bug in lyrics placement in mensural music?




Phil Holmes wrote Thursday, September 27, 2012 5:02 PM



The code below produces the image attached.  As can be seen, using a
StaffGroup with mensural staves places the lyrics above the top stave, 
and I
can't find an over-ride that gets them in the proper place.  I _think_ 
this

must be a bug, but wondering if anyone knows better?


No, it's not a bug.  The problem is not with the lyrics but with
MensuralStaff, which is not accepted by StaffGroup, so they
both get pushed to the bottom.



Thanks, Trevor.  The answer begs the question that it would appear 
deliberate that this works wrongly, but it still seems to work wrongly by 
default.  It would seem that a StaffGroup _should_ accept a MensuralStaff by 
default?


--
Phil Holmes 



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


Re: Bug in lyrics placement in mensural music?

2012-09-28 Thread Trevor Daniels

Phil Holmes wrote Friday, September 28, 2012 9:40 AM

 Phil Holmes wrote Thursday, September 27, 2012 5:02 PM

 The code below produces the image attached.  As can be seen, using a
 StaffGroup with mensural staves places the lyrics above the top stave, 
 and I
 can't find an over-ride that gets them in the proper place.  I _think_ 
 this
 must be a bug, but wondering if anyone knows better?

 No, it's not a bug.  The problem is not with the lyrics but with
 MensuralStaff, which is not accepted by StaffGroup, so they
 both get pushed to the bottom.
 
 Thanks, Trevor.  The answer begs the question that it would appear 
 deliberate that this works wrongly, but it still seems to work wrongly by 
 default.  It would seem that a StaffGroup _should_ accept a MensuralStaff by 
 default?

That depends on whether the system start brace provided by StaffGroup
is used in mensural music.  I know nothing about ancient music so I've
no idea whether this is the case or not.

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


Re: Bug in lyrics placement in mensural music?

2012-09-28 Thread David Kastrup
Trevor Daniels t.dani...@treda.co.uk writes:

 Phil Holmes wrote Friday, September 28, 2012 9:40 AM

 Phil Holmes wrote Thursday, September 27, 2012 5:02 PM

 The code below produces the image attached.  As can be seen, using a
 StaffGroup with mensural staves places the lyrics above the top stave, 
 and I
 can't find an over-ride that gets them in the proper place.  I _think_ 
 this
 must be a bug, but wondering if anyone knows better?

 No, it's not a bug.  The problem is not with the lyrics but with
 MensuralStaff, which is not accepted by StaffGroup, so they
 both get pushed to the bottom.
 
 Thanks, Trevor.  The answer begs the question that it would appear 
 deliberate that this works wrongly, but it still seems to work wrongly by 
 default.  It would seem that a StaffGroup _should_ accept a MensuralStaff by 
 default?

 That depends on whether the system start brace provided by StaffGroup
 is used in mensural music.

I am not sure about that.  Unless the current behavior is _advantageous_
in some situations, there is little point in retaining it.

 I know nothing about ancient music so I've no idea whether this is the
 case or not.

It is not uncommon for music to mix and match styles.  Granted, this
is more the case for Gregorian chant where the notation is not just
visually distinct (which is mostly the case for mensural) but rather
quite different.  But for things like incipits and similar, the
combination is not unthinkable either.

So we should focus on the question is there a conceivable reason where
the current behavior is actually desirable for more than `user
educational' reasons?.  If the answer is no, it seems like we have
nothing to gain from keeping it.

-- 
David Kastrup


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


Re: Bug in lyrics placement in mensural music?

2012-09-28 Thread Phil Holmes
- Original Message - 
From: Trevor Daniels t.dani...@treda.co.uk
To: Phil Holmes em...@philholmes.net; LilyPond User Group 
lilypond-user@gnu.org

Sent: Friday, September 28, 2012 10:50 AM
Subject: Re: Bug in lyrics placement in mensural music?




Phil Holmes wrote Friday, September 28, 2012 9:40 AM


Phil Holmes wrote Thursday, September 27, 2012 5:02 PM


The code below produces the image attached.  As can be seen, using a
StaffGroup with mensural staves places the lyrics above the top stave,
and I
can't find an over-ride that gets them in the proper place.  I _think_
this
must be a bug, but wondering if anyone knows better?


No, it's not a bug.  The problem is not with the lyrics but with
MensuralStaff, which is not accepted by StaffGroup, so they
both get pushed to the bottom.


Thanks, Trevor.  The answer begs the question that it would appear
deliberate that this works wrongly, but it still seems to work wrongly by
default.  It would seem that a StaffGroup _should_ accept a MensuralStaff 
by

default?


That depends on whether the system start brace provided by StaffGroup
is used in mensural music.  I know nothing about ancient music so I've
no idea whether this is the case or not.



Well - strictly, staff groups aren't used at all in music from this period - 
each part was copied out separately (rather like orchestral music). 
However, if you're recreating music of this style, you'd want the option to 
have them all together for checking purposes, if nothing else (like a 
conductor's score).  Whilst I eventually found that you don't need the staff 
group, it does seem a natural way to do this, and it took me a while to find 
out a workaround to get lyrics working.  My analysis would be similar to 
David's - unless there's a clear reason for not allowing a MensuralStaff in 
a StaffGroup (and I can't think of one) it reduces the scope for wasted time 
if it's added.


--
Phil Holmes 



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


Bug in lyrics placement in mensural music?

2012-09-27 Thread Phil Holmes
The code below produces the image attached.  As can be seen, using a 
StaffGroup with mensural staves places the lyrics above the top stave, and I 
can't find an over-ride that gets them in the proper place.  I _think_ this 
must be a bug, but wondering if anyone knows better?


\new StaffGroup {
 
   \new MensuralStaff
   {
 \new MensuralVoice = melody \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

   \new MensuralStaff
   {
 \new MensuralVoice = lower \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto lower \lyricmode { Some lower words here }
 
}

{  
   \new MensuralStaff
   {
 \new MensuralVoice = melody \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

   \new MensuralStaff
   {
 \new MensuralVoice = lower \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto lower \lyricmode { Some lower words here }
 
}

\new StaffGroup {
 
   \new Staff
   {
 \new Voice = melody \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

   \new Staff
   {
 \new Voice = lower \relative c'' { c4 c c c }
   }
   \new Lyrics \lyricsto lower \lyricmode { Some lower words here }
 
}



--
Phil Holmes

attachment: LyricTest2.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug in lyrics placement in mensural music?

2012-09-27 Thread Eluze
Phil Holmes wrote
 The code below produces the image attached.  As can be seen, using a 
 StaffGroup with mensural staves places the lyrics above the top stave, and
 I 
 can't find an over-ride that gets them in the proper place.  I _think_
 this 
 must be a bug, but wondering if anyone knows better?

as a workaround you can put the Lyrics inside the MensuralStaff:

\new StaffGroup {  
\new MensuralStaff 
  \new MensuralVoice = melody \relative c'' { c4 c c c }
  \new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

\new MensuralStaff 
  \new MensuralVoice = lower \relative c'' { c4 c c c }
  \new Lyrics \lyricsto lower \lyricmode { Some lower words here }

  
}

alignBelowContext doesn't seem to work.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bug-in-lyrics-placement-in-mensural-music-tp133721p133723.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Bug in lyrics placement in mensural music?

2012-09-27 Thread Trevor Daniels

Phil Holmes wrote Thursday, September 27, 2012 5:02 PM


 The code below produces the image attached.  As can be seen, using a 
 StaffGroup with mensural staves places the lyrics above the top stave, and I 
 can't find an over-ride that gets them in the proper place.  I _think_ this 
 must be a bug, but wondering if anyone knows better?

No, it's not a bug.  The problem is not with the lyrics but with
MensuralStaff, which is not accepted by StaffGroup, so they
both get pushed to the bottom.

Try:

\new StaffGroup \with { \accepts MensuralStaff } {
  
\new MensuralStaff
{
  \new MensuralVoice = melody \relative c'' { c4 c c c }
}
\new Lyrics \lyricsto melody \lyricmode { Lyrics can contain markup }

\new MensuralStaff
{
  \new MensuralVoice = lower \relative c'' { c4 c c c }
}
\new Lyrics \lyricsto lower \lyricmode { Some lower words here }
  
}

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


Problem with lyrics placement (can't show lyrics below bass-staff)

2005-01-02 Thread Mike Bosschaert
Hi, 
I have a score with soprano, alto and bass music + lyrics. I try to get all 
lyrics below the staffs, but for some reason the lyrics are all shown between 
the staffs. I use Lilypond 2.0.3

My score section is given below.

Furthermore I would like to know if there is a way the avoid double rests 
(e.g. the soprano and alto part have common rests which are shown above 
eachother).
Also the stanza numbers do not show (music starts with 4 bars rests). Is there 
a way to get the stanza numbers at the beginning of the bar?

Many thanks for your attention and help!

Mike Bosschaert


\score { \notes
   \context StaffGroup 
  \property Score.automaticMelismata = ##t
  \context Staff =  sop { \clef violin  s1 }
  \context LyricsVoice = sopa { s1 }
  \context LyricsVoice = sopb { s1 }
  \context Staff = men { \clef bass  s2 }
  \context LyricsVoice = mena { s2 }
  \context LyricsVoice = menb { s2 }

  \addlyrics
   \context Staff = sop \context Voice = VA { \sopMusic }
   \lyrics \context Lyrics 
\context LyricsVoice = sopa { 
 \property LyricsVoice . stanza = 1  
 \sopWordsA 
 } 
\context LyricsVoice = sopb { 
 \property LyricsVoice . stanza = 2
 \sopWordsB 
 } 
   
 
  \addlyrics
   \context Staff = sop \context Voice = VB {  \altMusic }
   \lyrics \context Lyrics 
   
 
  \addlyrics
   \context Staff = men \context Voice = VC {   \bassMusic}
   \lyrics \context Lyrics 
\context LyricsVoice = mena { 
 \property LyricsVoice . stanza = 1
 \bassWordsA
 } 
\context LyricsVoice = menb { 
 \property LyricsVoice . stanza = 2
 \bassWordsB
 } 
 

  

}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics Placement

2003-03-09 Thread Beldon Dominello
Please disregard my previous question.  As I though, I figured it out after I 
sent the e-mail.

I hate it when that happens.

-Beldon

-- 
Try to be the best of whatever you are, even if what you are is no
good.



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user