lilypond-user
[Top][All Lists]
Advanced

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

Re: Aligning


From: Mats Bengtsson
Subject: Re: Aligning
Date: Tue, 10 Apr 2007 14:18:30 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070221)



Zoltán Selyem wrote:
Hello all,


According to a book about music engraving the tempo mark should be
aligned to the left side of the time signature; or -- if the key
signature is big -- the tempo mark should be aligned to the center of
the distance between the clef and the time signature.
(See http://img120.imageshack.us/img120/8056/aligningxr4.png )

Is there an easy way to make such alignments with Lilypond?
The former case can be handled as in the following example:
\version "2.10.0"
\relative c''{
\override Score.RehearsalMark #'self-alignment-X = #LEFT
\override Score.RehearsalMark #'break-align-symbol = #'key-signature

\time 2/4
\key d \major
\mark \markup{\bold Allegro }
c
}
\layout{ ragged-right = ##t }


However, I can't figure out any simple method to handle the second case,
except for manually adjusting the parameter of self-alignment-X to make
it look as you wish:

\version "2.10.0"
\relative c''{
\override Score.RehearsalMark #'self-alignment-X = #-0.3
\override Score.RehearsalMark #'break-align-symbol = #'key-signature

\time 2/4
\key cis \major
\mark \markup{\bold Allegro }
c
}
\layout{ ragged-right = ##t }


   /Mats
I have found #'break-align-symbol in section "8.1.4 Text marks" of the
manual but I can't figure out how to use it the way I want.

Thanks,

Zoltán




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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