lilypond-user
[Top][All Lists]
Advanced

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

Re: two-pass line breaking


From: David Bobroff
Subject: Re: two-pass line breaking
Date: Fri, 28 Nov 2008 19:50:16 +0000
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

Basil,

I've massaged your input file a bit.  I think this produces what you want.

Notice I commented out the Score.timing line.

%%%%%%%%%%%%%%%%%%%%%
melody = \relative c'
{
%\set Score.timing = ##f
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
}

tweaks = {
\break
\skip 1*4/1 % why the /1 ?  It's not necessary
\break
\skip 1*4/1
\break
\skip 1*4/1
\break
}

\score {
        \context Staff
        <<
        \melody
        \tweaks
        >>
}

%%%%%%%%%%%%%%%%%%%%%

Basil Crow wrote:
Dear list,

Suppose I have a .ly file with Score.timing set to false and no line breaks (that is, everything is typeset on one line):

\relative c'
{
\set Score.timing = ##f
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
f4 g a b
}

Now suppose I have the following preprocessed line breaks:

tweaks = {
\break
\skip 1*4/1
\break
\skip 1*4/1
\break
\skip 1*4/1
\break
}

How can I integrated these breaks into the score?

Basil


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






reply via email to

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