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:
@@ -23,10 +23,10 @@
|
||||
% te das Boot doch die schnelle Flucht vor HJ-Streifen.
|
||||
|
||||
\begin{verse}
|
||||
In die S \chord{E}onne, die F \chord{H7}erne hina \chord{E}us, \\
|
||||
lasst die Sorgen, den \chord{H7}Alltag zu H \chord{E}au \chord{E7}s. \\
|
||||
/: Von Be \chord{A}rgen über grüne Auen \\
|
||||
l \chord{E}ohnt es sich, zu schauen \chord{H7}in die weite W \chord{E}elt. :/
|
||||
In die \chord{E}Sonne, die \chord{H7}Ferne \chord{E}hinaus, \\
|
||||
lasst die Sorgen, den \chord{H7}Alltag zu \chord{E7}Haus. \\
|
||||
/: Von \chord{A}Bergen über grüne Auen \\
|
||||
\chord{E}lohnt es sich, zu schauen \chord{H7}in die weite \chord{E}Welt. :/
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user