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>
38 lines
949 B
TeX
38 lines
949 B
TeX
\begin{song}{
|
||
title = {Ich komme schon},
|
||
lyrics = {Johann Wolfgang von Goethe},
|
||
composer = {Ludwig van Beethoven},
|
||
bulibu = 55,
|
||
bulibull = 2,
|
||
cl = 01,
|
||
swa = 128,
|
||
barde = 160,
|
||
libock = 192,
|
||
}
|
||
|
||
\begin{verse}
|
||
Ich \chord{e}komme schon durch \chord{H7}manche \chord{e}Land, \chord{H7}avec que \\
|
||
la marmotte, und \chord{e}immer was zu \chord{H7}essen \chord{e}fand, \chord{H7}avec \\
|
||
que la \chord{e}marmotte. \\
|
||
Ref.: \\
|
||
\chord{G}Avec que \chord{G}si, avec que \chord{e}la, avec que la \chord{H7}marmotte. \\
|
||
\chord{G}Avec que \chord{G}si, avec que \chord{e}la, avec que \chord{H7}la \chord{e}marmotte.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Ich hab gesehn gar manchen Herrn, \\
|
||
der hat die Jungfrau gar zu gern.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Hab' auch gesehn die Jungfer schön, \\
|
||
die täte nach mir Kleinem sehn.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Nun lasst mich nicht so geh´n, ihr Herrn, \\
|
||
die Burschen essen und trinken gern.
|
||
\end{verse}
|
||
|
||
\end{song}
|