lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with line breaks


From: Mats Bengtsson
Subject: Re: Help with line breaks
Date: Mon, 11 Apr 2005 16:25:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319

The support for page breaks between scores was introduced in
version 2.5.2. Note that version 2.5.0 is much older than
the latest stable version, 2.4.5, for example.

If you have several \book{...} in your .ly file, you will
get a separate output file for each of them, so there's no
need to split the input into several files if you go for that
option.

    /Mats

dax2 wrote:
On Mon, 11 Apr 2005 11:11:07 +0200
Mats wrote:


can be set in the \header block for each score.


In short, I've tried some solutions, see below. However, none works.
Could Helder use a \Tex command?

Or simply: make three files "gi-score.ly", "gii-score.ly"
and "duo-score.ly"

which is guaranteed to work;-)

-----***-----

The 2.5.x possibilities are interesting, but I cannot find them. I
tried some header blocks on the example from Helder Gomes da
Silva, but no pagebreaks occurred.

There is a \pageBreak "music-expression" which does not work
in 2.5.0 when it is at the last or first bar, like this:

gi = {\set Staff.instrument = "Gui. I"
       \set Staff.instr = "I"
     \pageBreak
       e g c' a | e g c' a | e g c' a
       e g c' a | e g c' a | e g c' a
       e g c' a | e g c' a | e g c' a
       e g c' a | e g c' a | e g c' a
        \bar "|."
     }

Then there are titles

\score {
    \header {
          piece = "Piece1"
          opus = "Opus 1."
    }
    \gi
}

where \header is a container for title, sub, work etc. Quoting
from 2.5.0 docs:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Titles are created for each \score block, and over a \book.

The contents of the titles are taken from the \header blocks. The
header block for a book supports the following

title
    The title of the music. Centered on top of the first page.
[...]








--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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