[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special markups
From: |
Carl D. Sorensen |
Subject: |
Re: Special markups |
Date: |
Mon, 18 May 2009 19:58:15 -0600 |
On 5/18/09 4:09 PM, "Neil Puttock" <address@hidden> wrote:
> 2009/5/18 Mark Polesky <address@hidden>:
>> Helge Kruse wrote:
>>> I want to add
>> markups... circled T and the
>>> half-moon... How do I add such special markups?
>>
>> See the 2 attached files.
>
> Nice curve. :)
>
> Here's a slightly simplified version:
>
> #(define-markup-command (fingernail layout props) ()
> (ly:make-stencil
> (list 'bezier-sandwich
> '(list 1.6 1.5 0.4 1.5 0 0 2 0
^^^^
This list is unnecessary, since the list is quoted, I think.
> 0.4 0.75 1.6 0.75 2 0 0 0)
> 0.15)
> '(0 . 2)
> '(0 . 1.75)))
>
Perhaps for maximum clarity, we should write this as:
#(define-markup-command (fingernail layout props) ()
(ly:make-stencil
(list 'bezier-sandwich
(list 1.6 1.5 0.4 1.5 0 0 2 0
0.4 0.75 1.6 0.75 2 0 0 0)
0.15)
(cons 0 2)
(cons 0 1.75)))
I think we just had a discussion where we decided that the '(A . B) syntax
was more confusing than (cons A B) because the period could be overlooked.
HTH,
Carl
- Special markups, Helge Kruse, 2009/05/18
- Re: Special markups, Helge Kruse, 2009/05/18
- Message not available
- Re: Special markups, Helge Kruse, 2009/05/18
- Re: Special markups, James E. Bailey, 2009/05/18
- Re: Special markups, Mark Polesky, 2009/05/18
- Re: Special markups, Neil Puttock, 2009/05/18
- Re: Special markups,
Carl D. Sorensen <=
- Re: Special markups, Helge Kruse, 2009/05/19
- Re: Special markups, Graham Percival, 2009/05/20
- Re: Special markups, Helge Kruse, 2009/05/21
- Re: Special markups, Neil Puttock, 2009/05/20