[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: minor lyrics alignment bug
From: |
Trevor Baca |
Subject: |
Re: minor lyrics alignment bug |
Date: |
Thu, 25 Aug 2005 18:19:20 -0500 |
On 8/25/05, Han-Wen Nienhuys <address@hidden> wrote:
> Trevor Baca wrote:
> > Inclusion of underscore character _ with a duration in \lyricmode
> > causes right alignment rather than center alignment of previous lyric
> > text.
>
> It's a feature, not a bug. This is intended as a way to easily enter
> melismata. Use \skip if you want to skip things.
Perfect.
Follow-up: why do the lyrics in the second stanza below align weirdly?
Will \set associatedVoice always revert back 1/16th too early? Bug or
feature?
%%%%%%%%% WEIRD ALIGNMENT SNIPPET %%%%%%%
\version "2.7.7"
theVoice = {
\time 2/4
\set Staff.autoBeaming = ##f
c'8
<<
{
\voiceOne
d'16
d'16
\oneVoice
}
\context Voice = "alternative" {
\voiceTwo
d'8
\oneVoice
}
>>
e'8
f'8
}
theGoodLyrics = \lyricmode {
C D D E F. % GOOD ALIGNMENT
}
theWeirdLyrics = \lyricmode {
\set associatedVoice = "alternative"
C
% reverts to mainVoice 1/16th too early:
\set associatedVoice = "mainVoice"
D
E
F.
}
\score {
\new Staff <<
\context Voice = "mainVoice" \theVoice
\new Lyrics \lyricsto "mainVoice" \theGoodLyrics
\new Lyrics \lyricsto "mainVoice" \theWeirdLyrics
>>
\layout {
raggedright = ##t
}
}
%%%%%%%%%% END WEIRD ALIGNMENT SNIPPET %%%%%%%
Trevor Bača
address@hidden