From 0f20066a589579eb705836fda186d5b046075db5 Mon Sep 17 00:00:00 2001
From: Christos Choutouridis <hoo2@hoo2.net>
Date: Sun, 3 Nov 2024 20:37:39 +0200
Subject: [PATCH] document subTitle added

---
 AUTHReport.cls         | 17 ++++++++++-------
 AUTHReportTemplate.tex |  3 ++-
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/AUTHReport.cls b/AUTHReport.cls
index 888644b..e94a669 100644
--- a/AUTHReport.cls
+++ b/AUTHReport.cls
@@ -231,6 +231,7 @@
 \newcommand*{\WorkGroup}[1]{\def\auth@workGroup{#1}}
 
 \newcommand*{\DocTitle}[1]{\def\auth@docTitle{#1}}
+\newcommand*{\DocSubTitle}[1]{\def\auth@docSubTitle{#1}}
 \newcommand*{\Department}[1]{\def\auth@department{#1}}
 \newcommand*{\ClassName}[1]{\def\auth@className{#1}}
 
@@ -251,12 +252,13 @@
         \end{figure}
         % Titles
         \center                                 % Center everything on the page
-        \textbf{}                        \\[3.5cm]   % vertical space
-        \textsc{\Large \auth@department} \\[0.5cm]   % Department
-        \textsc{\Large \auth@className}  \\[1.5cm]   % Class/Course name
-        \Hrule                           \\[0.4cm]   % -------
-        {\huge \bfseries \auth@docTitle} \\[0.1cm]   % Document/Assignement Title
-        \Hrule                           \\[3.5cm]   % -------
+        \textbf{}                            \\[3.5cm]   % vertical space
+        \textsc{\Large \auth@department}     \\[0.5cm]   % Department
+        \textsc{\Large \auth@className}      \\[1.5cm]   % Class/Course name
+        \Hrule                               \\[0.4cm]   % -------
+        {\huge \bfseries \auth@docTitle}     \\[0.4cm]   % Document/Assignement Title
+        {\LARGE \bfseries \auth@docSubTitle} \\[0.1cm]   % Document/Assignement Sub-Title
+        \Hrule                               \\[3.5cm]   % -------
         % vertical space
         % Authors
         \begin{minipage}{0.4\textwidth}
@@ -306,6 +308,7 @@
         \textsc{\Large \auth@department}     \\[0.4cm]   % Department
         \textsc{\Large \auth@className}      \\[0.1cm]   % Class/Course name
         {\Large \bfseries \auth@docTitle}    \\[0.2cm]   % Document/Assignement Title
+        {\large \bfseries \auth@docSubTitle} \\[0.2cm]   % Document/Assignement Sub-Title
         {\large \auth@date}                  \\[0.4cm]   % date
         % Authors
         \begin{minipage}{0.4\textwidth}
@@ -338,7 +341,7 @@
     \end{center}
 }
 
-\newcommand{\Title}{%
+\newcommand{\InsertTitle}{%
     \ifnum \isequal{\auth@short}{no}=0
         \authTitlePage
     \else
diff --git a/AUTHReportTemplate.tex b/AUTHReportTemplate.tex
index 1abd80a..3b9092b 100644
--- a/AUTHReportTemplate.tex
+++ b/AUTHReportTemplate.tex
@@ -20,6 +20,7 @@
 %\WorkGroup{Ομάδα 3}
 
 \DocTitle{Τίτλος Title}
+\DocSubTitle{2ον  τίτλος}
 \Department{Computer εργαστήριο}
 \ClassName{PDS πααλληλα}
 
@@ -33,7 +34,7 @@
 
 \begin{document}
 
-\Title
+\InsertTitle
 
 \section{Εισαγωγή Intro}
 \lipsum[1-4]