lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Behaviour of TextSpanner dashes


From: Urs Liska
Subject: Re: Behaviour of TextSpanner dashes
Date: Wed, 05 Feb 2014 16:01:44 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

Am 05.02.2014 15:52, schrieb Phil Burfitt:
----- Original Message ----- From: "Urs Liska" <address@hidden>
To: "lilypond-user" <address@hidden>
Sent: Wednesday, February 05, 2014 1:59 PM
Subject: Behaviour of TextSpanner dashes


Hi,

in the attached image you see a TextSpanner, and I'm having some issues
with it:

- why is the first dash longer than the other(s),
  is this a design decision (if yes, why)?
  can it be modified?
- is it possible to make a TextSpanner always to align
  to the right edge of the score (i.e. the barline)
  and let the dash structure adapt to that?
  (I see the 'right-bound-info' property but didn't
   find any helpful information on that alist)
- is it possible to tweak
  - the attachment of the first dash to the text and
  - the vertical position of the dashes (i.e. raise
    it a little bit relatively to the text)
  ?

Thanks for any explanation or ideas
Urs


Hi Urs,

You can change the look of the dashes (add your own numbers) ...

\override TextSpanner.dash-period = #0.8
\override TextSpanner.dash-fraction = #0.2

Yes, I know
(I think that was already visible in the attached image ;-) )


and you could add a space after "rit.". ie. "rit. ".

or maybe...

\override TextSpanner.bound-details.left.text = \markup { "rit." \hspace
#0.5 }

OK, this works (even as
    \markup { \concat { $text \hspace #0.5 } }
inside a function.
Although I find it a bit hacky ...


You could also superscript a space after "rit." which would raise the
dashed line, or maybe use \vspace or \raise.

Hm, neither \super, \vspace nor \raise seems to have any effect on the dashes.



Don't know if that helps?


As said, partially.

Thanks
Urs

Phil.






_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]