Rendering code refactor
This commit is contained in:
31
folkugat_web/assets/templates/lilypond/tune_set.ly
Normal file
31
folkugat_web/assets/templates/lilypond/tune_set.ly
Normal file
@@ -0,0 +1,31 @@
|
||||
{{ score_beginning }}
|
||||
\version "2.24.4"
|
||||
\book {
|
||||
\paper {
|
||||
top-margin = 10
|
||||
left-margin = 15
|
||||
right-margin = 15
|
||||
|
||||
scoreTitleMarkup = \markup {
|
||||
\center-column {
|
||||
\fontsize #3 \bold \fromproperty #'header:piece
|
||||
\fill-line {
|
||||
\null
|
||||
\right-column {
|
||||
\fromproperty #'header:composer
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
\header {
|
||||
title = \markup { "{{ tune_set.title | safe }}" }
|
||||
tagline = "Partitura generada amb LilyPond"
|
||||
copyright = "Folkugat"
|
||||
}
|
||||
|
||||
{% for tune in tune_set.tunes %}
|
||||
{% include "lilypond/tune_in_set.ly" %}
|
||||
{% endfor %}
|
||||
}
|
||||
Reference in New Issue
Block a user