lilypond-user
[Top][All Lists]
Advanced

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

Re: why doesn't this override work?


From: Mats Bengtsson
Subject: Re: why doesn't this override work?
Date: Fri, 08 Oct 2004 15:58:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Sorry, the text was right but the command was wrong. Try
\override Score.MetronomeMark #'padding = #2.0

   /Mats

Chip wrote:
Mats Bengtsson wrote:

If you check out in the program reference which context handles
the metronome marks, i.e. wich context contains the
Metronome_mark_engraver, you will notice that it's the Score context.
Your \override command only sets the property in the Voice context,
which is far too deep down in the context hierarchy. Try
\override Staff.MetronomeMark ...

   /Mats


I tried that, as shown below, but it still will not move the metronome mark up 2 spaces.
----
\score {
  \notes
  \relative c''
  {
  \set Score.skipBars = ##t
  \override Staff.MultiMeasureRest #'expand-limit = #1
  \time 2/2
  \tempo 2=102 \override Staff.MetronomeMark #'padding = #2.0
  \clef treble
  \key d \major
  R1*16
  r4 fsharp( g gsharp
----
The original info I found in the archives, and did a copy paste from a message found there. Maybe it was for an earlier version.
--
Chip

Chip wrote:

Here is a snippet of code. I want to raise the tempo marking up 2 spaces.
--------------
\score {
  \notes
  \relative c''
  {
  \set Score.skipBars = ##t
  \override Staff.MultiMeasureRest #'expand-limit = #1
  \time 2/2
   \tempo 2=102 \override MetronomeMark #'padding = #2.0
  \clef treble
  \key d \major
  R1*16
  r4 fsharp( g gsharp
-------------
But it does not move. I tried putting the \tempo 2=102 after the \override statement but that doesn't work either. I'm using 2.2.2.
thanks,
chip



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user







_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.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]