On 15.09.2016 22:13, dtsmarin wrote:
Hi everyone!
Is it possible in Lilypond to create a function that detects the last
note\beat
Writing LilyPond code does influence habits…
of a text spanner and then places a markup on the following beat?
e.g. \spanner { %music } r <- here the function should place automatically
a markup ...
Easy – use an empty chord:
(I may assume you’re using development versions?)
\version "2.19.47"
ottavaWithLoco =
#(define-music-function (mus) (ly:music?)
#{
\set Staff.ottavation = 1
$mus
\set Staff.ottavation = 0
<>^\markup \italic "loco"
#})
HTH, Simon
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user