Re: layout scope

2016-03-08 Thread BB

Thank you, works!

On 08.03.2016 14:03, Malte Meyn wrote:

Am 08.03.2016 um 13:53 schrieb BB:

How can I restrict the scope of \layout{} to only one \score{}?


Just put the \layout block into the \score block. Same for \midi:

\score {
  [MUSIC]
  \layout { […] }
  \midi { […] }
}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: layout scope

2016-03-08 Thread Andrew Bernard
Hi BB,

Section 4.2.1 on the \layout block in the NR explains this.

Andrew


On 8/03/2016, 23:53, "BB" 
 wrote:


How can I restrict the scope of \layout{} to only one \score{}? 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: layout scope

2016-03-08 Thread Malte Meyn

Am 08.03.2016 um 13:53 schrieb BB:

How can I restrict the scope of \layout{} to only one \score{}?


Just put the \layout block into the \score block. Same for \midi:

\score {
  [MUSIC]
  \layout { […] }
  \midi { […] }
}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fwd: layout scope correction

2016-03-08 Thread BB




 Forwarded Message 
Subject:layout scope
Date:   Tue, 8 Mar 2016 13:53:30 +0100
From:   BB <bb-543...@telecolumbus.net>
To: lilypond-user Mailinglist <lilypond-user@gnu.org>



In the added example I want to have one noteline with bar lines the 
second noteline without bar lines.


How can I restrict the scope of \layout{} to only one \score{}?

*Sorry, the code in my former post was errounous! Here the correctly 
compiling code: *


 \version "2.18.0" 
#(set-global-staff-size 30) %%% Systemgröße a-pent = { \relative c { 
\clef bass \key a \major a b cis e fis a a fis e cis b a } } 
a-bseven-pent = { \relative c { \clef bass \key a \major a b cis e fis g 
a a g fis e cis b a } } \layout { indent = 4\cm \omit Stem \context { 
\Score defaultBarType = "" } } \score { << \new Staff { \a-pent} >> } 
\score { << \new Staff { \a-bseven-pent} >> } 





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


layout scope

2016-03-08 Thread BB
In the added example I want to have one noteline with bar lines the 
second noteline without bar lines.


How can I restrict the scope of \layout{} to only one \score{}?

 \version "2.18.0"

#(set-global-staff-size 30)

a-pent = {

\relative c {

\clef bass

\key a \major

a b cis e fis a a fis e cis b a

}

}

a-bseven-pent = {

\relative c {

\clef bass

\key a \major

a b cis e fis g a a g fis e cis b a

}

}

\layout {

indent = 4\cm

\omit Stem

\context {

\Score

defaultBarType = ""

}

}

\score {

<<

\new Staff { \a-pent-four}

>>

}

\score {

<<

\new Staff { \a-bseven-pent-four}

>>

} 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user