Re: "Opus" positioning

2022-05-14 Thread josh
I actually tested that shortly after I sent the original post and will 
definietly be utilizing something like that. Thanks!


On 5/14/2022 12:42, Kieren MacMillan wrote:

Hi Josh,


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.

One note (especially if this is a "housestyle" that will be used again): No 
need to overload the opus field. Just add a new field! e.g.

%%%  SNIPPET BEGINS
\version "2.23.4"

\header {
   title = "My Piece"
   opus = "22"
   additional-arranger = "Arranger II"
}

\paper {
   bookTitleMarkup = ##f
   scoreTitleMarkup = \markup \column {
 \fill-line { "" \bold \fontsize #4 \fromproperty #'header:title "" }
 \fill-line { "" \concat { "OPUS: " \fromproperty #'header:opus } "" }
 \fill-line { "" "" \concat { "Additional Arranger: " \fromproperty 
#'header:additional-arranger } }
   }
}

\score { c'1 }
%%%  SNIPPET ENDS

Hope that helps!
Kieren.




Re: "Opus" positioning

2022-05-14 Thread Kieren MacMillan
Hi Josh,

> 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. 

One note (especially if this is a "housestyle" that will be used again): No 
need to overload the opus field. Just add a new field! e.g.

%%%  SNIPPET BEGINS
\version "2.23.4"

\header {
  title = "My Piece"
  opus = "22"
  additional-arranger = "Arranger II"
}

\paper {
  bookTitleMarkup = ##f
  scoreTitleMarkup = \markup \column {
\fill-line { "" \bold \fontsize #4 \fromproperty #'header:title "" }
\fill-line { "" \concat { "OPUS: " \fromproperty #'header:opus } "" }
\fill-line { "" "" \concat { "Additional Arranger: " \fromproperty 
#'header:additional-arranger } }
  }
}

\score { c'1 }
%%%  SNIPPET ENDS

Hope that helps!
Kieren.


Re: "Opus" positioning

2022-05-14 Thread Paul Hodges
Try using vspace instead of raise/lower.  I put \vspace #.15 in front of the 
\concat in the opus markup, which had about the right effect.


Paul



 From:   josh  
 To:
 Sent:   14/05/2022 16:35 
 Subject:   "Opus" positioning 

 
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: 
 
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.
  
 

 

"Opus" positioning

2022-05-14 Thread josh
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.