[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quarter notes with bars like \breve
From: |
David Kastrup |
Subject: |
Re: Quarter notes with bars like \breve |
Date: |
Sun, 28 Feb 2016 22:03:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Gregor Giesen <address@hidden> writes:
> Dear Simon,
>
> On 28.02.2016 20:12, Simon Albrecht wrote:
>> On 28.02.2016 18:31, Gregor Giesen wrote:
>> > how can I write a quarter note (without stem) embraced by two bars
>> > exactly like a note of the length \breve?
>>
>> It’s not easy, since the bars belong to the note head glyph used by
>> breve notes. Probably you need to combine three tools:
>> – [\once] \hide Stem
>> – Overriding the NoteHead stencil using a markup expression:
>> <http://www.lilypond.org/doc/v2.18/Documentation/notation/modifying-s
>> tencils>
>> – and the \path markup command
>> <http://www.lilypond.org/doc/v2.18/Documentation/notation/graphic#ind
>> ex-_005cpath-1>
>> for drawing the actual note head. I don’t have much experience with
>> this, others on the list might help.
> thanks a lot! I tried the following, which unfortunately does not scale
> well. However, it is a quick fix:
>
> barPath = #'((moveto 0 -.6)
> (lineto 0 .6)
> (moveto 1.3 -.6)
> (lineto 1.3 .6)
> (closepath))
Working with curveto should likely scale better.
--
David Kastrup