Improved lyrics rendering

This commit is contained in:
marc
2025-04-05 23:09:20 +02:00
parent 211a1fbb05
commit 7a823a98ab
6 changed files with 44 additions and 25 deletions

View File

@@ -27,20 +27,29 @@
>>
}
{% if lyrics_text is not none %}
{% for line in lyrics_text.lines %}
\markup {
\vspace #2
\fill-line {
{% for paragraph in line.paragraphs %}
\hspace #1
{% for column in lyrics_text.columns %}
\center-column {
{% for paragraph in column.paragraphs %}
{% for line in paragraph.lines %}
\line { {{ line | safe }} }
{% endfor %}
\vspace #1
{% endfor %}
}
\hspace #1
{% endfor %}
\hspace #1
}
}
{% if loop.index < lyrics_text.lines|length %}
\markup {
\vspace #1
\fill-line {
\override #'(span-factor . 4/9)
\draw-hline
}
}
{% endif %}
{% endfor %}
{% endif %}