Improve merge_chord_lyric() to snap chord positions to the start
of the word they fall within, instead of splitting words mid-way.
Fixes artifacts like "Liebespaar \chord{C}e" → "\chord{C}Liebespaare".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
905 B
TeX
36 lines
905 B
TeX
\begin{song}{
|
||
title = {Der da vorn so laut},
|
||
lyrics = {Otto Leis},
|
||
composer = {Otto Leis},
|
||
cl = 64,
|
||
swa = 37,
|
||
barde = 49,
|
||
libock = 56,
|
||
}
|
||
|
||
\begin{verse}
|
||
Der da \chord{D}vorn so \chord{A}laut die \chord{D}Trommel, Trommel schlägt, \\
|
||
hat auch \chord{A}ein \chord{D}Herz. \\
|
||
Und so trommelt \chord{A}er, damit \chord{D}die Zeit vergeht \\
|
||
und auch \chord{A}der \chord{D}Schmerz.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Ref.: \\
|
||
Es \chord{A}regnet schon lang, zehn Tage mag sein, \\
|
||
/: \chord{D}Kamerad, denkst \chord{G}du noch \chord{D}daran, \\
|
||
\chord{G}an \chord{D}Liebe \chord{A}und \chord{D}Wein? :/
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Wo kommen wir eigentlich her, wer weiß das noch? \\
|
||
Weiter marschiert das Heer, wen es soll, trifft’s ja doch.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Es schauet der Hauptmann sich um, wer ist's, der fehlt? \\
|
||
Und er bewegt den Mund, grad als ob er uns zählt.
|
||
\end{verse}
|
||
|
||
\end{song}
|