|
From: | Simon Albrecht |
Subject: | Re: book parts and page breaks |
Date: | Sun, 15 Mar 2015 20:32:03 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Am 15.03.2015 um 18:15 schrieb Francesco Petrogalli:
Hi, I have attached a set of .ly file that illustrate what I am doing. I would like to have multiple exercise under the same "section", which I am now rendering as \bookpart.
Which logically makes sense.
Which is a good idea if the sections don’t extend over more than, say, one and a half pages.As I said, I'd like to avoid the page break between 'sections'.
I tried to use the \header command inside the \score command, but this would require to have multiple staves in the same \score, and unless I am missing something in the way scores are handles, the only way to have moltiple staves in a score is to render them together as in a piano/orchestral part, which I don't want because I want each exercise to be a single entity.
Of course it’s nonsense to have more than one piece in a score. I’d suggest the following: – Use no bookparts at all.– Write the scores one after the other and simulate the header for each section by placing a toplevel \markup expression before it, e.g.
\markup \fill-line { \null "La tonalità…" \null } \score { … first exercise } \score { … second exercise } \markup \fill-line { \null "L’altra tonalità…" \null } \score { etc. HTH, Simon
I hope I made my point clear now, thanks for any help! Francesco On Sun, Mar 15, 2015 at 1:42 PM, Simon Albrecht <address@hidden> wrote:Am 15.03.2015 um 14:23 schrieb Francesco Petrogalli:Hi, is there a way to avoid page breaks when creating a new \bookpart?No, there isn’t. Actually, having a page break inbetween is most of the point of having multiple bookparts. What’s more, each bookpart may have its own \paper block, whose settings can only be applied if the boI am writing a book of exercises, and each book part consists of multiple exercises, each exercise is rendered within a \score. I am not sure this is the optimal subdivision for a book of exercises, does anybody have experience with such layout?Sounds like the standard way to solve such a task. What is it that makes you doubt? If it’s unclear still, please tell us more on what you are doing and why that way: why do you use bookparts? It’s always helpful to attach a (compilable!) .ly file, also with output (pdf or png). Yours, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |