bug-lilypond
[Top][All Lists]
Advanced

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

Re: Alignment of text mark is lost when an offset is applied


From: Phil Holmes
Subject: Re: Alignment of text mark is lost when an offset is applied
Date: Thu, 7 Apr 2011 14:38:27 +0100

"Ed Gordijn" <address@hidden> wrote in message news:address@hidden
Hi,

When I apply an offset to a text mark the alignment changes. The behaviour is different for marks centered on the clef and marks centered on bar lines but both are not correct (or not conform the IR). In the example below you should
expect a shift to the right for both marks.

I tested version 2.13.39 and 2.13.54.

See also: http://old.nabble.com/Alignment-of-text-mark-in-a-function-td31316227.html

Greetings, Ed

%\version "2.13.54" % identical behaviour in this version
\version "2.13.39"

\relative c'' {
   % Mark centered on the clef
   \mark \markup {\box "xxxx"}
   c1 c  \bar "||"
   % Mark centered on a bar line
   \mark \markup {\box "xxxx"}
   c1 c
   \break

   % Offset should move both marks to the right
   % Alignment on the clef is lost whem an offset is applied.
   \override Score.RehearsalMark #'X-offset = #2
   \mark \markup {\box "xxxx"}

   % Alignment on bar line changes to #LEFT
   % overriding self-alignment doens't change this
   % \override Score.RehearsalMark #'self-alignment-X = #CENTER

   c1 c  \bar "||"
   \mark \markup {\box "xxxx"}
   c1 c
 }

 \layout{
     indent = 0
     ragged-right = ##t

     \context {
         \Staff
         \remove "Time_signature_engraver" }
 }

Thanks.  Entered as http://code.google.com/p/lilypond/issues/detail?id=1596



--
Phil Holmes
Bug Squad






reply via email to

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