Forwarding to bug-lilypond. Could someone please verify this and create a tracker entry?
(It's not my code BTW) Am 20. Januar 2015 08:20:25 MEZ, schrieb Steve Lacy <sl...@slacy.com>: >Thanks, Urs. > >Reading your code, seems like it was just a convenience function for >setting SpacingSpanner.common-shortest-duration > >Adding a simple: > > \override Score.SpacingSpanner #'common-shortest-duration = >#(ly:make-moment 1 4) > >Got me to the density I was looking for. (http://lilybin.com/qukbs5/3) > >It's interesting (frustrating?) that the documentation on changing >horizontal spacing mentions setting base-shortest-duration to adjust >horizontal spacing ( >http://www.lilypond.org/doc/v2.16/Documentation/notation/changing-horizontal-spacing), >but in fact, it seems as though common-shortest-duration is the >variable >that really needs to be tweaked. > >Steve > > >On Mon, Jan 19, 2015 at 11:07 PM, Urs Liska <u...@openlilylib.org> wrote: > >> >> >> Am 20. Januar 2015 07:47:20 MEZ, schrieb Steve Lacy ><sl...@slacy.com>: >> >I'm transcribing a Mendelssohn score, and am trying to get Lilypond >to >> >pack >> >notes about as densely as they are in the original score. For >example, >> >trying to fit a snippet like this onto a single line: >> > >> >\version "2.16.2" >> >\language "english" >> >\relative c''' { >> > \key e \minor >> > \mark \default >> > \time 2/2 >> > b2->\f\>(\times 2/3 { b8\!)[fs8-1(g8] a8[g8-3 fs8] } | >> >\times 2/3 { g8->)[ds-1(e8] fs8[e8 ds8] e8)[as,-1(b-2] c-3[b-2 >as-1] | >> > b8-1->)[fs(g] a[g fs] } g->) e\<(g) b_- | >> > e8---4 e---0 g-- b-- e4.---0\sf(e8-.) | >> > e2(\sf\> \times 2/3 { e8\!)[b8-2(c8] d8[c8 b8] } | >> >} >> > >> >(http://lilybin.com/qukbs5/2) >> > >> >I've tried adding: >> > >> >\override SpacingSpanner #'base-shortest-duration = #(ly:make-moment >1 >> >1) >> > >> >But this seems to have no or only very little effect on the default >> >spacing, even with make-moment up to 2/1 or higher. For reference >I'd >> >like >> >the formatting to match something like this: >> > >> >[image: Inline image 1] >> > >> >I can get the desired result by adding a "\noBreak" at the end of >every >> >bar >> >but that's very laborious and makes the .ly file quite a bit uglier. >> >(even using an alias like nb = { \noBreak }) >> > >> >Are there other tricks for very densely formatted scores? >> > >> >Steve >> >> Have a look at >> >https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/adjust-horizontal-spacing >> and see if it helps. >> >> Urs >> > >> > >> >>------------------------------------------------------------------------ >> > >> >_______________________________________________ >> >lilypond-user mailing list >> >lilypond-u...@gnu.org >> >https://lists.gnu.org/mailman/listinfo/lilypond-user >> >> _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond