lilypond-user
[Top][All Lists]
Advanced

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

Re: Henle piano template


From: David Kastrup
Subject: Re: Henle piano template
Date: Tue, 16 Jul 2013 23:50:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> What's the easy way of saying "center the number in a box at least
> 'this big', but use the number's real extent if it's bigger than
> that"?

\hcenter-in does that.

#(define-markup-command (ellipse layout props text) (markup?)
  #:properties ((thickness 0.2) (box-padding 0))
   (ellipse-stencil (interpret-markup layout props text)
    thickness box-padding box-padding))

\markup \ellipse \hcenter-in #2.5 { "1" "12" "123" "1234" }

-- 
David Kastrup




reply via email to

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