Re: Tuplets across barlines?

2011-07-05 Thread David Nalesnik
Hi, Joey -- On Mon, Jul 4, 2011 at 4:55 PM, Joey wrote: > Anyone know if it is possible in lilypond to notation tuplets across a > barline? > Sure, it's possible. See "Permitting line breaks within beamed tuplets" at http://lilypond.org/doc/v2.14/Documentation/notation/writing-rhythms#tuplets

text on analysis brackets

2011-07-08 Thread David Nalesnik
Hi, all -- I'd like to be able to add text to analysis brackets, and I'm running into a problem with nested brackets. In the attached file, I'd like the last bracket to have "b" over it, but it takes its text from the previous incomplete bracket. (It seems I can add as many nested brackets as I

Re: text on analysis brackets

2011-07-08 Thread David Nalesnik
On 7/8/11, David Nalesnik wrote: > Hi, all -- > > I'd like to be able to add text to analysis brackets, and I'm running > into a problem with nested brackets. > > In the attached file, I'd like the last bracket to have "b" over it, > but it takes

Re: text on analysis brackets

2011-07-08 Thread David Nalesnik
On Fri, Jul 8, 2011 at 5:00 PM, Neil Puttock wrote: > On 8 July 2011 21:09, David Nalesnik wrote: > > > So to refine the original question: Is there any way to do this > > without multi-voice trickery? > > I'm afraid this is a bug in the Horizontal_bracket_engrave

Re: Ragged right for contents but not staff?

2011-07-10 Thread David Nalesnik
On Sun, Jul 10, 2011 at 8:06 PM, Matthew Collett wrote: > With ragged-right (or ragged-last) turned on, music and the staff stop > wherever is natural. With it off, both stretch to the end of the line. Is > there any straightforward way to stop the music at its natural length, but > have empty s

Re: Ragged right for contents but not staff?

2011-07-10 Thread David Nalesnik
On Sun, Jul 10, 2011 at 10:27 PM, Matthew Collett wrote: > > On 11/07/2011, at 2:51 pm, David Nalesnik wrote: > > >> Is there any straightforward way to stop the music at its natural > length, but have empty staff lines stretch the full width? > >> > > You c

Re: Ragged right for contents but not staff?

2011-07-11 Thread David Nalesnik
On Sun, Jul 10, 2011 at 11:46 PM, Matthew Collett wrote: Indeed it does, thank you. And no, my Scheme would _not_ have been up to > that. I was still trying to figure out how to access the value of > line-width, or indeed any of the \paper variables: the documentation is very > clear on how to s

Re: Ragged right for contents but not staff?

2011-07-11 Thread David Nalesnik
On Mon, Jul 11, 2011 at 1:53 PM, Matthew Collett wrote: > On 12/07/2011, at 2:35 am, Wilbert Berendsen wrote: > > > #(define (fixed-staff-width grob) > > (ly:output-def-lookup (ly:grob-layout grob) 'line-width)) > > > > \layout { > > ragged-right = ##t > > \context { > >\Staff > >

Re: Ragged right for contents but not staff?

2011-07-11 Thread David Nalesnik
On 7/11/11, Wilbert Berendsen wrote: > And to place an ending bar line on the end of the last line I use the > alignGrob trick posted to this list sometime ago: > > http://old.nabble.com/Re%3A-left-aligning-grobs-to-other-grobs-p31138286.html > Hi, Wilbert -- Since you found a use for that func

Re: Aligning rehearsal marks with left edge of stave

2011-07-21 Thread David Nalesnik
Hi Nick, On Thu, Jul 21, 2011 at 3:02 PM, Nick Payne wrote: > I can get it to work by using break-align-anchor and manually changing the > value until it looks ok, but that means that each mark requires this manual > fiddling to align it. I had a look at NR 5.5.1 and tried the various > break-ali

Re: Shaping slurs --- both broken and unbroken

2011-07-24 Thread David Nalesnik
Hello, all -- > This is on the LSR, at least. > > http://lsr.dsi.unimi.it/LSR/Item?id=639 > Just thought I'd let you know that Dmytro's function as given on the earlier thread incorporates an older version of my slur-shaping function. I've modified it since, and this newer version appears on the

Re: Shaping slurs --- both broken and unbroken

2011-08-02 Thread David Nalesnik
On Tue, Aug 2, 2011 at 8:20 AM, Urs Liska wrote: > Just for entertainment a very nice slur example (attached): a \phrasingSlur > spanning three lines :-) breathtaking! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman

Re: Roman numeral analysis

2011-08-02 Thread David Nalesnik
On Fri, Jul 29, 2011 at 7:35 AM, m...@apollinemike.com < m...@apollinemike.com> wrote: > On Jul 29, 2011, at 2:33 PM, Jerod Sommerfeldt wrote: > > I'm new to LilyPond and have been searching for a useful strategy to write > out roman numeral analyses for my class' theory worksheets. Here's what >

Re: Roman numeral analysis

2011-08-03 Thread David Nalesnik
On Wed, Aug 3, 2011 at 11:45 AM, Jerod Sommerfeldt < sommerfeldt.je...@gmail.com> wrote: > Hi David (and all), > > This \rN function is really terrific and has a great look to it. Thanks! I'm glad you like it! > Is there any way to add this as a permanent addition to my LilyPond build? > I d

baseline-skip question

2011-08-26 Thread David Nalesnik
Dear list, I've run into a problem with baseline-skip, and I'm wondering if I've missed something. The attached file demonstrates what happens to a column when the staff size is changed within a layout block. I would expect that the override of StaffSymbol #'staff-space would also scale the over

Re: shorten a broken hairpin at a linebreak?

2011-08-29 Thread David Nalesnik
On Mon, Aug 29, 2011 at 3:25 PM, harm6 wrote: > > > harm6 wrote: > Anyone with a better idea? > Hi, Harm -- I've been playing around with your function and experimenting with ways to automate calculation of the whiteout box extents. I recast it to accept offsets from the current line-width, so

Re: shorten a broken hairpin at a linebreak?

2011-08-29 Thread David Nalesnik
On Mon, Aug 29, 2011 at 4:50 PM, David Nalesnik wrote: > > \relative c' { >\override Hairpin #'color = #red >\key ces\major >\eraseBrokenHairpin #(list 41 23 15 0 13 0) ;; recast as offsets > from line-width > Oops, sorry -- above c

Re: shorten a broken hairpin at a linebreak?

2011-08-29 Thread David Nalesnik
> > > Not sure about calculating the other end of the whiteout box (from position > of the barline, I suppose). > Hi, again -- More experimenting yielded this, which automates the calculation of the width of the whiteout stencil. I'm not sure how to handle the positioning on the first line, henc

Re: shorten a broken hairpin at a linebreak?

2011-08-29 Thread David Nalesnik
> > Hi, again -- > > I'm not sure how to handle the positioning on the first line, hence the > list of offsets in the input. > OK, this should do it! Now all you have to do is call \eraseBrokenHairpin -- no arguments needed -- and it should handle positioning of the whiteout box. I'm guessing

Re: shorten a broken hairpin at a linebreak?

2011-08-30 Thread David Nalesnik
On Tue, Aug 30, 2011 at 1:59 AM, Mike Solomon wrote: > > How about: > > Mike -- Wow. So that's how it's done! David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: shorten a broken hairpin at a linebreak?

2011-08-30 Thread David Nalesnik
On Tue, Aug 30, 2011 at 9:02 AM, harm6 wrote: > > > David Nalesnik-2 wrote: > > > > > > OK, this should do it! > > > > Now all you have to do is call \eraseBrokenHairpin -- no arguments needed > > -- and it should handle positioning of the whiteout

centering text on a measure

2011-08-31 Thread David Nalesnik
Hi all, I've been experimenting with a way to center text on measures. (I create a lot of exercises with blanks or roman numerals between the staff, and it's nice not to need to position each one individually by trial and error.) I've come up with the following function which works, but I wonder

Re: centering text on a measure

2011-08-31 Thread David Nalesnik
> I've been experimenting with a way to center text on measures. (I create a > lot of exercises with blanks or roman numerals between the staff, and it's > nice not to need to position each > Oops, that would be "beneath." ___ lilypond-user mailing list

Re: shorten a broken hairpin at a linebreak?

2011-09-01 Thread David Nalesnik
Hi Harm, > Using David's last-bar-Definition [ . . . ] > > I just wanted to point out that my definition can be shortened a little (by sorting in order from largest coordinate to smallest): #(define (last-bar grob) ;; return the X-coordinate of the last barline on a line (let* ((sys (ly:gr

Re: shorten a broken hairpin at a linebreak?

2011-09-01 Thread David Nalesnik
ct system 'columns))) (musical-column (first-musical-column (reverse cols (ly:spanner-set-bound! grob RIGHT musical-column))) % by David Nalesnik: #(define (last-bar grob) ;; return the X-coordinate of the last barline on a line (let* ((sys (ly:grob-system grob

Re: shorten a broken hairpin at a linebreak?

2011-09-01 Thread David Nalesnik
On Thu, Sep 1, 2011 at 2:22 PM, David Nalesnik wrote: > > Hi again, Harm -- > > In my eagerness, I did a rather poor job of cutting and pasting, so I'm attaching the file :) David new-hairpin1.ly Description: Binary data ___ lily

Re: shorten a broken hairpin at a linebreak?

2011-09-01 Thread David Nalesnik
On Thu, Sep 1, 2011 at 2:52 PM, harm6 wrote: > > > Hi David, > > that's it !! > > I had experimented with the hairpin-origin, but I didn't manage to > introduce > it correct. > > Once more: thanks a lot! > You're very welcome! ___ lilypond-user mai

Re: centering text on a measure

2011-09-03 Thread David Nalesnik
On Thu, Sep 1, 2011 at 3:09 AM, Trevor Daniels wrote: Perhaps you could turn this idea into a music function: > > \relative c'' { > a4 a a a | > << > { a4 a a a | } > { > \once \override MultiMeasureRest #'transparent = ##t > R1_"XIII" | > } > >> > a4 a a a | > } > Thank you, T

Re: centering text on a measure

2011-09-03 Thread David Nalesnik
Hi Harm, On Thu, Sep 1, 2011 at 2:30 PM, harm6 wrote: > > Hi David, > > don't know anything about the error: > > ERROR: In procedure ly:grob-object: > ERROR: Wrong type argument in position 1 (expecting Grob): () > > This error-warning must be an error! :) > My only guess is that the property I

Re: centering text on a measure

2011-09-03 Thread David Nalesnik
Trevor, On Sat, Sep 3, 2011 at 9:56 AM, Trevor Daniels wrote: It would be nice if TextSpanner could > centre its text between the left and right > bounds (like the number on a tuplet bracket) > but it doesn't, AFAIK. Thank you for this idea! I've adapted the snippet for centering text on hairp

Re: shorten a broken hairpin at a linebreak?

2011-09-07 Thread David Nalesnik
Hi, Harm -- tweaking the decrescendi like the diminuendi and doing some minor changes, I > come up with: Looks great! I'll definitely use this, though something tells me I won't run into quite as extreme a situation as your example :) Checking my just-bought copy of Gould, I find on pg. 104 th

Re: centering text on a measure

2011-09-10 Thread David Nalesnik
Hi Trevor, On Sat, Sep 3, 2011 at 1:37 PM, Trevor Daniels wrote: > > David Nalesnik wrote Saturday, September 03, 2011 6:36 PM > >(Unfortunately, if I don't > >> blank out the default stencil, the text appears on top of the extender >> line >> > &g

Re: centering text on a measure

2011-09-15 Thread David Nalesnik
Hi, Harm -- On Thu, Sep 15, 2011 at 6:18 PM, harm6 wrote: > > I tested your definitions with a longer example using StaffGroup and > commented the not used parts with %{ ... %}. (see code below) > The log states: ERROR: Wrong type (expecting pair): () > > And now the strangest thing: If I uncomme

Re: centering text on a measure

2011-09-18 Thread David Nalesnik
On Fri, Sep 16, 2011 at 3:49 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > > 2011/9/16 David Nalesnik > >> >> Hi, Harm -- >> >> On Thu, Sep 15, 2011 at 6:18 PM, harm6 wrote: >> >>> >>> I tested your definitions wit

Re: How to reset a SystemStartBracket-override?

2011-09-19 Thread David Nalesnik
On Mon, Sep 19, 2011 at 6:06 PM, harm6 wrote: > > > harm6 wrote: > > > > Hi, > > > > in the (simplified) example below I can't revert the \override of the > > SystemStartBracket, although I set \once and tried with \revert. > > I want the \override to be printed only at the first time occuring in

Re: How to reset a SystemStartBracket-override?

2011-09-19 Thread David Nalesnik
On Mon, Sep 19, 2011 at 7:15 PM, David Nalesnik wrote: > > \version "2.14.2" > > #(define (my-callback grob) >(let* ((orig (ly:grob-original grob)) > (siblings (if (ly:grob? orig) > (ly:spanner-broken-into orig) >

Re: How to reset a SystemStartBracket-override?

2011-09-19 Thread David Nalesnik
On Mon, Sep 19, 2011 at 7:23 PM, David Nalesnik wrote: > > > On Mon, Sep 19, 2011 at 7:15 PM, David Nalesnik > wrote: > >> >> \version "2.14.2" >> >> #(define (my-callback grob) >>(let* ((orig (ly:grob-or

Re: centering text on a measure

2011-09-22 Thread David Nalesnik
Hi Harm, On Tue, Sep 20, 2011 at 6:58 PM, harm6 wrote: > > Hi David, > > testing your newest code I've got no errors any more! But sometimes there > is > a strange behaviour. > > Testing the attached code I receive centerTest-1.pdf with an offset of the > red Line in the first score, that I can't

Re: centering text on a measure

2011-09-22 Thread David Nalesnik
On Thu, Sep 22, 2011 at 6:08 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > Hi David, > > 2011/9/23 David Nalesnik > >> Hi Harm, >> >> > If there were some way to add a tag to a grob (not just a music >> expression), this would all be mu

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 8:59 AM, Dmytro O. Redchuk wrote: > On Fri 23 Sep 2011, 10:30 luis jure wrote: > > i see that this override changes the placement of all the objects > > belonging to Script, including articulation marks like accent and the > > rest. anyway, i prefer to use a global \overrid

Re: centering text on a measure

2011-09-23 Thread David Nalesnik
On Thu, Sep 22, 2011 at 6:08 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > Hi David, > > > Running centerGrobBetween_rev2.ly the log states: > > Failure to center # between LeftEdge and BarLine > Present in system? LeftEdge #t BarLine #t > left bound: # right bound: #f > __

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 4:38 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > > But I didn't manage to shorten it. > > > Not sure if this is expressed in the best form, but putting this line at the top of the file should change the 'padding value of the tentuo mark only: #(assoc-set

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 5:08 PM, eluze wrote: > > now we need a way to only override the relevant items - i.e. to replace the > padding for "tenuto" in the original list! (then we even get rid of the > \layout part!) > > anybody has ideas?! Yes, with the line I just posted you don't need to in

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
Hi Harm, On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > > 2011/9/24 Thomas Morley > >> >> There might be another point of interest: How to reset? >> >> I'm aware it could be done with a new #(assoc-set! ... ) using default >> values. >> > > I was wrong

Re: placement sostenuto

2011-09-23 Thread David Nalesnik
On Fri, Sep 23, 2011 at 7:28 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > 2011/9/24 David Nalesnik > >> Hi Harm, >> >> On Fri, Sep 23, 2011 at 5:52 PM, Thomas Morley < >> thomasmorle...@googlemail.com> wrote: >> >>> >

Re: placement sostenuto

2011-09-24 Thread David Nalesnik
Hi Harm, On Sat, Sep 24, 2011 at 8:59 AM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > > Hi David, > > I don't know, why it doesn't work this way. But the following seems to be > successful: > > #(define (proc x y) > (lambda (grob) (if (eq? (ly:grob-property grob 'direction) 1) >

Re: placement sostenuto

2011-09-25 Thread David Nalesnik
Hi Harm, On Sun, Sep 25, 2011 at 1:01 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > 2011/9/24 David Nalesnik > >> >> I don't know if I've gotten at the name of the articulation in the best >> way, but this works. One drawback is that the

Re: placement sostenuto

2011-09-25 Thread David Nalesnik
On Sun, Sep 25, 2011 at 6:24 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > Hi David, > > thanks a lot! > You're welcome! > > I added ls as an argument to the definition to get the possibility to > access different alists in polyphonic situations: > Good idea. One thought I had i

Re: centering text on a measure

2011-09-29 Thread David Nalesnik
Hi Harm, On Thu, Sep 29, 2011 at 5:59 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > Hi David, > > I thought a while about your "hackishness" :) > > As a first step it seems to be possible to add a grob-custom-property to > define-grob-properties.scm in some way (thanks to Arnold fr

Re: centering text on a measure

2011-10-01 Thread David Nalesnik
On Thu, Sep 29, 2011 at 8:26 PM, David Nalesnik wrote: > Hi Harm, > > Wonderful! Thank you so much! The log now offers no comment on my hackery > :) > > I tried this with a two-voice example (see center-between.ly), and sure > enough, the problem with "choosing&

Re: recursive music function definitions broken in 2.14 ?

2011-10-03 Thread David Nalesnik
Hi Juha, On Mon, Oct 3, 2011 at 6:57 AM, Juha Erkkila wrote: > Howdy, > > I had some lilypond code that worked in 2.12 versions, but appears > broken in 2.14. I had used a construction in which a music function > calls itself. Here's an example: > >

Re: recursive music function definitions broken in 2.14 ?

2011-10-03 Thread David Nalesnik
> I removed the $ from firsttag and othertags, and it seems to work in > 2.14.2. > > tags = #(define-music-function (parser location tags music) > (list? ly:music?) > (cond ((null? tags) music) > (else (let ((firsttag (car tags)) >

Re: centering text on a measure

2011-10-03 Thread David Nalesnik
Hi Harm, On Mon, Oct 3, 2011 at 10:08 AM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > Hi David, > > setting 'markers to a list is a great idea and I've never got warnings or > wrong output. > > Your definition should be putted in the LSR as soon as it's updated to > 2.14. > I'm glad

Re: centering text on a measure

2011-10-04 Thread David Nalesnik
Hi Harm, On Mon, Oct 3, 2011 at 5:29 PM, Thomas Morley wrote: > Hi David, I'm only a musician and music-teacher without any previous > programming-experience, trying to learn scheme and to dive into > lilypond-internals deeper and deeper. So excuse me if I remark some > moonshine. :) > You've

Re: articulating a group of notes

2011-10-05 Thread David Nalesnik
Hello, On Wed, Oct 5, 2011 at 4:40 PM, Pato Press wrote: > Hi all, > > I'm writing a simple score that have a group of different notes all with > the same articulation over their head. > > Is there a way to articulate a group of notes? Or I have to add to each > note the same articulation? > > I

Re: Change TextScript horizontal anchor point

2011-10-08 Thread David Nalesnik
Hi Xavier, On Sat, Oct 8, 2011 at 7:42 AM, Xavier Scheuer wrote: > Hi, > > By default, TextScript "anchor point" is located at the left side of > the note head. I'd like to have TextScript centered > ( #'self-alignment-X = #CENTER ) on the *center* of the note head. > Is there an easy way to ch

Re: Change TextScript horizontal anchor point

2011-10-08 Thread David Nalesnik
Hi again, On Sat, Oct 8, 2011 at 8:11 AM, David Nalesnik wrote: > > I think this snippet is what you're looking for: > > http://lsr.dsi.unimi.it/LSR/Snippet?id=637 > > Best, > David > Here it is as an engraver: http://www.lilypond.org/doc/v2.14/Documentation/snip

Re: How to read out the slope of a beam?

2011-10-11 Thread David Nalesnik
Hi Harm, On Sat, Oct 8, 2011 at 6:38 PM, harm6 wrote: > > Hi, > > trying to hack Beam stencil, I need to read out the slope of the original > Beam. I thought reading out the y-extent, the x-extent and using the > quotient would do the job. But I was wrong: this quotient can't be negativ. > > > A

Re: Override ties

2011-10-13 Thread David Nalesnik
Hi Ed, On Thu, Oct 13, 2011 at 12:25 PM, Ed Gordijn wrote: > case this works even better then tweaking the control points! Sorry Urs! > Am I right is this not yet documented? > > I tried to make a music function and that didn't work. Do you know why not? > Try this: \version "2.14.2" squeez

Re: Override ties

2011-10-13 Thread David Nalesnik
On Thu, Oct 13, 2011 at 12:36 PM, David Nalesnik wrote: > > > Hope this helps! > > I probably should mention that I've used a backquote: ` not ' For more explanation, see: http://www.gnu.org/software/guile/manual/html_node/Expression-Syntax.html#ind

Re: English.ly breaks all flats for key signature

2011-10-14 Thread David Nalesnik
Hi Peter -- On Fri, Oct 14, 2011 at 9:29 AM, Peter Otto wrote: > Unable to get any flats in the Key Signature when I include the English.ly > When I enter "es" for \key it returns E double sharp. "e" will work as > well. All flats i.e. "eis" will fail. > > You need to use the English names for

Re: How to read out the number of beams and the space between them?

2011-10-16 Thread David Nalesnik
Hi, Harm -- On Sun, Oct 16, 2011 at 10:27 AM, harm6 wrote: > > > In the little test-function below I have to put in the beam-count manually. > And the value of the between-beam-space is a guess. > > Any hint to improve? > You can get the space between the beams from the 'gap property. (It's meas

Re: How to read out the number of beams and the space between them?

2011-10-16 Thread David Nalesnik
Hi again, I sent that off too quickly... Instead of #(define ((stencil-plus-bracket beam-count) grob) > use #(define (stencil-plus-bracket grob) -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lily

Re: How to read out the number of beams and the space between them?

2011-10-16 Thread David Nalesnik
Hi Harm, On Sun, Oct 16, 2011 at 2:36 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > > I regarded the gap-property, but \once\override Beam #'gap = #15 seems to > do nothing, so I dropped that thought. > You have to do this instead: \once \override Beam #'length-fraction = #15 (S

Re: How to read out the number of beams and the space between them?

2011-10-17 Thread David Nalesnik
Hi again Harm, I've been thinking about this some more. Specifically, I've noticed that adding the beam widths and the spaces between the beams doesn't seem to add up precisely to the total extent of the beam. The result is that the size of the bracket is off -- noticeably so in the first beamed

Re: How to read out the number of beams and the space between them?

2011-10-19 Thread David Nalesnik
Hi Harm, On Mon, Oct 17, 2011 at 5:15 PM, harm6 wrote: > I've been thinking about this some more. Specifically, I've noticed that > > adding the beam widths and the spaces between the beams doesn't seem to > > add > > up precisely to the total extent of the beam. The result is that the > size >

Re: Slur as TupletBracket

2011-10-22 Thread David Nalesnik
On Sat, Oct 22, 2011 at 4:29 AM, m...@apollinemike.com < m...@apollinemike.com> wrote: > > In 2.14.0 the TupletNumber Y-offset callback doesn't exist [ . . . ] > Hi Mike, I don't understand... I just tried http://lsr.dsi.unimi.it/LSR/Snippet?id=646 which relies on an override of TupletNumber #'

Re: Slur as TupletBracket

2011-10-22 Thread David Nalesnik
On Sat, Oct 22, 2011 at 8:26 AM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > > Hi Mike, > > your function doesn't work for me. I get a wrong output (with "2.14.2" and > "2.15.13") > ->attached png > > Hi all, The numbers fed into control-points should not be the absolute X-coordinate

Re: ly:stencil-extent gives not the exact value?

2011-10-22 Thread David Nalesnik
Hi Harm, On Sat, Oct 22, 2011 at 11:35 AM, harm6 wrote: > > Hi, > > the following function should rebuild a beam. > > \version "2.14.2" > > #(set-global-staff-size 20) > > #(define (test-stencil grob) > (let* ((beam (ly:beam::print grob)) >(beam-extent-x (ly:stencil-extent beam X)) >

Re: ly:stencil-extent gives not the exact value?

2011-10-23 Thread David Nalesnik
Hi Harm, On Sun, Oct 23, 2011 at 7:47 AM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > Surely you noticed that I'm not a native-english-speaker. This is one of > the cases where I've got a problem. I can't translate blot-diameter and so I > don't know what it is or how to use. (Of co

Re: Making feathered beams more variable

2011-10-23 Thread David Nalesnik
Hi Harm, On Sun, Oct 23, 2011 at 8:21 AM, harm6 wrote: the attached file is a first attempt to make feathered beams more variable. > p.e.: > http://old.nabble.com/file/p32705102/beam15.png This is really cool! What a great function!! Some problems persist: > The function is limited up to 64th

Re: Making feathered beams more variable

2011-10-27 Thread David Nalesnik
Hi Harm, On Tue, Oct 25, 2011 at 12:05 PM, harm6 wrote: > > Hi David, > > David Nalesnik-2 wrote: > > > > Hi Harm, > > > > On Mon, Oct 24, 2011 at 4:09 PM, Thomas Morley < > > thomasmorle...@googlemail.com> wrote: > > I'm looking fo

Re: Making feathered beams more variable

2011-10-28 Thread David Nalesnik
Hi Harm, On Fri, Oct 28, 2011 at 8:18 AM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > Hi David, > > 2011/10/28 David Nalesnik > >> [ . . . ] > > >> Maybe you could think of some artful way to modify the function in >> music-functions-in

Re: Making feathered beams more variable

2011-10-28 Thread David Nalesnik
Hi again, On Fri, Oct 28, 2011 at 4:31 PM, David Nalesnik wrote: > > I worked on this a bit, and I came up with something which will handle the > accel./rit. pattern which you've been using with your feathered beam > function. It works just like \featherDurations, e

Re: Making feathered beams more variable

2011-10-29 Thread David Nalesnik
Hi Harm, On Sat, Oct 29, 2011 at 9:47 AM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > To make it possible to enter the same arguments to both, > featherDurationTest and grow-dir-var, I added some conditions to the > turnaround-argument and the end-multiplier. > Good idea -- thank y

Re: Making feathered beams more variable

2011-10-30 Thread David Nalesnik
Hi Harm, I added (if (ly:stencil? (ly:stem::print grob)) ... to the function (and > some construction-helpers, maybe deleted). Now it works with \change Staff, > too. "2.15.13" or higher is still needed. > All you need here is a call to ly:stem::print first; there's no need to integrate it into t

Re: Making feathered beams more variable

2011-10-31 Thread David Nalesnik
Hi Harm, On Sun, Oct 30, 2011 at 7:08 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > >> \once \override Stem #'stem-end-position = #-8 >> > > Works fine with "2.14.2" and \change Staff. > But there is no effect in the following example. > > \version "2.14.2" > { a'8 [ > \once \overr

Re: Cello fingering indications

2011-10-31 Thread David Nalesnik
Hi Colin, On Sun, Oct 30, 2011 at 9:50 PM, Colin Campbell wrote: > > Further Googling gives > http://lsr.dsi.unimi.it/LSR/**Snippet?id=616 > > which is closer in appearance, but I haven't the Scheme fu to modify the > stringNumberSpanner function to i

Re: Making feathered beams more variable

2011-11-03 Thread David Nalesnik
Hi Harm, On Tue, Nov 1, 2011 at 2:40 PM, harm6 wrote: > > I tried to make an automated definition (first attachment) and to integrate > it in the grow-beam-var-definition (second attachment). This feature will > only work with kneed beams and if the directions of the first and last stem > are di

Re: How to change the stem-length?

2011-11-07 Thread David Nalesnik
Hi Harm, On Sun, Nov 6, 2011 at 6:56 AM, harm6 wrote: But when using it in a cross-staff > example with kneed-beams, I've noticed a problem: Some stems are affected > some not. Oddly enough, when changing the global-staff-size, I retrieve > different results. > I don't have the answer to your q

Re: ly:stencil-combine-at-edge ignores minimum parameter

2011-11-11 Thread David Nalesnik
Hi Paul, > If this change was made can someone tell me how to correct this code in > 2.15.17? > > #(define (scoop-stencil grob) > (ly:stencil-combine-at-edge > (ly:note-head::print grob) 0 -1 > (grob-interpret-markup grob >(markup #:with-dimensions '(0 . 0) '(0 . 0) > #:translate '(

Re: center NoteColumn

2011-12-02 Thread David Nalesnik
Hi Harm, On Tue, Nov 29, 2011 at 5:16 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: the attached code is my attempt to center a NoteColumn in a measure (like > MultiMeasureRest). > > This is really cool! > > While it works fine in most cases, there is one major problem: > Having a k

Re: center NoteColumn

2011-12-02 Thread David Nalesnik
Hi again. On Fri, Dec 2, 2011 at 4:31 PM, David Nalesnik wrote: > > (See attached file.) > > Oops--that only accidentally works for your problem example since I goofed the filtering. Replace the second definition of lst-2 in the file I last attached with this line and all should be

Re: Need a new articulation glyph...

2011-12-04 Thread David Nalesnik
Hi George, > > >> I'd appreciate some feedback on how to implement a new ornament: >> >> http://old.nabble.com/file/**p32910828/Untitled.png >> >> It's a Bach ornament known as a slide, and is normally played by playing >> the >> 2 consecutive not

Re: center NoteColumn

2011-12-06 Thread David Nalesnik
Hi Harm, On Fri, Dec 2, 2011 at 7:06 PM, Thomas Morley wrote: > > But now there's a new problem. Sometimes I've to notice a very small, but > visible displacement of the NoteColumn, if KeyCancellation is left bound > and a new Clef is right bound (mes. 5 of the full test). And I can't figure > o

Re: center NoteColumn

2011-12-08 Thread David Nalesnik
Hi Harm, I've taken a look at your calculations and I think I've found a more straightforward way to determine the offsets for each of the elements. Rather than centering each element first, then moving it with an additional offset as you do, why not simply move everything from its _original_ posi

Re: center NoteColumn

2011-12-08 Thread David Nalesnik
Hi Harm, On Thu, Dec 8, 2011 at 6:50 PM, Thomas Morley wrote: this is great !! And I was not a little but a big blockhead.;) > Hah, no... I'm just a fresh pair of eyes :) Speaking of which, looking with fresh eyes at the file I just attached, I really should have condensed that list of nearly

Re: Need a new articulation glyph...

2011-12-10 Thread David Nalesnik
Hi George, On Sat, Dec 10, 2011 at 11:56 AM, George_ wrote: Only...I can't figure out how to make it move up or down. If someone could > help me with this I'd really appreciate it. This adds another argument to the function which will move the markup up or down: \version "2.15.16" dwn = #(d

Re: center NoteColumn

2011-12-11 Thread David Nalesnik
Hi Harm, On Sat, Dec 10, 2011 at 3:42 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > Hi David, > > thanks for doing this! I did the next step to simplify the definition, > with defining "read-out". > Yes, this condenses the function quite a bit. Thinking about the problem some more

Re: staff to end of socre

2011-12-14 Thread David Nalesnik
Hi Damian, On Wed, Dec 14, 2011 at 12:25 PM, Damian leGassick wrote: > On 14 Dec 2011, at 18:22, Damian leGassick wrote: > > > Hi all > > > > In this example the second staff is left hanging > > > > << > > \new Staff {b b b b} > > \new Staff {b b} > >>> > > > > Can I force all staves to go to the

box around notes

2011-12-15 Thread David Nalesnik
Hi all, I'm trying to write a function to add a box around notes. I've come up with the following, and I'm wondering if anyone has any ideas how to improve it or perhaps a different approach. Basically, the function creates a box as a TextSpanner. The height of the box is based on the highest a

Re: box around notes

2011-12-16 Thread David Nalesnik
Hi Mike, Thank you so much for pointing me in the right direction! On Fri, Dec 16, 2011 at 2:06 AM, m...@apollinemike.com < m...@apollinemike.com> wrote: > > Hey David, > > Once articulations are in the game, I'd recommend creating a custom Scheme > engraver that collects all the grobs you want,

problem with overriding nested properties

2011-12-19 Thread David Nalesnik
Hi all, Working with overrides of nested properties, I run into an interesting problem. Both overrides of 'color produce the same result, but the override of 'bound-details set to the lambda expression does nothing. I've noticed this with other attempted overrides of nested properties such as 'b

Re: problem with overriding nested properties

2011-12-19 Thread David Nalesnik
Hi Mike, On Mon, Dec 19, 2011 at 4:20 PM, m...@apollinemike.com < m...@apollinemike.com> wrote: > > It's a limitation of override. You'd have to override bound-details with > a function and then build the entire a-list. Unfortunately, > nested-properties do not evaluate functions for overrides.

Re: \rN alignment

2011-12-21 Thread David Nalesnik
Hi Jerod, On Wed, Dec 21, 2011 at 11:56 AM, Jerod Sommerfeldt < sommerfeldt.je...@gmail.com> wrote: > > I'm using the \rN function for most of the work in my class (and I'm still > grateful for everyone's help), however, I'm having some issues with > horizontal alignment. The following score pro

Re: How to make slurs ignore stems?

2011-12-22 Thread David Nalesnik
Hi Jakub, 2011/12/22 Jakub Pavlík > In regular modern scores it is logical that the ends of a slur attach to a > notehead or to an end of a stem, depending on the direction of stems of the > notes connected by the slur. > > I'm typesetting chant transcriptions and make stems transparent: > \over

Re: How to make slurs ignore stems?

2011-12-22 Thread David Nalesnik
Hi again, 2011/12/22 David Nalesnik > > There are probably better ways to go about this, but this seems to work: > > Here's another way: \relative c'' { \override Stem #'transparent = ##t \stemDown c( a g) } -David _

Re: ambitus "detective"

2012-01-03 Thread David Nalesnik
Hi Stefan, 2012/1/3 Stefan Thomas : > > > But: is it possible to find very quickly that point in the score, where a > > desired Ambitus is exceeded? > > You could try http://lsr.dsi.unimi.it/LSR/Item?id=773 HTH, David ___ lilypond-user mailing list li

Re: Change color for some symbols in a sylable

2012-01-10 Thread David Nalesnik
Hi Svetlana, 2012/1/10 Светлана > > Thank you, David, for this wonderful function. No mess in lyrics at all! > But for my needs there should be a list of symbols, not just one (like > coloring both "a" and "e" in your example). There is a list of about 20 > symbols that should be always colored

Re: Change color for some symbols in a sylable

2012-01-10 Thread David Nalesnik
Hi Svetlana, On Tue, Jan 10, 2012 at 1:08 PM, Светлана wrote: > > Originaly, Znamenny chants were written only with znamya and text, no > staff notes at all. Music is completely encrypted in znamya itself. But now > we need notes, as only few people are familiar with the system and other > just

<    2   3   4   5   6   7   8   9   10   11   >