[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
moving tweaks into markup-definition
From: |
Orm Finnendahl |
Subject: |
moving tweaks into markup-definition |
Date: |
Tue, 16 Sep 2014 23:33:12 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi,
here is the next question:
Is there a way to move the tweaks in the following code into the
markup definition of secs so that they don't clutter up the score?
--
Orm
%<------------------------------------------------------------
\version "2.19.5"
#(define-markup-command (secs layout props numsecs)
(string?)
(interpret-markup layout props
(markup
#:fontsize -1
#:bold numsecs)))
{ r1 \fermata
-\tweak self-alignment-X #-0.5
-\tweak padding #4
^\markup \secs #"> 2\"" }
%<------------------------------------------------------------
- moving tweaks into markup-definition,
Orm Finnendahl <=