Ledocq-Boccart wrote:
Hi,

Maybe these links will help!

http://lilypond.org/doc/v2.10/Documentation/user/lilypond/lily-5ec9ac4df8.ly http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Moving-objects#Moving-objects
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Saving-typing-with-identifiers-and-functions#Saving-typing-with-identifiers-and-functions
Unfortunately, none of the above links provide much additional information
compared to what's already use by Anh. However, the one below includes the
line that he probably is looking for:
\once \override Score . RehearsalMark #'self-alignment-X = #LEFT
This gives the left alignment of the text marks.

  /Mats

http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Style-sheets#Style-sheets

best regards

Charlie


Anh Hai Trinh a écrit :
Hello,

I want to have a function that can put text tempo marking, e.g. "Allegro".
The manual suggests

tempoMark = #(define-music-function (parser location padding marktext)
                                   (number? string?)
#{
  \once \override Score . RehearsalMark #'padding = $padding
  \once \override Score . RehearsalMark #'no-spacing-rods = ##t
  \mark \markup { \bold $marktext }
#})

<http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Simple-substitution-functions#Simple-substitution-functions>

But that put the text centered on the bar line and that's not right. Is
there a way to do it properly, i.e. left aligned with the bar?

Thanks,
AT


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user





_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to