Re: Advice about layout / page formatting

2016-10-12 Thread Klaus Blum
Hi Jim, 

some time ago, there has been another thread about a similar theme: 
http://lilypond.1069038.n5.nabble.com/Song-layout-for-overhead-projection-td193982.html
Maybe this could be interesting for you as well. 

Cheers, 
Klaus




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Advice-about-layout-page-formatting-tp195281p195313.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: Advice about layout / page formatting

2016-10-11 Thread Urs Liska
Maybe an even more elegant aporoach is using the 
https://github.com/openlilylib/page-layout package. Will need some stuff to be 
"installed" (and is not properly documented yet), but then provides a beautiful 
interface for managing alternative break sets.

HTH
Urs

Am 11. Oktober 2016 18:34:05 MESZ, schrieb tisimst :
>Jim,
>
>On Tue, Oct 11, 2016 at 10:13 AM, Jim Duke [via Lilypond] <
>ml-node+s1069038n195281...@n5.nabble.com> wrote:
>
>> 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.
>>
>> The way I've laid out each hymn is to create the following files:
>>
>> Slides.ly
>> Sheet-Music.ly
>> Words-And-Music.ly
>>
>> Slides.ly and Sheet-Music.ly import Words-and-Music.ly.
>>
>> The idea is to separate the music from the layout.  For the most part
>this
>> is working well.  But before I get into some of the issues I'm
>> encountering, is this a good approach?  I'm trying to make the
>Slides.ly
>> and Sheet-Music.ly as generic as possible.  My end goal would be for
>the
>> Slides.ly and Sheet-Music.ly to be identical across all hymns; but
>that
>> currently isn't possible.  I still need to manually unroll the music
>for
>> the slides (expand repeats, and music redirections such as DS al
>Coda,
>> etc.).  If I could figure out an automatic way to do that it would be
>> fantastic.
>>
>> Sorry for the long context intro.  Now to my questions.  I'm having
>no
>> problems at all with the sheet music other than the normal stuff new
>> Lilypond users encounter.  But for the slides there are several
>formatting
>> issues I'm having trouble with.
>>
>> 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?
>>
>> Second, controlling line breaks has been a challenge.  Since I want
>to use
>> a single source of words and music; forcing line breaks in the music
>> doesn't work.  Is there a way to embed the line break instructions in
>the
>> layout somehow?  I've seen references to using space notes.  For
>example,
>> for Abide with Me (tune EVENTIDE), I might have:
>>
>> For the sheet music:
>>
>> s2 s4 s4 | s2 s2 | s4 s4 s4 s4 | s1 | s2 s4 s4 | s2 s2 | s4 s4 s4 s4
>| s1
>> | \break
>>
>> For the slides:
>>
>> s2 s4 s4 | s2 s2 | s4 s4 s4 s4 | s1 | \break
>> s2 s4 s4 | s2 s2 | s4 s4 s4 s4 | s1 | \break
>>
>> The Words-and-Music.ly file would have no layout guidance at all. 
>Would
>> that work?  How would I combine the layout "rhythms" with the music?
>>
>
>I believe this is the right way to do it if you need a consistent
>layout. I
>do this kind of thing all the time. It is so nice to be able to play
>around
>with the layout without fiddling with the music code. Combining the
>layout
>with the music is as simple as this:
>
>\new Staff <<
>  \rhythms
>  \music
>>>
>
>By the way, except for times where you may want a mid-measure \break,
>you
>can simplify your "rhythms" variables like this (using your examples):
>
>For the sheet music:
>
>s1*8 \break (or s1 | s | s | s | s | s | s | s | \break if you want to
>keep
>the bar checks)
>
>For the slides:
>
>s1*4 \break
>s1*4 \break
>
>Just some thoughts for you. This is how I usually do it. You can also
>include other score-level objects in the "rhythms" variables like \bar,
>\tempo, \key, etc.
>
>HTH,
>Abraham
>
>
>
>
>--
>View this message in context:
>http://lilypond.1069038.n5.nabble.com/Advice-about-layout-page-formatting-tp195281p195282.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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Advice about layout / page formatting

2016-10-11 Thread tisimst
Jim,

On Tue, Oct 11, 2016 at 10:13 AM, Jim Duke [via Lilypond] <
ml-node+s1069038n195281...@n5.nabble.com> wrote:

> 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.
>
> The way I've laid out each hymn is to create the following files:
>
> Slides.ly
> Sheet-Music.ly
> Words-And-Music.ly
>
> Slides.ly and Sheet-Music.ly import Words-and-Music.ly.
>
> The idea is to separate the music from the layout.  For the most part this
> is working well.  But before I get into some of the issues I'm
> encountering, is this a good approach?  I'm trying to make the Slides.ly
> and Sheet-Music.ly as generic as possible.  My end goal would be for the
> Slides.ly and Sheet-Music.ly to be identical across all hymns; but that
> currently isn't possible.  I still need to manually unroll the music for
> the slides (expand repeats, and music redirections such as DS al Coda,
> etc.).  If I could figure out an automatic way to do that it would be
> fantastic.
>
> Sorry for the long context intro.  Now to my questions.  I'm having no
> problems at all with the sheet music other than the normal stuff new
> Lilypond users encounter.  But for the slides there are several formatting
> issues I'm having trouble with.
>
> 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?
>
> Second, controlling line breaks has been a challenge.  Since I want to use
> a single source of words and music; forcing line breaks in the music
> doesn't work.  Is there a way to embed the line break instructions in the
> layout somehow?  I've seen references to using space notes.  For example,
> for Abide with Me (tune EVENTIDE), I might have:
>
> For the sheet music:
>
> s2 s4 s4 | s2 s2 | s4 s4 s4 s4 | s1 | s2 s4 s4 | s2 s2 | s4 s4 s4 s4 | s1
> | \break
>
> For the slides:
>
> s2 s4 s4 | s2 s2 | s4 s4 s4 s4 | s1 | \break
> s2 s4 s4 | s2 s2 | s4 s4 s4 s4 | s1 | \break
>
> The Words-and-Music.ly file would have no layout guidance at all.  Would
> that work?  How would I combine the layout "rhythms" with the music?
>

I believe this is the right way to do it if you need a consistent layout. I
do this kind of thing all the time. It is so nice to be able to play around
with the layout without fiddling with the music code. Combining the layout
with the music is as simple as this:

\new Staff <<
  \rhythms
  \music
>>

By the way, except for times where you may want a mid-measure \break, you
can simplify your "rhythms" variables like this (using your examples):

For the sheet music:

s1*8 \break (or s1 | s | s | s | s | s | s | s | \break if you want to keep
the bar checks)

For the slides:

s1*4 \break
s1*4 \break

Just some thoughts for you. This is how I usually do it. You can also
include other score-level objects in the "rhythms" variables like \bar,
\tempo, \key, etc.

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Advice-about-layout-page-formatting-tp195281p195282.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