lilypond-user
[Top][All Lists]
Advanced

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

Re: Constant sized rehersal marks?


From: Kieren MacMillan
Subject: Re: Constant sized rehersal marks?
Date: Sun, 29 Mar 2015 21:11:19 -0400

Hi Trevor,

> Is there some Scheme-ish way to do that with the "\set Score.markFormatter = 
> #format-mark-circle-numbers" context setting?

In my Henle stylesheet, I see I used the following:

#(define-markup-command (oval layout props arg)
 (markup?)
 #:properties ((thickness 1)
               (font-size 0)
               (oval-padding 0.75))
 (let ((th (* (ly:output-def-lookup layout 'line-thickness)
              thickness))
       (pad (* (magstep font-size) oval-padding))
       (m (interpret-markup layout props (markup #:hcenter-in 1.5 arg))))
   (oval-stencil m th pad (* pad 1.5))))

#(define (format-oval-barnumbers barnum measure-pos alt-number context)
 (make-oval-markup
  (robust-bar-number-function barnum measure-pos alt-number context)))

That seemed to work, at least for small-ish numbers.
Maybe that will give you some clues on how to solve your problem?

Hope this helps!
Kieren.

_______________________

Kieren MacMillan, composer
www:  <http://www.kierenmacmillan.info>
email:  address@hidden




reply via email to

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