[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parenthesised articulations
From: |
Simon Albrecht |
Subject: |
Re: Parenthesised articulations |
Date: |
Sun, 31 Jan 2016 15:02:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 31.01.2016 14:48, Andrew Bernard wrote:
If I have an accent and a staccato indication together on a note and I
want a single set of parentheses around both, how can this be
achieved? Is this possible?
How about that? Couldn’t think of a less clumsy name.
%%%%%%%%%%
\version "2.19.35"
shortAccentWithParens = -\tweak stencil #ly:text-interface::print
-\tweak text \markup {
\parenthesize
\put-adjacent #Y #DOWN
\musicglyph #"scripts.sforzato"
\musicglyph #"scripts.staccato"
}
->
{
c''^\shortAccentWithParens
}
%%%%%%%%%%