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>
39 lines
1.4 KiB
TeX
39 lines
1.4 KiB
TeX
\begin{song}{
|
||
title = {WHat’s right (Ye Jacobites)},
|
||
lyrics = {Robert Burns (1759-1796), 1791},
|
||
composer = {schottisches Traditional},
|
||
bulibu = 200,
|
||
bulibull = 3,
|
||
cl = 60,
|
||
barde = 359,
|
||
}
|
||
|
||
\begin{verse}
|
||
What’s \chord{e}right and what is wrong by the \chord{G}law, by the \chord{D}law? \\
|
||
What’s \chord{e}right and what is wrong \chord{D}by the \chord{e}law? \\
|
||
\chord{D}What’s \chord{G}right and what is wrong by \chord{D}short or by long? \\
|
||
A \chord{e}weak arm or a strong \chord{D}for to \chord{e}draw, for to \chord{D}draw? \\
|
||
A \chord{e}weak arm or a strong \chord{D}for to \chord{e}draw. \\
|
||
Ye \chord{e}Jacobites by name lend an \chord{G}ear, lend an \chord{D}ear. \\
|
||
Ye \chord{e}Jacobites by name \chord{D}lend an \chord{e}ear. \\
|
||
\chord{D}Ye \chord{G}Jacobites by name, your \chord{D}faults I will proclaim, \\
|
||
Your \chord{e}doctrines I must blame you shall \chord{G}hear, you shall \chord{D}hear. \\
|
||
Your \chord{e}doctrines I must blame \chord{D}you shall \chord{e}hear.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
What makes heroic strife, famed afare, famed afare. \\
|
||
What makes heroic strife, famed afare. \\
|
||
What makes heroic strife, to whet assassins knife \\
|
||
or bound a parents life neith bloody war, bloody war.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
Then leave your shemes alone in the state, in the state. Then \\
|
||
leave your shemes alone in the state. \\
|
||
Then leave your shemes alone and adore the rising sun and \\
|
||
leave a man undone to his fate.
|
||
\end{verse}
|
||
|
||
\end{song}
|