I think the way to look at this would be to add a parameter to the
gsp-default.tex for a minimum amount of space above the top line of the top
chant staff, because if you add space below the title section itself, I
don't think it would be possible to know whether there will already be
space from elements that extend above the top line of the staff, such as a
clef on the top line, a quarter bar, a neume containing a k, l, or m tone,
or an episema that is above the top line of the clef.

The problem with simply adding space to the commentary is that it will add
space regardless, and thus there will be too much space if the clef is c4
or there is a quarter bar on the first line, etc.

Unfortunately, I don't understand TeX well enough to be able to implement
something like this.

*Benjamin Bloomfield*

On Tue, Dec 6, 2011 at 06:49, Innocent Smith <[email protected]> wrote:

> Dear Adam,
>
> I've noticed this issue also.
>
> It seems like the relevant section of the Gregorio code is fairly simple:
> in Gregoriotex.tex, there is the following code:
>
> \def\commentary#1{%
>   \vbox{\hfill\hbox{#1}}%
>   \relax %
> }
>
> It may be possible to redefine this to create more padding. Does anyone
> have a sense of what would be best in this case? If I don't hear back from
> anyone, I can try a few experiments, but perhaps it is quite easy in
> principle. Is it as easy as creating some \vspace ?
>
> Another way to approach this issue would be to use a tag like
> \subsubsection and redefine it to have the padding you want. Here is an
> example of how I used the titlesec package to automate the various headings
> for a large-scale project I'm working on:
>
> \usepackage[compact]{titlesec}
> \titlespacing*{\chapter}{0pt}{*0}{*1}
> \titlespacing*{\section}{0pt}{*0}{*1}
> \titlespacing*{\subsection}{0pt}{*0}{*1}
> \titlespacing*{\subsubsection}{0pt}{10pt}{*0}
> \titleformat{\chapter} {\normalfont\LARGE\sc\center}{\thechapter}{1em}{}
> \titleformat{\section} {\normalfont\Large\sc\center}{\thesection}{1em}{}
> \titleformat{\subsection}
> {\normalfont\large\sc\center}{\thesubsection}{1em}{}
>
> \titleformat{\subsubsection}{\normalfont\normalsize\it}{\thesubsubsection}{1em}{}
>
> It might be possible to redefine the \subsubsection to be the proper
> formating you desire, setting the formating in the \titleformat part and
> the spacing in \titlespacing -- I haven't played around with titlesec for a
> few months, so I can't recall offhand how all the paramaters work. If we
> don't hear back from anyone about the \commentary tag, I can try spending
> some time to figure this out.
>
> Incidentally, these titlesec tags are a great help for large projects,
> because you can then use the native latex functions of chapters and
> sections and so forth to organize a long book, and have the table of
> contents appear in  an ordered way and so forth.
>
> Best wishes for the Advent season,
>
> bro. Innocent, op
>
> On Tue, Dec 6, 2011 at 12:40 AM, Adam Bartlett <
> [email protected]> wrote:
>
>> Dear Friends,
>>
>> Please pardon my asking this question again, but I didn't get much of an
>> answer last time, so I thought I would try one more time:
>>
>> Is there any way to set a minimum spacing between the top of the staff
>> (regardless of elements that reach above the staff) and the bottom of the
>> commentary (and user-notes) produced text?
>>
>> The problem I'm encountering is that when none of the neume elements
>> reach the top or above the top line (including a lack of a quarter bar) the
>> commentary text becomes uncomfortably cramped with the top line. Here is an
>> example:
>>
>>
>>
>>
>> My desire would be for some padding to be automatically added in these
>> instances to make the commentary and user-notes text the same as is found
>> in the typical arrangement when text reaches above this top line, e.g.:
>>
>>
>>
>>
>> I sense that there is no current way to do this. For those who don't
>> know, I am using Gregorio to typeset all antiphons and chants in the
>> forthcoming *Lumen Christi Missal <http://www.illuminarepublications.com>
>>  *which will be a widely distributed pew book through out the United
>> States. I would be happy to make a donation the lead developers of Gregorio
>> if such a feature could be added to this incredible, and in my option, best
>> chant engraving software.
>>
>> If interested please email me.
>>
>> Many thanks for all that you do.
>>
>> Regards,
>>
>> Adam Bartlett
>> Illuminare Publications
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Gregorio-users mailing list
>> [email protected]
>> https://mail.gna.org/listinfo/gregorio-users
>>
>>
>
> _______________________________________________
> Gregorio-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/gregorio-users
>
>
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users

Reply via email to