lilypond-user
[Top][All Lists]
Advanced

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

Re: How to use diferente paper layouts in a \book


From: Federico Bruni
Subject: Re: How to use diferente paper layouts in a \book
Date: Thu, 14 Jun 2012 00:11:55 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

Il 13/06/2012 15:57, ALEXANDRE FICAGNA ha scritto:
Nobody knows how to do it?

2011/5/25 Alexandre Ficagna<address@hidden>:
Hy all,

I'm trying do create a score with the individual parts after the
global one, but the global part in landscape and the individual parts
in portrait style.
I'm using \book and \bookpart commands, doing this for the global part;
\book {
    \paper {
       #(set-paper-size a4 'portrait)
     }
...
and for the parts:
\bookpart {
    \paper {
       #(set-paper-size a4 'portrait)
     }
....

What should I do?

Cheers,
Alexandre


Well, in the pasted example you used 'portrait twice :-)

And you forgot the "" for paper sizes.
The following snippet works fine:

\version "2.15.40"

% Default portrait orientation for implicit \book block
\paper {
  #(set-paper-size "a4" 'portrait)
}

\bookpart {
  \score {
    \repeat unfold 20 { c1*4 }
  }
}


% Override default -> use landscape
\bookpart {
  \paper {
    #(set-paper-size "a4" 'landscape)
  }
  \score {
    \repeat unfold 20 { c1*4 }
  }
}




reply via email to

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