On Thu, Dec 30, 2010 at 2:59 PM, Phil Holmes <m...@philholmes.net> wrote: > ----- Original Message ----- From: "Nikolay Kirov" <nkki...@gmail.com> > To: "LilyPond User Group" <lilypond-user@gnu.org> > Sent: Thursday, December 30, 2010 10:54 AM > Subject: \underline in lyrics > > >> Hello all, >> >> I have a task to underline a part of the text in \addlyrics block. >> I found >> \addlyrics{ aa- \markup { \underline bb- } cc- dd } >> and it works but underline only one item. >> Repeating this pattern does not solve the task because I need a continuous >> line. >> >> The syntax >> \addlyrics{ aa- \markup { \underline bb- cc- dd } ee } >> does not work. >> >> Cheers, >> Nikolay > > > Put the phrase you want underlined in quotes after the \underline. > > -- > Phil Holmes >
Yes, Phil, but the lyrics must dependent of the notes in the score. For example: \score { \relative c' { a4 b c d e1 } \addlyrics{ aa- bb- cc- dd ee } } is OK but after underlining \score { \relative c' { a4 b c d e1 } \addlyrics{ aa- \markup { \underline "bb- cc- dd" } ee } } the correspondence is a4 -> "aa-", b4 -> "bb- cc- dd", c4 -> d, ... N. -- Nikolay Kirov Kirov http://www.math.bas.bg/~nkirov/ http://nikolay.kirov.be/ Office: (+359) 2 979 2850, 2 811 0611 Home: (+359) 2 856 8627, 0887 198 221 nki...@nbu.bg nki...@math.bas.bg _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user