-
Notifications
You must be signed in to change notification settings - Fork 43
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
Last line of Score alignment #43
Comments
I have a few projects where I break up the longer work into multiple scores. In some cases, they end with (:), which results in |
Sorry, what I meant was are there any occasions where there are other elements after |
The gregorio executable is engineered so that no normal elements can occur after
produces
|
Note: in the current develop, this will produce
|
* develop: Added macros to switch between justified and ragged last lines. Fixes gregorio-project#43. Reverted generation of new-line macros within a final-divisio macro. Modified to remove the glue that precedes an empty line which is removed. move misplaced debug message no space after final bar, fix missing % Enabled 'z' to force-justify the last line of a score. Fixes gregorio-project#43. Changing redlines to use gregoriocolor
* develop: Added macros to switch between justified and ragged last lines. Fixes gregorio-project#43. Reverted generation of new-line macros within a final-divisio macro. Modified to remove the glue that precedes an empty line which is removed. move misplaced debug message no space after final bar, fix missing % Enabled 'z' to force-justify the last line of a score. Fixes gregorio-project#43. Changing redlines to use gregoriocolor
…texrenaming * commit '24a5b991f1ce94d202bff82789113f1701d546cd': fix previous commit fix first line when no initial Added macros to switch between justified and ragged last lines. Fixes gregorio-project#43. Reverted generation of new-line macros within a final-divisio macro. Modified to remove the glue that precedes an empty line which is removed. move misplaced debug message no space after final bar, fix missing % Enabled 'z' to force-justify the last line of a score. Fixes gregorio-project#43. Changing redlines to use gregoriocolor
Currently the last line of a score is always set ragged. It should be possible to manually override this in either the gabc or TeX so that the last line is justified. It is possible to get this effect by messing around in the gtex file currently.
End your score with just
(z)
.Run the score through gregorio and open the generated gtex file.
At the end of the file you'll see something like this (I've removed empty lines to save space):
Modify this by changing
\grelastofline
to\grelastofscore
and moving\grenewline
to be right after\gredivisiofinalis{}
. You should end up with something like the following:I think that there should either be a TeX switch that adds code to
\grefinaldivisiofinalis{0}
(what you usually get for the last syllable you end your gabc with(::)
) or gregorio should recognize(::z)
as requiring that code.Note: Adding
\grenewline
to between lines 1534 and 1536 ofgregoriotex-signs.tex
has the desired effect. All that's needed is a switch.Also, are there ever occasions when
\grefinaldivisiofianlis{0}
doesn't end the score? My quick testing didn't reveal any. If this is true, then\grelastofline
in this function should be changed to\grelastofscore
(though it doesn't seem to have any visible effect in my testing).The text was updated successfully, but these errors were encountered: