|
From: | Nick Payne |
Subject: | Re: horizontal space after rehearsal mark (or bar line) |
Date: | Wed, 10 Feb 2010 21:02:07 +1100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 |
See attached images - I thought that mark 4 was raised because of the TextSpanner terminating on the final note of the preceding bar, but other marks (such as 20) which have a TextSpanner terminating in exactly the same place relative to the mark are not raised, so for the time being I'm using my original hack.
Nick On 08/02/10 20:27, Trevor Daniels wrote:
Mats Bengtsson wrote Monday, February 08, 2010 8:05 AMA 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:
rehearsalmark20.png
Description: PNG image
rehearsalmark4.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |