gregorio-project / gregorio

The Gregorio Project
http://gregorio-project.github.io
Other
162 stars 43 forks source link

Multiple characters as initial #1536

Open Nokel81 opened 3 years ago

Nokel81 commented 3 years ago

It would be great if it was possible to specify how many characters the initial should use. This is useful if you are doing multiple verses and want to have the whole <sp>V/</sp> 1. as the initial.

Example: image

This should probably be defined in terms of displayed characters (so that <sp>V/</sp> counts as one). Though another solution could be to add an extension to gabc itself. Maybe something like ^ when in note mode. So that the above could be written as:

(c4) 2.(^) Coe(h)tus(g) in(h)
Nokel81 commented 3 years ago

I have found a solution to this (at least when using tex).

It is to put the whole initial into a <v></v> block and then change the font size of the initial. Using a block like this:

{
    \grechangestyle{initial}{\fontsize{14}{20}}
    \gregorioscore{path/to/gabc}
}

Shall I open a PR for documenting this? @rpspringuel ?

rpspringuel commented 3 years ago

Documenting this in the Tips & Tricks section of the website sounds like a good idea to me.

Sent with GitHawk

leduc006 commented 3 years ago

I may have another use for this trick as I have a communion antiphon that begins with a quotation and I was at a loss for what to do with the quotation mark.

Thanks for this!

R

No dia 19 de abr de 2021, às 08:51, Br. Samuel Springuel @.***> escreveu:

Documenting this in the Tips & Tricks section of the website sounds like a good idea to me.

Sent with GitHawk

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Nokel81 commented 3 years ago

You are welcome, I came across this while looking at the matins of the dead chants transcriptions over on gregobase where the transcriber was using <v>~</v> as a sort of "tab" indent.

Nokel81 commented 3 years ago

Made PR https://github.com/gregorio-project/gregorio-project.github.io/pull/105