Space between lines in Illuminare?
  • Ianudell
    Posts: 4
    I was making a list of the Alleluias in GABC but when I try to put in a pdf it is all squished together. Does anyone know how I would be able to put space between the Alleluias to space it out?The GABC I have is attatched.
  • MatthewRoth
    Posts: 3,212
    I’m not sure what you’re trying to do. My understanding is that you have the gabc needed to generate scores, which are all in one document right now, and the staves for one score are close to the other.

    You have there a bunch of things that you would save to your computer as a separate file with the extension .gabc to be used with Gregorio.

    Those are also used individually by Illuminare/Source and Summit and the web editor for Gregorio run by our very own @chonak.

    You can put all of the gabc in one file with one header (the name header is necessary, but the visual editors and the website run by Ben Bloomfield sometimes use outdated headers).

    The way to create scores with custom spacing between scores is to run LaTeX yourself. In your .tex document, you can run \gregorioscore for each of your Alleluias, each in its own .gabc file, and from there you can insert space if you’re not happy with the default spacing. That is the best way to do things. (You’ll create a bunch of problems if you have one .gabc file: you can change clefs, but then you’ll have issues trying to insert space between the staves, so don’t do this).

    You can’t really tweak anything with the online visual editors other than the features for which there is something to touch (the typeface, the initial size, the vowel centering, etc.)
  • a_f_hawkins
    Posts: 3,627
    Ianudell - you know about the 'notes' z and Z, for linebreaks? example on the third exemplar line here:-
    https://gregoriochant.org/dokuwiki/doku.php/cheat_sheet#gabc_notation_summary
  • MatthewRoth
    Posts: 3,212
    Yeah, that's the other thing, but it doesn't work so well with the visual web editors, since you can't suppress the custos (the whole point of the description language is that it's format-independent, it just has to be supported by your chosen format, but you have to keep up with the newer features, and nobody has…).

    and the space between the staves is what it is.
    Thanked by 1Ianudell
  • chonakchonak
    Posts: 9,090
    Besides adding space between the scores, you'd want to have each new score start with a large initial letter and an indication of the mode. As far as I know, changing modes isn't possible within a single GABC file.

    As Matthew mentioned, you could install LaTeX on your own computer and write a single LaTeX document file to invoke each GABC file in turn; then you would get all the scores in a single document with multiple scores per page.

    Alternatively, if you aren't already familiar with writing LaTeX document files, you could use some more basic methods: (1) process each GABC file separately; (2) convert each PDF output file to an image file (e.g., PNG or JPG), using an image editor program such as GIMP (free) or Photoshop; (3) crop each score image to a size with reasonable margins, then save the cropped version; and (4) assemble the images in a new document file using a word-processor.

    Thanked by 1Ianudell
  • MatthewRoth
    Posts: 3,212
    No, it’s not possible to change modes with one .gabc file, since either the annotation or mode line above the %% (as is the case for the web editors like Illuminare/Source and Summit or if you use LaTeX and don’t change anything) or the annotation in your LaTeX document give the mode. But you can’t change it mid-file to have a new score.

    Yeah, there are lots of ways to slice and dice it.
  • joerg
    Posts: 142
    You can replace all the AL's with AL<v>\vtop to 3cm{\hsize=0cm}</v>
    -- replacing the "3cm" with whatever vertical distance you want.
    Thanked by 1Ianudell
  • MatthewRoth
    Posts: 3,212
    although that is not a great idea.
  • Ianudell
    Posts: 4
    joerg--That seemed to work really well in Illuminare, Thank you so much! Here is the final product attatched and GABC:
    Alleluia a la Chants Abreges Spaced.pdf
    14K
    Alleluia a la Chants Abrégés Spaced.gabc
    2K
  • MatthewRoth
    Posts: 3,212
    You’re missing hyphens in half of the examples. The space between the last letter and the opening parenthesis or tag in this case (and then the closing tag followed by the opening parenthesis) causes Gregorio to treat it as a new word, albeit inconsistently for some reason.

    You need to remove the extra spaces; conversely, the notes in parentheses for a syllable followed by parentheses with the punctuation mark used for any kind of bar line are followed by a space, lest a hyphen be inserted.

    Anyway, the GUI is sort of ruined by using multiple files at once, and Illuminare (the OG version) apparently does run a limited form of LaTeX on the gabc file, but it doesn’t know to hide the tags, and neither it nor the Alpha version of the Source and Summit editor support later additions to GABC, the description language (not the file extension of the same name) made after Gregorio 3.0.
  • joerg
    Posts: 142
    Lanudell: in your gabc code there are blanks before the <v> and after the </v>. You should remove these blanks.
    By the same hack you can also get additional space after the caption.
    Chants_abreges.gabc
    2K
    Chants_abreges.pdf
    22K
    Thanked by 1Ianudell