Re: Center-align a score

2018-01-13 Thread Kieren MacMillan
Hi David, > When 2.19.61 comes out, you'll be able to write > > \overrideProperty > Score.NonMusicalPaperColumn.line-break-system-details #'((extra-offset > . (0.0 . 1.0))) > > to "nudge" a system one staff-space down the page, for example. > > That should be a bit easier to work with than 'Y-o

Re: Center-align a score

2017-05-06 Thread Kieren MacMillan
David, >> When 2.19.61 comes out, you'll be able to write > > 2.19.60, that would be. > >> \overrideProperty >> Score.NonMusicalPaperColumn.line-break-system-details #'((extra-offset >> . (0.0 . 1.0))) O_O Amazing! Thank you so much. This is *exactly* what I wanted, and will help me really pus

Re: Center-align a score

2017-05-06 Thread David Nalesnik
On Sat, May 6, 2017 at 6:40 PM, David Nalesnik wrote: > Kieren, > > On Thu, Apr 27, 2017 at 8:43 AM, Kieren MacMillan > wrote: >> David, >> A little trial-and-error is required if doing it manually, but there might be a way to automate the process. >>> Here you go: >> >> You da man! Th

Re: Center-align a score

2017-05-06 Thread David Nalesnik
Kieren, On Thu, Apr 27, 2017 at 8:43 AM, Kieren MacMillan wrote: > David, > >>> A little trial-and-error is required if doing it manually, but there might >>> be a way to automate the process. >> Here you go: > > You da man! This is *exactly* what I was envisioning. Nicely done. > > Now… ;) >

Re: Center-align a score

2017-05-04 Thread Kieren MacMillan
Hi Hendrik, > Thomas, I have no clue what you did there Magic. =) > how to get the center-alignment activated only for a single score See snippet, below. Hope this helps! Kieren. %% SNIPPET BEGINS \version "2.19.59" \paper { ragged-right = ##t indent = 0 } centerLines = \override NonMu

Re: Center-align a score

2017-05-01 Thread Hendrik Fuß
Sorry for the delay. Thomas, I have no clue what you did there, but it works like a charm! Lyrics and vertical alignment just perfect. Thanks a million! One day I shall dig into the code and be enlightened. One thing I haven't quite worked out yet is how to get the center-alignment activated only

Re: Center-align a score

2017-04-28 Thread Thomas Morley
2017-04-28 17:39 GMT+02:00 David Nalesnik : > It would be relatively easy to alter the function make-page-stencil in > scm/page.scm to do what you want. The stencils of the individual > systems are already made at this point, and it's just a matter of > moving them around to your liking. Unfortu

Re: Center-align a score

2017-04-28 Thread David Nalesnik
On Fri, Apr 28, 2017 at 9:15 AM, Kieren MacMillan wrote: > Hi Hendrik, > >> David N's solution works pretty well, although I, too, am having trouble >> with vertical positioning. In my attached min example, the lyrics came out >> wrong. > > That *is* a curious result… > > Naively, I would assume

Re: Center-align a score

2017-04-28 Thread Kieren MacMillan
Hi Hendrik, > David N's solution works pretty well, although I, too, am having trouble with > vertical positioning. In my attached min example, the lyrics came out wrong. That *is* a curious result… Naively, I would assume this is part of the same vertical spacing issue that plagues me with re

Re: Center-align a score

2017-04-28 Thread Hendrik Fuß
Hi guys, I'm seriously impressed! Thanks a million for all your input. David N's solution works pretty well, although I, too, am having trouble with vertical positioning. In my attached min example, the lyrics came out wrong. The example also gives an idea of the sort of thing I am trying to cre

Re: relative offset of systems [WAS: Center-align a score]

2017-04-27 Thread David Nalesnik
On Thu, Apr 27, 2017 at 4:07 PM, David Nalesnik wrote: > Hi Harm, > > On Thu, Apr 27, 2017 at 3:57 PM, Thomas Morley > wrote: >> Hi David, >> >> nice stuff! >> >> Some comments, though: >> >> 2017-04-27 19:27 GMT+02:00 David Nalesnik : >>> On Thu, Apr 27, 2017 at 12:22 PM, David Nalesnik >>> wr

Re: relative offset of systems [WAS: Center-align a score]

2017-04-27 Thread David Nalesnik
Hi Harm, On Thu, Apr 27, 2017 at 3:57 PM, Thomas Morley wrote: > Hi David, > > nice stuff! > > Some comments, though: > > 2017-04-27 19:27 GMT+02:00 David Nalesnik : >> On Thu, Apr 27, 2017 at 12:22 PM, David Nalesnik >> wrote: >> >>> >>> I'll just quote the relevant changes with some context. >

Re: relative offset of systems [WAS: Center-align a score]

2017-04-27 Thread Thomas Morley
Hi David, nice stuff! Some comments, though: 2017-04-27 19:27 GMT+02:00 David Nalesnik : > On Thu, Apr 27, 2017 at 12:22 PM, David Nalesnik > wrote: > >> >> I'll just quote the relevant changes with some context. >> >> Within the function make-page-stencil: >> >> [...] >> I see no advantage to

Re: relative offset of systems [WAS: Center-align a score]

2017-04-27 Thread David Nalesnik
On Thu, Apr 27, 2017 at 12:22 PM, David Nalesnik wrote: > > I'll just quote the relevant changes with some context. > > Within the function make-page-stencil: > > [...] > > (add-to-page (lambda (stencil x y extra-y) Oh, "nota bene" the above line too! > (set! page-stencil >

relative offset of systems [WAS: Center-align a score]

2017-04-27 Thread David Nalesnik
On Thu, Apr 27, 2017 at 8:43 AM, Kieren MacMillan wrote: > David, > > Perhaps there’s a way your new-found [?] knowledge/skill in this area can > help with a long-time feature request I’ve had: an \offset-like way to nudge > systems — especially the explicit Y-offset property, but also the > al

Re: Center-align a score

2017-04-27 Thread Kieren MacMillan
Hi David, > Notice that with the override, systems are placed lower on the page > and the bottom margin is lost. It’s not *quite* that simple, I think… Using \paper { ragged-right = ##t indent = 0 system-system-spacing.padding = 2 bottom-margin = 1\in } we see that most of the margin is ke

Re: Center-align a score

2017-04-27 Thread David Nalesnik
On Thu, Apr 27, 2017 at 8:43 AM, Kieren MacMillan wrote: > David, > >>> A little trial-and-error is required if doing it manually, but there might >>> be a way to automate the process. >> Here you go: > > You da man! This is *exactly* what I was envisioning. Nicely done. > > Now… ;) > > Perhaps

Re: Center-align a score

2017-04-27 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >>> I have learned that “You can’t do that with Lilypond” is a pretty >>> foolish bet — especially when David K is on the case. :) >> >> Well, in this case David N's solution is better since it uses the normal >> (skyline-based) page positioning rather tha

Re: Center-align a score

2017-04-27 Thread Kieren MacMillan
Hi David, >> I have learned that “You can’t do that with Lilypond” is a pretty >> foolish bet — especially when David K is on the case. :) > > Well, in this case David N's solution is better since it uses the normal > (skyline-based) page positioning rather than treating everything as > markup l

Re: Center-align a score

2017-04-27 Thread Kieren MacMillan
David, >> A little trial-and-error is required if doing it manually, but there might >> be a way to automate the process. > Here you go: You da man! This is *exactly* what I was envisioning. Nicely done. Now… ;) Perhaps there’s a way your new-found [?] knowledge/skill in this area can help

Re: Center-align a score

2017-04-27 Thread David Kastrup
Kieren MacMillan writes: > Hi Simon, > >> I'm glad to see my pessimism so thoroughly unfounded :-) > > I have learned that “You can’t do that with Lilypond” is a pretty > foolish bet — especially when David K is on the case. :) Well, in this case David N's solution is better since it uses the n

Re: Center-align a score

2017-04-27 Thread Kieren MacMillan
Hi Simon, > I'm glad to see my pessimism so thoroughly unfounded :-) I have learned that “You can’t do that with Lilypond” is a pretty foolish bet — especially when David K is on the case. :) Best, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmil

Re: Center-align a score

2017-04-26 Thread Simon Albrecht
I'm glad to see my pessimism so thoroughly unfounded :-) Best, Simon Am 26-Apr-2017 20:48:27 +0200 schrieb hend...@kontrafuss.de: There are paper variables to achieve ragged-right and ragged-last layout. Is there a way to achieve center-aligned music in a score? Similar to ragged-left, b

Re: Center-align a score

2017-04-26 Thread David Nalesnik
On Wed, Apr 26, 2017 at 3:08 PM, Kieren MacMillan wrote: > Hi all, > >> I think this request is idiosyncratic enough to be left to a >> two-stage process, some thing along the lines of: > > That would work, of course… but I think it would be easier (and better for > long-term maintainability) to

Re: Center-align a score

2017-04-26 Thread Kieren MacMillan
Hi Harm, > One could do: > \version "2.19.56" > #(define-markup-list-command (center-column-list-args layout props args) I figured you’d be able to work out an easy way! Nicely done, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email:

Re: Center-align a score

2017-04-26 Thread David Kastrup
Hendrik Fuß writes: > There are paper variables to achieve ragged-right and ragged-last layout. > Is there a way to achieve center-aligned music in a score? Similar to > ragged-left, but equally distribute the space between left and right > borders (aka ragged-both). > > I know it's an unusual re

Re: Center-align a score

2017-04-26 Thread Thomas Morley
2017-04-26 21:09 GMT+02:00 Simon Albrecht : > Am 26.04.2017 um 20:47 schrieb Hendrik Fuß: >> >> There are paper variables to achieve ragged-right and ragged-last layout. >> Is there a way to achieve center-aligned music in a score? > > > Not really. One way would be entering each line as a separate

Re: Center-align a score

2017-04-26 Thread Erik Ronström
> There are paper variables to achieve ragged-right and ragged-last > layout. Is there a way to achieve center-aligned music in a score? I’ve been fairly successful in the past with rendering lilypond to svg, and then writing perl scripts to automatically edit the svg file (which is a lot easier

Re: Center-align a score

2017-04-26 Thread Kieren MacMillan
Hi all, > I think this request is idiosyncratic enough to be left to a > two-stage process, some thing along the lines of: That would work, of course… but I think it would be easier (and better for long-term maintainability) to do it all in Lilypond, e.g., %% SNIPPET BEGINS \version "2.19.17"

Re: Center-align a score

2017-04-26 Thread David Wright
On Wed 26 Apr 2017 at 21:09:53 (+0200), Simon Albrecht wrote: > Am 26.04.2017 um 20:47 schrieb Hendrik Fuß: > >There are paper variables to achieve ragged-right and ragged-last > >layout. Is there a way to achieve center-aligned music in a score? > > Not really. One way would be entering each line

Re: Center-align a score

2017-04-26 Thread Kieren MacMillan
Hi Hendrik, > Is there a way to achieve center-aligned music in a score? Similar to > ragged-left, but equally distribute the space between left and right borders > (aka ragged-both). ragged-right + the X-offset part of

Re: Center-align a score

2017-04-26 Thread Simon Albrecht
Am 26.04.2017 um 20:47 schrieb Hendrik Fuß: There are paper variables to achieve ragged-right and ragged-last layout. Is there a way to achieve center-aligned music in a score? Not really. One way would be entering each line as a separate \score inside \markup \center-column {}, but of course

Center-align a score

2017-04-26 Thread Hendrik Fuß
There are paper variables to achieve ragged-right and ragged-last layout. Is there a way to achieve center-aligned music in a score? Similar to ragged-left, but equally distribute the space between left and right borders (aka ragged-both). I know it's an unusual request, but I feel it makes sense