Hello,

On 14/03/17 11:51, Thomas Morley wrote:
2017-03-14 12:18 GMT+01:00 Klaus Rettinghaus
<klaus.rettingh...@alumni.tu-berlin.de>:
Ok, here's another try:
(Version 2.19.56)

{
\override NoteHead.transparent = ##t
e'
\tweak Stem.length #3 e'
\tweak Stem.length #6 e'
}

The normal stem of an e' has the length of approximately 3 staff spaces. So
I tweak the stem length to 3 (staff spaces) to match the previous. But it
turns out to be only half as long. I have to tweak it to #6 to match a
length of 3 staff spaces.
Where I'am thinking wrong?

Regards
Klaus


I agree with Klaus, Stem.length is measured in half-staff-space, see

{
%% for convenience
   \cadenzaOn
   \hide NoteHead
   \override NoteHead.stem-attachment = #'(0 . 0)

%  \override Stem.after-line-breaking =
%  #(lambda (grob)
%    (format #t "\nstem-length-----------~a" (ly:grob-property grob 'length)))

   e'4
   \tweak Stem.length #0 e'
   \tweak Stem.length #1 e'
   \tweak Stem.length #2 e'
   \tweak Stem.length #3 e'
   \tweak Stem.length #4 e'
   \tweak Stem.length #5 e'
   \tweak Stem.length #6 e'
   \tweak Stem.length #7 e'
}

The IR is generated automatically and I've found the length-property
in lyric-syllable-interface as well. Where the description puzzles me
even more.
Though, no time to research further yet.
Have to run for my regular job...

Cheers,
   Harm



Thanks Harm for another point of view, obviously I am not understanding this - as it looked like full staff spaces to me at first.

anyway I have created issue

https://sourceforge.net/p/testlilyissues/issues/5095/

It's set as a 'documentation' issue for now (assuming that the actual output is correct as it is coded).

Thanks for your patience Klaus.

James


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to