lilypond-user
[Top][All Lists]
Advanced

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

Cannot use italics for lyrics text


From: Thomas Chardin
Subject: Cannot use italics for lyrics text
Date: Thu, 27 Sep 2012 16:59:13 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi,

Using the code below I manage to change the global font and size. The stanza
number color is also applied but the italics shape asked is not applied, without
any error message. Does someone have any idea why this is not working?

My code is:

\version "2.14.2"

%%snip: page variables

sopWords = \lyricmode {
  \override StanzaNumber #'color = #(rgb-color .72 .13 .06)
  \set stanza = "1."
  %%snip: lyrics text
}

bassMusic = {
  %%snip: music
}

\score {
  \new ChoirStaff <<
    %%snip: other staves
    \new Lyrics = "sopranos" << s1 >>
    \new Staff <<
      \new Voice = "basses" << \global \bassMusic >> >>
    \context Lyrics = sopranos \lyricsto basses \sopWords >>

  \layout {
    \context {  
      \Lyrics
      \override LyricSpace #'minimum-distance = #1.0
      \override LyricText #'font-name = #"Adobe Garamond Pro"
      \override LyricText #'font-size = #2
      \override LyricText #'font-shape = #'italic
    }
  }
}

Thanks in advance,


Thomas C.




reply via email to

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