Re: System-system spacing and ragged-last-bottom with multiple scores

2023-04-16 Thread Ralph Palmer
On Sun, Apr 16, 2023 at 10:57 AM Ralph Palmer 
wrote:

> On Sun, Apr 16, 2023, 8:42 AM Michael Werner  wrote:
>
>> Hi Ralph,
>>
>> On Sun, Apr 16, 2023 at 11:27 AM Ralph Palmer 
>> wrote:
>>
>>>
>>> I'm having a problem with system-system spacing and ragged-last-bottom
>>> in a \Book with multiple scores. I was able, at some point, to do a ragged
>>> last bottom on the first score, but the systems were too close for my
>>> comfort. I've looked a lot at what seem to be the appropriate places in the
>>> Notation Reference, but I cannot figure out how to configure the context
>>> within the first score to control either the ragged bottom or the
>>> system-system distance, much less both.
>>>
>>
>> Both system-system-spacing and ragged-bottom  need to be placed in a
>> \paper block, not a \layout block. There are limits on where a \paper block
>> can be put. In this case what I would do (and there could very well, and
>> probably are, better ways but this is what I came up with) is to put each
>> of the scores into its own \bookpart section, as a \bookpart is one of the
>> places a \paper block is allowed. This also obviates the need for the
>> \pagebreak, as that is automagically put in by using a \bookpart. Also,
>> system-system-spacing is comprised of 4 elements, each of which gets set
>> seperately. Have a look at
>> http://lilypond.org/doc/v2.24/Documentation/notation/the-paper-block
>> and
>>
>> http://lilypond.org/doc/v2.24/Documentation/notation/flexible-vertical-spacing-paper-variables
>> for some details on how it works. But a short version is try something
>> like:
>>
>> \book {
>>   \header {
>> title = "Test"
>> subtitle = "system spacing"
>>   }
>>
>>   \bookpart {
>>   \paper {
>> system-system-spacing.padding = #8
>> ragged-last-bottom = ##t
>>   }
>> \score {
>>   \header {
>> piece = \markup \fill-line \huge \bold { "First" }
>>   }
>>   \new ChoirStaff
>>   <<
>> \new Staff
>> << \IVlaI >>
>> \new Staff
>> << \IVlaII >>
>>   >>
>> }
>>   }
>>
>>   %  \pageBreak
>>
>>   \bookpart {
>> \score {
>>   \header {
>> piece = \markup \fill-line \huge \bold { "Second" }
>>   }
>>   \new ChoirStaff <<
>> \new Staff
>> << \IIVlaI >>
>> \new Staff
>> << \IIVlaII >>
>>   >>
>>   \layout {}
>> }
>>   }
>> }
>>
>> This should get you started along towards what it sounds like you're
>> trying to do.
>>
>> Michael
>>
>
> Thanks for your quick reply, Michael. I'll try it, but when I used \book
> with separate \bookpart s before, the title and subtitle appeared before
> each \bookpart score.
>
> Ralph
>

Okay, I think I've got it. I moved the \header {} from the \book to the
first \bookpart {}, and everything seems okay. Thanks again, Michael, for
your help. BTW, I did look at paper variables, creating titles, headers,
and footers, and layout blocks. It was not clear to me after multiple
readings, which is why I asked the list.

All the best,

Ralph

__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


Re: System-system spacing and ragged-last-bottom with multiple scores

2023-04-16 Thread Ralph Palmer
On Sun, Apr 16, 2023, 8:42 AM Michael Werner  wrote:

> Hi Ralph,
>
> On Sun, Apr 16, 2023 at 11:27 AM Ralph Palmer 
> wrote:
>
>>
>> I'm having a problem with system-system spacing and ragged-last-bottom
>> in a \Book with multiple scores. I was able, at some point, to do a ragged
>> last bottom on the first score, but the systems were too close for my
>> comfort. I've looked a lot at what seem to be the appropriate places in the
>> Notation Reference, but I cannot figure out how to configure the context
>> within the first score to control either the ragged bottom or the
>> system-system distance, much less both.
>>
>
> Both system-system-spacing and ragged-bottom  need to be placed in a
> \paper block, not a \layout block. There are limits on where a \paper block
> can be put. In this case what I would do (and there could very well, and
> probably are, better ways but this is what I came up with) is to put each
> of the scores into its own \bookpart section, as a \bookpart is one of the
> places a \paper block is allowed. This also obviates the need for the
> \pagebreak, as that is automagically put in by using a \bookpart. Also,
> system-system-spacing is comprised of 4 elements, each of which gets set
> seperately. Have a look at
> http://lilypond.org/doc/v2.24/Documentation/notation/the-paper-block
> and
>
> http://lilypond.org/doc/v2.24/Documentation/notation/flexible-vertical-spacing-paper-variables
> for some details on how it works. But a short version is try something
> like:
>
> \book {
>   \header {
> title = "Test"
> subtitle = "system spacing"
>   }
>
>   \bookpart {
>   \paper {
> system-system-spacing.padding = #8
> ragged-last-bottom = ##t
>   }
> \score {
>   \header {
> piece = \markup \fill-line \huge \bold { "First" }
>   }
>   \new ChoirStaff
>   <<
> \new Staff
> << \IVlaI >>
> \new Staff
> << \IVlaII >>
>   >>
> }
>   }
>
>   %  \pageBreak
>
>   \bookpart {
> \score {
>   \header {
> piece = \markup \fill-line \huge \bold { "Second" }
>   }
>   \new ChoirStaff <<
> \new Staff
> << \IIVlaI >>
> \new Staff
> << \IIVlaII >>
>   >>
>   \layout {}
> }
>   }
> }
>
> This should get you started along towards what it sounds like you're
> trying to do.
>
> Michael
>

Thanks for your quick reply, Michael. I'll try it, but when I used \book
with separate \bookpart s before, the title and subtitle appeared before
each \bookpart score.

Ralph

>


Re: System-system spacing and ragged-last-bottom with multiple scores

2023-04-16 Thread Michael Werner
Hi Ralph,

On Sun, Apr 16, 2023 at 11:27 AM Ralph Palmer 
wrote:

>
> I'm having a problem with system-system spacing and ragged-last-bottom in
> a \Book with multiple scores. I was able, at some point, to do a ragged
> last bottom on the first score, but the systems were too close for my
> comfort. I've looked a lot at what seem to be the appropriate places in the
> Notation Reference, but I cannot figure out how to configure the context
> within the first score to control either the ragged bottom or the
> system-system distance, much less both.
>

Both system-system-spacing and ragged-bottom  need to be placed in a \paper
block, not a \layout block. There are limits on where a \paper block can be
put. In this case what I would do (and there could very well, and probably
are, better ways but this is what I came up with) is to put each of the
scores into its own \bookpart section, as a \bookpart is one of the places
a \paper block is allowed. This also obviates the need for the \pagebreak,
as that is automagically put in by using a \bookpart. Also,
system-system-spacing is comprised of 4 elements, each of which gets set
seperately. Have a look at
http://lilypond.org/doc/v2.24/Documentation/notation/the-paper-block
and
http://lilypond.org/doc/v2.24/Documentation/notation/flexible-vertical-spacing-paper-variables
for some details on how it works. But a short version is try something like:

\book {
  \header {
title = "Test"
subtitle = "system spacing"
  }

  \bookpart {
  \paper {
    system-system-spacing.padding = #8
ragged-last-bottom = ##t
  }
\score {
  \header {
piece = \markup \fill-line \huge \bold { "First" }
  }
  \new ChoirStaff
  <<
\new Staff
<< \IVlaI >>
\new Staff
<< \IVlaII >>
  >>
}
  }

  %  \pageBreak

  \bookpart {
\score {
  \header {
piece = \markup \fill-line \huge \bold { "Second" }
  }
  \new ChoirStaff <<
\new Staff
<< \IIVlaI >>
\new Staff
<< \IIVlaII >>
  >>
  \layout {}
}
  }
}

This should get you started along towards what it sounds like you're trying
to do.

Michael


System-system spacing and ragged-last-bottom with multiple scores

2023-04-16 Thread Ralph Palmer
Hi -

My appreciation to all on the list for all the help we pass around.

I'm having a problem with system-system spacing and ragged-last-bottom in a
\Book with multiple scores. I was able, at some point, to do a ragged last
bottom on the first score, but the systems were too close for my comfort.
I've looked a lot at what seem to be the appropriate places in the Notation
Reference, but I cannot figure out how to configure the context within the
first score to control either the ragged bottom or the system-system
distance, much less both.

I would greatly appreciate help on these issues.

All the best,

Ralph

__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com
% Test - system spacing

\version "2.24.0"
\language "english"

% First

IVlaI =
\relative c' {  
  \key c \major
  \clef alto  
  \time 4/4
  
  c4 d e f |
  d e f g |
  f e d c |
  \break
  d c b a |
  g a b c |
  a b c d |
  \break
  b c d e |
  c d e f |
  d e f g |
}


IVlaII =
\relative c' {  
  \key c \major
  \clef alto  
  \time 4/4
  
  d4 c b c |
  b c b c |
  d e d e |
  d b d b |
  c e c e |
  d f d f |
  g f e d |
  f e d c |
  e d c b |
}


% Second

IIVlaI =
\relative c' {  
  \key c \major
  \clef alto  
  \time 4/4
  
  c4 d e f |
}

IIVlaII =
\relative c' {  
  \key c \major
  \clef alto  
  \time 4/4
  
  e4 f g a |
}

\book {  
  \header {
title = "Test"
subtitle = "system spacing"
  }
  
  \score {
\header {
  piece = \markup \fill-line \huge \bold { "First" }
}
\new ChoirStaff 
<<
  \new Staff 
  << \IVlaI >>
  \new Staff 
  << \IVlaII >>
>>
\layout {
  system-system-spacing = #8  
  ragged-last-bottom = ##t
}
  }

  \pageBreak

  \score {
\header {
  piece = \markup \fill-line \huge \bold { "Second" }
}
\new ChoirStaff <<
  \new Staff 
  << \IIVlaI >>
  \new Staff 
  << \IIVlaII >>
>>
\layout {}
  }
}



spacingTest.pdf
Description: Adobe PDF document


Re: systems-per-page and ragged-last-bottom

2019-02-07 Thread Kieren MacMillan
Hi Malte,

> IMHO systems-per-page should be ignored on the last page if (and only if) 
> ragged-last-bottom is set to ##t

+1

> systems-per-page also doesn’t work well with large headers or other markups. 
> One might want less systems on the first page in this case too

The way Lilypond treats the title block almost like another system is 
unfortunate. I really wish we had controls like systems-on-first-page and 
systems-on-last-page, separate from systems-per-page. I also wish we had better 
measure-locking and -casting capabilities (e.g., “spread the first 70 measures 
across exactly 12 systems; put the next 24 measures across no fewer than 6 but 
no more than 9 systems; Lily’s choice for the next 32 measures”, etc.).

That being said (asked?), Lily’s layout algorithms and flexibility are pretty 
amazing, so I try not to whinge too much or too often…

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: systems-per-page and ragged-last-bottom

2019-02-07 Thread David F.


On Feb 7, 2019, at 10:04 AM, Malte Meyn  wrote:

> Hi list,
> 
> IMHO systems-per-page should be ignored on the last page if (and only if) 
> ragged-last-bottom is set to ##t. I think that systems-per-page is used for 
> even spacing and ragged-last-bottom = ##t shows that the user wants an 
> exception to such an even spacing on the last page.

I would very much appreciate this behavior from Lilypond.

David


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


systems-per-page and ragged-last-bottom

2019-02-07 Thread Malte Meyn

Hi list,

IMHO systems-per-page should be ignored on the last page if (and only 
if) ragged-last-bottom is set to ##t. I think that systems-per-page is 
used for even spacing and ragged-last-bottom = ##t shows that the user 
wants an exception to such an even spacing on the last page.


Any other opinions?

Cheers,
Malte


\version "2.19.82"

\paper {

  % ragged-last-bottom = ##t: 10 systems à 3 measures
  %ragged-last-bottom = ##t

  % ragged-last-bottom = ##f: 6 systems à 2m., 6 systems à 3m.
  %ragged-last-bottom = ##f

  % systems-per-page = 3 and ragged-last-bottom = ##t:
  systems-per-page = 3
  ragged-last-bottom = ##t
  % IMHO this should print only 1 system on the 4th page (10=3*3+1)

}

<<
  \new Staff \repeat unfold 480 b'16
  \new Staff \repeat unfold 480 b'16
  \new Staff \repeat unfold 480 b'16
  \new Staff \repeat unfold 480 b'16
>>


P. S. systems-per-page also doesn’t work well with large headers or 
other markups. One might want less systems on the first page in this 
case too.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Getting ragged-last-bottom et. al to work?

2015-03-10 Thread steve

>>> Subject: Getting ragged-last-bottom et. al to work?
>
>> Umm,,, no I don't want a ragged layout. I want the last line on
>> the last page to fill the line..
>
> Well, the example you sent is too complex to debug by sight and doesn't
> compile without all the included files, but ragged-last in a layout block
> definitely does work as documented:
>
> \score {
> \repeat unfold 52 c''
> \layout {
> ragged-last = ##t
> }
> }
>
> \score {
> \repeat unfold 52 c''
> \layout {
> ragged-last = ##f
> }
> }
>

  Yes, I have proven to myself that it works for simple examples.
I am trying
to reduce my example to a simple one that will still demonstrate the problem
but I haven't been able to... yet.

 All if the files needed to compile my example can be found in

http://www.gooeytar.com/projects/FourMoments/Python/

 Also I modified
/usr/local/lilypond/usr/share/lilypond/current/scm/paper.scm
by adding a 9" X 12" paper size, which is standard size for music score in
my locale

 ("gooeytar_9X12" . (cons (* 9.0 in) (* 12.0 in)))


 -steve

> --
> Phil Holmes
>
>
>



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Getting ragged-last-bottom et. al to work?

2015-03-10 Thread steve


   Phil,

   Thats IT   Pulled my hair out for days..

   I'll pay it forward... somehow

thanx - steve


> - Original Message -
> From: 
> To: "Phil Holmes" 
> Cc: "lilypond-user" 
> Sent: Tuesday, March 10, 2015 2:30 PM
> Subject: Re: Getting ragged-last-bottom et. al to work?
>
>
>>
>>>>> Subject: Getting ragged-last-bottom et. al to work?
>>>
>>>> Umm,,, no I don't want a ragged layout. I want the last line
>>>> on
>>>> the last page to fill the line..
>>>
>>> Well, the example you sent is too complex to debug by sight and doesn't
>>> compile without all the included files, but ragged-last in a layout
>>> block
>>> definitely does work as documented:
>>>
>>> \score {
>>> \repeat unfold 52 c''
>>> \layout {
>>> ragged-last = ##t
>>> }
>>> }
>>>
>>> \score {
>>> \repeat unfold 52 c''
>>> \layout {
>>> ragged-last = ##f
>>> }
>>> }
>>>
>>
>>  Yes, I have proven to myself that it works for simple examples.
>> I am trying
>> to reduce my example to a simple one that will still demonstrate the
>> problem
>> but I haven't been able to... yet.
>>
>> All if the files needed to compile my example can be found in
>>
>> http://www.gooeytar.com/projects/FourMoments/Python/
>>
>> Also I modified
>> /usr/local/lilypond/usr/share/lilypond/current/scm/paper.scm
>> by adding a 9" X 12" paper size, which is standard size for music score
>> in
>> my locale
>
>
> Your dynamics music is one bar longer than your guitar music, so it pushes
> the guitar music to the left to accommodate it.  Take off your final s2 s2
> and the problem is solved.
>
> --
> Phil Holmes
>
>



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Getting ragged-last-bottom et. al to work?

2015-03-10 Thread Phil Holmes
- Original Message - 
From: 

To: "Phil Holmes" 
Cc: "lilypond-user" 
Sent: Tuesday, March 10, 2015 2:30 PM
Subject: Re: Getting ragged-last-bottom et. al to work?





Subject: Getting ragged-last-bottom et. al to work?



Umm,,, no I don't want a ragged layout. I want the last line on
the last page to fill the line..


Well, the example you sent is too complex to debug by sight and doesn't
compile without all the included files, but ragged-last in a layout block
definitely does work as documented:

\score {
\repeat unfold 52 c''
\layout {
ragged-last = ##t
}
}

\score {
\repeat unfold 52 c''
\layout {
ragged-last = ##f
}
}



 Yes, I have proven to myself that it works for simple examples.
I am trying
to reduce my example to a simple one that will still demonstrate the 
problem

but I haven't been able to... yet.

All if the files needed to compile my example can be found in

http://www.gooeytar.com/projects/FourMoments/Python/

Also I modified
/usr/local/lilypond/usr/share/lilypond/current/scm/paper.scm
by adding a 9" X 12" paper size, which is standard size for music score in
my locale



Your dynamics music is one bar longer than your guitar music, so it pushes 
the guitar music to the left to accommodate it.  Take off your final s2 s2 
and the problem is solved.


--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Getting ragged-last-bottom et. al to work?

2015-03-10 Thread Phil Holmes
- Original Message - 
From: 

To: "Phil Holmes" 
Cc: "lilypond-user" 
Sent: Monday, March 09, 2015 7:01 PM
Subject: Re: Getting ragged-last-bottom et. al to work?



- Original Message -
From: 
To: "lilypond-user" 
Sent: Monday, March 09, 2015 5:42 PM
Subject: Getting ragged-last-bottom et. al to work?



Umm,,, no I don't want a ragged layout. I want the last line on
the last page to fill the line..


Well, the example you sent is too complex to debug by sight and doesn't 
compile without all the included files, but ragged-last in a layout block 
definitely does work as documented:


\score {
   \repeat unfold 52 c''
   \layout {
   ragged-last = ##t
   }
}

\score {
   \repeat unfold 52 c''
   \layout {
   ragged-last = ##f
   }
}

--
Phil Holmes


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Getting ragged-last-bottom et. al to work?

2015-03-09 Thread Jim Long
On Mon, Mar 09, 2015 at 03:01:46PM -0400, st...@linuxsuite.org wrote:
>
>  Umm,,, no I don't want a ragged layout. I want the last line on
> the last page to fill the line..

That's ragged-last = ##f (2.18.2 NR 4.1.5).  Even better, ##f is
the default value, so you should be fine just searching for
ragged-last and commenting out any occurrence(s) you find.  Make
sure also that your tiny example doesn't use any include files
that mess with ragged-last.




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Getting ragged-last-bottom et. al to work?

2015-03-09 Thread steve
> - Original Message -
> From: 
> To: "lilypond-user" 
> Sent: Monday, March 09, 2015 5:42 PM
> Subject: Getting ragged-last-bottom et. al to work?
>
>
>>
>> Howdy!
>>
>>     Seems no matter what I do I end up with a ragged last-bottom
>>
>>  I have tried putting
>>
>>    ragged-right = ##f
>>    ragged-bottom = ##f
>>ragged-last-bottom = ##f
>>ragged-last = ##f
>>
>>   into both \paper {} and \layout {}
>>
>> and it does nothing..
>
> From the NR:
> "ragged-bottom:
>
> If this is set to true, systems will be set at their natural spacing,
> neither compressed nor stretched vertically to fit the page."
>
> It seems apparent that setting ragged-* to _true_ will cause a ragged
> layout, as you want.

 Umm,,, no I don't want a ragged layout. I want the last line on
the last page to fill the line..

  -steve

>
>
> --
> Phil Holmes
>
>



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Getting ragged-last-bottom et. al to work?

2015-03-09 Thread Phil Holmes
- Original Message - 
From: 

To: "lilypond-user" 
Sent: Monday, March 09, 2015 5:42 PM
Subject: Getting ragged-last-bottom et. al to work?




Howdy!

Seems no matter what I do I end up with a ragged last-bottom

 I have tried putting

   ragged-right = ##f
   ragged-bottom = ##f
       ragged-last-bottom = ##f
       ragged-last = ##f

  into both \paper {} and \layout {}

and it does nothing..



From the NR:

"ragged-bottom:

If this is set to true, systems will be set at their natural spacing, 
neither compressed nor stretched vertically to fit the page."


It seems apparent that setting ragged-* to _true_ will cause a ragged 
layout, as you want.



--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Getting ragged-last-bottom et. al to work?

2015-03-09 Thread steve

Howdy!

 Seems no matter what I do I end up with a ragged last-bottom

  I have tried putting

ragged-right = ##f
ragged-bottom = ##f
ragged-last-bottom = ##f
ragged-last = ##f

   into both \paper {} and \layout {}

 and it does nothing..

  I have some files at

http://www.gooeytar.com/projects/FourMoments/Python/fm.ly

http://www.gooeytar.com/projects/FourMoments/Python/fm.pdf

  never had this problem before?  Am I missing something?
 I can't verify it with a tiny example.

 -steve





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stretching ragged last bar in the Voice context

2013-01-22 Thread Federico Bruni

Il 22/01/2013 16:41, Eluze ha scritto:

Federico Bruni-5 wrote


I'm a bit surprised that the lines before are different, but I think
that's
another topic.



Yes, that's exactly the problem: "the lines before are different". I
want to stretch only the last two bars.
I attach two pictures so that it's clear.


try \newSpacingSection before the last line!



yes
I've placed it before the override, now it looks perfect

thanks!
--
Federico

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stretching ragged last bar in the Voice context

2013-01-22 Thread Eluze
Federico Bruni-5 wrote
>>
>> I'm a bit surprised that the lines before are different, but I think
>> that's
>> another topic.
>>
> 
> Yes, that's exactly the problem: "the lines before are different". I 
> want to stretch only the last two bars.
> I attach two pictures so that it's clear.

try \newSpacingSection before the last line!

Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/stretching-ragged-last-bar-in-the-Voice-context-tp139366p139960.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: stretching ragged last bar in the Voice context

2013-01-21 Thread Eluze
Federico Bruni-5 wrote
> Il 21/01/2013 15:44, Eluze ha scritto:
>> Federico Bruni-5 wrote
>>> But I need to use that override in a voice context.
>>
>> in your original example
>>
>> \relative c'' {
>> \repeat unfold 4 { R1*4 \break }
>> \override Score.NonMusicalPaperColumn.padding = #20
>> R1 R1
>> }
>>
>> by the time you override the /Score.NonMusicalPaperColumn.padding/ you
>> *are*
>> in the Voice context and it works as expected!
>>
>> try other numbers and you'll see!
>>
> 
> Try to raise the value to #30 in the snippet above and you'll see what I 
> mean.
> I'm experiencing the same issue in a score where the padding is just #15 
> and _all_ the music in the score (not just the music after the override) 
> stretches so much that it flows off the page - even if the value is as 
> low as #2.

I don't know who said: "I don't see what you see" - for me the last line is
a bit longer with #30 - that's how it has to be!

I'm a bit surprised that the lines before are different, but I think that's
another topic.

I assume you're using the newest dev version!?


Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/stretching-ragged-last-bar-in-the-Voice-context-tp139366p139920.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: stretching ragged last bar in the Voice context

2013-01-21 Thread Federico Bruni

Il 21/01/2013 22:20, Xavier Scheuer ha scritto:

I see you this Voice contains MultiMeasureRest in the part you want to
stretch.  I'd suggest using
   \override MultiMeasureRest #'minimum-length = #20
in order to increase the space take by these measures.


It works great, but multimeasure rests are just in the minimal example.
In the real music file I have notes.

Thanks anyway
--
Federico

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stretching ragged last bar in the Voice context

2013-01-21 Thread Xavier Scheuer
On 21 January 2013 21:14, Federico Bruni  wrote:
>
> (snip)
>
> Maybe it's just the wrong workaround for what I'm trying to achieve?

Hi Federico,

I see you this Voice contains MultiMeasureRest in the part you want to
stretch.  I'd suggest using
  \override MultiMeasureRest #'minimum-length = #20
in order to increase the space take by these measures.

%%%% Lily code
\paper {
  ragged-last = ##t
}

\relative c'' {
  \repeat unfold 4 { R1*4 \break }
  \override MultiMeasureRest #'minimum-length = #20
  R1 R1
}
 End of lily code

Cheers,
Xavier

-- 
Xavier Scheuer 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stretching ragged last bar in the Voice context

2013-01-21 Thread Federico Bruni

Il 21/01/2013 15:44, Eluze ha scritto:

Federico Bruni-5 wrote

But I need to use that override in a voice context.


in your original example

\relative c'' {
\repeat unfold 4 { R1*4 \break }
\override Score.NonMusicalPaperColumn.padding = #20
R1 R1
}

by the time you override the /Score.NonMusicalPaperColumn.padding/ you *are*
in the Voice context and it works as expected!

try other numbers and you'll see!



Try to raise the value to #30 in the snippet above and you'll see what I 
mean.
I'm experiencing the same issue in a score where the padding is just #15 
and _all_ the music in the score (not just the music after the override) 
stretches so much that it flows off the page - even if the value is as 
low as #2.


Maybe it's just the wrong workaround for what I'm trying to achieve?

--
Federico

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stretching ragged last bar in the Voice context

2013-01-21 Thread Eluze
Federico Bruni-5 wrote
> But I need to use that override in a voice context.

in your original example

\relative c'' { 
   \repeat unfold 4 { R1*4 \break } 
   \override Score.NonMusicalPaperColumn.padding = #20 
   R1 R1 
}

by the time you override the /Score.NonMusicalPaperColumn.padding/ you *are*
in the Voice context and it works as expected!

try other numbers and you'll see!

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/stretching-ragged-last-bar-in-the-Voice-context-tp139366p139870.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: stretching ragged last bar in the Voice context

2013-01-21 Thread Federico Bruni
2013/1/21 Eluze 

> Federico Bruni-5 wrote
> > I meant: NonMusicalPaperColumn works only in the Score context.
> > These override(s) won't work:
> >
> > \override NonMusicalPaperColumn.padding = #20
> > \override Voice.NonMusicalPaperColumn.padding = #20
>
> but
>
> \override Score.NonMusicalPaperColumn.padding = #20
>
> does it - or not?
>
>
>
Yes, that works.
But I need to use that override in a voice context. I can't remember
exactly why at the moment, I have the score at home.
I'll give you more information tonight
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stretching ragged last bar in the Voice context

2013-01-21 Thread Eluze
Federico Bruni-5 wrote
> I meant: NonMusicalPaperColumn works only in the Score context.
> These override(s) won't work:
> 
> \override NonMusicalPaperColumn.padding = #20
> \override Voice.NonMusicalPaperColumn.padding = #20

but

\override Score.NonMusicalPaperColumn.padding = #20

does it - or not?

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/stretching-ragged-last-bar-in-the-Voice-context-tp139366p139866.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: stretching ragged last bar in the Voice context

2013-01-21 Thread Federico Bruni
2013/1/21 Eluze 

> Federico Bruni-5 wrote
> > I'm trying to stretch a ragged last bar in a score.
> > I know I can use the following override (NR 4.5.1, Known issues):
> >
> >
> > \relative c'' {
> >\repeat unfold 4 { R1*4 \break }
> >\override Score.NonMusicalPaperColumn.padding = #20
> >R1 R1
> > }
> >
> > However, I need to apply this kind of override in a Voice context, so I
> > can't use NonMusicalPaperColumn.
> > There's any other workaround to achieve what I want?
>
> I think you *are* in a Voice context in the code above so you can apply it
> and the \override *Score*. …  will tell LilyPond in which context this
> override must be applied
>
> or did I misunderstand your question?
>
>
>
I meant: NonMusicalPaperColumn works only in the Score context.
These override(s) won't work:

\override NonMusicalPaperColumn.padding = #20
\override Voice.NonMusicalPaperColumn.padding = #20

So NonMusicalPaperColumn is probably not the right object to tweak.

There's any other way to achieve what I want?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stretching ragged last bar in the Voice context

2013-01-21 Thread Eluze
Federico Bruni-5 wrote
> I'm trying to stretch a ragged last bar in a score.
> I know I can use the following override (NR 4.5.1, Known issues):
> 
> 
> \relative c'' {
>\repeat unfold 4 { R1*4 \break }
>\override Score.NonMusicalPaperColumn.padding = #20
>R1 R1
> }
> 
> However, I need to apply this kind of override in a Voice context, so I 
> can't use NonMusicalPaperColumn.
> There's any other workaround to achieve what I want?

I think you *are* in a Voice context in the code above so you can apply it
and the \override *Score*. …  will tell LilyPond in which context this
override must be applied

or did I misunderstand your question?

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/stretching-ragged-last-bar-in-the-Voice-context-tp139366p139856.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


stretching ragged last bar in the Voice context

2013-01-12 Thread Federico Bruni

I'm trying to stretch a ragged last bar in a score.
I know I can use the following override (NR 4.5.1, Known issues):

\paper {
  ragged-last = ##t
}

\relative c'' {
  \repeat unfold 4 { R1*4 \break }
  \override Score.NonMusicalPaperColumn.padding = #20
  R1 R1
}

However, I need to apply this kind of override in a Voice context, so I 
can't use NonMusicalPaperColumn.

There's any other workaround to achieve what I want?

Thanks
--
Federico

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread George_


Xavier Scheuer wrote:
> 
> I think the \pageBreak at the end of the score *is* interfering (I did
> not check, maybe I would have if the code was self-compilable without
> I have to "imagine" a way to complete the missing variables).
> 
> Why are you using \pageBreak at the end of the score and not use a
> \bookpart, of which this is the purpose?
> 
> Cheers,
> Xavier
> 
> -- 
> Xavier Scheuer 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
It could be, I removed the \pageBreak and things still didn't work properly,
so I assumed it wasn't. But I've never heard of \bookpart before, that seems
to do everything I need. Thanks :)
-- 
View this message in context: 
http://old.nabble.com/ragged-last-bottom-doesn%27t-take-tp32945130p32952009.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread -Eluze


George_ wrote:
> 
> Oh, and I should also say that with the parts added in, there are no
> errors in the log. According to the program, everything is working as it
> should...except that it isn't.
> 
> The reason I'm using both ragged-last and ragged-last-bottom is so that
> the lines on the last page are not spread vertically, AND so that the bars
> on the last line are not spread horizontally.
> 
> The thing is, that setting ragged-last-bottom = ##t doesn't change the
> layout of the score, but setting ragged-bottom = ##t does.
> 

i have set up a small example to show it works as expected:

#(set-default-paper-size "a4" 'landscape)
#(set-global-staff-size 18)

music = { \repeat unfold 10 { c4 c c c \break} }

\paper {
  ragged-last-bottom = ##t
  ragged-bottom = ##f
  ragged-last = ##t
}
\score {
  <<
\new PianoStaff {
  <<
\context Staff = rightOne {
  \context Voice = rightOne \music
}
\context Staff = leftOne {
  \context Voice = leftOne \music
}
  >>
}
\context Staff = unten {
  \context Voice = pedalOne \music
    }
  >>
}

Eluze

-- 
View this message in context: 
http://old.nabble.com/ragged-last-bottom-doesn%27t-take-tp32945130p3295.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread Xavier Scheuer
On 10 December 2011 03:54, George_  wrote:
>
> […]
>
> Every one of them is good *apart from* the ragged-last-bottom, i.e. setting
> it to true doesn't make it ragged at all. I've tried replacing it with
> ragged-bottom, which works fine.
>
> I've written in a \pageBreak at the end of the score, but I don't think
> that's interfering with it somehow - even with it gone, it still won't work
> properly. It just seems weird to me that ragged-bottom = ##t will work, but
> ragged-last-bottom = ##t won't. Am I putting it in the wrong place?

I think the \pageBreak at the end of the score *is* interfering (I did
not check, maybe I would have if the code was self-compilable without
I have to "imagine" a way to complete the missing variables).

Why are you using \pageBreak at the end of the score and not use a
\bookpart, of which this is the purpose?

Cheers,
Xavier

-- 
Xavier Scheuer 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread Francisco Vila
2011/12/10 George_ :
> The thing is, that setting ragged-last-bottom = ##t doesn't do anything to
> the layout of the score, but setting ragged-bottom = ##t does.

  ragged-last-bottom is #t by default % best for shorter scores
  ragged-bottom is #f by default

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread Matthew Collett
On 10/12/2011, at 3:54 pm, George_ wrote:

>   \paper {
>   ragged-last-bottom = ##t
>       ragged-last = ##t
>   left-margin = 10\mm
>   right-margin = 7\mm
>   top-margin = 5\mm
>   bottom-margin = 5\mm
>   }

> Every one of them is good *apart from* the ragged-last-bottom, i.e. setting
> it to true doesn't make it ragged at all. I've tried replacing it with
> ragged-bottom, which works fine.

Setting 'ragged-last-bottom = ##t' should have no visible effect, since that is 
the default setting anyway. 

Best wishes,
Matthew
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread George_

Oh, and I should also say that with the parts added in, there are no errors
in the log. According to the program, everything is working as it
should...except that it isn't.

George_ wrote:
> 
> It shouldn't compile, I left the parts out to keep it reasonably short. As
> far as the \paper block is concerned, though, that is exactly what I am
> using at the moment, and that is exactly what doesn't work.
> 
> The reason I'm using both ragged-last and ragged-last-bottom is so that
> the lines on the last page are not spread vertically, AND so that the bars
> on the last line are not spread horizontally.
> 
> The thing is, that setting ragged-last-bottom = ##t doesn't change the
> layout of the score, but setting ragged-bottom = ##t does.
> 
> -Eluze wrote:
>> 
>> 
>> George_ wrote:
>>> 
>>> For a piece I'm writing out, this is what I have at the moment:
>>> 
>>> Every one of them is good *apart from* the ragged-last-bottom, i.e.
>>> setting it to true doesn't make it ragged at all. I've tried replacing
>>> it with ragged-bottom, which works fine.
>>> 
>>> I've written in a \pageBreak at the end of the score, but I don't think
>>> that's interfering with it somehow - even with it gone, it still won't
>>> work properly. It just seems weird to me that ragged-bottom = ##t will
>>> work, but ragged-last-bottom = ##t won't. Am I putting it in the wrong
>>> place?
>>> 
>> i can't compile your code (parts are missing) - but i don't really
>> understand how you are using ragged-(last-)bottom - either one or the
>> other?
>> 
>> you should probably use both (s. NR):
>> 
>> "ragged-bottom
>> 
>> If set to true, systems will not spread vertically down the page. This
>> does not affect the last page. This should be set to true for pieces that
>> have only two or three systems per page, for example orchestral scores. 
>> ragged-last-bottom
>> 
>> If set to false, systems will spread vertically down the last page.
>> Pieces that amply fill two pages or more should have this set to true. It
>> also affects the last page of book parts, i.e. parts of a book created
>> with \bookpart blocks."
>> 
>> Eluze
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/ragged-last-bottom-doesn%27t-take-tp32945130p32950711.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread George_

It shouldn't compile, I left the parts out to keep it reasonably short. As
far as the \paper block is concerned, though, that is exactly what I am
using at the moment, and that is exactly what doesn't work.

The reason I'm using both ragged-last and ragged-last-bottom is so that the
lines on the last page are not spread vertically, AND so that the bars on
the last line are not spread horizontally.

The thing is, that setting ragged-last-bottom = ##t doesn't do anything to
the layout of the score, but setting ragged-bottom = ##t does.

-Eluze wrote:
> 
> 
> George_ wrote:
>> 
>> For a piece I'm writing out, this is what I have at the moment:
>> 
>> Every one of them is good *apart from* the ragged-last-bottom, i.e.
>> setting it to true doesn't make it ragged at all. I've tried replacing it
>> with ragged-bottom, which works fine.
>> 
>> I've written in a \pageBreak at the end of the score, but I don't think
>> that's interfering with it somehow - even with it gone, it still won't
>> work properly. It just seems weird to me that ragged-bottom = ##t will
>> work, but ragged-last-bottom = ##t won't. Am I putting it in the wrong
>> place?
>> 
> i can't compile your code (parts are missing) - but i don't really
> understand how you are using ragged-(last-)bottom - either one or the
> other?
> 
> you should probably use both (s. NR):
> 
> "ragged-bottom
> 
> If set to true, systems will not spread vertically down the page. This
> does not affect the last page. This should be set to true for pieces that
> have only two or three systems per page, for example orchestral scores. 
> ragged-last-bottom
> 
> If set to false, systems will spread vertically down the last page. Pieces
> that amply fill two pages or more should have this set to true. It also
> affects the last page of book parts, i.e. parts of a book created with
> \bookpart blocks."
> 
> Eluze
> 

-- 
View this message in context: 
http://old.nabble.com/ragged-last-bottom-doesn%27t-take-tp32945130p32950699.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom doesn't take

2011-12-10 Thread -Eluze


George_ wrote:
> 
> For a piece I'm writing out, this is what I have at the moment:
> 
> Every one of them is good *apart from* the ragged-last-bottom, i.e.
> setting it to true doesn't make it ragged at all. I've tried replacing it
> with ragged-bottom, which works fine.
> 
> I've written in a \pageBreak at the end of the score, but I don't think
> that's interfering with it somehow - even with it gone, it still won't
> work properly. It just seems weird to me that ragged-bottom = ##t will
> work, but ragged-last-bottom = ##t won't. Am I putting it in the wrong
> place?
> 
i can't compile your code (parts are missing) - but i don't really
understand how you are using ragged-(last-)bottom - either one or the other?

you should probably use both (s. NR):

"ragged-bottom

If set to true, systems will not spread vertically down the page. This does
not affect the last page. This should be set to true for pieces that have
only two or three systems per page, for example orchestral scores. 
ragged-last-bottom

If set to false, systems will spread vertically down the last page. Pieces
that amply fill two pages or more should have this set to true. It also
affects the last page of book parts, i.e. parts of a book created with
\bookpart blocks."

Eluze
-- 
View this message in context: 
http://old.nabble.com/ragged-last-bottom-doesn%27t-take-tp32945130p32950627.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


ragged-last-bottom doesn't take

2011-12-09 Thread George_

For a piece I'm writing out, this is what I have at the moment:

% Created on Sun Aug 28 18:32:17 NZST 2011
\version "2.15.20-1"

\header {
%{ headers }%
}

#(set-default-paper-size "a4" 'landscape)
#(set-global-staff-size 18)

\book {
    \paper {
ragged-last-bottom = ##t
ragged-last = ##t
left-margin = 10\mm
right-margin = 7\mm
top-margin = 5\mm
bottom-margin = 5\mm
}
\score {
<<
\new PianoStaff {
\set PianoStaff.instrumentName = 
\markup { \large "a 2 Clav." }
<<
\context Staff = rightOne {
\context Voice = 
rightOne \rightOne
}
\context Staff = leftOne {
\context Voice = 
leftOne \leftOne
}
>>
}
\context Staff = unten {
\set Staff.instrumentName = \markup { 
\large "Pedale." \hspace #2 }
\context Voice = pedalOne \pedalOne
}
>>
\layout{}
}

\score {
<<
\new Staff {
\set Staff.midiInstrument = "pan flute"
\rightOne
}
\new Staff {
\set Staff.midiInstrument = "recorder"
\transpose c c' \rightOne
}
\new Staff {
\set Staff.midiInstrument = "pan flute"
\leftOne
}
\new Staff {
\set Staff.midiInstrument = "recorder"
\transpose c c'' \leftOne
}
\new Staff {
\set Staff.midiInstrument = "flute"
\pedalOne
}
\new Staff {
\set Staff.midiInstrument = "recorder"
\transpose c c,\pedalOne
}
>>
\midi{
    }
}

\score {
%{ next part }%
}
}

Every one of them is good *apart from* the ragged-last-bottom, i.e. setting
it to true doesn't make it ragged at all. I've tried replacing it with
ragged-bottom, which works fine.

I've written in a \pageBreak at the end of the score, but I don't think
that's interfering with it somehow - even with it gone, it still won't work
properly. It just seems weird to me that ragged-bottom = ##t will work, but
ragged-last-bottom = ##t won't. Am I putting it in the wrong place?

Thanks

George
-- 
View this message in context: 
http://old.nabble.com/ragged-last-bottom-doesn%27t-take-tp32945130p32945130.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \ragged-last

2011-11-21 Thread Ralph Palmer
On Sun, Nov 20, 2011 at 6:11 PM, Gerard McConnell wrote:

> Hello,
> Please, what's wrong with the following code:
> \version "2.12.50"
> \layout {
> \ragged-last = ##t
> \context {
> \Score
> \remove "Bar_number_engraver"
> }
> }
> it gets the error message:
> error: unknown escaped string: `\ragged-last'
> \ragged-last = ##t
> Thanks,
> Gerard
>
>
Greetings, Gerard -

Try it without the leading backslash :

\version "2.12.50"
\layout {
ragged-last = ##t%backslash removed
\context {
\Score
\remove "Bar_number_engraver"
}
}


Please take a look at the Notation Reference :
http://www.lilypond.org/doc/v2.14/Documentation/notation/the-_005cpaper-block

Ralph
-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


ragged-last

2011-11-20 Thread Gerard McConnell
oops, sorry, I spotted it.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\ragged-last

2011-11-20 Thread Gerard McConnell
Hello,
Please, what's wrong with the following code:
\version "2.12.50"
\layout {
    \ragged-last = ##t
\context {
\Score
\remove "Bar_number_engraver"
}
}
it gets the error message:
error: unknown escaped string: `\ragged-last'
\ragged-last = ##t
Thanks,
Gerard
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom should not ignore stretching on the last page

2011-10-09 Thread Xavier Scheuer
On 9 October 2011 04:33, Keith OHara  wrote:
>
> It has been discussed, most recently at
> 
>
> For now, we can get more space on the last page by adjusting things like
>  system-system-spacing #'basic-distance = #18
>  page-breaking-system-system-spacing #'basic-distance = #10
>
> Let's enter an enhancement request.
>
> Possibly LilyPond could remember the most recently-used stretching force,
> and use that force or the flush-bottom force on the final page, whichever is
> less.  Possibly we want to be able to enter stretchable space by hand in
> between and after \scores, with a variable stretchability, and use that as a
> more flexible replacement for ragged-bottom.

Thanks!

I see Joe already merged this enhancement request into issue #1377 ,
and I'm happy to see there is already a patch attached to it!

So I think my scores will look even better once this patch would have
been reviewed and finally pushed.

Thank you Joe, thank you everybody.

Cheers,
Xavier

-- 
Xavier Scheuer 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom should not ignore stretching on the last page

2011-10-08 Thread Keith OHara

On Sat, 08 Oct 2011 14:57:33 -0700, Xavier Scheuer  wrote:


Maybe this has been already discussed, but I do not like the current
vertical spacing behaviour of the last page when using
ragged-last-bottom (##t by default).


It has been discussed, most recently at 
<http://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00043.html>

For now, we can get more space on the last page by adjusting things like
  system-system-spacing #'basic-distance = #18
  page-breaking-system-system-spacing #'basic-distance = #10

Let's enter an enhancement request.

Possibly LilyPond could remember the most recently-used stretching force, and 
use that force or the flush-bottom force on the final page, whichever is less.  
Possibly we want to be able to enter stretchable space by hand in between and 
after \scores, with a variable stretchability, and use that as a more flexible 
replacement for ragged-bottom.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers : Slight Return

2010-12-02 Thread Jan-Peter Voigt
 -- mne __ nó -- xi -- um.
> }
> 
> verbaSix = \lyricmode {
>   \verseNumber #"6." #"" #"6."
>   Per te sci -- á -- mus __ da Pa -- trem,
>   "" No -- scá -- mus at -- que __ Fí -- li -- um,
>   "" Te u -- tri -- ús -- que __ Spí -- ri -- tum
>   "" Cre -- dá -- mus o -- mni __ tém -- po -- re.
> }
> 
> verbaSeven = \lyricmode {
>   \verseNumber #"7." #"" #"7."
>   De -- o Pa -- tri sit __ gló -- ri -- a,
>   "" Et Fí -- li -- o qui~a mór -- tu -- is,
>   "" Sur -- ré -- xit, __ ac __ Pa -- rá -- cli -- to,
>   "" In __ sae -- cu -- ló -- rum __ saé -- cu -- la. A -- men. __
> 
> }
> 
> \score {
>   \new Staff { \chant }
>   \addlyrics { \verbaOne }
>   \addlyrics { \verbaTwo }
>   \addlyrics { \verbaThree }
>   \addlyrics { \verbaFour }
>   \addlyrics { \verbaFive }
>   \addlyrics { \verbaSix }
>   \addlyrics { \verbaSeven }
>   \layout {
> ragged-last=##f
> 
> \context {
>   \Staff
>   \remove "Time_signature_engraver"
>   \remove "Bar_engraver"
>   \override Stem #'transparent = ##t
> }
>   }
> }
>   
> 
> 
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers : Slight Return

2010-12-02 Thread Jan-Peter Voigt

Hello Athanasius,

I removed the hidden notes ... then I changed the verse-number-function:

verseNumber = #(define-music-function (parser location number name
shortname) (string? string? string?)
  #{
\set stanza = \markup \smaller \italic $number
\set vocalName  = \markup $name
% same markup as stanza
\set shortVocalName = \markup \smaller $shortname
\override InstrumentName #'font-series  = #'bold
\override InstrumentName #'font-shape   = #'italic
\override InstrumentName #'font-size= #'0.1
\override InstrumentName #'self-alignment-X = #LEFT
% shift numbers to the left
\override InstrumentName #'X-offset = #-1.5
#})

Now the numbers are all of equal size (same markup for stanza and 
shortVocalName) and the numbers a shiftet left.


Regards,
Jan-Peter


On 02.12.2010 05:29, Athanasius wrote:

Eluze or whoever,

So I have added a hidden note, otherwise the verse text was over the verse
numbers.  Is there a way to modify the verse numbers, first, to match the
size of the ones on top and also to maybe move them to the left a little
bit?  Below is the modified file.  (is there stuff in the verseNumber
section that I don't need?)

\version "2.13.35"

\include "gregorian.ly"

\header {
   subtitle = "Veni Creator Spiritus"
   % Remove default LilyPond tagline
   tagline = ##f
}

\paper{
   paper-width=5.5\in
}

verseNumber = #(define-music-function (parser location number name
shortname) (string? string? string?)
 #{
 \set stanza = \markup \smaller \italic $number
 \set vocalName  = \markup $name
 \set shortVocalName = \markup \teeny $shortname
 \override InstrumentName #'font-series  = #'bold
 \override InstrumentName #'font-shape   = #'italic
   \override InstrumentName #'font-size= #'0.1
 \override InstrumentName #'self-alignment-X = #LEFT
 \override InstrumentName #'X-offset = #3.2
   #})

chant = \relative c' {
   \key a \major
   e4 fis e ( d) e fis (e) a b a2 \break \divisioMaior
   \hideNotes e \unHideNotes
   a4 e fis a b ( a) b cis b \break \divisioMaior
   \hideNotes e \unHideNotes
   a,4 b ( cis) a ( gis) fis ( e) a ( b) e, fis a2 \break \divisioMaior
   \hideNotes e \unHideNotes
   gis4 ( a) fis e (d) fis fis ( gis fis) e d e2 \divisioMaxima
   \hideNotes e \unHideNotes
   e4 ( fis e) d2 ( e) \finalis
}

verbaOne = \lyricmode {
   \verseNumber #"1." #"" #"1."
   Ve -- ni Cre -- á -- tor __ Spí -- ri -- tus,
   "" men -- tes tu -- ó -- rum vi -- sí -- ta,
   "" im -- ple __ su -- pér -- na __ grá -- ti -- a
   "" quae tu cre -- á -- sti __  pé -- cto -- ra.
}

verbaTwo = \lyricmode {
   \verseNumber #"2." #"" #"2."
   Qui dí -- ce -- ris Pa -- rá -- cli -- tus,
   "" al -- tís -- si -- mi do -- num De -- i,
   "" fons vi -- vus, i -- gnis, ca -- ri -- tas,
   "" et __ spi -- ri -- tá -- lis __ ún -- cti -- o.
}

verbaThree = \lyricmode {
   \verseNumber #"3." #"" #"3."
   Tu se -- pti -- fór -- mis __ mú -- ne -- re,
   "" Dex -- trae De -- i tu __ dí -- gi -- tus,
   "" Tu ri -- te pro -- mís -- sum Pa -- tris,
   "" Ser -- mó -- ne __ di -- tans __ gút -- tu -- ra.
}

verbaFour = \lyricmode {
  \verseNumber #"4." #"" #"4."
   Ac -- cén -- de lu -- men sén -- si -- bus,
   "" In -- fúnde a -- mó -- rem __ cór -- di -- bus,
   "" In -- fír -- ma __ no -- stri __ cór -- po -- ris
   "" Vir -- tú -- te __ fir -- mans __ pér -- pe -- ti.
}

verbaFive = \lyricmode {
   \verseNumber #"5." #"" #"5."
   Hos -- tem re -- pél -- las __ lón -- gi -- us,
   "" pa -- cém -- que do -- nes __ pró -- ti -- nus;
   "" Du -- ctó -- re sic __ te __ praé -- vi -- o,
   "" Vi -- té -- mus __ o -- mne __ nó -- xi -- um.
}

verbaSix = \lyricmode {
   \verseNumber #"6." #"" #"6."
   Per te sci -- á -- mus __ da Pa -- trem,
   "" No -- scá -- mus at -- que __ Fí -- li -- um,
   "" Te u -- tri -- ús -- que __ Spí -- ri -- tum
   "" Cre -- dá -- mus o -- mni __ tém -- po -- re.
}

verbaSeven = \lyricmode {
   \verseNumber #"7." #"" #"7."
   De -- o Pa -- tri sit __ gló -- ri -- a,
   "" Et Fí -- li -- o qui~a mór -- tu -- is,
   "" Sur -- ré -- xit, __ ac __ Pa -- rá -- cli -- to,
   "" In __ sae -- cu -- ló -- rum __ saé -- cu -- la. A -- men. __

}

\score {
   \new Staff { \chant }
   \addlyrics { \verbaOne }
   \addlyrics { \verbaTwo }
   \addlyrics { \verbaThree }
   \addlyrics { \verbaFour }
   \addlyrics { \verbaFive }
   \addlyrics { \verbaSix }
   \addlyrics { \verbaSeven }
   \layout {
 ragged-last=##f

 \context {
   \Staff
   \remove "Time_signature_engraver"
   \remove "Bar_engraver"
   \override Stem #'transparent = ##t
 }
   }
}
   




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-02 Thread eluze

Am 02.12.2010, 09:40 Uhr, schrieb Phil Holmes :


- Original Message -

However, ragged-right and ragged-last still work in exactly the same way.
See new attachments.

--
Phil Holmes



in your examples - yes.

but the problem came up with a score written in gregorian style and that's  
where it happens!


just add

  \include "gregorian.ly"

to see it:

ragged-last in the \paper has no effect, whereas in a \layout block it  
works!


Eluze

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-02 Thread Phil Holmes
- Original Message - 
From: "eluze" 

To: ; "Phil Holmes" 
Sent: Thursday, December 02, 2010 9:39 AM
Subject: Re: Problem with ragged-last and verse numbers



Am 02.12.2010, 09:40 Uhr, schrieb Phil Holmes :


- Original Message -

However, ragged-right and ragged-last still work in exactly the same way.
See new attachments.

--
Phil Holmes



in your examples - yes.

but the problem came up with a score written in gregorian style and that's 
where it happens!


just add

  \include "gregorian.ly"

to see it:

ragged-last in the \paper has no effect, whereas in a \layout block it 
works!


Eluze



OK.  I think I've got this sorted out.  You can (as a general rule) put the 
"ragged" commands inside either a \layout block, or a \paper block - or 
both.  However, if you use a \layout block, this over-rides the settings 
from the \paper block, which therefore have no effect.  gregorian.ly 
contains the line "ragged-last = ##t" in a \layout block - therefore setting 
this to false in a \paper block has no effect.  Setting any other ragged 
setting in a \paper block will work.  So to make ragged-last false, the 
\layout command in gregorian.ly has to be over-ridden with "ragged-last = 
##t" in a \layout block in the source file - after the \include.


Pretty certain that's right.  Phew.

Not sure why it works like this, though.


--
Phil Holmes



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-02 Thread eluze

Am 02.12.2010, 12:38 Uhr, schrieb Phil Holmes :


- Original Message - From: "eluze" 
To: ; "Phil Holmes" 
Sent: Thursday, December 02, 2010 9:39 AM
Subject: Re: Problem with ragged-last and verse numbers



Am 02.12.2010, 09:40 Uhr, schrieb Phil Holmes :


- Original Message -

However, ragged-right and ragged-last still work in exactly the same  
way.

See new attachments.

--
Phil Holmes



in your examples - yes.

but the problem came up with a score written in gregorian style and  
that's where it happens!


just add

  \include "gregorian.ly"

to see it:

ragged-last in the \paper has no effect, whereas in a \layout block it  
works!


Eluze



OK.  I think I've got this sorted out.  You can (as a general rule) put  
the "ragged" commands inside either a \layout block, or a \paper block -  
or both.  However, if you use a \layout block, this over-rides the  
settings from the \paper block, which therefore have no effect.   
gregorian.ly contains the line "ragged-last = ##t" in a \layout block -  
therefore setting this to false in a \paper block has no effect.   
Setting any other ragged setting in a \paper block will work.  So to  
make ragged-last false, the \layout command in gregorian.ly has to be  
over-ridden with "ragged-last = ##t" in a \layout block in the source  
file - after the \include.


Pretty certain that's right.  Phew.

Not sure why it works like this, though.


--
Phil Holmes




nice explanation, Whew!

so to re-establish the compliance with the general rules, ragged-last  
should be put in a \paper block in gregorian.ly, with - as you mention -  
the small constraint to use it after the \include!


thanks!
Eluze

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-02 Thread Phil Holmes
- Original Message - 
From: "eluze" 

To: ; "Phil Holmes" 
Sent: Thursday, December 02, 2010 12:13 PM
Subject: Re: Problem with ragged-last and verse numbers



Am 02.12.2010, 12:38 Uhr, schrieb Phil Holmes :


OK.  I think I've got this sorted out.  You can (as a general rule) put 
the "ragged" commands inside either a \layout block, or a \paper block - 
or both.  However, if you use a \layout block, this over-rides the 
settings from the \paper block, which therefore have no effect. 
gregorian.ly contains the line "ragged-last = ##t" in a \layout block - 
therefore setting this to false in a \paper block has no effect. 
Setting any other ragged setting in a \paper block will work.  So to 
make ragged-last false, the \layout command in gregorian.ly has to be 
over-ridden with "ragged-last = ##t" in a \layout block in the source 
file - after the \include.


Pretty certain that's right.  Phew.

Not sure why it works like this, though.
--
Phil Holmes


nice explanation, Whew!

so to re-establish the compliance with the general rules, ragged-last 
should be put in a \paper block in gregorian.ly, with - as you mention - 
the small constraint to use it after the \include!


I think it would be better to put it in a \paper block in gregorian.ly, 
since this could then be over-ridden by either \paper or \layout in the 
lilyPond file.

--
Phil Holmes



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers : Slight Return

2010-12-01 Thread Athanasius

Eluze or whoever, 

So I have added a hidden note, otherwise the verse text was over the verse
numbers.  Is there a way to modify the verse numbers, first, to match the
size of the ones on top and also to maybe move them to the left a little
bit?  Below is the modified file.  (is there stuff in the verseNumber
section that I don't need?) 

\version "2.13.35"

\include "gregorian.ly"

\header {
  subtitle = "Veni Creator Spiritus"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper{
  paper-width=5.5\in
}

verseNumber = #(define-music-function (parser location number name
shortname) (string? string? string?)
#{
\set stanza = \markup \smaller \italic $number
\set vocalName  = \markup $name
\set shortVocalName = \markup \teeny $shortname
\override InstrumentName #'font-series  = #'bold
\override InstrumentName #'font-shape   = #'italic  
  \override InstrumentName #'font-size= #'0.1 
\override InstrumentName #'self-alignment-X = #LEFT
\override InstrumentName #'X-offset = #3.2
  #})

chant = \relative c' {
  \key a \major
  e4 fis e ( d) e fis (e) a b a2 \break \divisioMaior
  \hideNotes e \unHideNotes
  a4 e fis a b ( a) b cis b \break \divisioMaior
  \hideNotes e \unHideNotes
  a,4 b ( cis) a ( gis) fis ( e) a ( b) e, fis a2 \break \divisioMaior
  \hideNotes e \unHideNotes
  gis4 ( a) fis e (d) fis fis ( gis fis) e d e2 \divisioMaxima
  \hideNotes e \unHideNotes
  e4 ( fis e) d2 ( e) \finalis
}

verbaOne = \lyricmode {
  \verseNumber #"1." #"" #"1."
  Ve -- ni Cre -- á -- tor __ Spí -- ri -- tus,
  "" men -- tes tu -- ó -- rum vi -- sí -- ta,
  "" im -- ple __ su -- pér -- na __ grá -- ti -- a
  "" quae tu cre -- á -- sti __  pé -- cto -- ra.
}

verbaTwo = \lyricmode {
  \verseNumber #"2." #"" #"2."
  Qui dí -- ce -- ris Pa -- rá -- cli -- tus,
  "" al -- tís -- si -- mi do -- num De -- i,
  "" fons vi -- vus, i -- gnis, ca -- ri -- tas,
  "" et __ spi -- ri -- tá -- lis __ ún -- cti -- o.
}

verbaThree = \lyricmode {
  \verseNumber #"3." #"" #"3."
  Tu se -- pti -- fór -- mis __ mú -- ne -- re,
  "" Dex -- trae De -- i tu __ dí -- gi -- tus,
  "" Tu ri -- te pro -- mís -- sum Pa -- tris,
  "" Ser -- mó -- ne __ di -- tans __ gút -- tu -- ra.
}

verbaFour = \lyricmode {
 \verseNumber #"4." #"" #"4."
  Ac -- cén -- de lu -- men sén -- si -- bus,
  "" In -- fúnde a -- mó -- rem __ cór -- di -- bus,
  "" In -- fír -- ma __ no -- stri __ cór -- po -- ris
  "" Vir -- tú -- te __ fir -- mans __ pér -- pe -- ti.
}

verbaFive = \lyricmode {
  \verseNumber #"5." #"" #"5."
  Hos -- tem re -- pél -- las __ lón -- gi -- us,
  "" pa -- cém -- que do -- nes __ pró -- ti -- nus;
  "" Du -- ctó -- re sic __ te __ praé -- vi -- o,
  "" Vi -- té -- mus __ o -- mne __ nó -- xi -- um.
}

verbaSix = \lyricmode {
  \verseNumber #"6." #"" #"6."
  Per te sci -- á -- mus __ da Pa -- trem,
  "" No -- scá -- mus at -- que __ Fí -- li -- um,
  "" Te u -- tri -- ús -- que __ Spí -- ri -- tum
  "" Cre -- dá -- mus o -- mni __ tém -- po -- re.
}

verbaSeven = \lyricmode {
  \verseNumber #"7." #"" #"7."
  De -- o Pa -- tri sit __ gló -- ri -- a,
  "" Et Fí -- li -- o qui~a mór -- tu -- is,
  "" Sur -- ré -- xit, __ ac __ Pa -- rá -- cli -- to,
  "" In __ sae -- cu -- ló -- rum __ saé -- cu -- la. A -- men. __

}

\score {
  \new Staff { \chant }
  \addlyrics { \verbaOne }
  \addlyrics { \verbaTwo }
  \addlyrics { \verbaThree }
  \addlyrics { \verbaFour }
  \addlyrics { \verbaFive }
  \addlyrics { \verbaSix }
  \addlyrics { \verbaSeven }
  \layout {
ragged-last=##f

\context {
  \Staff
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
  \override Stem #'transparent = ##t  
}
  }
}
-- 
View this message in context: 
http://old.nabble.com/Problem-with-ragged-last-and-verse-numbers-%3A-Slight-Return-tp30351202p30355765.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers : Slight Return

2010-12-01 Thread -Eluze


Athanasius Pelletier wrote:
> 
> Thanks, everyone for your help!
> 
> I have used Eluze's reccomendation and it works well.
> 
> The verse numbers, however, are too far to the left and I would like to
> know
> how to compact the lyrics a bit so that the numbers line up just under the
> lines instead of being outside.
> 

you did *not* follow my recommendation for stanza numbers on every line!

here is an example how to:

code: http://old.nabble.com/file/p30354256/vocalName.ly vocalName.ly 
output:  http://old.nabble.com/file/p30354256/vocalName.pdf vocalName.pdf 
-- 
View this message in context: 
http://old.nabble.com/Problem-with-ragged-last-and-verse-numbers-%3A-Slight-Return-tp30351202p30354256.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread eluze

Am 01.12.2010, 18:47 Uhr, schrieb Phil Holmes :


- Original Message -
From: "-Eluze" 
To: 
Sent: Wednesday, December 01, 2010 5:04 PM
Subject: Re: Problem with ragged-last and verse numbers





Phil Holmes-2 wrote:



According to
http://lilypond.org/doc/v2.13/Documentation/notation/page-formatting#flexible-vertical-dimensions
it should be in the \paper block.

--
Phil Holmes




that's what i used to think, but in this case it does not work in the
\paper
block!

the doc (NR) itself *always* uses ragged-last or ragged-right in the
\layout
block - if it is supposed to work when specified in the paper block then
it
looks like a flaw.

otherwise this should be substantiated in the documentation!


It works exactly as documented for me.  See the attached files.

--
Phil Holmes



your examples do not use ragged-right nor ragged-last!

Eluze

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread -Eluze


Phil Holmes-2 wrote:
> 
> 
> According to 
> http://lilypond.org/doc/v2.13/Documentation/notation/page-formatting#flexible-vertical-dimensions
>  
> it should be in the \paper block.
> 
> --
> Phil Holmes
> 
> 

that's what i used to think, but in this case it does not work in the \paper
block!

the doc (NR) itself *always* uses ragged-last or ragged-right in the \layout
block - if it is supposed to work when specified in the paper block then it
looks like a flaw.

otherwise this should be substantiated in the documentation!

thanks
Eluze
-- 
View this message in context: 
http://old.nabble.com/Problem-with-ragged-last-and-verse-numbers-tp30345773p30351087.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Problem with ragged-last and verse numbers : Slight Return

2010-12-01 Thread Br. Athanasius Pelletier
Thanks, everyone for your help!

I have used Eluze's reccomendation and it works well.

The verse numbers, however, are too far to the left and I would like to know
how to compact the lyrics a bit so that the numbers line up just under the
lines instead of being outside.

\version "2.13.35"

\include "gregorian.ly"

\header {
  subtitle = "Veni Creator Spiritus"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper{
  paper-width=5.5\in
}

chant = \relative c' {
  \key a \major
  e4 fis e ( d) e fis (e) a b a2 \break \divisioMaior
  a4 e fis a b ( a) b cis b \break \divisioMaior
  a4 b ( cis) a ( gis) fis ( e) a ( b) e, fis a2 \break \divisioMaior
  gis4 ( a) fis e (d) fis fis ( gis fis) e d e2 \divisioMaxima
  e4 ( fis e) d2 ( e) \finalis
}

verbaOne = \lyricmode {
  \set stanza = "1."
  Ve -- ni Cre -- á -- tor __ Spí -- ri -- tus,

  \set stanza = "1."
  men -- tes tu -- ó -- rum vi -- sí -- ta,

  \set stanza = "1."
  im -- ple __ su -- pér -- na __ grá -- ti -- a

  \set stanza = "1."
  quae tu cre -- á -- sti __  pé -- cto -- ra.
}

verbaTwo = \lyricmode {
  \set stanza = "2."
  Qui dí -- ce -- ris Pa -- rá -- cli -- tus,

  \set stanza = "2."
  al -- tís -- si -- mi do -- num De -- i,

  \set stanza = "2."
  fons vi -- vus, i -- gnis, ca -- ri -- tas,

  \set stanza = "2."
  et __ spi -- ri -- tá -- lis __ ún -- cti -- o.
}

verbaThree = \lyricmode {
  \set stanza = "3."
  Tu se -- pti -- fór -- mis __ mú -- ne -- re,

  \set stanza = "3."
  Dex -- trae De -- i tu __ dí -- gi -- tus,

  \set stanza = "3."
  Tu ri -- te pro -- mís -- sum Pa -- tris,

  \set stanza = "3."
  Ser -- mó -- ne __ di -- tans __ gút -- tu -- ra.
}

verbaFour = \lyricmode {
  \set stanza = "4."
  Ac -- cén -- de lu -- men sén -- si -- bus,

  \set stanza = "4."
  In -- fúnde a -- mó -- rem __ cór -- di -- bus,

  \set stanza = "4."
  In -- fír -- ma __ no -- stri __ cór -- po -- ris

  \set stanza = "4."
  Vir -- tú -- te __ fir -- mans __ pér -- pe -- ti.
}

verbaFive = \lyricmode {
  \set stanza = "5."
  Hos -- tem re -- pél -- las __ lón -- gi -- us,

  \set stanza = "5."
  pa -- cém -- que do -- nes __ pró -- ti -- nus;

  \set stanza = "5."
  Du -- ctó -- re sic __ te __ praé -- vi -- o,

  \set stanza = "5."
  Vi -- té -- mus __ o -- mne __ nó -- xi -- um.
}

verbaSix = \lyricmode {
  \set stanza = "6."
  Per te sci -- á -- mus __ da Pa -- trem,

  \set stanza = "6."
  No -- scá -- mus at -- que __ Fí -- li -- um,

  \set stanza = "6."
  Te u -- tri -- ús -- que __ Spí -- ri -- tum

  \set stanza = "6."
  Cre -- dá -- mus o -- mni __ tém -- po -- re.
}

verbaSeven = \lyricmode {
  \set stanza = "7."
  De -- o Pa -- tri sit __ gló -- ri -- a,

  \set stanza = "7."
  Et Fí -- li -- o qui~a mór -- tu -- is,

  \set stanza = "7."
  Sur -- ré -- xit, __ ac __ Pa -- rá -- cli -- to,

  \set stanza = "7."
  In __ sae -- cu -- ló -- rum __ saé -- cu -- la. A -- men. __

}

\score {
  \new Staff { \chant }
  \addlyrics { \verbaOne }
  \addlyrics { \verbaTwo }
  \addlyrics { \verbaThree }
  \addlyrics { \verbaFour }
  \addlyrics { \verbaFive }
  \addlyrics { \verbaSix }
  \addlyrics { \verbaSeven }
  \layout {
ragged-last=##f

\context {
  \Staff
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
  \override Stem #'transparent = ##t
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Phil Holmes
- Original Message - 
From: "-Eluze" 

To: 
Sent: Wednesday, December 01, 2010 9:35 AM
Subject: Re: Problem with ragged-last and verse numbers





Athanasius Pelletier wrote:


Hello all!  I am having trouble making the last line stretch to the end.


it seems that ragged-last shoul be used in the \layout block!


According to 
http://lilypond.org/doc/v2.13/Documentation/notation/page-formatting#flexible-vertical-dimensions 
it should be in the \paper block.


--
Phil Holmes



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Fwd: Problem with ragged-last and verse numbers

2010-12-01 Thread Tim McNamara



Begin forwarded message:

Hello all!  I am having trouble making the last line stretch to the  
end.  Also, I would like to have numbers for all the verses not  
just for the first part.

Here is my file:

\version "2.13.35"

\include "gregorian.ly"

\header {
  subtitle = "Veni Creator Spiritus"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper{
  paper-width=5.5\in
  ragged-last=##t %I don't know how to fix this


ragged-last=##f

will fix that issue.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Jan-Peter Voigt

Hello Eluze,


it seems that ragged-last shoul be used in the \layout block!

   

thanks. So my solution with the hidden note is an unneeded hack!
I often underestimate the layout block ;-)

Regards,
Jan-Peter


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread -Eluze


Athanasius Pelletier wrote:
> 
> Hello all!  I am having trouble making the last line stretch to the end.
> 
it seems that ragged-last shoul be used in the \layout block!


Athanasius Pelletier wrote:
> 
> Also, I would like to have numbers for all the verses not just for the
> first
> part.
> 

you can add the following and maybe tweak the different values:

\set stanza = "2."
\set vocalName = #"2."
\set shortVocalName = #"2."
\override InstrumentName #'X-offset = #3
\override InstrumentName #'font-size = #'0.1

see also 
http://old.nabble.com/Lyrics-verse-numbers-on-every-line-td23128612.html#a23130227
http://old.nabble.com/Lyrics-verse-numbers-on-every-line-td23128612.html#a23130227
 
in the forum!

-- 
View this message in context: 
http://old.nabble.com/Problem-with-ragged-last-and-verse-numbers-tp30345773p30347286.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Jan-Peter Voigt

Hello once again,

I forgot to mention to add an empty \markup in the last verse. Otherwise 
the amen-extender will not look nice and complain while compile.
And I misunderstood your stanza question first. I saw Wilbert answered 
that this minute. I copied "\set stanza" in every line, so every 
verse-line starts with a number.


Regards,
Jan-Peter

--snip--
% I use stable version, compiled this once in 2.13.40
\version "2.12.3"

\include "gregorian.ly"

\header {
  subtitle = "Veni Creator Spiritus"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper{
  %commented out for my A4-world
  %paper-width=5.5\in
ragged-last=##f
}

sopranoVoice = \relative c' {
  \key a \major
  e4 fis e ( d) e fis (e) a b a2 \break \divisioMaior
  a4 e fis a b ( a) b cis b \break \divisioMaior
  a4 b ( cis) a ( gis) fis ( e) a ( b) e, fis a2 \break \divisioMaior
  gis4 ( a) fis e (d) fis fis ( gis fis) e d e2 \divisioMaxima
  e4 ( fis e) d2 ( e) \finalis \break
\stopStaff \hideNotes e
}

verseOne = \lyricmode {
  \set stanza = "1."
  Ve -- ni Cre -- á -- tor __ Spí -- ri -- tus,
\set stanza = "1."
  men -- tes tu -- ó -- rum vi -- sí -- ta,
  \set stanza = "1."
  im -- ple __ su -- pér -- na __ grá -- ti -- a
  \set stanza = "1."
  quae tu cre -- á -- sti __  pé -- cto -- ra.
}

verseTwo = \lyricmode {
  \set stanza = "2."
  Qui dí -- ce -- ris Pa -- rá -- cli -- tus,
  \set stanza = "2."
  al -- tís -- si -- mi do -- num De -- i,
  \set stanza = "2."
  fons vi -- vus, i -- gnis, ca -- ri -- tas,
  \set stanza = "2."
  et __ spi -- ri -- tá -- lis __ ún -- cti -- o.
}

verseThree = \lyricmode {
  \set stanza = "3."
  Tu se -- pti -- fór -- mis __ mú -- ne -- re,
  \set stanza = "3."
  Dex -- trae De -- i tu __ dí -- gi -- tus,
  \set stanza = "3."
  Tu ri -- te pro -- mís -- sum Pa -- tris,
  \set stanza = "3."
  Ser -- mó -- ne __ di -- tans __ gút -- tu -- ra.
}

verseFour = \lyricmode {
  \set stanza = "4."
  Ac -- cén -- de lu -- men sén -- si -- bus,
  \set stanza = "4."
  In -- fúnde a -- mó -- rem __ cór -- di -- bus,
  \set stanza = "4."
  In -- fír -- ma __ no -- stri __ cór -- po -- ris
  \set stanza = "4."
  Vir -- tú -- te __ fir -- mans __ pér -- pe -- ti.
}

verseFive = \lyricmode {
  \set stanza = "5."
  Hos -- tem re -- pél -- las __ lón -- gi -- us,
  \set stanza = "5."
  pa -- cém -- que do -- nes __ pró -- ti -- nus;
  \set stanza = "5."
  Du -- ctó -- re sic __ te __ praé -- vi -- o,
  \set stanza = "5."
  Vi -- té -- mus __ o -- mne __ nó -- xi -- um.
}

verseSix = \lyricmode {
  \set stanza = "6."
  Per te sci -- á -- mus __ da Pa -- trem,
  \set stanza = "6."
  No -- scá -- mus at -- que __ Fí -- li -- um,
  \set stanza = "6."
  Te u -- tri -- ús -- que __ Spí -- ri -- tum
  \set stanza = "6."
  Cre -- dá -- mus o -- mni __ tém -- po -- re.
}

verseSeven = \lyricmode {
  \set stanza = "7."
  De -- o Pa -- tri sit __ gló -- ri -- a,
  \set stanza = "7."
  Et Fí -- li -- o qui~a mór -- tu -- is,
  \set stanza = "7."
  Sur -- ré -- xit, __ ac __ Pa -- rá -- cli -- to,
  \set stanza = "7."
  In __ sae -- cu -- ló -- rum __ saé -- cu -- la. A -- men. __ \markup { }
}

\score {
  \new Staff { \sopranoVoice }
  \addlyrics { \verseOne }
  \addlyrics { \verseTwo }
  \addlyrics { \verseThree }
  \addlyrics { \verseFour }
  \addlyrics { \verseFive }
  \addlyrics { \verseSix }
  \addlyrics { \verseSeven }
  \layout {
\context {
  \Staff
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
  \override Stem #'transparent = ##t
}
  }
}
--snip--
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Jan-Peter Voigt

Hello Athanasius,

this is an interesting problem! I first thought, you just had to change 
ragged-last to ##f . This is what Lilypond says to *not* compress or rag 
the last line - so it stretches to the end.

This does not help. And you probably tried this already.
I found a workaround-solution (using Lily 2.12.3, should also work in 
2.13?):


1. in the paper block
ragged-last=##f

2. add a hidden note after the last \break in the music part:
... e) \finalis \break
\stopStaff \hideNotes e
}

This causes the last line to stretch in my setup.

The stanza numbers all appear with Lily 2.12. I will look, if this works 
in 2.13.


Regards,
Jan-Peter

On 01.12.2010 02:51, Br. Athanasius Pelletier wrote:
Hello all!  I am having trouble making the last line stretch to the 
end.  Also, I would like to have numbers for all the verses not just 
for the first part.

Here is my file:

\version "2.13.35"

\include "gregorian.ly <http://gregorian.ly>"

\header {
  subtitle = "Veni Creator Spiritus"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper{
  paper-width=5.5\in
  ragged-last=##t %I don't know how to fix this
}

sopranoVoice = \relative c' {
  \key a \major
  e4 fis e ( d) e fis (e) a b a2 \break \divisioMaior
  a4 e fis a b ( a) b cis b \break \divisioMaior
  a4 b ( cis) a ( gis) fis ( e) a ( b) e, fis a2 \break \divisioMaior
  gis4 ( a) fis e (d) fis fis ( gis fis) e d e2 \divisioMaxima
  e4 ( fis e) d2 ( e) \finalis \break
}

verseOne = \lyricmode {
  \set stanza = "1."
  Ve -- ni Cre -- á -- tor __ Spí -- ri -- tus,
  men -- tes tu -- ó -- rum vi -- sí -- ta,
  im -- ple __ su -- pér -- na __ grá -- ti -- a
  quae tu cre -- á -- sti __  pé -- cto -- ra.
}

verseTwo = \lyricmode {
  \set stanza = "2."
  Qui dí -- ce -- ris Pa -- rá -- cli -- tus,
  al -- tís -- si -- mi do -- num De -- i,
  fons vi -- vus, i -- gnis, ca -- ri -- tas,
  et __ spi -- ri -- tá -- lis __ ún -- cti -- o.
}

verseThree = \lyricmode {
  \set stanza = "3."
  Tu se -- pti -- fór -- mis __ mú -- ne -- re,
  Dex -- trae De -- i tu __ dí -- gi -- tus,
  Tu ri -- te pro -- mís -- sum Pa -- tris,
  Ser -- mó -- ne __ di -- tans __ gút -- tu -- ra.
}

verseFour = \lyricmode {
  \set stanza = "4."
  Ac -- cén -- de lu -- men sén -- si -- bus,
  In -- fúnde a -- mó -- rem __ cór -- di -- bus,
  In -- fír -- ma __ no -- stri __ cór -- po -- ris
  Vir -- tú -- te __ fir -- mans __ pér -- pe -- ti.
}

verseFive = \lyricmode {
  \set stanza = "5."
  Hos -- tem re -- pél -- las __ lón -- gi -- us,
  pa -- cém -- que do -- nes __ pró -- ti -- nus;
  Du -- ctó -- re sic __ te __ praé -- vi -- o,
  Vi -- té -- mus __ o -- mne __ nó -- xi -- um.
}

verseSix = \lyricmode {
  \set stanza = "6."
  Per te sci -- á -- mus __ da Pa -- trem,
  No -- scá -- mus at -- que __ Fí -- li -- um,
  Te u -- tri -- ús -- que __ Spí -- ri -- tum
  Cre -- dá -- mus o -- mni __ tém -- po -- re.
}

verseSeven = \lyricmode {
  \set stanza = "7."
  De -- o Pa -- tri sit __ gló -- ri -- a,
  Et Fí -- li -- o qui~a mór -- tu -- is,
  Sur -- ré -- xit, __ ac __ Pa -- rá -- cli -- to,
  In __ sae -- cu -- ló -- rum __ saé -- cu -- la. A -- men. __
}

\score {
  \new Staff { \sopranoVoice }
  \addlyrics { \verseOne }
  \addlyrics { \verseTwo }
  \addlyrics { \verseThree }
  \addlyrics { \verseFour }
  \addlyrics { \verseFive }
  \addlyrics { \verseSix }
  \addlyrics { \verseSeven }
  \layout {
\context {
  \Staff
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
  \override Stem #'transparent = ##t
}
  }
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
   


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Wilbert Berendsen
Try ragged-last = ##f

as for the verse numbers, you probably could add \set stanza commands in the 
right places.

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Problem with ragged-last and verse numbers

2010-11-30 Thread Br. Athanasius Pelletier
Hello all!  I am having trouble making the last line stretch to the end.
Also, I would like to have numbers for all the verses not just for the first
part.
Here is my file:

\version "2.13.35"

\include "gregorian.ly"

\header {
  subtitle = "Veni Creator Spiritus"
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper{
  paper-width=5.5\in
  ragged-last=##t %I don't know how to fix this
}

sopranoVoice = \relative c' {
  \key a \major
  e4 fis e ( d) e fis (e) a b a2 \break \divisioMaior
  a4 e fis a b ( a) b cis b \break \divisioMaior
  a4 b ( cis) a ( gis) fis ( e) a ( b) e, fis a2 \break \divisioMaior
  gis4 ( a) fis e (d) fis fis ( gis fis) e d e2 \divisioMaxima
  e4 ( fis e) d2 ( e) \finalis \break
}

verseOne = \lyricmode {
  \set stanza = "1."
  Ve -- ni Cre -- á -- tor __ Spí -- ri -- tus,
  men -- tes tu -- ó -- rum vi -- sí -- ta,
  im -- ple __ su -- pér -- na __ grá -- ti -- a
  quae tu cre -- á -- sti __  pé -- cto -- ra.
}

verseTwo = \lyricmode {
  \set stanza = "2."
  Qui dí -- ce -- ris Pa -- rá -- cli -- tus,
  al -- tís -- si -- mi do -- num De -- i,
  fons vi -- vus, i -- gnis, ca -- ri -- tas,
  et __ spi -- ri -- tá -- lis __ ún -- cti -- o.
}

verseThree = \lyricmode {
  \set stanza = "3."
  Tu se -- pti -- fór -- mis __ mú -- ne -- re,
  Dex -- trae De -- i tu __ dí -- gi -- tus,
  Tu ri -- te pro -- mís -- sum Pa -- tris,
  Ser -- mó -- ne __ di -- tans __ gút -- tu -- ra.
}

verseFour = \lyricmode {
  \set stanza = "4."
  Ac -- cén -- de lu -- men sén -- si -- bus,
  In -- fúnde a -- mó -- rem __ cór -- di -- bus,
  In -- fír -- ma __ no -- stri __ cór -- po -- ris
  Vir -- tú -- te __ fir -- mans __ pér -- pe -- ti.
}

verseFive = \lyricmode {
  \set stanza = "5."
  Hos -- tem re -- pél -- las __ lón -- gi -- us,
  pa -- cém -- que do -- nes __ pró -- ti -- nus;
  Du -- ctó -- re sic __ te __ praé -- vi -- o,
  Vi -- té -- mus __ o -- mne __ nó -- xi -- um.
}

verseSix = \lyricmode {
  \set stanza = "6."
  Per te sci -- á -- mus __ da Pa -- trem,
  No -- scá -- mus at -- que __ Fí -- li -- um,
  Te u -- tri -- ús -- que __ Spí -- ri -- tum
  Cre -- dá -- mus o -- mni __ tém -- po -- re.
}

verseSeven = \lyricmode {
  \set stanza = "7."
  De -- o Pa -- tri sit __ gló -- ri -- a,
  Et Fí -- li -- o qui~a mór -- tu -- is,
  Sur -- ré -- xit, __ ac __ Pa -- rá -- cli -- to,
  In __ sae -- cu -- ló -- rum __ saé -- cu -- la. A -- men. __
}

\score {
  \new Staff { \sopranoVoice }
  \addlyrics { \verseOne }
  \addlyrics { \verseTwo }
  \addlyrics { \verseThree }
  \addlyrics { \verseFour }
  \addlyrics { \verseFive }
  \addlyrics { \verseSix }
  \addlyrics { \verseSeven }
  \layout {
\context {
  \Staff
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
  \override Stem #'transparent = ##t
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom lyrics spacing

2010-09-26 Thread Phil Holmes
- Original Message - 
From: "Martin Tarenskeen" 

To: "lilypond-user mailinglist" 
Sent: Sunday, September 26, 2010 2:39 PM
Subject: ragged-last-bottom lyrics spacing



Hi,

I have written a nice python script that allows me to automatically and 
randomly generate note reading exercises for my pupils. It creates a page 
full of notes. Below each note it prints "---". That's where my pupils 
have to fill in the correct note name. The python script has some nice 
commandline options to influence the difficulty of the exercise (minimum 
and maximum note ranges, use sharps/flats/double sharps/double flats yes 
or no, treble, bass, or other clefs). If anyone is interested I can make 
it available. But first I want to solve an issue.


I am using Lilypond 2.13.34 to generate the score. But I am having a 
problem with the spacing between the last staff on the page and the "---" 
below the notes.


I have created a tiny example that demonstrates the same effect. Watch the 
difference in vertical spacing when you compare the last staff with the 
other staves (IMO the last staff look bad) :


[snip code]

Martin,

There is a critical bug report about page spacing issues already raised 
against 13.34:


http://code.google.com/p/lilypond/issues/detail?id=1252

So there will be further work on the page spacing algorithm between this 
version and the next development version.  My personal suggestion would be 
to see what your code does with 13.35 and if it's still not right, report it 
to .bug.


--
Phil Holmes



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


ragged-last-bottom lyrics spacing

2010-09-26 Thread Martin Tarenskeen

Hi,

I have written a nice python script that allows me to automatically and 
randomly generate note reading exercises for my pupils. It creates a page 
full of notes. Below each note it prints "---". That's where my pupils 
have to fill in the correct note name. The python script has some nice 
commandline options to influence the difficulty of the exercise (minimum 
and maximum note ranges, use sharps/flats/double sharps/double flats yes 
or no, treble, bass, or other clefs). If anyone is interested I can make 
it available. But first I want to solve an issue.


I am using Lilypond 2.13.34 to generate the score. 
But I am having a problem with the spacing between the last staff on the 
page and the "---" below the notes.


I have created a tiny example that demonstrates the same effect. Watch the 
difference in vertical spacing when you compare the last staff with the 
other staves (IMO the last staff look bad) :


---8<--

\version "2.13.34"
\paper {
% I think this line causes my problem:
  ragged-last-bottom=##f
}

\score {
  <<
\new Staff {
  \relative c' {
\repeat unfold 10 {
  c1 | c | c | c | c | c | c | c | \break
}
  }
}
\new Lyrics {
  \lyricmode {
\repeat unfold 80 { ---1 }
  }
}
  >>
  \layout{}
}

---8<-

Is this worth a bug report ?

--

Martin Tarenskeen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: command: ragged-last-bottom=##f

2010-08-16 Thread Spela Kermelj
Thanks, I would have never found this solution myself...
However, there's a typo in the manual, section "Selected snippets", examples
2 and 4, should be

 \ifnum#1<...

instead of

\ifnum##1<...

So, my solution is as follows:

\def\betweenLilyPondSystem#1{
  \ifnum#1<4 \linebreak \vfill \else\fi
}

This adds extra vertical space after systems 1,2,3 in a lilypond snippet
with 4 systems, making it fit nicely on a page.


Spela





2010/8/14 Dmytro O. Redchuk 

> On Sat 14 Aug 2010, 08:21 Spela wrote:
> > I have some trouble using command:
> >
> > \paper {
> >  ragged-last-bottom=##f
> > }
> >
> >
> > when I insert that command in a lilypond file it works ok, but when I try
> using
> > the same file in lilypond-book it does not work. How can I controle
> spacing
> > between staff in lilypond-book?
> Please take a look at
> http://lilypond.org/doc/v2.13/Documentation/usage/latex
> (particularly, "Selected Snippets") --- there is a \betweenLilyPondSystem
> command and examples.
>
> So, every system is a separate "image" for LaTeX, and it's a LaTeX's
> property
> to deal with spacings.
>
> \betweenLilyPondSystem exactly for that purpose.
>
> --
>  Dmytro O. Redchuk
>  Bug Squad
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: command: ragged-last-bottom=##f

2010-08-16 Thread Dmytro O. Redchuk
On Sat 14 Aug 2010, 21:43 Spela Kermelj wrote:
> Thanks, I would have never found this solution myself...
> However, there's a typo in the manual, section "Selected snippets", examples
> 2 and 4, should be
> 
>  \ifnum#1<...
> 
> instead of
> 
> \ifnum##1<...
Thank you, added to tracker as issue 1221:
http://code.google.com/p/lilypond/issues/detail?id=1221

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: command: ragged-last-bottom=##f

2010-08-14 Thread Dmytro O. Redchuk
On Sat 14 Aug 2010, 08:21 Spela wrote:
> I have some trouble using command:
> 
> \paper {
>  ragged-last-bottom=##f  
> }
> 
> 
> when I insert that command in a lilypond file it works ok, but when I try 
> using
> the same file in lilypond-book it does not work. How can I controle spacing
> between staff in lilypond-book?
Please take a look at http://lilypond.org/doc/v2.13/Documentation/usage/latex
(particularly, "Selected Snippets") --- there is a \betweenLilyPondSystem
command and examples.

So, every system is a separate "image" for LaTeX, and it's a LaTeX's property
to deal with spacings.

\betweenLilyPondSystem exactly for that purpose.

-- 
  Dmytro O. Redchuk
  Bug Squad

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


command: ragged-last-bottom=##f

2010-08-14 Thread Spela
I have some trouble using command:

\paper {
 ragged-last-bottom=##f  
}


when I insert that command in a lilypond file it works ok, but when I try using
the same file in lilypond-book it does not work. How can I controle spacing
between staff in lilypond-book?

Thanks, Spela.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


"Strange" spacing: systems, pages and ragged-last-bottom

2010-02-22 Thread Dmytro O. Redchuk
Hi!

Sorry, rather "strange question".

I have one particular score (68 measures, with lyrics, no manual breaks,
one \noBreak), lilypond lays it out in four pages (4+5+4+2 = 15
systems).

When i put "page-count = #3" in \paper block, lilypond lays it out in
three pages (4+5+6 = 15 systems), but last system runs out of page,
overlaying tagline.

When i comment out page-count and put "ragged-last-bottom = ##f" ---
i get "almost perfect" layout (better to specify "system-count = #13" in
this case), in three pages (4+5+4 = 13 systems).

To be honest, the last result is the strangest for me :-)


I believe, here is something to improve --- can i help to do that? Which
information should i provide? Which tests to perform?-)

Yes, i believe that here is a little, minor, low-priority imperfectness,
and i would like to be of help.

-- 
  Dmytro O. Redchuk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom in multiple scores

2008-10-15 Thread Nicolas Sceaux

Le 15 oct. 08 à 03:07, Joe Neeman a écrit :


On Tue, 2008-10-14 at 17:26 -0700, Graham Percival wrote:

On Tue, 14 Oct 2008 17:07:13 -0700
Joe Neeman <[EMAIL PROTECTED]> wrote:


On Tue, 2008-10-14 at 14:54 -0700, Graham Percival wrote:

I have a collection of scores that I'd like to print in one book.
Is there any way of getting the non-last-scores to use
ragged-last-bottom=##t ?


Check out Nicolas' new \bookparts.


Looks awesome; I had a feeling that I'd seen something recently.
Any chance of this getting merged for 2.11.63?


Aargh, I thought I had already reviewed this, but I see now that I've
left Nicolas waiting for almost 2 months :(


don't worry about that, actually I thought people were waiting for the
next major version to be released before reviewing it.

Graham, once I've accounted for Joe's remarks (probably this week end)
it can be merged. It will also answer the other issue you raised in
the "new page-spacing area" thread. It does reduce the complexity of
the spacing task (making it able to finish in situations where it could
not now).

nicolas



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom in multiple scores

2008-10-14 Thread Joe Neeman
On Tue, 2008-10-14 at 17:26 -0700, Graham Percival wrote:
> On Tue, 14 Oct 2008 17:07:13 -0700
> Joe Neeman <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, 2008-10-14 at 14:54 -0700, Graham Percival wrote:
> > > I have a collection of scores that I'd like to print in one book.
> > > Is there any way of getting the non-last-scores to use
> > > ragged-last-bottom=##t ?
> > 
> > Check out Nicolas' new \bookparts.
> 
> Looks awesome; I had a feeling that I'd seen something recently.
> Any chance of this getting merged for 2.11.63?

Aargh, I thought I had already reviewed this, but I see now that I've
left Nicolas waiting for almost 2 months :(

Anyway, now I've done some comments.

Joe



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom in multiple scores

2008-10-14 Thread Graham Percival
On Tue, 14 Oct 2008 17:07:13 -0700
Joe Neeman <[EMAIL PROTECTED]> wrote:

> On Tue, 2008-10-14 at 14:54 -0700, Graham Percival wrote:
> > I have a collection of scores that I'd like to print in one book.
> > Is there any way of getting the non-last-scores to use
> > ragged-last-bottom=##t ?
> 
> Check out Nicolas' new \bookparts.

Looks awesome; I had a feeling that I'd seen something recently.
Any chance of this getting merged for 2.11.63?

Cheers,
- Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ragged-last-bottom in multiple scores

2008-10-14 Thread Joe Neeman
On Tue, 2008-10-14 at 14:54 -0700, Graham Percival wrote:
> I have a collection of scores that I'd like to print in one book.
> Is there any way of getting the non-last-scores to use
> ragged-last-bottom=##t ?

Check out Nicolas' new \bookparts.




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


ragged-last-bottom in multiple scores

2008-10-14 Thread Graham Percival
I have a collection of scores that I'd like to print in one book.
Is there any way of getting the non-last-scores to use
ragged-last-bottom=##t ?

Currently the only way I can think of doing this is by using
lilypond-book:

\documentclass{article}
\begin{document}
\lilypondfile{peice1.ly}
\lilypondfile{piece2.ly}
\end{document}


but it seems silly to use LaTeX just to put two scores together
and have consecutive page numbers.  I guess that another option
would be to use ghostscript or some pdf program to combine the
independently-created pdfs and number them... but again, that
seems like overkill.

Cheers,
- Graham


\version "2.11.62"

\paper { ragged-last-bottom = ##t }
\layout { ragged-last-bottom = ##t }

\book{
  \score { { \repeat unfold 200 { c'1 } \bar "|." }
\layout { ragged-last-bottom = ##t }
  }

  % ideally reset everything
  \pageBreak

  \score { { \repeat unfold 200 { d'1 } \bar "|." }
\layout { ragged-last-bottom = ##t }
  }
}



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


feature request: per-score ragged-last-bottom

2008-01-13 Thread Jamie Bullock

Hi,

It would be extremely useful to be able to make settings that are
available in the \paper block on a per-score basis. So for each score in
a book, one could do

\layout {
ragged-last-bottom=##f
}

etc.

Anyone interested in implementing this feature for sponsorship?

Jamie

-- 
www.postlude.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [layout tweaks] 3. ragged last system right #true

2007-06-18 Thread Rune Zedeler

Germain G. Ivanoff-Trinadtzaty wrote:


ragged-bottomto stretch down all pages
ragged-last-bottom to stretch down last page
ragged-rightto stretch right all systems

Is there a way to stretch all systems right BUT the very last one ?


ragged-last

(It's in section 11.5.4 of the manual: "Line length")

-Rune


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


[layout tweaks] 3. ragged last system right #true

2007-06-18 Thread Germain G. Ivanoff-Trinadtzaty

\version "2.11.26"

Dear all,

In the \paper block, we can use :
ragged-bottomto stretch down all pages
ragged-last-bottom to stretch down last page
ragged-rightto stretch right all systems

Is there a way to stretch all systems right BUT the very last one ?
I didn't find any trick in docs nor in mail archives yet. But still looking 
for.


Thanks,
Germain 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem: ragged-last = ##t gives cramped last line

2007-06-16 Thread Han-Wen Nienhuys

2007/6/16, Jonas Nyström <[EMAIL PROTECTED]>:


I want to use ragged-last = ##t because short examples shouldnt be wider
than needed.
Problem: When the example use more than one system, the last system
sometimes is "cramped" —
to tight formatted when the notes (almost) colliding.
In the example below, the second system should break after six bars, just
like the first system - shouldn't it?
Any ideas how to solve this?

Best regards / Jonas

\version "2.8.1"


there is a faint possibility that this may have changed in the past
years; we're at 2.11.26 now.

--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem: ragged-last = ##t gives cramped last line

2007-06-16 Thread Tao Cumplido
Hey Jonas,

with \break you can force linebreaks.
Similarly \noBreak prevents an automatic linebreak.

Hope this helps,

regards,

Tao


 Original-Nachricht 
Datum: Sat, 16 Jun 2007 14:47:32 +0200
Von: "Jonas Nyström" <[EMAIL PROTECTED]>
An: lilypond-user@gnu.org
Betreff: Problem: ragged-last = ##t gives cramped last line

> Hi all!
> 
> I'm using lilyond throug ScoreRender for displaying music fragments.
> 
> I want to use ragged-last = ##t because short examples shouldnt be wider
> than needed.
> Problem: When the example use more than one system, the last system
> sometimes is "cramped" —
> to tight formatted when the notes (almost) colliding.
> In the example below, the second system should break after six bars, just
> like the first system - shouldn't it?
> Any ideas how to solve this?
> 
> Best regards / Jonas
> 
> \version "2.8.1"
> \paper  {
> indent = 0.0\mm
> ragged-last = ##t
> line-width = 6\in
> }
> \relative {
> c d e f g f e d c d e f g f e d c d e f g f e d c d e f g f e d c d e f g
> f
> e d c d e f g f e d c d e f g f e d c d e f g f e d
> }

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Problem: ragged-last = ##t gives cramped last line

2007-06-16 Thread Jonas Nyström

Hi all!

I'm using lilyond throug ScoreRender for displaying music fragments.

I want to use ragged-last = ##t because short examples shouldnt be wider
than needed.
Problem: When the example use more than one system, the last system
sometimes is "cramped" —
to tight formatted when the notes (almost) colliding.
In the example below, the second system should break after six bars, just
like the first system - shouldn't it?
Any ideas how to solve this?

Best regards / Jonas

\version "2.8.1"
\paper  {
   indent = 0.0\mm
   ragged-last = ##t
   line-width = 6\in
}
\relative {
c d e f g f e d c d e f g f e d c d e f g f e d c d e f g f e d c d e f g f
e d c d e f g f e d c d e f g f e d c d e f g f e d
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: (Fwd) New feature with ragged-last-bottom = ##f?

2006-09-21 Thread Joe Neeman
On Thu, 2006-09-21 at 10:03 +0200, Thomas Scharkowski wrote:
> sorry, breaks are not ignored, but new breaks are inserted.
> 
> --- Weitergeleitete Nachricht / Forwarded message ---
> Von:  Thomas Scharkowski <[EMAIL PROTECTED]>
> An:   lilypond-user@gnu.org
> Betreff:      New feature with ragged-last-bottom = ##f?
> Datum:Thu, 21 Sep 2006 10:01:15 +0200
> 
> Version 2.9.18 Windows:
> 
> When I set ragged-last-bottom = ##f \break commands are ingnored, 
> less bars per line are used resulting in more lines and a more even 
> appearance. Is this a new feature? I did not find it in the "NEWS" 
> section of the doc. I looks good but it should be possible to turn it 
> off, though.

Yes, this is the new page breaker that takes line breaking into account
at the same time as page breaking. If you want fewer lines, your best
bets are to set system-count (in the score \paper block) or to increase
between-system-padding (in the book \paper block).

There is some new information in chapter 11 of the manual that might
help, too.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


(Fwd) New feature with ragged-last-bottom = ##f?

2006-09-21 Thread Thomas Scharkowski
sorry, breaks are not ignored, but new breaks are inserted.

--- Weitergeleitete Nachricht / Forwarded message ---
Von:Thomas Scharkowski <[EMAIL PROTECTED]>
An: lilypond-user@gnu.org
Betreff:New feature with ragged-last-bottom = ##f?
Datum:  Thu, 21 Sep 2006 10:01:15 +0200

Version 2.9.18 Windows:

When I set ragged-last-bottom = ##f \break commands are ingnored, 
less bars per line are used resulting in more lines and a more even 
appearance. Is this a new feature? I did not find it in the "NEWS" 
section of the doc. I looks good but it should be possible to turn it 

off, though.

Thomas
--- Ende der weitergeleiteten Nachricht / End of forwarded message ---



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


New feature with ragged-last-bottom = ##f?

2006-09-21 Thread Thomas Scharkowski
Version 2.9.18 Windows:

When I set ragged-last-bottom = ##f \break commands are ingnored, 
less bar per line are used resulting in more lines and a more even 
appearance. Is this a new feature? I did not find it in the "NEWS" 
section of the doc. I looks good but it should be possible to turn it 
off, though.

Thomas


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user