lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics in different colours


From: David Kastrup
Subject: Re: Lyrics in different colours
Date: Wed, 15 Jun 2016 09:37:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Don Gingrich <address@hidden> writes:

> On Tue, 14 Jun 2016 23:38:43 Jeffery Shivers wrote:
>> Oops - I did not send that to the listserv. This does that.
>> 
>> 
>> On Tue, Jun 14, 2016 at 11:34 PM, Jeffery Shivers <address@hidden>
>> wrote:
>> > Hi Don,
>> > 
>> > If you're working
>> > ​in
>> > 
>> >  lyric
>> > 
>> > ​mode​
>> > 
>> >  and not markups​
>> > 
>> > ,
>> > ​​
>> > you can
>> > ​​
>> > ​:​
>> > 
>> > 
>> > emphasize = {
>> > 
>> >   \override Lyrics.LyricText.font-shape = #'italic
>> >   \override Lyrics.LyricText.font-series = #'bold
>> > 
>> > }
>> > 
>> > \emphasize at the beginning of the text of your middle verse. You can
>> > change what 'emphasize' does - that's just the usage example from the
>> > documentation:
>> > 
>> > http://lilypond.org/doc/v2.18/Documentation/learning/using-variables-for-l
>> > ayout-adjustments
>> > 
>> > ​//​
>
> What I did was:
>
>
> emphasize = {
>   \override Lyrics.LyricText.font-family = #'sans
>   \override Lyrics.LyricText.font-series = #'bold
> }
>
> normal= {
>   \revert Lyrics.LyricText.font-family
>   \revert Lyrics.LyricText.font-series
> }
>
> and
>
> PartPOneVoiceOneLyricsTwo =  \lyricmode {
>   \emphasize
>   Is "fòs" ri taobh nan aibh --
>   nich -- ean "Théid" seach -- ad sios gu "mall," A ta e "'ga" mo
>   "threò" -- rach -- adh Gu "mìn" "réidh" anns gach "ball." A ta e "'ga"
>   mo "threò" -- rach -- adh Gu "mìn" "réidh" anns gach "ball." 
>   \normal
>  \skip4 (many repeats)
> }
>
> It worked well, thanks a lot -- I just had no clue about which
> variable to tweak -- and there don't seem to be any of the
> Lyrics.LyricText. sub-options that would change colour,
> so I'll give that a miss.

PartPOneVoiceOneLyricsTwo =
\lyricmode {
   \markupMap text \markup \sans \bold \with-color #red \etc
   {
     Is "fòs" ri taobh nan aibh --
     nich -- ean "Théid" seach -- ad sios gu "mall," A ta e "'ga" mo
     "threò" -- rach -- adh Gu "mìn" "réidh" anns gach "ball." A ta e "'ga"
     mo "threò" -- rach -- adh Gu "mìn" "réidh" anns gach "ball."
   }
   \skip4 (many repeats)
}

It's more cumbersome to LilyPond than setting a property, but at least
you don't need to look up properties.  Though hyphens might require
extra attention.

-- 
David Kastrup



reply via email to

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