Re: Incipit with default noteheads possible?

2024-01-24 Thread Werner LEMBERG
>> This works for the note heads, but if there happen to be >> accidentals around (in my project this is the case), they remain >> mensural style. Is there another override for this, too? > > How about this? Nice! David, what do you think about converting this code into a proper MR?

Re: Incipit with default noteheads possible?

2024-01-24 Thread David Kastrup
Hajo Baess writes: > This works for the note heads, but if there happen to be accidentals > around (in my project this is the case), they remain mensural style. Is > there another override for this, too? > > Am Mittwoch, dem 24.01.2024 um 16:14 +0200 schrieb YTG 1234: >> > I have tried an

Re: Incipit with default noteheads possible?

2024-01-24 Thread Hajo Baess
That 'manual' solution is absolutely good enough for my purpose. Furthermore it is easy to understand and to modify if necessary. I'll adopt it for my project. At any rate: thank you all for your very valuable advice and hints. I already suspected as well that \incipit is hardcoded to mensural

Re: Incipit with default noteheads possible?

2024-01-24 Thread Hajo Baess
This works for the note heads, but if there happen to be accidentals around (in my project this is the case), they remain mensural style. Is there another override for this, too? Am Mittwoch, dem 24.01.2024 um 16:14 +0200 schrieb YTG 1234: > > I have tried an override ( \override > >

Re: Incipit with default noteheads possible?

2024-01-24 Thread Mats Bengtsson
I have to try it. So far, I've used the more manual solution available in https://lsr.di.unimi.it/LSR/Item?id=451     /Mats On 2024-01-24 18:39, YTG 1234 wrote: betterIncipit = #(define-music-function (incipit-music) (ly:music?)

Re: Incipit with default noteheads possible?

2024-01-24 Thread YTG 1234
Here's my attempt at this (I don't know how to check for staff-like contexts, so I just put them all in a list). It's just \incipit but with an additional condition and the context mods moved to \layout. betterIncipit = #(define-music-function (incipit-music) (ly:music?)   (_i "Output

Re: Incipit with default noteheads possible?

2024-01-24 Thread David Kastrup
YTG 1234 writes: >> I have tried an override ( \override >> Staff.NoteHead.style = #'default ) > > Note heads are drawn in Voice, so you can just omit the context > name. \override NoteHead.style = #'default > > The more fundamental issue here, though, is that \incipit is hardcoded > to create a

Re: Incipit with default noteheads possible?

2024-01-24 Thread YTG 1234
I have tried an override ( \override Staff.NoteHead.style = #'default ) Note heads are drawn in Voice, so you can just omit the context name. \override NoteHead.style = #'default The more fundamental issue here, though, is that \incipit is hardcoded to create a MensuralStaff context. Does

Incipit with default noteheads possible?

2024-01-22 Thread Hajo Baess
Hello all, I am typesetting a piece where the violin plays in a different tuning. Of course you have to indicate the tuning before the music starts. I would like to implement this with the \incipit command, if possible, but there is one downside: you get your notes in the incipit with mensural