lilypond-user
[Top][All Lists]
Advanced

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

Re: Horizontal spacing at the left of each staff


From: Thomas Baruchel
Subject: Re: Horizontal spacing at the left of each staff
Date: Mon, 23 Jul 2012 17:16:55 +0200 (CEST)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)

On Mon, 23 Jul 2012, Thomas Morley wrote:
would be nice if you would post a _tiny_ example, which _compiles_ as
it is to show the problem.

Here is the exact issue I encounter: see the ugly alterations at the left edge
of each line (except the first one, which is OK). I would like to have some
extra horizontal space at the left of each line (except the first one).



\version "2.12.3"

#(set-default-paper-size "a4")

\paper {
  #(set-paper-size "a4")
% print-page-number = ##t
% print-first-page-number = ##t
  oddHeaderMarkup = \markup \fill-line { " " }
  evenHeaderMarkup = \markup \fill-line { " " }
  oddFooterMarkup = \markup { \fill-line {
     \bold \fontsize #2 \on-the-fly #print-page-number-check-first
     \fromproperty #'page:page-number-string } }
  evenFooterMarkup = \markup { \fill-line {
     \bold \fontsize #2 \on-the-fly #print-page-number-check-first
     \fromproperty #'page:page-number-string } }
    % system-count = #6 % 6 portées par page
  ragged-last-bottom = ##f
  ragged-bottom = ##f
  top-margin = 1\cm
  bottom-margin = 1.5\cm
  left-margin = 2\cm
  line-width = 17\cm
  foot-separation = 6.5\mm % au-dessus du numéro de page

  page-limit-inter-system-space = ##t
  page-limit-inter-system-space-factor = 1.1


}

\layout {
  indent=0
  \context {
    \PianoStaff
   %\remove "System_start_delimiter_engraver" % accolade
  }
  \context {
    \Staff
    \remove "Bar_engraver"
    \remove "Time_signature_engraver"
  }
  \context {
    \Score
    \remove "Bar_number_engraver"
    \remove "System_start_delimiter_engraver" % barre de début
    \override SpacingSpanner #'shortest-duration-space = #2
    % \override LeftEdge #'space-alist #'first-note = #'(extra-space . 2)
  }
}


musicRH = {
  \clef treble

  \repeat "unfold" 48 { <b'! ais' f'!>1 }
}

musicLH = {
  \clef treble
  \repeat "unfold" 48 { s1 }
}

\score {
  \new PianoStaff <<
    % la ligne suivante contrôle la position de l'accolade
    \override PianoStaff.SystemStartBrace #'padding = #1
    \new Staff = "upper" \new Voice \musicRH
    \new Staff = "lower" \new Voice \musicLH
  >>
}

reply via email to

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