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: Chip
Subject: Re: why doesn't this override work?
Date: Fri, 08 Oct 2004 06:46:57 -0700
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031208 Thunderbird/0.3

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








reply via email to

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