[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alignment of text in TextSpanner
From: |
libero . mureddu3 |
Subject: |
Re: alignment of text in TextSpanner |
Date: |
Mon, 26 Sep 2005 16:47:57 +0300 |
>Il giorno 23/set/05, alle ore 15:54, Mats Bengtsson ha scritto:
>
>Assuming that you mean vertical alignment throughout, I now understand
>why you complained about alignment on the letter 'd'.
>Maybe it helps to use a trick similar to
>http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00305.html
Hi Mats,
thank you for your suggestions, now it works!
Libero Mureddu
\version "2.7.10"
\relative c'' {
\override TextSpanner #'font-shape = #'upright
% The following line produces bad vertical alignment
% \override TextSpanner #'edge-text = #'("s.p." . "ord.")
% Mats solution for the alignment
\override TextSpanner #'edge-text = #(cons (markup #:line ( "pont. " #:hspace
0.0 )) (markup #:line ( "ord. " #:hspace 0.0 )))
\override TextSpanner #'bound-padding = #1.0
\override TextSpanner #'dash-fraction = #'()
\override TextSpanner #'arrow = ##t
a8\startTextSpan gis8 a4 b4
b,4 g' c\stopTextSpan c
}