lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics size


From: Mats Bengtsson
Subject: Re: Lyrics size
Date: Thu, 04 Mar 2004 17:26:56 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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