lilypond-user
[Top][All Lists]
Advanced

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

Re: horizontal space after rehearsal mark (or bar line)


From: Trevor Daniels
Subject: Re: horizontal space after rehearsal mark (or bar line)
Date: Mon, 8 Feb 2010 00:11:55 -0000


Mats Bengtsson wrote Sunday, February 07, 2010 10:45 PM

A better solution is to tell LilyPond that you don't want it to put rehearsal marks above other objects:

\version "2.12.2"
\score {
 \relative c' {
   \clef G
   \time 4/4
   c'1 d
   \override Score.RehearsalMark #'extra-spacing-width = #'(0 . 0)
\override Score.RehearsalMark #'extra-spacing-height = #'(-inf.0 . +inf.0)
   \bar "||" \mark \markup{\box "M2"} e( \f ^\markup{Tutti} f)
 }
}

Depending on the situation, you may also want to combine this setting with \textLengthOn, which does exactly the same setting for text scripts. Unfortunately, the only available documentation of these properties seems to be in the internals reference:

In this particular example you can use \textLengthOn
instead of the undocumented 'extra-spacing-height
override.  Then both elements of the solution *are*
documented.  See Section 4.4.3 in the Learning Manual.

Trevor






reply via email to

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