Am Montag, 10. März 2008 schrieb Reinhold Kainhofer:
> I've run into a problem with text crescendi: I don't want any spanner lines
> for the "cresc.", "dim.", "cresc molto." etc. spanners, so I'm setting
> their #'dash-period to #-1.0. However, in this case, the position of the
> "cresc." text is still calculated as if the line was present. 

I found an even worse (and just as simple) example, where even a key change 
messes things up. To make think worse, the bar number is printed ABOVE the 
hidden spanner and thus also way too high...

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
\version "2.11.41"

#(set-bar-number-visibility 1)

\relative c'' { \dynamicUp
  % Show bar numbers
  \override Score.BarNumber  #'break-visibility = #end-of-line-invisible
  % set text crescendi and hide the line
  \setTextCresc \override DynamicTextSpanner #'dash-period = #-1.0
  c1\< |
  \key a \major 
  c1\p
}

Attachment: text_spanner_no_line1.pdf
Description: Adobe PDF document

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

Reply via email to