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>
30 lines
973 B
TeX
30 lines
973 B
TeX
\begin{song}{
|
||
title = {Wo´s nur Felsen},
|
||
lyrics = {Werner Helwig},
|
||
composer = {Russisches Nomadenlied},
|
||
cl = 12,
|
||
swa = 297,
|
||
barde = 388,
|
||
}
|
||
|
||
\begin{verse}
|
||
\chord{d}Wo´s nur Felsen gibt, da bin ich \chord{A}geboren, / \\
|
||
früh ward ich geliebt, früh bekam ich \chord{d}Sporen, / \\
|
||
\chord{g}Dolch und \chord{d}Silberschloss, \chord{g}wählte mir mein \chord{d}Ross, / \\
|
||
\chord{A}tanzte manchen Tanz, Kelche trank ich \chord{d}ganz. \\
|
||
Ref.: \\
|
||
/: \chord{d}Wir sind voller Märchen \chord{A}und \chord{A7}Legenden, / \\
|
||
\chord{d}wir haben Schwielen von den \chord{g}Säbeln an den Händen, / \\
|
||
wir schlafen tags und \chord{d}durchreiten die Nächte, / \\
|
||
\chord{A}stolz auf die Narben vom \chord{d}letzten Gefechte.:/
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Wo im ew´gen Schnee stolz der Kasbek thront, / \\
|
||
hat im stillen Tal einst mein Ahn gewohnt. / \\
|
||
War ein starker Held, kühn und wohlgemut, / \\
|
||
starb von Feindeshand jäh in seinem Blut.
|
||
\end{verse}
|
||
|
||
\end{song}
|