lilypond-user
[Top][All Lists]
Advanced

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

RE: Re:Advice about layout / page formatting


From: Jim Duke
Subject: RE: Re:Advice about layout / page formatting
Date: Wed, 16 Nov 2016 15:39:10 +0000

Thanks for getting back with me to ensure all of my questions had been answered.  I had tried the variables you mentioned and it was a real fight.  What I ended up doing was take total control over system placement.  The way I ended up working was to not put any explicit system or page breaks in the music itself; but to have a NullVoice that held such things.  I had one set of breaks for the sheet music, and one set of the slides.  For the slides breaks voice, I added controls to place each system explicitly.  This took things further than what I originally intended; which is a good thing for me.  In most cases there are exactly two systems on each slide.  This allows me to ensure every system on every slide is put on the page exactly at the same place.  For my tastes, this is less visually jarring than letting the systems jump about when slides are advanced.  Here is my breaks NullVoice for one of the hymns:

 

 

slideMusicBreaks = \relative c {

  \setSystemOffset \defaultTopSystemOffset

  s1 | \noBreak

  s1 | \noBreak

  s1 | \noBreak

  s1 | \break

 

  \setSystemOffset \defaultBottomSystemOffset

  s1 | \noBreak

  s1 | \noBreak

  s1 | \noBreak

  s1 | \break

 

  \setSystemOffset \defaultTopSystemOffset

  s1 | \noBreak

  s1 | \noBreak

  s1 | \noBreak

  s1 | \break

 

  \setSystemOffset \defaultBottomSystemOffset

  s1 | \noBreak

  s1 | \noBreak

  s1 | \noBreak

  s1 \bar "|."

}

 

The _expression_ \setSystemOffset is defined elsewhere as:

 

setSystemOffset =

#(define-music-function (parser location offset)

   (number?)

  #{

     \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details.Y-offset #offset

  #})

 

A trivial little function that make the use of it a bit more clear for me.

 

From: Flaming Hakama by Elaine [mailto:address@hidden
Sent: Friday, November 11, 2016 6:04 PM
To: Lilypond-User Mailing List <address@hidden>; Jim Duke <address@hidden>
Subject: Re:Advice about layout / page formatting

 

 

---------- Forwarded message ----------
From: Jim Duke <address@hidden>
To: "Lilypond User (address@hidden)" <address@hidden>
Cc: 
Date: Tue, 11 Oct 2016 14:39:13 +0000
Subject: Advice about layout / page formatting
I'm seeking advice on how to approach typesetting some hymns for use in worship.  The music in our worship is A Capella congregational singing, and we use both sheet music, which we put in folders in the pews, and slides, which we project on a large screen at the front of the auditorium.  For each hymn I want to produce a PDF of the sheet music, a set of PNG files for each of the slides, and a MIDI file to aid in teaching the hymns to the congregation.

...

First, on the first slide of every verse I put a title at the top with the name of the song and the song number in our hymal.  On following slides from the same verse, there is no title.  But, I'd like the first system on every slide to start at the same place on the page.  As we present the slides the movement of the systems around on the page is distracting.  I'd like to fix them on the page if I could.  Because of how large I want the fonts to be, I typically can fit two systems on each page.  I have no idea how to accomplish that.  Is there a parameter that directly controls the distance from the top of the page to the first system?

 

I was going through old digests and didn't see this part of your question answered.

There are a pair of variables that influence where the music starts on the page:  one for the first page, and one for all the others.  I say "influence" since I think these are offsets from the header, not an absolute position on the page.

I typically set these in a paper block overrides within a book, since I often have to (or want to) tweak these on per-book basis. 

Included are some other page layout variables I tend to use.


\book {
    \paper {

        top-margin = #10
        right-margin = #17

        % First page spacing after header
        markup-system-spacing #'padding = #6

        % Subsequent page spacing after header
        top-system-spacing #'minimum-distance = #14

        % Spacing in between systems
        system-system-spacing #'minimum-distance = #13
    }

    \score {
        ...
    }
}


HTH,


David Elaine Alt

415 . 341 .4954                                           "Confusion is highly underrated"

address@hidden

self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 


reply via email to

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