Brent, please find herewith the modified files.
Cheers,
Pierre
Le ven. 1 mai 2020 à 12:57, Brent Annable <brentanna...@gmail.com> a écrit :
> Hi Pierre,
>
> Thanks for your answer. I did try that, but because of my file structure
> it doesn't work. As soon as I use \bookpart anywhere in my master file, the
> output is corrupted for some reason -- probably because I'm including
> multiple files that use higher-level expressions and variables with the
> same names. I could reorganize everything, but that's precisely the hassle
> I'm trying to avoid.
>
> I enclose a few files as an example. What I want to do is bring the
> systems of 'All things bright and beautiful' closer together on the page.
> If I do ragged-bottom = ##t they are too close together; I could insert
> some \vspaces to move the whole piece down a bit, but the systems remain
> too bunched-up for my liking. If I put the coding for that section into a
> \bookpart block, the output is immediately corrupted, so I can't use a
> separate \paper block to achieve what I want.
>
> Any ideas on the best way to solve this?
>
> Regards,
>
> Brent.
>
> On Fri, 1 May 2020 at 16:09, Pierre Perol-Schneider <
> pierre.schneider.pa...@gmail.com> wrote:
>
>> Hi Brent,
>> You can put the paper bloc in a bookpart, e.g.:
>>
>> \version "2.20.0"
>>
>> music = { \repeat unfold 100 s1 }
>>
>> \book {
>> \bookpart {
>> \score { \music }
>> \header { piece = \markup\bold\fontsize #5 \fill-line { "15" } }
>> \paper { system-system-spacing.basic-distance = 15 }
>> }
>> \bookpart {
>> \score { \music }
>> \header { piece = \markup\bold\fontsize #5 \fill-line { "20" } }
>> \paper { system-system-spacing.basic-distance = 20 }
>> }
>> \bookpart {
>> \score { \music }
>> \header { piece = \markup\bold\fontsize #5 \fill-line { "30" } }
>> \paper { system-system-spacing.basic-distance = 30 }
>> }
>> }
>>
>> HTH,
>> Cheers,
>> Pierre
>>
>> Le ven. 1 mai 2020 à 05:32, Brent Annable <brentanna...@gmail.com> a
>> écrit :
>>
>>> Hi all,
>>>
>>> I'm currently putting a whole bunch of separate pieces together into one
>>> document, and occasionally I want to manually adjust the distance between
>>> systems in one piece without affecting the spacing in the others. Because
>>> of the file structure I've chosen, I can't include any top-level
>>> instructions in \paper blocks without affecting all the other pieces in the
>>> document. Is there a way of including an instruction within a \score block
>>> (or below), or some other way to help adjust between-system spacing?
>>>
>>> Regards,
>>>
>>> Brent.
>>>
>>
\version "2.19"
rightOneAltII = \relative c' {
\key g\major
%\partial 4
\oneVoice R1
R1
s2 d8 e16 fis g a b c \break
\voiceOne d4. c8 b\arpeggio d c a \oneVoice
<g d b>2 <fis d a>4. g8--
g-- fis-- g-- a-- <g b d g>2\fermata
}
rightTwoAltII = \relative c'' {
\key g\major
s1 s1 s1
a4 gis e e
%\partial 4
}
leftOneAltII = \relative c' {
\key g\major
%\partial 4
\clef bass a4. b8 c b a4
b4. c8 d c b4
s1
b4 b c\arpeggio a
s1
s1
}
leftTwoAltII = \relative c {
\key g\major
%\partial 4
d4. g8 d g d4
g4. d8 g d g4
d8 e16 fis g a b c s2
f,4 e a, c
\oneVoice d-- e-- d4.-- g8--
g-- fis-- <g e>-- <a d,>-- <g, \parenthesize b'>2\fermata
\bar "|."
}
%{
\score {
\header {
%piece = \markup \bold \underline \large "Cwm Rhondda"
}
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\new Staff = "right" << \rightOneAltII \\ \rightTwoAltII >>
\new Staff = "left" << \leftOneAltII \\ \leftTwoAltII >>
>>
\layout { ragged-last = ##f}
}
%}
\version "2.19"
%{\header {
title = "All things bright and beautiful"
subtitle = "TIS 135"
composer = "Alan Collyer"
piece = \markup \bold \underline \large "Intonation"
tagline = ""
}
%}
% <<\voiceOne {} \new Voice {\voiceTwo } >>
% \override Stem.length = 4.6
% \once \override PianoStaff.Arpeggio.extra-offset = #'(0.9 . 0.0)
global = {
\key d \major
\time 4/4
\override BreathingSign.text = \markup {
\line {
\musicglyph #"scripts.lvarcomma"
}
}
}
rightOne = \relative c'' {
\global
%\partial 4
\voiceOne fis8 g a4 a e
d8 e fis4 fis4. c8
b cis d4 d4. fis8
e[ fis] e d cis[ b] a g \break
d'4 fis, g b
a4. fis8 d4 b'
a d fis,4. e8
d4. cis8 d8 e fis e
fis g a4 a b8 cis \break
d e fis4 fis4. c8
b8 cis d4 d4. c8
b8 cis d4 cis8 d e4 d1~-\tweak Y-offset 3.5^\markup {\italic "rall."}
d1\fermata
}
rightTwo = \relative c'' {
\global
%\partial 4
d8 e fis4 e8[ d] cis a
b cis d4 c8 b a4
g8 a b4 a8 g fis4
g8 a g4 a8 g fis e
fis e d4 d cis
a8 b cis2 e8 cis
cis d e g b, d cis4
d4. cis8 b cis d4
d8 e fis4 e8 fis g a
b cis d4 c8 b a4
g8 a b4 a8 g fis4
g8 a b8 g a4 a8 g
fis8 b a g fis g fis e
fis1\fermata
}
leftOne = \relative c' {
\global
s1*12
r4 cis8 b a b a g
a1 \fermata
} %}
leftTwo = \relative c {
\global
%\partial 4
\oneVoice d4 d' cis8 b a4
b, b' a8 g fis4
g,4 g' fis8 e d4
e2 a4 a,
d4. c8 b a g4
fis8 g a4 b8 a g4
fis4 g2 a4
b4 b' a g
fis8 e d4 cis8 b a4
b b' a8 g fis4
g,4 g' fis8 e d4
g, e a8 b cis a \voiceTwo d1~
d1\fermata
\bar "|."
}
%{
\score { \header {piece = \markup \bold \underline \large "Intonation"}
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\new Staff = "right" << \rightOne \\ \rightTwo >>
\new Staff = "left" { \clef bass << \leftOne \\
\leftTwo>> }
>>
\layout {}
}
%}
%{
rightOneAlt = \relative c'' {
\global
\partial 4
\voiceOne
}
rightTwoAlt = \relative c' {
\global
\partial 4
}
leftOneAlt = \relative c' {
\global
\partial 4
\clef bass
}
leftTwoAlt = \relative c {
\global
\partial 4
\bar "|."
}
%{
\score {
\header {
piece = \markup \bold \underline \large "Alternative Harmonisation"
}
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\new Staff = "right" << \rightOneAlt \\ \rightTwoAlt >>
\new Staff = "left" << \leftOneAlt \\ \leftTwoAlt >>
>>
\layout { }
}
%{
rightOneAltII = \relative c'' {
\global
\partial 4
\voiceOne
}
rightTwoAltII = \relative c' {
\global
\partial 4
}
leftOneAltII = \relative c' {
\global
\partial 4
\clef bass
}
leftTwoAltII = \relative c {
\global
\partial 4
\bar "|."
}
\score {
\header {
piece = \markup \bold \underline \large "Alternative Harmonisation"
}
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\new Staff = "right" << \rightOneAltII \\ \rightTwoAltII >>
\new Staff = "left" << \leftOneAltII \\ \leftTwoAltII >>
>>
\layout { }
}
%}
\version "2.19"
\header { tagline = ##f }
\paper { ragged-bottom = ##f }
\layout { indent = 0 }
\include "Ar-Hyd-Y-Nos.ly"
\include "All-Things-Bright-And-Beautiful.ly"
\include "Cwm-Rhondda.ly"
\book {
\bookpart {
\markuplist {
\vspace #1
\fill-line {
\center-column { %\vspace #2
\bold \fontsize #4.5 "Ar Hyd Y Nos"
\bold "TIS 168"
}
}
\fill-line { \null "Alan Collyer" }
}
\tocItem \markup "Ar Hyd Y Nos"
%\include "Ar-Hyd-Y-Nos.ly"
\score {
\header { piece = \markup \bold \underline \large "Intonation" }
\new PianoStaff
\with {
connectArpeggios = ##t
\override Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
} <<
\new Staff = "right" << \rightOneAlt \\ \rightTwoAlt >>
\new Staff = "left" << \leftOneAlt \\ \leftTwoAlt >>
>>
\layout { ragged-right = ##f }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\pageBreak
\markuplist {
\vspace #1
\fill-line {
\center-column { %\vspace #2
\bold \fontsize #4.5 "All things bright and beautiful"
\bold "TIS 135"
}
}
\fill-line { \null "Alan Collyer" }
}
\tocItem \markup "All things bright and beautiful"
%\include "All-Things-Bright-And-Beautiful.ly"
\score {
\header { piece = \markup \bold \underline \large "Intonation" }
\new PianoStaff
\with {
connectArpeggios = ##t
\override Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
} <<
\new Staff = "right" << \rightOne \\ \rightTwo >>
\new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }
>>
\layout {}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\paper { system-system-spacing.basic-distance = 18 }
}
\bookpart {
%\pageBreak
\markup {
\fill-line {
\center-column {
\bold \fontsize #4.5 "Cwm Rhondda"
\bold "LH 347; TIS 569"
}
}
}
\markup {\fill-line {\vspace #1 \null "Alan Collyer"}}
\tocItem \markup "Cwm Rhondda"
%\include "Cwm-Rhondda.ly"
\score {
\header { piece = \markup \bold \underline \large "Cwm Rhondda" }
\new PianoStaff
\with {
connectArpeggios = ##t
\override Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
} <<
\new Staff = "right" << \rightOneAltII \\ \rightTwoAltII >>
\new Staff = "left" << \leftOneAltII \\ \leftTwoAltII >>
>>
\layout { }
}
\paper { system-system-spacing.basic-distance = 18 }
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19"
rightOneAlt = \relative c'' {
\key g\major
%\partial 4
\voiceOne g4. fis8 e4 g
a4. g8 fis4 d
e2 fis4. fis8
<g d b>4 <a e c> <b fis d> <d b fis>
<c a e> <a e c> <b g d>2\fermata
}
rightTwoAlt = \relative c' {
\key g\major
s1 s1
d4 c b c
%\partial 4
}
leftOneAlt = \relative c' {
\key g\major
%\partial 4
\clef bass \oneVoice g4. fis8 e4 g4
a4. g8 fis4 d
\voiceOne g2 fis4 a
g2. d4
e f g2\fermata
}
leftTwoAlt = \relative c {
\key g\major
s1 s1
c2 d4. d8
g,1~
g1\fermata
%\partial 4
\bar "|."
}
%{
\score {
\header { piece = \markup \bold \underline \large "Intonation" }
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\new Staff = "right" << \rightOneAlt \\ \rightTwoAlt >>
\new Staff = "left" << \leftOneAlt \\ \leftTwoAlt >>
>>
\layout { ragged-right = ##f }
}
%}