lilypond-user
[Top][All Lists]
Advanced

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

Full header on every page & vertically centered staves?


From: Peter Crighton
Subject: Full header on every page & vertically centered staves?
Date: Thu, 26 Mar 2015 22:52:39 +0100

Hello,

I’m working on a template for this layout: https://youtu.be/-WHcjH6Am1k
For that video I saved every line from the score as a PNG in Frescobaldi, and put them together with the header and copyright in GIMP. Then I combined the resulting images to a video.

For further videos I now want to skip GIMP and just let LilyPond create all the complete PNGs. For that I need on every page the complete header, copyright, and one line of music, which has to be vertically centered.

If I had a \score block for every page, that would be no problem, I could simply put the header markup in between the scores. But I hesitate to take apart the whole score into many small ones for every line. (Impractical, as I don’t decide on the line breaks before transcribin, and I also want to produce a normal page layout PDF from the same source.)

Does anybody know a better way to achieve this? Basically, what I need would be a \bookTitleMarkup after every \break.

I’m also pretty clueless so far how to achieve the vertical centering of a single staff.

Here’s the basic layout so far, any ideas are much appreciated:


\version "2.19.15"

\header {
  title = "Title"
  copyright = "©"
}

#(set! paper-alist (cons '("fullHD" . (cons (* 6.4 in) (* 3.6 in))) paper-alist))

\paper {
  #(set-paper-size "fullHD")
  indent = 0 \in
  top-margin = 0.25 \in
  bottom-margin = 0.25 \in
  left-margin = 0.25 \in
  line-width = 5.9 \in
  systems-per-page = #1
  print-page-number = ##f
  oddFooterMarkup = \markup {
    \column {
      \fill-line {
        \fromproperty #'header:copyright
      }
    }
  }
  evenFooterMarkup = \oddFooterMarkup
}

\score {
  \relative c' {
    R1*4 \break
    R1*4
  }
}

--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de

reply via email to

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