Re: Set Stanza for every staff

2016-06-28 Thread Br. Gabriel-Marie | SSPX

Thanks you all for your time!  It looks right now!

On 6/28/2016 5:26 PM, lilypond-user-requ...@gnu.org wrote:

\layout {
\context {
  \Lyrics
  \override InstrumentName.X-offset = 2
  \override InstrumentName.font-size = 0
  \override InstrumentName.font-series = #'bold
}
}


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


Re: Set Stanza for every staff

2016-06-28 Thread Br. Gabriel-Marie | SSPX
Well, that does indeed number every line, but it places the 
number outside the borders of the lyric text.  Set Stanza 
made the number inline with the lyrics.




Set Stanza:
   1. lyr- ic

instrumentname
1. lyric

So, I'm trying to fix the alignment.  I'd like to do it in 
the \layout bracket if possible.

I am trying this, but it doesn't do the trick:

\layout{
\context{
\Staff
\override 
Staff.InstrumentName.self-alignment-X = #RIGHT
\override 
Staff.shortInstrumentName.self-alignment-X = #RIGHT

}
}


On 6/28/2016 5:08 PM, Thomas Morley wrote:

\new Lyrics
   \with { instrumentName = "1." shortInstrumentName = "1." }


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


Re: Set Stanza for every staff

2016-06-28 Thread Malte Meyn



Am 29.06.2016 um 00:08 schrieb Thomas Morley:

2016-06-28 23:40 GMT+02:00 Br. Gabriel-Marie | SSPX :

In my music I have been using
\set stanza = "1. "
to get line numbering for the lyrics.  But this only numbers the beginning
of the lyric's line.
I can manually insert that to get the numbering to appear within the lyric
line, but what I need is for it to appear at the start of each lyric as it
dynamically shifts.

Manually could look like this:
\set stanza = "1. " Bla bla bla \set stanza = "1. " ha ha ha
to get
1. Bla Bla Bla
2. ha ha ha

however, when the music spreads itself across the bars it might break
differently, creating this:
1. Bla Bla Bla 2. ha
ha ha

So is there a way to make it auto-number the lyric lines?



Use instrumentName and shortInstrumentName?

<<
\new Staff { \repeat unfold 80 c''4 }
\new Lyrics
   \with { instrumentName = "1." shortInstrumentName = "1." }
   \lyricmode { \repeat unfold 80 foo4 }
\new Lyrics
   \with { instrumentName = "2." shortInstrumentName = "2." }
   \lyricmode { \repeat unfold 80 bar }




HTH,
   Harm


For better placement you could override X-offset of the InstrumentName. 
I also changed the font to matching the stanza default:


\version "2.19.44"

\layout {
  \context {
\Lyrics
\override InstrumentName.X-offset = 2
\override InstrumentName.font-size = 0
\override InstrumentName.font-series = #'bold
  }
}

<<
  \new Staff { \repeat unfold 80 c''4 }
  \new Lyrics \with {
shortInstrumentName = "1."
stanza = "1."
  } \lyricmode { \repeat unfold 80 foo4 }
  \new Lyrics \with {
shortInstrumentName = "2."
stanza = "2."
  } \lyricmode { \repeat unfold 80 bar }
>>


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


Re: Set Stanza for every staff

2016-06-28 Thread Thomas Morley
2016-06-28 23:40 GMT+02:00 Br. Gabriel-Marie | SSPX :
> In my music I have been using
> \set stanza = "1. "
> to get line numbering for the lyrics.  But this only numbers the beginning
> of the lyric's line.
> I can manually insert that to get the numbering to appear within the lyric
> line, but what I need is for it to appear at the start of each lyric as it
> dynamically shifts.
>
> Manually could look like this:
> \set stanza = "1. " Bla bla bla \set stanza = "1. " ha ha ha
> to get
> 1. Bla Bla Bla
> 2. ha ha ha
>
> however, when the music spreads itself across the bars it might break
> differently, creating this:
> 1. Bla Bla Bla 2. ha
> ha ha
>
> So is there a way to make it auto-number the lyric lines?


Use instrumentName and shortInstrumentName?

<<
\new Staff { \repeat unfold 80 c''4 }
\new Lyrics
  \with { instrumentName = "1." shortInstrumentName = "1." }
  \lyricmode { \repeat unfold 80 foo4 }
\new Lyrics
  \with { instrumentName = "2." shortInstrumentName = "2." }
  \lyricmode { \repeat unfold 80 bar }
>>

HTH,
  Harm

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


Set Stanza for every staff

2016-06-28 Thread Br. Gabriel-Marie | SSPX

In my music I have been using
\set stanza = "1. "
to get line numbering for the lyrics.  But this only numbers 
the beginning of the lyric's line.
I can manually insert that to get the numbering to appear 
within the lyric line, but what I need is for it to appear 
at the start of each lyric as it dynamically shifts.


Manually could look like this:
\set stanza = "1. " Bla bla bla \set stanza = "1. " ha ha ha
to get
1. Bla Bla Bla
2. ha ha ha

however, when the music spreads itself across the bars it 
might break differently, creating this:

1. Bla Bla Bla 2. ha
ha ha

So is there a way to make it auto-number the lyric lines?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user