Following my previous mail I have tried to simplify my problem in a book 
containing three tunes:
1. A normal tune with 13 lines of Music where the last line should spill over 
into the next page. It doesn’t when compiled together with…
2. A so called reduced tune also with 13 lines which now fits onto one page 
after following suggestions from Thomas Morley.
3. The final tune is normal and should perform as number 1 and spill over onto 
the next page – it doesn’t.

Simply stated, I want to be able to reduce the size of one tune in a book where 
the majority of tunes have a larger global definition of staff size. The files 
are a simple and small as I could possibly make them at the same time 
illustrating my dilemma.

John McWilliam

Sent from Mail for Windows 10

From: John McWilliam
Sent: Wednesday, August 7, 2019 8:12 PM
To: [email protected]
Subject: RE: Overriding a global declaration

Reply to Thomas Morley:

Still not out of the woods yet. I think it is due to the fact that your example 
creates a bookpart in the Tune file and then again in the Book file. If I 
remove the book deklaration from the Book file I loose my Table of Contents! 
Also, isn’t the \paper section  unnecessary if it appears in BP_format.ily?? 
Sorry if my questions appears basic in nature – my level of experience using 
Lilypond is limited.

John McWilliam

Sent from Mail for Windows 10

From: John McWilliam
Sent: Wednesday, August 7, 2019 9:33 AM
To: John McWilliam
Subject: Fwd: Overriding a global declaration


Skickat från min iPhone

Vidarebefordrat brev:
Från: Thomas Morley <[email protected]>
Datum: 6 augusti 2019 19:54:37 CEST
Till: John McWilliam <[email protected]>
Kopia: lilypond-user <[email protected]>
Ämne: Re: Overriding a global declaration
Am Mo., 5. Aug. 2019 um 14:21 Uhr schrieb Thomas Morley
<[email protected]>:

Am Mo., 5. Aug. 2019 um 12:46 Uhr schrieb John McWilliam
<[email protected]>:

<To have one tune at a lower size I'd use `staffSize´ from

<http://lsr.di.unimi.it/LSR/Item?id=862 or the builtin `magnifyStaff´.

<Afaik, `set-global-staff-size´ is settable only for books in the samw

<file, but not per score...



I tried your suggestion introducing:



  \new Staff \with {

     fontSize = #-2

     \override StaffSymbol.staff-space = #(magstep -2)

     \override StaffSymbol.staff.thickness = #(magstep -2)

   }



This gave the result shown above. The notes are smaller but the lines are more 
spaced so I still have three lines flowing over onto the next page.

Don't forget to reply to all.
Currently I've not the time to look into it, others may want to chime in ...

After having done a recital today, I had the time to look into it again.

\magnifyStaff and the other overrides affect the staff and it's
content but ofcourse not other vertical spacing settings.
Iiuc you want said score on a single page, then why not use \bookpart
and do some settings in the bookparts \paper.

Using your settings from your recent post, below works for me:

\version "2.18.0"


%       1. Comment out generation of midi files before compiling book
%      2. Comment out top section when compiling book
%    3. Option to comment out "meter" from title e.g. if more than one tune
%       per page.
% from here
%
\include "bagpipe.ly"
%\include "../Includes/BP_format.ly"

\include "BP_format.ily"

%to here..........................................................
%}
%#(set-global-staff-size 14)
\bookpart {
 \paper {
     ragged-last-bottom = ##f
     ragged-bottom = ##f
     %% no need to uncomment/change below for the minimal example
     %%
   %system-system-spacing =
   %  #'((basic-distance . 0)
   %     (minimum-distance . 0)
   %     (padding . 0)
   %     (stretchability . 10000))
 }
 \score {
     \new Staff
       \with {
           fontSize = #-2
           \override StaffSymbol.staff-space = #(magstep -2)
           \override StaffSymbol.thickness = #(magstep -2)
       }
     {
     \time 2/4
     \tempo 4 = 80
     \hideKeySignature
     \bar ".|:"

     % Part 1
     \repeat unfold 13 { s1 \break }%music goes here
     % Part 2
     % Part 3
     % Part 4

     } %end staff

   \header {
     meter = "Type"
     piece = "Title"
     composer = "Composer"
     parttagline = "Copied by John S. McWilliam"
   }
 % added layout options. See bagpipe_new.ly (\layout) for default settings
 %  \layout {
 %        #(layout-set-staff-size 18)
 %        ragged-last = ##t
 %      }

 % \midi {} %Generation of midi files option.

 }%end score
}

Cheers,
 Harm


Attachment: Bagpipe_Book.ly
Description: Binary data

Attachment: Bagpipe_Book.pdf
Description: Adobe PDF document

Attachment: BP_format.ily
Description: Binary data

Attachment: Tune1_normal13.ly
Description: Binary data

Attachment: Tune1_reduced13.ly
Description: Binary data

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to