lilypond-user
[Top][All Lists]
Advanced

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

Re: "\once \override" works differently on R and r


From: Valentin Villenave
Subject: Re: "\once \override" works differently on R and r
Date: Sun, 2 Sep 2007 16:10:34 +0200

2007/9/2, David F. Place <address@hidden>:
> Thanks, Graham.  I see the warning in Ch. 8.2.1 about using
> MultiMeasureRestText instead of TextScript to move these markups.   I
> Iwas originally thrown off course, because I was trying to use the
> \translate text markup command described in 8.1.6.  It works on
> TextScript, but is ignored by MultiMeasureRestText.   This seems like
> a bug to me, yes-no?

No.

Hello David,
as you can see in the following snippet, there are several ways to
print text above an empty measure; all of them wan be moved using the
appropriate object name; besides since all of them accept the \markup
command, all of them accept \translate as well.
The third one is what I would recommend to print the tempo indication
(you don't have to put it after the rest, because it's aligned with
the barline or the clef).

Regards,
Valentin

 {
  \override TextScript #'extra-offset = #'( 2 . 0 )
  r1^\markup {"normal" \translate #(cons 2 -3)"rest" }

  \override MultiMeasureRestText #'extra-offset = #'( 2 . 0 )
  R1^\markup {"multi-measure" \translate #(cons 2 -3)"rest" }

  \override Score.RehearsalMark #'extra-offset = #'( 2 . 0 )
  \mark \markup {"as"\translate #(cons 2 -3)" a mark" }R1
}




reply via email to

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