Dear David,

In your case, the reason it didn't work was that you hadn't identified the 
RehearsalMark correctly. If you look at the page for Mark-engraver it tells you:

Mark_engraver is part of contexts: Score

   

so unless you tell Lilypond to look in the Score context it isn't going to find 
any objects named RehearsalMark.

>>Y-offset is documented as a property of RehearsalMark but doesn't seem 
to really be so.

Y-offset is a user-settable property of Score.RehearsalMark - you could have 
followed my second suggestion. I think the reason that it is reccomended to use 
extra-offset is that extra-offset is by default set to #'(0 . 0) so that any 
changes you make will be relative to the X- and Y- offset values that work most 
of the time. If you decided that you wanted to adjust the default positions of 
an object for the whole score, then I would suggest using these properties. 
(Someone can correct me if I'm wrong!)

On another subject, I spent 20 minutes searching for why there is no padding 
property for DynamicText before finding that the padding is controlled by the 
DynamicLineSpanner . Could this be slightly more explicitly stated in the 
documentation, maybe on the pages of the objects controlled by it?

Cheers,

Vivian.

----- Original Message ----
From: Michael David Crawford <[EMAIL PROTECTED]>
To: Vivian Barty-Taylor <[EMAIL PROTECTED]>
Cc: lilypond-user@gnu.org
Sent: Sunday, 18 February, 2007 2:28:39 PM
Subject: Re: Lowering a \mark

Vivian Barty-Taylor wrote:
> Why not try \once \override Score.RehearsalMark #'extra-offset = (0 . -4 )
> 
> (adjust -4 until you get the mark where you want.)
> 
> Looking at your code again, you could also try replacing RehearsalMark 
> with Score.RehearsalMark I've never used Y-offset to move things about, 
> but perhaps it works too.

That did the trick.  Here is my code:

\once \override Score.MetronomeMark #'transparent = ##t
\tempo 4 = 55 {
    \once \override Score.RehearsalMark #'extra-offset = #'(0 . -3)
    \mark "acc."
    \times 2/3 { e8 c8 a8 }
}

Y-offset is documented as a property of RehearsalMark but doesn't seem 
to really be so.

Thanks for your help!

Michael David Crawford
[EMAIL PROTECTED]
http://www.geometricvisions.com/

> ----- Original Message ----
> From: Michael David Crawford <[EMAIL PROTECTED]>
> To: lilypond-user@gnu.org
> Sent: Sunday, 18 February, 2007 11:07:14 AM
> Subject: Lowering a \mark
> 
> Still working on my CD case insert...
> 
> I have the text "acc." above my PianoStaff where the tempo is increased.
>   I also have a hidden tempo change for the MIDI file.
> 
> My staves are quite close together on my PDF, because I only have the
> height of a CD case to fit everything in.  The "acc." mark is just below
> the staff above where it is place, so it looks like it's associated with
> the upper staff and not the one below it.
> 
> But adjusting Y-offset for the RehearsalMark doesn't have any effect.
> I've tried many different values.
> 
> I'm using Lilypond 2.11.18.
> 
> Here is the source in question:
> 
>     \once \override Score.MetronomeMark #'transparent = ##t
>     \tempo 4 = 55 {
>         \override RehearsalMark #'Y-offset = #-2
>         \mark "acc."
>         \times 2/3 { e8 c8 a8 }
>     }
> 
> Thanks for your help!
> 
> I've been printed CD case inserts on my inkjet printer, but once I am
> able to put the score on the inner pages, I expect to have a commercial
> printer print me a large number of them.  I've been waiting just for
> this before doing so.
> 
> Michael David Crawford
> [EMAIL PROTECTED]
> http://www.geometricvisions.com/
> 
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> ------------------------------------------------------------------------
> Copy addresses and emails from any email account to Yahoo! Mail - quick, 
> easy and free. Do it now... 
> <http://us.rd.yahoo.com/mail/uk/taglines/default/trueswitch/*http://uk.docs.yahoo.com/trueswitch2.html>


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







        
        
                
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to