From dce9f328d8225ef41b0d8ad0685a9364b8130230 Mon Sep 17 00:00:00 2001
From: Sami Nuuttila <samnuutt@utu.fi>
Date: Wed, 25 Aug 2021 10:04:02 +0300
Subject: [PATCH] annales.cls: fix for more than 6 publications; example.tex:
 fix typo

---
 annales.cls | 5 +++++
 example.tex | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/annales.cls b/annales.cls
index a1fa12c..bc8ae0b 100644
--- a/annales.cls
+++ b/annales.cls
@@ -298,6 +298,11 @@
   \Tabfalse\Labeltrue
   \addtolength{\boxskip}{35mm}
   \stepcounter{origpaperscnt}
+  % if we have 6th publication move the sidetabs back to top,
+  % surely nobody sane has more than 11?
+  \ifnum\value{origpaperscnt} = 6
+  \setlength{\boxskip}{0mm}
+  \fi
   % lets try to keep info beside the numbered tab in the margin
   \ifnum\value{origpaperscnt} > 1
   \vspace*{\dimexpr\boxskip-6mm\relax}
diff --git a/example.tex b/example.tex
index ebea7b5..97ea562 100644
--- a/example.tex
+++ b/example.tex
@@ -214,7 +214,7 @@ are referred to in the text by their Roman numerals:
   \item[IV] Author(s) of the publication. Full title of the publication. Journal, publishing ear; issue number: pages.
 \end{entry}
 
-\noindent The list of original publications have been reproduced with the permission of the copyright holders.
+\noindent The original publications have been reproduced with the permission of the copyright holders.
 
 %%%
 %%% insert your additional chapters
-- 
GitLab