lilypond-user
[Top][All Lists]
Advanced

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

tempo marking fuction


From: Anh Hai Trinh
Subject: tempo marking fuction
Date: Thu, 21 Feb 2008 00:04:32 -0500
User-agent: Opera Mail/9.50 (Linux)

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




reply via email to

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