Re: Horizontally aligning staves in Scribus render frames
On 10/11/11 14:35, Nick Payne wrote: On 10/11/11 00:25, Carl Sorensen wrote: On 11/9/11 2:25 AM, "Nick Payne" wrote: I'm using lilypond source code in render frames in a Scribus two column layout to put short two bar single stave exercises at a dozen or more to the page. The render frames are horizontally aligned and of the same height, but the problem I haven't been able to solve is that of getting the staves in the left and right columns to align horizontally. Setting top-system-spacing #'padding to the same value in left and right column scores and turning #'stretchability off doesn't align the staves, it aligns the highest part of what is in each short score. What LP code can I use to get the staves themselves to align, rather than the highest part of the notes? Here's an example of the LP code in one of the render frames. Keeping everything the same except the notes doesn't keep the left and right staves aligned. I realise that once I have the notes in I can fiddle the top-system-spacing #'padding value for one of the staves until they're pretty much aligned, but with multiple pages with up to eight of these pairs on each page, that's something I'd rather avoid if possible. See my notes to Neil Thornock a couple of days ago. Set top-system-spacing and system-system-spacing to have a basic-distance and minimum-distance at the same fixed value, stretchability 0, and padding of *negative* basic-distance. This will put the staves right at the basic distance, and will ignore high and low notes when placing the staves. Note -- you will need to adjust for any collisions by changing the spacing manually; LilyPond will allow collisions between staves in this mode (because you asked her to). Thanks. I added your suggestions for the spacing values to the paper blocks for the scores, and when I turn on annotate-spacing I can see that each stave is the same distance from the top margin, but for some reason they don't get positioned at the same height in the Scribus frame. So I've asked on the Scribus forum, as it looks like the problem is on their side of the fence. Well after a bit more delving around I found that the problem was due to Scribus for some reason applying an arbitrary small X and Y offset of a few points to the position of the Lilypond PDF output in the render frames. Once I zeroed out those values everything is nicely aligned. Nick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Horizontally aligning staves in Scribus render frames
On 11/9/11 2:25 AM, "Nick Payne" wrote: > > > >I'm using lilypond source code in render frames in a Scribus two >column layout to put short two bar single stave exercises at a dozen >or more to the page. The render frames are horizontally aligned and >of the same height, but the problem I haven't been able to solve is >that of getting the staves in the left and right columns to align >horizontally. Setting top-system-spacing #'padding to the same value >in left and right column scores and turning #'stretchability off >doesn't align the staves, it aligns the highest part of what is in >each short score. What LP code can I use to get the staves >themselves to align, rather than the highest part of the notes? > >Here's an example of the LP code in one of the render frames. >Keeping everything the same except the notes doesn't keep the left >and right staves aligned. I realise that once I have the notes in I >can fiddle the top-system-spacing #'padding value for one of the >staves until they're pretty much aligned, but with multiple pages >with up to eight of these pairs on each page, that's something I'd >rather avoid if possible. See my notes to Neil Thornock a couple of days ago. Set top-system-spacing and system-system-spacing to have a basic-distance and minimum-distance at the same fixed value, stretchability 0, and padding of *negative* basic-distance. This will put the staves right at the basic distance, and will ignore high and low notes when placing the staves. Note -- you will need to adjust for any collisions by changing the spacing manually; LilyPond will allow collisions between staves in this mode (because you asked her to). HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Horizontally aligning staves in Scribus render frames
I'm using lilypond source code in render frames in a Scribus two column layout to put short two bar single stave exercises at a dozen or more to the page. The render frames are horizontally aligned and of the same height, but the problem I haven't been able to solve is that of getting the staves in the left and right columns to align horizontally. Setting top-system-spacing #'padding to the same value in left and right column scores and turning #'stretchability off doesn't align the staves, it aligns the highest part of what is in each short score. What LP code can I use to get the staves themselves to align, rather than the highest part of the notes? Here's an example of the LP code in one of the render frames. Keeping everything the same except the notes doesn't keep the left and right staves aligned. I realise that once I have the notes in I can fiddle the top-system-spacing #'padding value for one of the staves until they're pretty much aligned, but with multiple pages with up to eight of these pairs on each page, that's something I'd rather avoid if possible. \version "2.15.16" \language "english" \include "/home/nick/lilypond/guitar.ily" \paper { ragged-last = ##f top-system-spacing #'padding = #2 top-system-spacing #'stretchability = #0 } \relative c' { \override Staff.TimeSignature #'stencil = ##f \set Score.markFormatter = #format-mark-numbers \override Staff.TupletNumber #'stencil = ##f \override Staff.TupletBracket #'stencil = ##f \clef "treble_8" \repeat volta 2 { \mark #7 \bar "|:" << { \fl \sfu \sfsst \times 2/3 { c,8 e, c, g' e' e, g c } | \times 2/3 { b, g' d, g g,, g' f' b,, d d' } | } \\ { \fl \sfd 4 c e | d b | } >> } } Nick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user