lilypond-devel
[Top][All Lists]
Advanced

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

Re: headers and footers with new vertical layout engine


From: Werner LEMBERG
Subject: Re: headers and footers with new vertical layout engine
Date: Tue, 11 Aug 2009 16:44:50 +0200 (CEST)

>> Regarding your "Top" context: why do you override VerticalAxisGroup
>> #'Y-extent = ##f?  This is likely to confuse the layout algorithm
>> even after the bug I mentioned is fixed.
> 
> This was necessary for the old vertical layout engine -- at least it
> served me well since a few years.  I'll test what happens if I remove
> it.

It seems I really no longer need it.  However, there are still
formatting problems, as given in the example below.  See attached
image.


    Werner


======================================================================


\version "2.13.4"

\paper {
  bookTitleMarkup = "book title - book title - book title"
}

\score {
  <<
    \new Top {
      \override VerticalAxisGroup #'staff-affinity = #DOWN

      s1
      \mark \default s1^\markup { "q" }
    }

    \new Staff {
      R1*2
    }
  >>

  \layout {
    \context {
      \Score
      \accepts "Top"
    }

    \context {
      \name "Top"
      \alias "Staff"
      \type "Engraver_group"
      \consists "Output_property_engraver"
      \consists "Bar_engraver"
      \consists "Skip_event_swallow_translator"
      \consists "Script_engraver"
      \consists "Text_engraver"
      \consists "Axis_group_engraver"

      \override BarLine #'transparent = ##t
    }
  }
}

PNG image


reply via email to

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