Re: Dotted \markup \note - tweaking the dot position

2021-12-11 Thread Lukas-Fabian Moser

Hi,


if https://gitlab.com/lilypond/lilypond/-/merge_requests/1052 gets 
merged, it will be possible to do:


\version "2.23.6"

{
  \once \override Timing.TimeSignature.stencil =
  #(lambda (grob)
 (grob-interpret-markup grob
  #{
    \markup
    \override #'(baseline-skip . 1)
    \override #`(dots-direction . ,UP)
    \center-column
    {
  \number 3
  \with-dimensions-from \note { 4 } #DOWN
  \note { 4. } #DOWN
    }
  #}))
  \time 9/8
  \repeat unfold 9 c'8
}

The commit has now been merged; hence, the code will (probably) work as 
promised when 2.23.6 is released.


Lukas




Re: Issue on vertical spacing of a TupletBracket

2021-12-11 Thread Jean Abou Samra

Le 10/12/2021 à 18:53, Paolo Prete a écrit :

Thank you too for the tip,

Unfortunately, it seems to produce weird results in some cases, For 
example: I can't set the 'padding' property in a consistent way. See 
the snippet below (and please, give me a feedback, so the gitlab page 
can be updated, if needed).



Sorry, I have reduced availability for LilyPond in the immediate future. 
I won't be able to debug further for now. You may just update the issue 
with what you've found.


Best,
Jean




Re: Dotted \markup \note - tweaking the dot position

2021-12-11 Thread Adam M. Griggs
Thanks a lot!

The /ezscore solution seems a very heavy-handed way to construct a time
signature, but it works. I appreciate having a simpler option though.


On Sat, 11 Dec 2021, 19:31 Lukas-Fabian Moser,  wrote:

> Hi,
> >
> > if https://gitlab.com/lilypond/lilypond/-/merge_requests/1052 gets
> > merged, it will be possible to do:
> >
> > \version "2.23.6"
> >
> > {
> >   \once \override Timing.TimeSignature.stencil =
> >   #(lambda (grob)
> >  (grob-interpret-markup grob
> >   #{
> > \markup
> > \override #'(baseline-skip . 1)
> > \override #`(dots-direction . ,UP)
> > \center-column
> > {
> >   \number 3
> >   \with-dimensions-from \note { 4 } #DOWN
> >   \note { 4. } #DOWN
> > }
> >   #}))
> >   \time 9/8
> >   \repeat unfold 9 c'8
> > }
> >
> The commit has now been merged; hence, the code will (probably) work as
> promised when 2.23.6 is released.
>
> Lukas
>
>


Altering beamed stem lengths

2021-12-11 Thread Ahanu Banerjee
Hello,

I am working with 2 simultaneous voices, and I want to increase the
distance between the beamed stems of one voice and the noteheads of the
other voice. Is there some way to set a minimum distance between the beams
and noteheads, i.e., "padding"? I don't want to manually override
Stem.details.beamed-lengths or Beam.positions each time.

Here is an example:

\version "2.20.0"
%normal output%
<< { g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>
%desired output%
<< { \override Beam.positions = #'(2.2 . 1.8)
 g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>


Thanks,
-Ahanu


Re: Altering beamed stem lengths

2021-12-11 Thread Aaron Hill

On 2021-12-11 8:29 pm, Ahanu Banerjee wrote:

Hello,

I am working with 2 simultaneous voices, and I want to increase the
distance between the beamed stems of one voice and the noteheads of the
other voice. Is there some way to set a minimum distance between the 
beams

and noteheads, i.e., "padding"? I don't want to manually override
Stem.details.beamed-lengths or Beam.positions each time.

Here is an example:

\version "2.20.0"
%normal output%
<< { g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>
%desired output%
<< { \override Beam.positions = #'(2.2 . 1.8)
 g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>


This seems to get pretty close to what you want:


<< { g'8 -\tweak details.collision-padding 1 [ s e' s f' s d' ] } \\ { 
\repeat unfold 4 { s b'8 } } >>




-- Aaron Hill



Re: Altering beamed stem lengths

2021-12-11 Thread Ahanu Banerjee
Thank you, Aaron; that is exactly what I was looking for.

Cheers,
-Ahanu

On Sat, Dec 11, 2021, 23:42 Aaron Hill  wrote:

> On 2021-12-11 8:29 pm, Ahanu Banerjee wrote:
> > Hello,
> >
> > I am working with 2 simultaneous voices, and I want to increase the
> > distance between the beamed stems of one voice and the noteheads of the
> > other voice. Is there some way to set a minimum distance between the
> > beams
> > and noteheads, i.e., "padding"? I don't want to manually override
> > Stem.details.beamed-lengths or Beam.positions each time.
> >
> > Here is an example:
> >
> > \version "2.20.0"
> > %normal output%
> > << { g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>
> > %desired output%
> > << { \override Beam.positions = #'(2.2 . 1.8)
> >  g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>
>
> This seems to get pretty close to what you want:
>
> 
> << { g'8 -\tweak details.collision-padding 1 [ s e' s f' s d' ] } \\ {
> \repeat unfold 4 { s b'8 } } >>
> 
>
>
> -- Aaron Hill
>