Page 1 of 1
Lilypond INCIPIT codes
Posted: Thu Jan 18, 2024 3:21 pm
by JacopoTore
I was trying to create some incipits and I realized that you can't create incipits with multiple lines. I couldn't find any guides or information on Petrucci.
Can anyone confirm?
Re: Lilypond INCIPIT codes
Posted: Thu Jan 18, 2024 8:41 pm
by Pnorcks
Typically incipits are never longer than one line, as far as I know... Usually they consist of the first few notes (or first phrase) of a piece.
Which works are you looking to create incipits for?
But to answer your question, I don't know if it's possible to create multi-line incipits. You can create one-line, multi-staff incipits, though you sometimes see those reduced to a single-staff to highlight the melodic line, with cue notes added to provide the larger context.
Re: Lilypond INCIPIT codes
Posted: Wed Feb 07, 2024 4:31 am
by Eric
multiple lines as in length? whyever not?
multiple contrapuntal lines like a string quartet or duo sonata incipit, that can be and has been done (google search for it?)
Re: Lilypond INCIPIT codes
Posted: Sat Jun 07, 2025 12:19 am
by ClumsyPianist
I'm pretty sure this is a misunderstanding. Lilypond has a command "incipit", but it's made for prefixing original clefs onto modernized scores of ancient music. Don't try to use it to (for example) add excerpts to a table of contents; Lilypond has no special name for those, they're just treated as another score. (into which you could copy and paste code from your main score).
Re: Lilypond INCIPIT codes
Posted: Sat Jun 07, 2025 9:16 am
by Eric
Nope, no misunderstanding, I know what the OP is talking about.
There is a Lilypond command \break
that’s the only other thing I can think of here. See
https://lilypond.org/doc/v2.23/Document ... e-breaking.
Re: Lilypond INCIPIT codes
Posted: Sat Jun 07, 2025 12:55 pm
by ClumsyPianist
I'm confused by this. Is there an example of the thing that Lilypond ought to be able to do, that it won't do?
Re: Lilypond INCIPIT codes
Posted: Sun Jun 08, 2025 4:35 am
by Pnorcks
I had the same assumption as Eric, that JacopoTore wanted to add incipits (i.e. short snippets from the beginning of a work) spread across multiple lines. To do that, \break is indeed the correct command to use.
When I replied originally, I had not tested it... After testing it just now (with "Preview" and not saving), \break does work. Personally, I would probably not ever use it though, since incipits are meant to be short enough to fit on one line.
Re: Lilypond INCIPIT codes
Posted: Sun Jun 08, 2025 11:14 pm
by ClumsyPianist
In that case, I think we all agree what the musical aim was. But the original title says "Incipit codes" – it doesn't just say "incipits". Quoting from the Lilypond manual:
Incipits
It is customary when transcribing mensural music into modern notation to place an indication of how the initial rests and note or notes of the original version appeared – including the original clefs. This is called an incipit. The \incipit command uses the indent of the main staff to set the width occupied by the incipit, and incipit-width to set the width of the incipit staff.
This very strongly implies that this command:
is
only for the purpose just described. I think it's likely that JacopoTore was using that exact command, and ran into limitations that didn't make sense, because the kind of incipits we're discussing don't have any "incipit code" at all – to Lilypond they're just normal scores.
(Otherwise, Lilypond refusing to do a line break would become a mystery.)
Re: Lilypond INCIPIT codes
Posted: Thu Jun 12, 2025 6:27 am
by tedwill
Incipits are generally meant to be concise snippets from the beginning of a work, so it might be best to keep them to one line when possible. That said, if you're working with complex pieces like string quartets or duo sonatas, having multiple contrapuntal lines could be beneficial for context...