[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hairpins ending at line break (or bar line)
From: |
Paul Scott |
Subject: |
Re: hairpins ending at line break (or bar line) |
Date: |
Sun, 16 Nov 2003 12:07:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 |
Kieren Richard MacMillan wrote:
Paul said:
I think that's it right now. Something like:
<< { a1 } { s2..\< s8\! } >>
You just have to adjust the s values to get what you need.
Unfortunately, that gives this (untweaked):
As you can see, not only do I now have to adjust the stem direction --
to be "natural", and not "a la \voiceOne" -- but the spacing engine
has not properly dealt with the time and key signature announcements.
Perhaps this is a bug? For regression testing, here's the relevant
input (minimal case):
%% m001
\time 6/4
b16 ef,( d cs) \ferSlur bf''4\fermata~( bf16 a) g-. fs-. fs( g)
f-. ef-. << { d4 c\trill } \\ { s4\> s8. s16\! } >> |
%% m002
\break
\key bf \major \time 4/4
1. The key change seems to be the problem here. Something about it
makes the spacing for that last quarter note bad. Simply removing the
key change and tweaking as in 2. solves the over the bar line problem.
The spacing of the quarter note is still not as good as it could be.
Also the problem goes away even with the key change if you can put
another measure on that line. See attached example.
2. It may take more tweaking as in: s8 s16\! s16
3. I guess ferSlur is a construction of yours.
Paul
\include "paper20.ly"
\include "english.ly"
hptest = \notes\relative c'' {
\key g \major \time 6/4
b16 ef,( d cs)
bf''4~(\fermata bf16 a) g^. f^.
f16( g16) f^. ef^.
d4\> << c4\trill { s8 s16\! s16 } >>
\bar "||"
\key bf \major
\time 4/4
bf1
}
\score {
\context Staff <<
\notes { \hptest }
>>
}
Re: hairpins ending at line break (or bar line), José Luis Cruz, 2003/11/16