[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \tempo - how to remove parentheses around metronome marks ?
From: |
Paul Scott |
Subject: |
Re: \tempo - how to remove parentheses around metronome marks ? |
Date: |
Thu, 15 Jan 2015 17:06:29 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Jan 16, 2015 at 09:01:45AM +1000, Harald Christiansen wrote:
> Hi,
>
> \tempo "Moderato, " 4=112
>
> How do I remove the parentheses around metronome marks ?
I define these markups:
#(define-markup-command (mm layout props notetype beats) (string? string?)
(interpret-markup layout props
(markup
#:tiny "("
#:teeny #:raise 0.4 (#:note notetype 1)
#:tiny "="
#:tiny beats
#:tiny ")"
)))
#(define-markup-command (MM layout props notetype beats) (string? string?)
(interpret-markup layout props
(markup
#:tiny #:raise 0.4 (#:note notetype 1)
#:tiny "="
#:tiny beats
)))
and include one or the other of them in my tempo markup:
\tempo \markup\bold{ Moderato, \MM #"4" #"112" } %no parens
\tempo \markup\bold{ Moderato, \mm #"4" #"112" } %with parens
These have worked for the last several development versions which
means it will work with 2.18
Paul Scott
>
>
> Thanks.
>
> Cheers.
>
> --
> Nihil verus. Omnia possibilia.
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user