Fix chord alignment: snap to word boundaries
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>
This commit is contained in:
@@ -8,19 +8,19 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Zieh mit un \chord{e}s in die Welt, \\
|
||||
ob´s auch stür \chord{D}mt, ob Regen fäl \chord{G}lt, \\
|
||||
Zieh mit \chord{e}uns in die Welt, \\
|
||||
ob´s auch \chord{D}stürmt, ob Regen \chord{G}fällt, \\
|
||||
fis H7 \\
|
||||
durchbrich´ den Wall, der dich umgibt. \\
|
||||
cis \\
|
||||
Zieh´ mit uns in die Welt, \\
|
||||
mit Git \chord{E}arre und mit Zelt, \\
|
||||
mit \chord{E}Gitarre und mit Zelt, \\
|
||||
fis D H7 \\
|
||||
allein darin das Glück uns liegt.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
\: Und der G \chord{E}eist der F \chord{A}ahrt uns durchd \chord{E}ringt, alle \chord{H7}zeit. \\
|
||||
\: Und der \chord{E}Geist der \chord{A}Fahrt uns \chord{E}durchdringt, \chord{H7}allezeit. \\
|
||||
A Fis H7 \\
|
||||
Unsre Banner wehen stets im Wind. :/
|
||||
\end{verse}
|
||||
|
||||
Reference in New Issue
Block a user