lilypond-user
[Top][All Lists]
Advanced

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

Re: Overriding a global declaration


From: Thomas Morley
Subject: Re: Overriding a global declaration
Date: Tue, 6 Aug 2019 19:54:37 +0200

Am Mo., 5. Aug. 2019 um 14:21 Uhr schrieb Thomas Morley
<address@hidden>:
>
> Am Mo., 5. Aug. 2019 um 12:46 Uhr schrieb John McWilliam
> <address@hidden>:
> >
> > <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



reply via email to

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