From bb2f829e2f23d366bf3e91a14541dff5b2c50aca Mon Sep 17 00:00:00 2001 From: shahondin1624 Date: Thu, 2 Apr 2026 19:24:18 +0200 Subject: [PATCH] Remove trailing hline after last TOC entry Replace \hline with \\* in songtocrow to avoid an empty partial row appearing after the last song in the table of contents. Co-Authored-By: Claude Opus 4.6 (1M context) --- songbook-style.sty | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/songbook-style.sty b/songbook-style.sty index 02afef5..aeb0409 100644 --- a/songbook-style.sty +++ b/songbook-style.sty @@ -165,8 +165,7 @@ % --- Render one TOC row --- % #1=title #2=BuLiBu #3=CL #4=SwA #5=Barde #6=LiBock #7=page \newcommand{\songtocrow}[7]{% - #1 & #2 & #3 & #4 & #5 & #6 & \cellcolor{tocheadgray}\textbf{#7} \\ - \hline + #1 & #2 & #3 & #4 & #5 & #6 & \cellcolor{tocheadgray}\textbf{#7} \\* } % --- Rotated column header ---