[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Formatting lyrics for different stanzas
From: |
ayutheos |
Subject: |
Formatting lyrics for different stanzas |
Date: |
Sat, 16 Nov 2013 13:12:18 +0800 |
How do I apply different text formatting for different stanzas of
lyrics globally?
What I have in my .ly file:
=====
\paper {
myStaffSize = #20
#(define fonts
(make-pango-font-tree "Times New Roman"
"Lucida Sans Unicode"
"Simsun"
(/ myStaffSize 20)))
}
melody = \relative c' { c d e }
lyricI = \lyricmode { a lyric }
lyricII = \lyricmode { a lyric }
\score {
<<
\new Voice = "one" { \melody }
\new Lyrics \lyricsto "one" {
\override LyricText #'font-size = #-3
\override LyricText #'font-name = #"Lucida Sans Unicode"
\lyricI }
\override LyricText #'font-name = #"Times New Roman"
\lyricII }
>>
}
=====
How do I use \roman, \sans & \typewriter to specify font-family to
individual lines of lyrics?
Following the example at
http://www.lilypond.org/doc/v2.16/Documentation/snippets/text#text-formatting-lyrics-syllables
only formats a single word.
Any suggestions appreciated.
--
TY
- Formatting lyrics for different stanzas,
ayutheos <=