lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Opus" positioning


From: josh
Subject: "Opus" positioning
Date: Sat, 14 May 2022 11:35:47 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

I use a slightly modified header and I am trying to position the composer, arranger, and opus (which I am using for additional arranger information) fields evenly.

I can move the arranger field up and down using \raise and \lower, however the opus field doesn't respond to such commands as it is called using a different part of the titling markup.

Below is a picture of what I currently have:

This is layout
        I've currently been able to achieve. Note how there is more
        space after the composer field than after the arranger field.

I would like to have the composer, arranger, and opus ("Additional Information") field evenly vertically spaced here. Below is the coding I have so far:

\version "2.22.2"

\paper {
  #(set-paper-size "ansi a")
  #(define fonts
     (set-global-fonts
      #:music "profondo"
      #:brace "profondo"
      ))
  oddHeaderMarkup =
  \markup
  \on-the-fly #not-part-first-page
  \override #'(font-name . "Libre Franklin Light") \small
  \fill-line {
    \center-column {
      \fromproperty #'header:piece
      \line {
        \fromproperty #'header:instrument
        \on-the-fly #print-page-number-check-first {
          \char ##x2013 \small \caps Pg.
          \fromproperty #'page:page-number-string
  }}}}
  evenHeaderMarkup = \oddHeaderMarkup
  bookTitleMarkup = \markup {
    \override #'(baseline-skip . 6)
    \column {
      \fill-line \teeny { \override #'(font-name . "Libre Franklin Thin") \fromproperty #'header:dedication }
      \override #'(baseline-skip . 3.5)
      \column {
        \fill-line {
          \huge \larger \larger \bold
          \fromproperty #'header:title
        }
        \fill-line {
          \large \bold
          \fromproperty #'header:subtitle
        }
        \fill-line {
          \smaller \bold
          \fromproperty #'header:subsubtitle
        }
        \fill-line {
          \fromproperty #'header:instrument
          \fromproperty #'header:composer
        }
        \fill-line \raise #.8 {
          \fromproperty #'header:meter
          \fromproperty #'header:arranger
  }}}}
  scoreTitleMarkup = \markup { \column {
    \on-the-fly \print-all-headers { \bookTitleMarkup \hspace #1 }
    \fill-line {
      \fromproperty #'header:meter
      \fromproperty #'header:opus
}}}}

\header {
  dedication = "A long and lovely dedication for a piece of music."
  title = \markup \override #'(font-name . "Libre Baskerville Bold") { \abs-fontsize #30 \caps "The Title" }
  subtitle = \markup { \override #'(font-name . "Libre Franklin Light") \concat { \normalsize \smallCaps "Part One " \huge "|" \normalsize \smallCaps " Part Two " \huge "|" \normalsize \smallCaps " Part Three" }}
  subsubtitle = ""
  composer =  \markup \right-column { \concat { \override #'(font-name . "Libre Franklin Thin") \teeny \smallCaps { "composed by  " } \override #'(font-name . "Libre Franklin Light") \smallCaps "Composer Here" }}
  arranger= \markup \right-column { \concat { \override #'(font-name . "Libre Franklin Thin") \teeny \smallCaps { "arranged by  " } \override #'(font-name . "Libre Franklin Light") \smallCaps "Arranger Here" }}
  opus = \markup \right-column { \concat { \override #'(font-name . "Libre Franklin Thin") \teeny \smallCaps { "arranged by  " } \override #'(font-name . "Libre Franklin Light") \smallCaps "Additional Information" }}
  instrument = \markup { \override #'(font-name . "Libre Franklin Light") \smallCaps "Instrument" }
  tagline = ""
  copyright = ""
  poet = ""
  meter = ""
  piece = \markup { \override #'(font-name . "Libre Franklin Light") \caps "Title Again" }
}

Excuse some of the mess, I'm currently cleaning this up. Any assistance on the vertical spacing would be greatly appreciated.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]