You can only set properties within the current context (and the contexts higher up in the hierarchy). So, you can either keep the property setting where it is and say \override Score . LyricText ... instead, which means that the setting applies to all contexts within the Score. The other option is to move the setting into the lyrics where you want it to apply: \lyricsto "Melody" \new Lyrics \lyrics { \override Lyrics . LyricText #'font-size = #' -2 This is my text! }
(Did you notice that you misspelled the name of the linewidth variable?)
/Mats
Thomas Scharkowski wrote:
Hi all,
the following code works except "\override Lyrics .LyricText".
Help please!
Thank you, Thomas cygwin --
\version "2.1.26"
\score {
<< \context ChordNames
\chords{
c2 g:7
}
<<
\context Voice = "Melody"
\notes {
\override Lyrics .LyricText #'font-size = #' -2
\stemUp
\clef "G_8"
\relative c'{
c4 d e f
}
}
\\
\context Voice = "Bass"
\notes {
\stemDown \relative c {
c2 g
}
}
\lyricsto "Melody" \new Lyrics \lyrics
{
This is my text!
}
>>
>>
\paper {linewitdth=17.5 \cm}
}
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user