Hello,


thank you. Actually I'm using the stable version (2.10.10 as far as I know), and I don't really want to change it to a version under development unless I'd be really forced to do that. Don't you have some idea that works also with the stable version? (I tried both, but they didn't work in 2.10.10) Of course, if there's no other solution, I'll upgrade my Lily, as my deadline for this score is this weekend...

Thank you again,
Adam

________________
Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam


Trevor Bača wrote:
On 7/25/07, Siska Ádám <[EMAIL PROTECTED]> wrote:
Hello Everyone,


Since yesterday I also found that there are several kinds of horizontal
brackets: volta brackets, mensural ligature brackets, analysis brackets,
the \hbracket markup command (well, that puts a second bracket, but in
reversed direction), measure group brackets, piano pedal brackets,
tuplet brackets... But I couldn't force any of these things to put a
simple horizontal (better would be a double one, but I'd be glad if I
could get even a single) bracket above some of my notes. I also had a
look to the LSR, but there was also nothing related to this. I also
tried to put a textspanner with solid line, but I was unable to display
the small vertical lines at the beginning and the end of the line (which
is the difference between a simple line and a bracket). Can it happen
that there is no routine in Lilypond that could display a common
horizontal bracket?...

Thank you,
Adam

Hi Adam,

The new settings available on the TextSpanner grob are very good for
this sort of thing.

But the settings can be tricky to experiment with.

Here are two examples to get you started.


%%% SPANNERS %%%

\version "2.11.26"


\new Staff {
\override TextSpanner #'dash-fraction = ##f
\override TextSpanner #'bound-details #'right #'padding = #0
\override TextSpanner #'bound-details #'left #'stencil-align-dir-y =
#center
\override TextSpanner #'bound-details #'left #'padding = #0.75
\override TextSpanner #'bound-details #'right #'attach-dir = #right
\override TextSpanner #'bound-details #'left #'text =
\markup { \bold 7 }
\override TextSpanner #'bound-details #'right #'text =
\markup { \draw-line #'(0 . -1) }
c'4 \startTextSpan
c'4 \stopTextSpan

\override TextSpanner #'bound-details #'left #'stencil-align-dir-y =
#up
\override TextSpanner #'bound-details #'left #'padding = #0
\override TextSpanner #'bound-details #'right #'padding = #0
\override TextSpanner #'bound-details #'left #'attach-dir = #right
\override TextSpanner #'bound-details #'left #'text =
\markup { \draw-line #'(0 . -1) }
c'4 \startTextSpan
c'4 \stopTextSpan
}

%%% SPANNERS %%%



Hope this helps.



------------------------------------------------------------------------



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to