Re: \after … \beforeLast?

2024-05-03 Thread Knute Snortum
On Fri, May 3, 2024 at 3:04 AM Mats Bengtsson wrote: > > If you want the (de-)crescendo to stop at the barline, then you > shouldn't need such solutions, since \< and \> have the to-barline > property set by default, which means that even if the \! is placed after > the bar line, the hairpin

Re: \after … \beforeLast?

2024-05-03 Thread Mats Bengtsson
On 2024-05-02 21:19, Knute Snortum wrote: On Thu, May 2, 2024 at 10:31 AM Pierre-Luc Gauthier wrote: Le jeu. 2 mai 2024, à 13 h 08, Knute Snortum a écrit : > Perhaps I'm not getting the need for this command as you could using an empty chord at the end of the repeat to do

Re: \after … \beforeLast?

2024-05-02 Thread Knute Snortum
On Thu, May 2, 2024 at 1:10 PM Pierre-Luc Gauthier wrote: > > { > > s2...\< s16\! | > > } > > ...that I do it almost automatically. > > Try that in 12/8 :-) > { \time 12/8 s1*23/16\< s16\! | % ?? } Yeah, I see your point. ;) -- Knute Snortum

Re: \after … \beforeLast?

2024-05-02 Thread Pierre-Luc Gauthier
Le jeu. 2 mai 2024, à 15 h 20, Knute Snortum a écrit : > I use a different context for all my dynamics and I've gotten so used to > typing... I do too. For bowing, nuances, articulations, etc. Btw I use quite a lot of \quoting and \tagging for that. > { > s2...\< s16\! | > } > ...that I do

Re: \after … \beforeLast?

2024-05-02 Thread Knute Snortum
On Thu, May 2, 2024 at 10:31 AM Pierre-Luc Gauthier < p.luc.gauth...@gmail.com> wrote: > Le jeu. 2 mai 2024, à 13 h 08, Knute Snortum a écrit > : > > Perhaps I'm not getting the need for this command as you could using an > empty chord at the end of the repeat to do the same thing: > > > > { > >

Re: \after … \beforeLast?

2024-05-02 Thread Lukas-Fabian Moser
Maybe one addition: fromEnd = #(define-music-function (delta ev mus) (ly:duration? ly:music? ly:music?) (_i "Add music @var{ev} with a distance of @var{delta} before the end of @var{ev} is usually a post-event.") #{ \context Bottom << { \skip

Re: \after … \beforeLast?

2024-05-02 Thread Pierre-Luc Gauthier
Thanks Lukas, Le jeu. 2 mai 2024, à 13 h 29, Lukas-Fabian Moser a écrit : > fromEnd = > #(define-music-function (delta ev mus) (ly:duration? ly:music? ly:music?) >(_i "Add music @var{ev} with a distance of @var{delta} before the end of > > @var{ev} is usually a post-event.") >#{ >

Re: \after … \beforeLast?

2024-05-02 Thread Pierre-Luc Gauthier
Le jeu. 2 mai 2024, à 13 h 08, Knute Snortum a écrit : > Perhaps I'm not getting the need for this command as you could using an empty > chord at the end of the repeat to do the same thing: > > { > <>(\< > \after 2 \> > \repeat unfold 8 {e''16 d''} <>)\!| > } The above example would not

Re: \after … \beforeLast?

2024-05-02 Thread Lukas-Fabian Moser
Hi Pierre-Luc, Am 02.05.24 um 17:02 schrieb Pierre-Luc Gauthier: Rambling here : So, I *love* the simplicity and elegance of the \after command and I am using it pretty much everywhere. { <>( <>\< \after 2 \> \after 16*15 ) \after 16*15 \! \repeat unfold 8 {e''16 d''} | }

Re: \after … \beforeLast?

2024-05-02 Thread Hans Aikema
On 2 May 2024, at 19:08, Knute Snortum wrote:On Thu, May 2, 2024 at 8:04 AM Pierre-Luc Gauthier wrote:Rambling here : So, I *love* the simplicity and elegance of the \after command and I am using it pretty much everywhere. {   <>(   <>\<   \after 2 \>   \after 16*15

Re: \after … \beforeLast?

2024-05-02 Thread Knute Snortum
On Thu, May 2, 2024 at 8:04 AM Pierre-Luc Gauthier wrote: > Rambling here : > > So, I *love* the simplicity and elegance of the \after command and I > am using it pretty much everywhere. > > { > <>( > <>\< > \after 2 \> > \after 16*15 ) > \after 16*15 \! > \repeat unfold 8 {e''16

\after … \beforeLast?

2024-05-02 Thread Pierre-Luc Gauthier
Rambling here : So, I *love* the simplicity and elegance of the \after command and I am using it pretty much everywhere. { <>( <>\< \after 2 \> \after 16*15 ) \after 16*15 \! \repeat unfold 8 {e''16 d''} | } and since then I often end up doing head math to figure out what I must add