lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text formatting inside \addlyrics


From: Kieren MacMillan
Subject: Re: text formatting inside \addlyrics
Date: Fri, 23 Apr 2010 07:27:03 -0400

Hi James (and Gerard),


>>> \markup \italic { a section of text to be italicised }
>> 
>> I don't think that will work; that will italicize the section of text, but 
>> the words will no longer be treated as lyrics, that is, they won't be 
>> aligned under the notes as lyrics would be.
> What would lead you to come to this conclusion?

If "a section of text to be italicised" is one word, it works as expected.
If it's more than one word, Lilypond makes the entire phrase into a single 
lyric -- not (as Gerard implied) into something that isn't a lyric -- and 
aligns the entire phrase under a single note.

The correct answer to his original question is

  \override LyricText #'font-shape = #'italic a section of text to be 
italicised \revert LyricText #'font-shape

Sorry for the noise.
Kieren.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]