Re: TimeSignature with white border?

2009-04-10 Thread Mark Polesky
Mark Polesky wrote: Regarding snippet candidacy, I was thinking it would be better to allow the padding to be modified on-the-fly, but it's not a big priority. moved to new thread: http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00383.html

Re: TimeSignature with white border?

2009-04-07 Thread Trevor Daniels
Snippet? Trevor - Original Message - From: Kieren MacMillan kieren_macmil...@sympatico.ca To: Mark Polesky markpole...@yahoo.com Cc: lilypond-user Mailinglist lilypond-user@gnu.org Sent: Tuesday, April 07, 2009 4:25 AM Subject: Re: TimeSignature with white border? Mark, This one

Re: TimeSignature with white border?

2009-04-07 Thread Kieren MacMillan
Snippet? Definitely! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: TimeSignature with white border?

2009-04-07 Thread Neil Puttock
2009/4/7 Kieren MacMillan kieren_macmil...@sympatico.ca: Snippet? Definitely! Kieren. This will make an excellent snippet if it's amended slightly. :) I hope Mark didn't spend too long working out the stencil overrides, as there's already the public function stencil-whiteout (used for the

Re: TimeSignature with white border?

2009-04-07 Thread Kieren MacMillan
Neil, I hope Mark didn't spend too long working out the stencil overrides, as there's already the public function stencil-whiteout (used for the markup command \whiteout) which will do the job in one fell swoop: \override Staff.Clef #'stencil = #(lambda (grob) (stencil-whiteout

Re: TimeSignature with white border?

2009-04-07 Thread Mark Polesky
Neil Puttock wrote: I hope Mark didn't spend too long working out the stencil overrides, as there's already the public function stencil-whiteout (used for the markup command \whiteout) which will do the job in one fell swoop... Neil, don't worry about my time! :} It seems my

Re: TimeSignature with white border?

2009-04-07 Thread Neil Puttock
2009/4/7 Mark Polesky markpole...@yahoo.com: Neil, don't worry about my time! :} It seems my programming style is reinventing the wheel but sometimes I think that's a good way to learn. Indeed, I've done a lot of that myself. :) By the way, one benefit of my approach is that you can

Re: TimeSignature with white border?

2009-04-06 Thread Mark Polesky
This one is a little better. - Mark \version 2.13.0 #(define (whiteout-clef-stil grob) (let* ((x-pad 0.3) (this-stil (ly:clef::print grob)) (stil-x-ext (ly:stencil-extent this-stil 0)) (stil-y-ext (ly:stencil-extent this-stil 1)) (box-x-ext

Re: TimeSignature with white border?

2009-04-06 Thread Kieren MacMillan
Mark, This one is a little better. You rock -- thanks! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

TimeSignature with white border?

2009-04-05 Thread Kieren MacMillan
Hi all, Is there a way to have the TimeSignature stencil output with a thin white border? That way, you could stack Slur, TimeSignature, and StaffSymbol grobs, and the Slur would look like it disappeared behind the TimeSignature. Thanks, Kieren.

Re: TimeSignature with white border?

2009-04-05 Thread Mark Polesky
From: Kieren MacMillan Is there a way to have the TimeSignature stencil output with a thin white border? That way, you could stack Slur, TimeSignature, and StaffSymbol grobs, and the Slur would look like it disappeared behind the TimeSignature. Will using markup suffice? \version 2.13.0

Re: TimeSignature with white border?

2009-04-05 Thread Kieren MacMillan
Hi Mark, Will using markup suffice? I've been doing something similar... However, I'd like an automated way of outlining any #'stencil -- maybe it's a task I can accomplish as a Frog? Cheers, Kieren. \version 2.13.0 \markup \combine \musicglyph #clefs.G \whiteout \pad-markup #0.75

Re: TimeSignature with white border?

2009-04-05 Thread Mark Polesky
From: Kieren MacMillan However, I'd like an automated way of outlining any #'stencil -- maybe it's a task I can accomplish as a Frog? Kieren, Here's something to fiddle with. Just a start, but you could develop it more if you're interested. Hope it helps - Mark \version 2.13.0 #(define