Re: Full header on every page & vertically centered staves?
It does exactly what I need, thanks again! -- Peter Crighton | Musician & Music Engraver based in Mainz, Germany http://www.petercrighton.de 2015-03-26 23:30 GMT+01:00 tyronicus : > Peter Crighton wrote > > 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. > > > > ... > > > > I’m also pretty clueless so far how to achieve the vertical centering of > a > > single staff. > > This is a hack in the \paper block to do that: > > top-system-spacing #'basic-distance = #100 > last-bottom-spacing #'basic-distance = #100 > > LilyBin link. <http://lilybin.com/w3lnok/2> > > > > -- > View this message in context: > http://lilypond.1069038.n5.nabble.com/Full-header-on-every-page-vertically-centered-staves-tp173724p173729.html > Sent from the User mailing list archive at Nabble.com. > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Full header on every page & vertically centered staves?
Of course, I have no idea why I didn’t think of putting the titles into the header, it’s so obvious … Thank you both! -- Peter Crighton | Musician & Music Engraver based in Mainz, Germany http://www.petercrighton.de 2015-03-26 23:11 GMT+01:00 tyronicus : > I think you could do this pretty easily by adding this to your \paper > block: > > oddHeaderMarkup = \bookTitleMarkup > evenHeaderMarkup = \oddHeaderMarkup > bookTitleMarkup = "" > > Here's your example on LilyBin <http://lilybin.com/w3lnok/1> . > > > Peter Crighton wrote > > 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. > > > > > > -- > View this message in context: > http://lilypond.1069038.n5.nabble.com/Full-header-on-every-page-vertically-centered-staves-tp173724p173727.html > Sent from the User mailing list archive at Nabble.com. > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Full header on every page & vertically centered staves?
Peter Crighton wrote > 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. > > ... > > I’m also pretty clueless so far how to achieve the vertical centering of a > single staff. This is a hack in the \paper block to do that: top-system-spacing #'basic-distance = #100 last-bottom-spacing #'basic-distance = #100 LilyBin link. <http://lilybin.com/w3lnok/2> -- View this message in context: http://lilypond.1069038.n5.nabble.com/Full-header-on-every-page-vertically-centered-staves-tp173724p173729.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Full header on every page & vertically centered staves?
I think you could do this pretty easily by adding this to your \paper block: oddHeaderMarkup = \bookTitleMarkup evenHeaderMarkup = \oddHeaderMarkup bookTitleMarkup = "" Here's your example on LilyBin <http://lilybin.com/w3lnok/1> . Peter Crighton wrote > 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. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Full-header-on-every-page-vertically-centered-staves-tp173724p173727.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Full header on every page & vertically centered staves?
Peter, In "ly/titling-init.ly", you'll find the following definitions which contain the title and copyright fields: bookTitleMarkup = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \fill-line { \huge \larger \larger \bold \fromproperty #'header:title } \fill-line { \large \bold \fromproperty #'header:subtitle } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } \fill-line { \fromproperty #'header:poet { \large \bold \fromproperty #'header:instrument } \fromproperty #'header:composer } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } } } } oddFooterMarkup = \markup { \column { \fill-line { %% Copyright header field only on first page in each bookpart. \on-the-fly #part-first-page \fromproperty #'header:copyright } \fill-line { %% Tagline header field only on last page in the book. \on-the-fly #last-page \fromproperty #'header:tagline } } } Those should give you enough of an idea of what you should put in evenHeaderMarkup, oddHeaderMarkup, etc., so the title and copyright show up on all pages. -Abraham On Thu, Mar 26, 2015 at 3:53 PM, Peter Crighton [via Lilypond] < ml-node+s1069038n173724...@n5.nabble.com> wrote: > 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 > > ___________ > lilypond-user mailing list > [hidden email] <http:///user/SendEmail.jtp?type=node&node=173724&i=0> > https://lists.gnu.org/mailman/listinfo/lilypond-user > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lilypond.1069038.n5.nabble.com/Full-header-on-every-page-vertically-centered-staves-tp173724.html > To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com > To unsubscribe from Lilypond, click here > <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=> > . > NAML > <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lilypond.1069038.n5.nabble.com/Full-header-on-every-page-vertically-centered-staves-tp173724p173726.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Full header on every page & vertically centered staves?
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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user