[Top][All Lists]

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

Re: Fwd: Re: Text setting

From: Mats Bengtsson
Subject: Re: Fwd: Re: Text setting
Date: Mon, 31 Oct 2005 10:31:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Forwarded to bug-lilypond!

It seems that the right half of the rehearsal mark affects the
note spacing if you have a \mark in the middle of a bar.
From the documentation and by analogy with text scripts, you
would expect to be able to set no-spacing-rods, but it doesn't seem
to have any effect. The only solution I could find was to set X-extent,
but then the text will be left aligned, no matter if the self-alignment-X
property is set to center of right alignment.


\version "2.6.0"
\relative c'{
% Setting no-spacing-rods has no effect!?
\override Score.RehearsalMark #'no-spacing-rods = ##t

% Uncommenting the following line fixes the problem that
% the right half of the mark occupies space, but gives
% left alignment.
%\override Score.RehearsalMark #'X-extent = #'(0 . 0)

c d e f | g f \mark "ABCDEFGH" e d | c1 }
\layout{raggedright = ##t}

On the other hand, in the middle of a bar, you could often just as well
use a text script attached to a note or to a spacing note.

Wait a second, I just found another workaround. Since rehearsal marks
don't occupy any extra space when used at a bar line, you could add an
invisible bar line in the middle of a bar and attach the rehearsal mark to it:

\version "2.6.0"
\relative c'{
c4 d e f | g f \mark "ABCDEFGH" \bar "" e d | c1 }
\layout{raggedright = ##t}

Maybe the conclusion after all is that \mark only is designed to be used
at bar lines?


Edward Neeman wrote:

--- Edward Neeman <address@hidden> wrote:

Date: Mon, 31 Oct 2005 11:27:45 +1100 (EST)
From: Edward Neeman <address@hidden>
Subject: Re: Text setting
To: Mats Bengtsson <address@hidden>

Hi list, Hi Mats,

In general I agree that \mark is the best way to add
tempos, etc. at the top of the score.  However I
problems when I need a tempo marking in the middle
a bar, since for some reason a Rehearsal mark not on
the barline take up a lot of horizontal space.  Is
there a way to prevent this- without adding extra
bar-lines everywhere?

Edward Neeman

reply via email to

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