[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using \book ignores \paper
From: |
Rob V |
Subject: |
Re: using \book ignores \paper |
Date: |
Mon, 13 Dec 2004 11:23:48 -0500 |
Eric,
Here's an example of how I was saying \paper gets ignored when it's used with
\book. I tried moving the \paper block to other parts of the file, but that
didn't change anything. Notice that if you remove \book { } from the file, it
finds the \paper block.
Rob Vlasaty
\encoding "TeX"
\version "2.4.2"
\header {
title = "Paper Test"
}
#(set-global-staff-size 20)
\include "english.ly"
staffProp = {
\set Staff.minimumVerticalExtent = #'(-4 . 0)
\set Score.barNumberVisibility = #all-invisible
\set Staff.autoBeaming = ##t
\unset Staff.melismaBusyProperties
}
upperOne =
\relative a'{
\time 4/4
\voiceOne
a4 b c d a b c d \break
a4 b c d a b c d \break
}
upperTwo =
\relative a'{
\voiceTwo
d,4 e f g d e f g
d,4 e f g d e f g
}
lowerOne =
\relative a {
\time 4/4
\voiceOne
a4 b c d a b c d
a4 b c d a b c d
}
lowerTwo =
\relative c {
\voiceTwo
d4 e f g d e f g
d4 e f g d e f g
}
\book {
\score{
\context StaffGroup<<
\context Staff = "upper"
<<
\staffProp
\clef treble
\context Voice = "one" \upperOne
\context Voice = "two" \upperTwo
>>
\context Staff = "lower" <<
\clef bass
\context Voice = "one" \lowerOne
\context Voice = "two" \lowerTwo
>>
>>
\layout { }
}
\paper {
linewidth = 6\in
indent = 0
pagenumber = "no"
}
\score{
\context StaffGroup<<
\context Staff = "upper"
<<
\staffProp
\clef treble
\context Voice = "one" \upperOne
\context Voice = "two" \upperTwo
>>
\context Staff = "lower" <<
\clef bass
\context Voice = "one" \lowerOne
\context Voice = "two" \lowerTwo
>>
>>
\layout { }
}
}
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm