lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5539 TextSpan


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5539 TextSpanner: left text incorrectly influences dashes
Date: Mon, 22 Jul 2019 06:51:42 -0000

You are right, there were typos in my example. Sorry for that. Here is something updated, together with an image.

\paper {
  indent = 0\cm
  ragged-right = ##f
  line-width = 16\cm
}

\relative c' {
  \override TextSpanner.dash-fraction = #0.1
  \override TextSpanner.dash-period = #8
  \override TextSpanner.bound-details.left.padding = #1

  \override TextSpanner.bound-details.left.text = "foo"
  e1\startTextSpan |
  \override TextSpanner.bound-details.left.text = "bar"
  e8\stopTextSpan\startTextSpan e e e e e e e |
  \override TextSpanner.bound-details.left.text = "baz"
  \override TextSpanner.bound-details.right.text = "umpf"
  e4\stopTextSpan\startTextSpan e e e |
  e1\stopTextSpan
}

I would like to enter this as something like

\relative c' {
  \override TextSpanner.dash-fraction = #0.1 % fixed
  \override TextSpanner.dash-period = #8     % a hint for LilyPond

  \override TextSpanner.text = #'("foo" "bar" "baz" "umpf")
  e1\startTextSpan |
  e8 e e e e e e e |
  e4 e e e |
  e1\stopTextSpan
}

and let LilyPond find out a good value for dash-period (based on the suggested value) that looks nice for all sub-spanners.

Attachments:


[issues:#5539] TextSpanner: left text incorrectly influences dashes

Status: New
Created: Sat Jul 20, 2019 08:17 AM UTC by Werner LEMBERG
Last Updated: Sun Jul 21, 2019 12:41 PM UTC
Owner: nobody
Attachments:

[git commit 49f41bf1c64ae1e2490571e73a85cbc4b2a9fb27]

\version "2.21.0"

\header { texidoc = "
  For a text spanner, the length of the (left) text element
  must not influence the distance between and the length of
  dashes.

  Here is a counterexample.
" }

\relative c' {
  \override TextSpanner.dash-period = #8
  \override TextSpanner.dash-fraction= #0.1

  \override TextSpanner.bound-details.left.text = "im"
  e1\startTextSpan e1 e1\stopTextSpan

  \override TextSpanner.bound-details.left.text = "immer"
  e1\startTextSpan e1 e1\stopTextSpan
}

Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

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