Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Michael Winter via LilyPond user discussion
On cursory glance this looks like a viable solution. Perhaps I can tweak it to 
people to use it at the end of a system as opposed to the beginning of a 
system. That would make my life a bit easier but not completely necessary.

Jun 2, 2020, 09:31 by r...@dabble.ch:

> Michael Winter wrote:
>
>>
>> I thought about something like that but I have tied notes that would be 
>> interrupted by that approach. Which is also why I cannot use multiple single 
>> scores.
>>
>> It also seems like trying to fit a square peg in a round whole. Again, I 
>> think there should be a way to have ragged-right for a single system after a 
>> \break or \pageBreak. That is the correct solution.
>>
>
> Have a look at http://lsr.di.unimi.it/LSR/Item?id=1098
> (and be sure to read all the small print)
>
>
> Cheers,
> Robin
>



Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Robin Bannister

Michael Winter wrote:


I thought about something like that but I have tied notes that would be 
interrupted by that approach. Which is also why I cannot use multiple single 
scores.

It also seems like trying to fit a square peg in a round whole. Again, I think 
there should be a way to have ragged-right for a single system after a \break 
or \pageBreak. That is the correct solution.


Have a look at http://lsr.di.unimi.it/LSR/Item?id=1098
(and be sure to read all the small print)


Cheers,
Robin



Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Pierre Perol-Schneider
Le mar. 2 juin 2020 à 13:58, Michael Winter  a
écrit :


> I thought about something like that but I have tied notes that would be
> interrupted by that approach. Which is also why I cannot use multiple
> single scores.
>
...
(Therefore: lilypond.org/tiny-examples.html)

This should not be a problem:

\version "2.20.0"

{
  \repeat unfold 20 s1
  \shape #'((0 . 0)(0 . 0)(-4 . 0)(-4 . 0)) Tie
  c'1~
  \stopStaff \once\hideNotes 1 \bar ""\break
  \startStaff
  \set Score.currentBarNumber = 21
  c'1 \repeatTie
   \repeat unfold 20 s1
  \bar "|."
}

\layout {
  system-count = 8
}

For midi output, you can use tags.
Cheers,
Pierre


Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Michael Winter via LilyPond user discussion
Thanks,

I thought about something like that but I have tied notes that would be 
interrupted by that approach. Which is also why I cannot use multiple single 
scores.

It also seems like trying to fit a square peg in a round whole. Again, I think 
there should be a way to have ragged-right for a single system after a \break 
or \pageBreak. That is the correct solution.
Perhaps I should note that another solution for me would be to have 
ragged-right = ##t if it were actually possible to have proportional notation 
where every beat is EXACTLY the same horizontal space. But that really just 
does not seem to be possible. No matter what, I have measures of the same time 
signature that are not the same length and thus break at different spots when 
ragged-right = ##t for (for example, two 4/4 systems where one automatically 
breaks after 4 measures and the other after 3 with minimal-breaking on).

Best,

Michael

Jun 2, 2020, 07:35 by pierre.schneider.pa...@gmail.com:

> How about:
>
> \version "2.20.0"
> {
>   \repeat unfold 20 s1 \bar "||" 
>   \stopStaff s1 \bar ""\break
>   \startStaff 
>   \set Score.currentBarNumber = 21
>   \repeat unfold 20 s1 
> }
>
> \layout {
>   system-count = 8
> }
>
> Otherwise you can do two single scores.
> HTH, cheers,
> Pierre
>
> PS. > http://lilypond.org/tiny-examples.html
>
> Le mar. 2 juin 2020 à 13:23, Michael Winter <> mwin...@unboundedpress.org> > 
> a écrit :
>
>> Thanks Pierre,
>>
>> ragged-last only works on the last system of the score. I would like to have 
>> a specific system within a score have a ragged-right even if it is not the 
>> last system in the score. 
>>
>> I can imagine that this should be able to be done after a forced \break or 
>> \pageBreak.
>>
>> Thanks,
>>
>> Michael
>>
>>
>> Jun 2, 2020, 24:48 by >> pierre.schneider.pa...@gmail.com>> :
>>
>>> Hi Michael,
>>> try: 
>>>
>>> ragged-last = ##t
>>>
>>> Cheers
>>> Pierre
>>>
>>> Le mar. 2 juin 2020 à 06:13, Michael Winter via LilyPond user discussion 
>>> <>>> lilypond-user@gnu.org>>> > a écrit :
>>>
 Hello,

 Is it possible to have ragged-right = ##f but then allow a single system 
 to be ragged-right after a forced \break or \pageBreak?

 Any help on how to do this will be much appreciated.

 Thanks in advance.

 Michael

>>
>>



Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Pierre Perol-Schneider
How about:

\version "2.20.0"
{
  \repeat unfold 20 s1 \bar "||"
  \stopStaff s1 \bar ""\break
  \startStaff
  \set Score.currentBarNumber = 21
  \repeat unfold 20 s1
}

\layout {
  system-count = 8
}

Otherwise you can do two single scores.
HTH, cheers,
Pierre

PS. http://lilypond.org/tiny-examples.html

Le mar. 2 juin 2020 à 13:23, Michael Winter  a
écrit :

> Thanks Pierre,
>
> ragged-last only works on the last system of the score. I would like to
> have a specific system within a score have a ragged-right even if it is not
> the last system in the score.
>
> I can imagine that this should be able to be done after a forced \break or
> \pageBreak.
>
> Thanks,
>
> Michael
>
>
> Jun 2, 2020, 24:48 by pierre.schneider.pa...@gmail.com:
>
> Hi Michael,
> try:
>
> ragged-last = ##t
>
> Cheers
> Pierre
>
> Le mar. 2 juin 2020 à 06:13, Michael Winter via LilyPond user discussion <
> lilypond-user@gnu.org> a écrit :
>
> Hello,
>
> Is it possible to have ragged-right = ##f but then allow a single system
> to be ragged-right after a forced \break or \pageBreak?
>
> Any help on how to do this will be much appreciated.
>
> Thanks in advance.
>
> Michael
>
>
>


Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Michael Winter via LilyPond user discussion
Thanks Pierre,

ragged-last only works on the last system of the score. I would like to have a 
specific system within a score have a ragged-right even if it is not the last 
system in the score. 

I can imagine that this should be able to be done after a forced \break or 
\pageBreak.

Thanks,

Michael

Jun 2, 2020, 24:48 by pierre.schneider.pa...@gmail.com:

> Hi Michael,
> try: 
>
> ragged-last = ##t
>
> Cheers
> Pierre
>
> Le mar. 2 juin 2020 à 06:13, Michael Winter via LilyPond user discussion <> 
> lilypond-user@gnu.org> > a écrit :
>
>> Hello,
>>
>> Is it possible to have ragged-right = ##f but then allow a single system to 
>> be ragged-right after a forced \break or \pageBreak?
>>
>> Any help on how to do this will be much appreciated.
>>
>> Thanks in advance.
>>
>> Michael
>>



Re: forced \break or \pageBreak with ragged-right

2020-06-01 Thread Pierre Perol-Schneider
Hi Michael,
try:

ragged-last = ##t

Cheers
Pierre

Le mar. 2 juin 2020 à 06:13, Michael Winter via LilyPond user discussion <
lilypond-user@gnu.org> a écrit :

> Hello,
>
> Is it possible to have ragged-right = ##f but then allow a single system
> to be ragged-right after a forced \break or \pageBreak?
>
> Any help on how to do this will be much appreciated.
>
> Thanks in advance.
>
> Michael
>


forced \break or \pageBreak with ragged-right

2020-06-01 Thread Michael Winter via LilyPond user discussion
Hello,

Is it possible to have ragged-right = ##f but then allow a single system to be 
ragged-right after a forced \break or \pageBreak?

Any help on how to do this will be much appreciated.

Thanks in advance.

Michael