Dear Kieren,

Am 07.09.2018 um 15:24 schrieb Kieren MacMillan:
Hi Fox & folks,

I wonder if it is possible to extend in the X-direction the whiteout property 
on a grob?
This is something I’ve been musing about for about six months now. There are 
definitely situations where I want to have independent control of the 
[thickness/extent of the] X- and Y- directions of the whiteout.

Looking forward to hearing any solutions offered (beyond the obvious markup 
solution you posted).
I took this as an intencive to take a stab at delving into the source code (which I always did read-only up to now). I think I managed to create a working branch from current master (I also never got the hang of git...) that allows for

\version "2.21"

\new Staff {
  \override NoteHead.whiteout = #'(5 . 40)   % Pair of X-thickness and Y-thickness
  g'4
  r2
  \override NoteHead.whiteout = #'(40 . 5)
  g'4
}

producing



But, to be honest, I
a) am a bit ashamed because I certainly produced quite a mess in terms of code quality (being a once-a-year programmer),
b) don't quite now how to proceed with it from now.

Is there a way that one of the more experienced developers might take a look at what I produced at help me in getting it up to scratch?

Best
Lukas
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to