On 2015-02-15 7:58 AM, Abbazia Mater Ecclesiae wrote:
1) Which argument is needed to tune \spacelinestext, \spaceabovelinesand
\spacebeneathtextcommands? I’m not able to find a way to tune this
spaces. I’d like to have a \spacelinetextparameter fixed by user, based
on the distance between (e) note and text (it’s 4mm in Solesmes’
editions), then everything should work automatically, and Gregorio
should shift down text as much as notes go down.
>
Is this the way Gregorio works? Is there a way to make this available in
Gregorio? Or should I find a compromise between my desires and a good
Gregorio’s vertical spaces algorithm tuning?

I'm not 100% sure what you're looking for here, so I'm going to answer in something of a general manner.

Distances are changed with the command \grechangedim{#1}{#2}. The first argument is the dimension you want to change and the second in the value you want it to have. Also, under current implementation, all Gregorio distances have a "gre" prefix, so the distances you're interested in are \grespacelinestext, \grespaceabovelines, and \grespacebeneathtext. Finally, if you're not using the default grefactor, you need to change it before changing these dimensions in order for them to reflect the real dimensions (changing the grefactor automatically rescales all distances).

\grespacelinestext text is the distance between the lowest line of the staff and the baseline of the text if the lowest note of the score is (c) or higher. If the lowest note of the score is (a) then \grespacelinestext is the distance from the added line for the note (a) and the text (and it applies to the score universally, not just on lines with an (a)). If the lowest note of the score is (b) then it's the distance from halfway between the lowest staff line and the added line and the baseline of the text. If you want a specific distance from the top of the text to the notes, then you'll need to add the height of the text to the distance you're playing with. The easiest way to do this is by use of a dummy distance:

\newlength{\test}
\setlength{\test}{4mm}
\addtolength{\test}{11pt} %<- Set this to the height of your text.
\grechangedim{\grespacelinestext}{\test}

In this fashion, LaTeX will handle the unit conversion and math for you.


2) I’d like to have always the same space at the beginning of each chant, and 
not a variable space depending on what kind of consonant I have (as in 
Solesmes’ last AM). This space should be fixed in 1,3 mm about, or {1em + 3,2 
mm before and after}.

So I need to replace the commands:

\setspaceafterinitial{3,2mm plus 0mm minus 0mm}

\setspacebeforeinitial{3,2mm plus 0mm minus 0mm}

with something else which makes this space not depending on initial width…

What should I do to get this? :)

This is a bit tricky at the moment. I could come up with a work around, but I think my time is better spent fixing the code itself to make this more straight forward. Expect a follow up post about this later in the week.

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ

_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users

Reply via email to