[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two problems: font choice and lyrics
From: |
Phil Holmes |
Subject: |
Re: Two problems: font choice and lyrics |
Date: |
Fri, 9 Nov 2012 18:34:30 -0000 |
<address@hidden> wrote in message
news:address@hidden
Hello everybody,
during my recent work with lilypond I encountered two quite annoying
problems:
- If both fontsize and the font itself have been changed in a document,
the font choice is not taken into account and Computer Modern appears
nevertheless. Omitting the change of fontsize also rids the problem.
- inside a StaffGroup, \addlyrics doesn't recognize the voice I ask it to,
if there is another (silent) voice (which, in the real-life example, I
have only inserted in order to allow line breaks in the middle of
measures) in the same staff. If I try the same without a StaffGroup,
another - maybe related - error occurs: the "\new Lyrics" command doesn't
work although it is in the usual place, I think.
The appendix contains an example, which I thought minimal, for each of the
three cases.
I sincerely hope there no tiny mistakes in use which I overlooked, and
that you can find a solution.
Thank you all very much for providing this excellent (if also
time-consuming) alternative to so much music typesetting available, which
is between bad-looking and outright awful!
Best regards
Simon Albrecht
===================================================
On your problem with lyrics: if you enclose the music from the cantus voice
in brackets {} the music works:
\score {
\new StaffGroup <<
\new Staff <<
\new Voice = "aux" { s1 }
\new Voice = "cantus" {
\oneVoice \relative { c'4 g h c } }
>>
\new Lyrics \lyricsto "cantus" \lyricmode { so so so so }
>>
}
You'll also see the \\ is redundant in this way of laying out voices.
--
Phil Holmes
Bug Squad