Re: ragged-bottom and spacing for individual pages
On 3/21/24 9:46 AM, Mats Bengtsson wrote: On 2024-03-21 02:08, kie...@kierenmacmillan.info wrote: Hi Paul, I have a separate voice where I put all my breaks and pageBreaks. I haven't been able to make a blank markup. TIA on how to do that. e.g.: \version "2.25.1" \paper { indent = 0 ragged-bottom = ##f } { \repeat unfold 2 { c'1 \break c'1 \pageBreak } c'1 \break c'1-\tweak padding 132 _\markup " " \pageBreak \repeat unfold 2 { c'1 \break c'1 \pageBreak } } I thought I had a clever proposal in replacing the somewhat clumsy -\tweak padding 132 _\markup " " by \markup \vspace #40 but in the example above it doesn't give the expected effect. I have used \vspace successfully in some other situations, but here when it's used within a TextScript, I guess that LilyPond considers it as a too empty an object to be taken into account. I had tried \vspace. I will try to define a text function which takes just the number when I have some time with my current project. Paul /Mats
Re: ragged-bottom and spacing for individual pages
On 2024-03-21 02:08, kie...@kierenmacmillan.info wrote: Hi Paul, I have a separate voice where I put all my breaks and pageBreaks. I haven't been able to make a blank markup. TIA on how to do that. e.g.: \version "2.25.1" \paper { indent = 0 ragged-bottom = ##f } { \repeat unfold 2 { c'1 \break c'1 \pageBreak } c'1 \break c'1-\tweak padding 132 _\markup " " \pageBreak \repeat unfold 2 { c'1 \break c'1 \pageBreak } } I thought I had a clever proposal in replacing the somewhat clumsy -\tweak padding 132 _\markup " " by \markup \vspace #40 but in the example above it doesn't give the expected effect. I have used \vspace successfully in some other situations, but here when it's used within a TextScript, I guess that LilyPond considers it as a too empty an object to be taken into account. /Mats
Re: ragged-bottom and spacing for individual pages
Hi Paul, I have a separate voice where I put all my breaks and pageBreaks. I haven't been able to make a blank markup. TIA on how to do that. e.g.: \version "2.25.1" \paper { indent = 0 ragged-bottom = ##f } { \repeat unfold 2 { c'1 \break c'1 \pageBreak } c'1 \break c'1-\tweak padding 132 _\markup " " \pageBreak \repeat unfold 2 { c'1 \break c'1 \pageBreak } } Hope that helps! Kieren.
Re: ragged-bottom and spacing for individual pages
On 3/20/24 12:44 PM, Kieren MacMillan wrote: Hi Paul, 1. How can I cause an individual page other than the last page of a score to have ragged-bottom? As far as I know, you can’t… To fake that behaviour, I usually just inject an appropriately-sized blank markup below the last system I want on a given page (attached to anything in that system, e.g., the last BarLine). Sounds great! I have a separate voice where I put all my breaks and pageBreaks. I haven't been able to make a blank markup. TIA on how to do that. Paul
Re: ragged-bottom and spacing for individual pages
Hi Paul, > 1. How can I cause an individual page other than the last page of a score to > have ragged-bottom? As far as I know, you can’t… To fake that behaviour, I usually just inject an appropriately-sized blank markup below the last system I want on a given page (attached to anything in that system, e.g., the last BarLine). Hope that helps! Kieren. __ My work day may look different than your work day. Please do not feel obligated to read or respond to this email outside of your normal working hours.
Re: ragged-bottom and spacing for individual pages
On Wed, 20 Mar 2024 at 19:47, Paul Scott wrote: > > 1. How can I cause an individual page other than the last page of a > score to have ragged-bottom? Hello, I don't think this is possible. Personally I would produce 2 different PDFs and then split and merge the pages as desired. > 2. How can I change the vertical spacing for a page that uses raged-bottom? For a ragged-bottom score the usual variables can be used: system-system-spacing, top-system-spacing, last-bottom-spacing and within-system spacing properties. You could use as well Explicit staff and system positioning, see NR 4.4.2. Kind regards, Xavier