bug-lilypond
[Top][All Lists]
Advanced

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

Re: paper statements in score


From: Mats Bengtsson
Subject: Re: paper statements in score
Date: Wed, 15 Nov 2006 20:33:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060926 Debian/1.7.8-1sarge7.3.1

In principle, you can do
\begin{lilypond}
\score{...}
\paper{...}
\end{lilypond}

However, most of the paper variables you mention in your
example below will not be taken into account when you use
lilypond-book, since each score line is typeset as a single
EPS file and if you want to affect what happens between the
score lines, then you have to do that in LaTeX, by defining
the LaTeX function \betweenLilyPondSystem which is called
between each system. See the manual.

  /Mats


karim haddad wrote:

Yes thanx for the reply
But this is the point of my question:
When you use lilypond-book for compiling lilypond scores in a tex book,
the doc says clearly that it does only \score statement.
If i put the \paper statement within the \score statement lilypond is not at all happy:

error: \paper cannot be used in \score, use \layout instead

\paper {

so the problem is to verticaly padd the systems .

how i am trying to see.

Thanx
karim


On Nov 14, 2006, at 10:16 PM, Mats Bengtsson wrote:

Quoting karim haddad <address@hidden>:

Hi

i don't believe this to be a bug (or is it one ?)

using lilypond-book in the doc it is clearly stated "Only the first \score of a LilyPond block is processed."

so i believe that the \paper block won't work.


Why "believe" when you can easily try it yourself with a small
example? I see no reason why it shouldn' work (a \paper block
is definitely not a \score block).

  /Mats

how to use then :

\paper {
  systemSeparatorMarkup = \slashSeparator
  #(define page-breaking ly:optimal-breaking)
  between-system-space = 3.5\cm
  between-system-padding = #5
  ragged-bottom=##t
  ragged-last-bottom=##f
}

inside a score block?
using it in layout doesn't work .
Any ideas.

It should be used since the space berween systems are really narrow and while using lyrics, these are very close to the bottom system. Is it a bug or is there a workaround ?

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








--
=============================================
        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]