|
From: | tisimst |
Subject: | Re: Cautionary Accidental Stencil |
Date: | Tue, 22 Nov 2016 13:26:12 -0700 (MST) |
Hello!
I am working from an edition that uses square brackets for items added
by the editors. I was able to change the stencils property for
\parenthesize for most of these, but there are some accidentals that
have been added. Currently, I'm using the following to produce a
reasonable approximation, but are there any simpler ways to do this?
\version "2.19.50"
%% Set of overrides to approximate a cautionary natural inside square
brackets instead of parentheses
brackNat = {
\once\override AccidentalCautionary.stencil = #ly:text-interface::print
\once\override AccidentalCautionary.text = \markup {
\concat{\translate #'(0.0 . -0.7) [
\musicglyph #"accidentals.natural"
\translate #'(0.0 . -0.7) ]}
}
}
\score {
\new Staff {
c''4 c''? \brackNat c''? c''
}
}
Thanks for any advice you can offer!
[Prev in Thread] | Current Thread | [Next in Thread] |