lilypond-user
[Top][All Lists]
Advanced

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

Re: automatic metronome mark parentheses


From: Jacques Menu
Subject: Re: automatic metronome mark parentheses
Date: Tue, 30 Oct 2018 14:50:15 +0100

Thanks a lot, Ben!

JM

Le 30 oct. 2018 à 13:25, Ben <address@hidden> a écrit :

On 10/30/2018 8:21 AM, Jacques Menu wrote:
Hello folks,

The LPNR states that:

	Combining a metronome mark and text will automatically place the metronome mark within parentheses

Is there a way to remove those parentheses explicitly?

Thanks for your help!

JM


Hello,

You can approach this a few ways (see here http://lilypond.1069038.n5.nabble.com/tempo-how-to-remove-parentheses-around-metronome-marks-td170530.html)

{
  \tempo \markup {
    \concat {
      "Moderato "
      \smaller \general-align #Y #DOWN \note #"4" #1
      " = "
      \smaller \general-align #Y #DOWN #"112" 
      
    }
  }
  c'1 c'1 c'1
}


%%%%%%%%%%%%%%

#(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
  )))


\tempo \markup\bold{ Moderato, \MM #"4" #"112" }  %no parens

\tempo \markup\bold{ Moderato, \mm #"4" #"112" }  %with parens
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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