gregorio icon indicating copy to clipboard operation
gregorio copied to clipboard

Staff with two lines of F and C cleffs

Open fstirpe opened this issue 2 years ago • 3 comments

Hi All. I'm trying to draw a staff with the two cleff lines (F in red and C in yellow). Does exist a way with Gregorio or with LaTex for doing it? In attachment you can find a B&W example of what i'm looking for. I wonder if you could help me.

Two lines

Thanks and regards. Fabio.

fstirpe avatar Feb 14 '22 20:02 fstirpe

There is no way for different lines within the same set of staff lines to be different colors within Gregorio. Different scores can have different color lines and it's probably feasible to change the color of the lines between lines within a score, but that's about it.

Of course, LaTeX will allow you to draw arbitrary lines with arbitrary colors (with the right packages), but they won't be Gregorio scores.

rpspringuel avatar Feb 14 '22 21:02 rpspringuel

Hi Mr. Springuel and thanks for your answer.

How Gregorio and/or GregorioTex generate the staff? In your opinion is it possible to slightly work inside the staff generation mechanism to have the two lines-staff with red and yellow?

Thanks and regards for your help. Fabio.

Il giorno lun 14 feb 2022 alle ore 22:23 Br. Samuel Springuel < @.***> ha scritto:

There is no way for different lines within the same set of staff lines to be different colors within Gregorio. Different scores can have different color lines and it's probably feasible to change the color of the lines between lines within a score, but that's about it.

Of course, LaTeX will allow you to draw arbitrary lines with arbitrary colors (with the right packages), but they won't be Gregorio scores.

— Reply to this email directly, view it on GitHub https://github.com/gregorio-project/gregorio/issues/1561#issuecomment-1039576846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXW2KFHYOY52ZG6ELKA7ODU3FXGRANCNFSM5OMQ47LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

fstirpe avatar Feb 15 '22 11:02 fstirpe

The function which generates the lines is \gre@generatelines. If you redefine that function in your document, then you might be able to achieve what you want.

rpspringuel avatar Feb 16 '22 14:02 rpspringuel