lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing boxes around grobs


From: Paolo Prete
Subject: Re: Drawing boxes around grobs
Date: Sat, 8 Feb 2020 22:20:13 +0100



On Sat, Feb 8, 2020 at 9:06 PM Thomas Morley <address@hidden> wrote:
Am Sa., 8. Feb. 2020 um 19:26 Uhr schrieb Paolo Prete <address@hidden>:
>


 
 
{
\override TextScript.stencil =
  #(make-stencil-boxer 0.1 0.3 ly:text-interface::print)

\override Script.stencil =
  #(make-stencil-boxer 0.1 0.3 ly:script-interface::print)

\override NoteHead.stencil =
  #(make-stencil-boxer 0.1 0.3 ly:note-head::print)
  c'4^"foo"->

\override TupletBracket.stencil =
  #(make-stencil-boxer 0.1 0.8 ly:tuplet-bracket::print)
  \tuplet 3/2 { b4 4 4 }
}

The boxed NoteHead is wider, the stem-attachment does as before, i.e.
the Stem is placed at the border...
In this case tackle stem-attachment or better, don't let the boxed
stencil be wider. Which may lead to probably unwished collisions, if
done for with grobs.

Cheers,
  Harm


Thank you harm.
Is it possible to override/tweak the color of the boxer?

Best,
P

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]