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>
34 lines
1.1 KiB
TeX
34 lines
1.1 KiB
TeX
\begin{song}{
|
||
title = {Der Holzschuhmann},
|
||
cl = 380,
|
||
}
|
||
|
||
\begin{verse}
|
||
Wir \chord{a}kamen an zum \chord{F}Holzschuhmann, er \chord{D}fesselt uns in \\
|
||
\chord{a}seinen Bann. In Holland auf dem \chord{F}Lagerplatz, da \chord{D}stapft er \\
|
||
rum, der \chord{G}große \chord{a}Spatz. \\
|
||
Der \chord{a}Tabak glüht, die \chord{F}Pfeife raucht, der \chord{D}Holzschuhmann hat, \\
|
||
\chord{C}was \chord{G}man \chord{a}braucht. In seiner Hütte kann \chord{F}man es leih‘n und \\
|
||
\chord{D}das umsonst, das \chord{G}ist \chord{a}echt fein.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Ref.: \\
|
||
/: \chord{F}Holzschuhmann, der \chord{C}Holzschuhmann. \chord{F}Holzschuhmann \\
|
||
hat \chord{D}Holzschuh \chord{a}an. :/
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Wenn wir \chord{a}ihn sahen, waren wir froh, auch \chord{F}beim Putzen vom \\
|
||
Jungenklo. Der \chord{D}gelbe Lappen kommt an \chord{C}die Wand, der \\
|
||
\chord{a}rote an den Schüsselrand. Er lehrte uns die Regeln hier, \\
|
||
kein \chord{F}Wodka, Wein, kein Schnaps, kein Bier. Er \chord{D}wohnt mit \\
|
||
Frau und \chord{C}Kind im Zelt, braucht \chord{a}keinen Strom und auch kein
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Geld.
|
||
\end{verse}
|
||
|
||
\end{song}
|