Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staff with two lines of F and C cleffs #1561

Open
fstirpe opened this issue Feb 14, 2022 · 3 comments
Open

Staff with two lines of F and C cleffs #1561

fstirpe opened this issue Feb 14, 2022 · 3 comments

Comments

@fstirpe
Copy link

fstirpe commented Feb 14, 2022

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.

@rpspringuel
Copy link
Contributor

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.

@fstirpe
Copy link
Author

fstirpe commented Feb 15, 2022 via email

@rpspringuel
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants