-
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
Integrate commentary into score #662
Comments
Here's an attempt to control the distance between \makeatletter
\xdef\raisecommentary{1.4ex}
\def\grecommentary{\@ifnextchar[{\gre@commentary}{\gre@commentary[0pt]}}%
\def\gre@commentary[#1]#2{%
\ifhmode\par\fi %
\noindent\hbox to \hsize{\hfill #2}%
\par %
\kern\dimexpr#1+\raisecommentary-\baselineskip\relax %
\relax %
}
\makeatother This makes commentary closer to the lines by default, but the distance is tunable through an optional argument. I think it's a reasonable first step and it will help users using commentaries outside scores, but it doesn't really solve the issue... What do you think? Also, the example looks a bit better with the commentary in |
I propose #750 as a solution for passing custom headers to TeX. This proposed solution can be used to pass some header value to |
Because this information should be here for reference: @eroux started to try a fix based on his suggestion above the fix-662 branch. After looking it over, this was my response:
To this @eroux replied:
|
Echoing my email to gregorio-devel:
Kept.
These implement a style for the commentary field. I don't disapprove of this, but I feel that if the commentary field has a style associated with it, shouldn't the annotation as well? Especially after my rewrite, which makes If others feel the styles are worth including, then I can add both before submitting my PR. |
My guess is that the documentation changes for |
Good point. I'll have to make changes manually rather than using |
There could be a style for annotation indeed, but I don't see any particular default neither, and I'm just affraid that it will confuse users who use only mode in annotation: which style should they tune? How would you mix the different styles for mode and the style of annotation? |
Well, the mode styles apply only to modes set with |
With #786 merged, is everything from this issue done? |
I believe so. |
Yes, thanks a lot! |
As it stands, commentary is not part of a score, but rather a convenience command (
\grecommentary
) for printing right-aligned text. This request is that commentary be made part of the score, thereby allowing a couple of features:commentary
header field in gabc to transfer over much like the annotations fields do.For implementation I see rewriting
\grecommentary
so that it fills a box, much like\greannotation
does and then having that box be placed in the score by one of the macros used to construct the first line (again, much like the macro writing the initial is used to place the annotation box).The text was updated successfully, but these errors were encountered: