lilypond-user
[Top][All Lists]
Advanced

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

Re: Problems regarding figured bass


From: Mark Polesky
Subject: Re: Problems regarding figured bass
Date: Sun, 14 Jun 2009 09:46:54 -0700 (PDT)

Reinhold Kainhofer wrote:
> One more problem with figured bass:
> 4) How can I draw a hat above a 5?

Here's the basic idea; you can format the markup-command
to suit your tastes.

HTH.
- Mark


\version "2.13.1"
\include "english.ly"

#(define-markup-command (with-hat layout props x) (string?)
  (interpret-markup layout props
    (markup #:combine #:tiny #:number x #:super "^")))

\relative {
  <<
  {
    \clef bass
    bf bf, r d
  }
  \figures {
    <\markup \with-hat #"5">
  }
  >>
}


      

Attachment: hat-on-a-figure.png
Description: PNG image


reply via email to

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