Files
folkugat-web/folkugat_web/assets/templates/lilypond/playlist.ly
2025-12-21 15:40:21 +01:00

50 lines
957 B
Plaintext

{{ score_beginning }}
\version "2.24.4"
{% include "lilypond/lib.ly" %}
\book {
\paper {
top-margin = 10
left-margin = 15
right-margin = 15
ragged-bottom = ##f
scoreTitleMarkup = \markup {
\center-column {
\fontsize #3 \bold \fromproperty #'header:piece
\fill-line {
\null
\right-column {
\fromproperty #'header:composer
}
}
}
}
}
\header {
title = \markup { "{{ playlist.title | safe }}" }
tagline = "Partitura generada amb LilyPond"
copyright = "Folkugat"
}
{% for set in playlist.sets %}
{% if set.tunes|length > 1 %}
\markup {
\vspace #2
\fill-line {
\center-column {
\fontsize #2 \bold "{{ set.title | safe }}"
}
}
}
\noPageBreak
{% endif %}
{% for tune in set.tunes %}
{% include "lilypond/tune_in_set.ly" %}
{% endfor %}
{% endfor %}
}