Hi Trevor,
2014-08-16 1:49 GMT+02:00 Trevor Bača <[email protected]>:
> If anyone wants the complete settings, just let me know.)
>
Yep, looks interesting !
> QUESTION: the one remaining thing I'm looking for is some way to align the
> start of the spanner to the *left edge of the page*. Is there any way to do
> this?
>
> By way of comparison, the break-alignable-interface gives exactly what I'm
> looking for when I'm working with MetronomeMark objects ...
>
> \override MetronomeMark.break-align-symbols = #'(left-edge)
>
> ... but it looks like TextScript and TextSpanner don't implement the
> interface (which is understandable).
>
This is certainly not the right answer to your question but at least it
does the job :
\once \override TextSpanner.bound-details.left.attach-dir = #-7
HTH,
Pierre
\version "2.19.10"
\language "english"
\new Staff {
\once \override TextSpanner.bound-details.left.attach-dir = #-7
\once \override TextSpanner.arrow-width = 0.25
\once \override TextSpanner.bound-details.left.text = \markup {
\smaller
\general-align
#Y
#DOWN
\note-by-number
#2
#0
#1
\upright
" = 67.5"
}
\once \override TextSpanner.bound-details.right.arrow = ##t
\once \override TextSpanner.bound-details.right.padding = 2
c'2 \startTextSpan
d'2
e'2
f'2
g'2
a'2 \stopTextSpan ^ \markup {
\smaller
\general-align
#Y
#DOWN
\note-by-number
#2
#0
#1
\upright
" = 135"
}
}
%%% or in short :
{
\once \override TextSpanner.arrow-width = 0.25
\once \override TextSpanner.bound-details =
#`((left
(text . ,#{ \markup {
\smaller
\general-align #Y #DOWN
\note-by-number #2 #0 #1
\upright
" = 67.5"
} #})
(Y . 0)
(padding . 0.25)
(attach-dir . -7))
(right
(arrow . #t)
(text . ,#{ \markup { " "
\smaller
\general-align #Y #DOWN
\note-by-number #2 #0 #1
\upright
" = 135"
} #})
(Y . 0)
(padding . 2)
(attach-dir . 0)))
c'2 \startTextSpan
d'2
e'2
f'2
g'2
a'2 \stopTextSpan
}_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user