Yes it is a great feature. I just used it tonight in transcribing a song. By
the way, I still have a problem with the setting of the lyrics, and for this
reason I attached its file.
Alright, I managed to put the lyrics of the bass above the clef in the
refrain. But I couldn't force it to go further up:
The 3rd system (measure 7) has these lyrics settings:
The four stanzas The refrain:
(...) His might.
(...) for you Trust in the One (...)
(...) to gain. [I would like to put the words of the bass on
this line, more or less]
(...) the end.
Bass words -------------> Trust in the One
I guess different lyrics contexts can't overlap, so what should I do? I
tried Lyrics.VerticalAxisGroup #'minimum-Y-extent, but it didn't help.
I'll be much beholden to you.
Eduardo Vieira
----- Original Message -----
From: "Mats Bengtsson" <[EMAIL PROTECTED]>
To: "Lilypond bug" <[email protected]>
Sent: Thursday, February 09, 2006 2:01 PM
Subject: alignAboveContext problems together with \lyricsto
> Hi,
>
> I just realized that there is a problem with setting alignAboveContext
> within a lyrics context if the corresponding lyrics doesn't start at the
> top of the score. Example:
>
> \version "2.6.0"
> \score{
> <<
> \context Staff = mystave <<
> \context Voice = "melody" {
> \relative c' { c
> << {\voiceOne c'} \context Voice = splitpart {\voiceTwo c,8 e} >>
> }
> }
> \context Voice = splitpart {s1 * 2} % Doesn't help!
> >>
> \new Lyrics \lyricsto "melody" { \set alignAboveContext = #"mystave"
> Text above }
> \new Lyrics \lyricsto "splitpart" { \set alignAboveContext = #"mystave"
> not above }
> >>
> }
>
> The problem is that also the \set directive seems to happen at the same
> place as the
> first syllable, which is too late. A workaround, of course, is to use
\with:
>
> \version "2.6.0"
> \score{
> <<
> \context Staff = mystave <<
> \context Voice = "melody" {
> \relative c' { c
> << {\voiceOne c'} \context Voice = splitpart {\voiceTwo c,8 e} >>
> }
> }
> \context Voice = splitpart {s1 * 2} % Doesn't help!
> >>
> \new Lyrics \with {alignAboveContext = #"mystave" } \lyricsto "melody"
> { Text above }
> \new Lyrics \with {alignAboveContext = #"mystave" } \lyricsto
> "splitpart" { also above }
> >>
> }
>
>
> The problem is the same in version 2.6 and 2.7.
>
> /Mats
>
> --
> =============================================
> Mats Bengtsson
> Signal Processing
> Signals, Sensors and Systems
> Royal Institute of Technology
> SE-100 44 STOCKHOLM
> Sweden
> Phone: (+46) 8 790 8463
> Fax: (+46) 8 790 7260
> Email: [EMAIL PROTECTED]
> WWW: http://www.s3.kth.se/~mabe
> =============================================
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-lilypond
>
% Created on Fri Feb 03 20:21:54 BRST 2006
\version "2.7.30"
#(set-global-staff-size 16)
\header {
title = "Trust in the Lord"
poet = "Paul W. Cook, b. 1907"
composer = "George W. Blackwell, b. 1904"
copyright = "Property of Geo. W. Blackwell & Paul W. Cook, 1930. Used by permission"
}
\include "english.ly"
verseI= \lyricmode {
\set stanza = "1."
Trust in the Lord, What priv -- i -- lege giv -- en!
O in this world fail not to live right;
Stand by His word with hope and de -- ci -- sion,
God will not leave you, trust in His might.
}
verseII= \lyricmode {
\set stanza = "2."
Trust in the Lord; for -- get not His prom -- ise,
Heav -- en will pass ere it prove un -- true;
Sing mid your tri -- als, have faith in Je -- sus,
Trust in His grace suf -- fi -- cient for you.
Trust in the One who nev -- er will fail you,
On Him re -- ly, He's faith -- ful to you;
O do not fal -- ter, stay on the al -- tar,
An -- chor your soul in Him that is true.
}
verseIII= \lyricmode {
\set stanza = "3."
Trust in the Lord when you are in trou -- ble,
When in your life come sor -- row and pain,
God is un -- fail -- ing, dai -- ly He'll help you,
O -- ver your foes the vic -- t'ry to gain.
}
verseIIII= \lyricmode {
\set stanza = "4."
Trust in the Lord, how sweet the ex -- pe -- rience,
If in this life we on Him de -- pend;
Fit -- ted for ser -- vice; rea -- dy for judg -- ment,
So let us live and trust to the end.
}
basi = \lyricmode { Trust in the One who nev -- er will fail you,
On Him re -- ly, He's }
tebai = \lyricmode { faith -- ful to you; }
basii = \lyricmode { O do not fal -- ter, stay on the al -- tar,
An -- chor your soul in }
tebaii = \lyricmode { Him that is true. }
staffSoprano = \new Staff {
\time 9/8
\set Staff.midiInstrument="choir aahs"
\set Staff.shapeNoteStyles = ##(do re mi fa #f la ti)
\key c \major
\clef treble
\context Voice = "melodySop" {
\relative c'' { \autoBeamOff \partial 8*3 < g e >8 < fs ds > < g e > < e c >4.
< e g >4. < c' e, >8 < d e, > < c e, > < c f,>4. <a f> <c f,>8 <b f>
<a f> <g e>4. < c e,>4.
%%% 1st syst
<e g,>8 <d g,> <c g> << \new Voice { \voiceOne d2.} {\voiceTwo g,4.( f4.) } >>
\oneVoice < g e >8 < fs ds > < g e >
< e c >4. <g e> <c e,>8 <d f,>8 <e g,>8 <f a,>4. <a, f> <a f>8 <c f,>
<a f>
%%% 2nd syst
<g e>4. <c e,>4. <d f,>8 <c e,> <b d,> <c e,>4. ~ <c e,>4. \bar "||"
%% refrain below
r4. <c g>8 < c g > < c g> <c g >4 <c g >8 r4.
< e g,>8 <ds fs,> <e g,> < c g >4 < c g>8 r4. <b f>8 <as f> <b f> <g d>4
<< \new Voice { \voiceOne g8 } { \voiceTwo f8} >> \oneVoice <g e>8 <fs ds> <f d>
<e c>4. ~ <e c>4. r4. <c' f,>8 <c f,> <c f,> < a f>4 <a f>8 r4.
<e' g,>8 <e g,> <e g,> <c g>4 <c g>8 r4. <b f>8 <as f> <b f> <g d>4 <g d>8
<< \new Voice { \voiceOne g8 } {\voiceTwo g8} >> \oneVoice <a fs>8 <b f>
<c e,>2. \bar "|." }
}
}
staffTenorSaxophone = \context Staff = men {
\set Staff.midiInstrument="tenor sax"
\set Staff.shapeNoteStyles = ##(do re mi fa #f la ti)
\autoBeamOff
\key c \major
\clef bass
\relative c' {
\partial 8*3 <c c, >8
<c c, >8
<c c, >8
<g c, >4.
<g c, >4.
<g c, >8
<g c, >8
<g c, >8
<a f >4.
<c f, >4.
<a f >8
<a f >8
<c f, >8
<c c, >4.
<g c, >4.
<c c, >8
<b d, >8
<c e, >8
<b g >2.
<c c, >8
<c c, >8
<c c, >8
<g c, >4.
<c c, >4.
<c c, >8
<c c, >8
<c c, >8
<c f, >4.
<c f, >4.
<c f, >8
<a f >8
<c f, >8
<c g >4.
<c g >4.
<b g, >8
<g g, >8
<g g, >8
<g c, >4.
<g c, >4.
%% refrain below
<< {\voiceOne r4. g8 g g g4 g8 r4. c8 c c c4 c8 r4. g8 g g b4 b8 }
\context Voice = "baixo" { \autoBeamOff \voiceTwo c,8 d ds e4. e4. e8 g
a g4. e4. c8 b c d4. g,4. } >> \oneVoice \context Voice = "chrd" { \autoBeamOff <g' g, >8
<g a,> <g b,> <g c,>4. ~ <g c, >4. }
<< {\voiceOne r4. a8 a a c4 c8 r4. c8 c c g4 g8 r4. g8 g g b4 b8}
\context Voice = "baixoii" { \autoBeamOff \voiceTwo c,8 d e f4. f4.
a8 g fs g4. e4. a,8 b c d4. g4. } >>
\oneVoice \context Voice = "chrdii" { \autoBeamOff <c e,>8 <a d,> <g g,> <g c,>2. }
\bar "|."
}
}
\score {
\context ChoirStaff
{ << \staffSoprano
\context Lyrics = "lmelodySopLI" \lyricmode { \lyricsto "melodySop" \verseI }
\context Lyrics = "lmelodySopLII" \lyricmode { \lyricsto "melodySop" \verseII }
\context Lyrics = "lmelodySopLIII" \lyricmode { \lyricsto "melodySop" \verseIII }
\context Lyrics = "lmelodySopLIIII" \lyricmode { \lyricsto "melodySop" \verseIIII }
\staffTenorSaxophone
\context Lyrics = "bass" \with { alignAboveContext = #"men" }
\context Lyrics = "bass" \lyricmode { \lyricsto "baixo" \basi }
\context Lyrics = "bass" \lyricmode { \lyricsto "chrd" \tebai }
\context Lyrics = "bass" \lyricmode { \lyricsto "baixoii" \basii }
\context Lyrics = "bass" \lyricmode { \lyricsto "chrdii" \tebaii }
>>
}
\midi {
}
\layout {
headsep = 0.3\cm
topmargin = 1.5\cm
indent = 0.0\cm
linewidth = 11.5\cm
leftmargin = 1.2\cm
annotatespacing = ##t
\context {
\Lyrics
\override LyricText #'font-size = #-1
\override StanzaNumber #'font-size = #-1
}
}
}
\paper {
#(set-paper-size "a5")
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user