[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Help on markups
From: |
Han-Wen Nienhuys |
Subject: |
RE: Help on markups |
Date: |
Fri, 16 Apr 2004 20:10:58 +0200 |
address@hidden writes:
> Thanks Jan.
>
> So I revised my code, and now it works. For the sake of somebody else
> who might someday struggle with a similar thin,
> Here's a working code fragment.
>
> #(def-markup-command (markup-dot paper props radius) (number?)
> "Syntax: \\markup-dot dot-radius
> eg: \\markup-dot #0.25 for dot with 1/2 staff space diameter"
> (ly:make-stencil (list 'dot 0 3 radius) (cons radius radius) (cons
> radius radius) )
> )
I would assume
(cons (- radius) radius)
since they are intervals.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen