[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spanner and epsfile
From: |
Bernardo Barros |
Subject: |
Re: spanner and epsfile |
Date: |
Tue, 31 Oct 2017 23:21:49 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
Sorry, It's actually quite easy (see snippet).
I'm still trying to figure out my other question, how to have
inter-penetrating spanners, or rather, how to have one spanner parallel
to another without conflict?
I can imagine two solutions:
1) Two or more voices, one with all notes hidden. Ugly solution.
2) Another function that behaves exactly like TextSpanner, but with
another name, e.g. \startBowPositionSpanner or \startBowPressureSpanner,
&c., not conflicting with each other. Possible?
\relative c'' {
\override TextSpanner.bound-padding = #1.0
\override TextSpanner.style = #'line
\override TextSpanner.bound-details.right.arrow = ##t
% \override TextSpanner.bound-details.left.text = #"mst" % an EPS file here
\override TextSpanner.bound-details.left.text = \markup { \epsfile #X
#3 #"drawing.eps" }
\override TextSpanner.bound-details.right.text = #"msp" % another one here
\override TextSpanner.bound-details.right.padding = #0.6
\override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER
\override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
a8\startTextSpan gis a4 b b,
g'4 c\stopTextSpan c2
}