From 0cda5f110b77a46cc447bd4796f0c9e98e9ca2d4 Mon Sep 17 00:00:00 2001
From: Jan Wille <jan.wille@stud.hs-hannover.de>
Date: Fri, 4 Aug 2023 22:12:44 +0200
Subject: [PATCH] add `%` to remove space after author+matrikelnummer tabular

without the percent symbol, the whitespace will be rendered as a single
space and leave a gap

closes #10
---
 CHANGELOG.md        | 1 +
 HsH-classes.dtx     | 2 +-
 src/HsH-article.cls | 2 +-
 src/HsH-report.cls  | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b06d7be..13c5db6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
 ### Fixed
 
 - `\ihead` and `\ohead` now have a max width and will break into multiple lines (#7)
+- `\maketitle[r]` now correctly allgines the author+matrikelnumber tabular (#10)
 
 
 ## [1.4] - 2022-03-28
diff --git a/HsH-classes.dtx b/HsH-classes.dtx
index d24a999..62c1a47 100644
--- a/HsH-classes.dtx
+++ b/HsH-classes.dtx
@@ -561,7 +561,7 @@
             \if\@param l\begin{tabular}{@{}l l}\printtabtoks\end{tabular}\fi
             \if\@param c\begin{tabular}{l l}\printtabtoks\end{tabular}\fi
             \if\@param r\begin{tabular}{r r@{}}\printtabtoks\end{tabular}\fi
-          }
+          }%
         \fi
       \fi}
 %<article>      \vskip 1em
diff --git a/src/HsH-article.cls b/src/HsH-article.cls
index 3dce6a6..58def1a 100644
--- a/src/HsH-article.cls
+++ b/src/HsH-article.cls
@@ -392,7 +392,7 @@
             \if\@param l\begin{tabular}{@{}l l}\printtabtoks\end{tabular}\fi
             \if\@param c\begin{tabular}{l l}\printtabtoks\end{tabular}\fi
             \if\@param r\begin{tabular}{r r@{}}\printtabtoks\end{tabular}\fi
-          }
+          }%
         \fi
       \fi}
       \vskip 1em
diff --git a/src/HsH-report.cls b/src/HsH-report.cls
index e884c4a..55f3fc7 100644
--- a/src/HsH-report.cls
+++ b/src/HsH-report.cls
@@ -424,7 +424,7 @@
             \if\@param l\begin{tabular}{@{}l l}\printtabtoks\end{tabular}\fi
             \if\@param c\begin{tabular}{l l}\printtabtoks\end{tabular}\fi
             \if\@param r\begin{tabular}{r r@{}}\printtabtoks\end{tabular}\fi
-          }
+          }%
         \fi
       \fi}
       \vskip 1.5em
-- 
GitLab