[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: header properties not visible within score
From: |
Aaron Hill |
Subject: |
Re: header properties not visible within score |
Date: |
Tue, 07 May 2019 03:14:48 -0700 |
User-agent: |
Roundcube Webmail/1.3.8 |
On 2019-05-07 12:24 am, Markus Rother wrote:
I am trying to mimick a Jazz Realbook as presented here:
http://leighverlag.blogspot.com/2015/12/mimicking-real-book-look.html.
However, instead of creating a single sheet/score, I want to join
multiple, independent scores from separate files into a book. Each
score
should be valid lilypond and contain all self-describing metadata. The
style definition for all scores should not be replicated, but rather
kept in the main file, laying out the whole book. I want the solution
to
be lilypond/guile only without relying on templating engines, makefiles
or alike. So, that's the plan.
Hmm... If the goal is simply to have staff lines with the markup, why
not use \overlay?
Here are the relevant bits, excerpted from the attached file:
%%%%
scoreTitleMarkup = \markup \overlay {
\lower #1 \fontsize #2 \fill-line {
\rotate #5 \concat {
\hspace #1 "(" \fromproperty #'header:instruction ")"
}
\scale #'(1 . 1.618) \underline \fontsize #3
\fromproperty #'header:title
\concat {
\char ##x2013 " " \fromproperty #'header:composer \hspace #1
}
}
\score {
\new Staff \with { \omit Clef \omit TimeSignature } { s }
\layout { indent = 0 ragged-right = ##f }
}
}
%%%%
-- Aaron Hill
header-stafflines.ly
Description: Text document
header-stafflines.pdf
Description: Adobe PDF document