|
|
@@ -5,36 +5,55 @@ |
|
|
|
% Χρήστος Χουτουρίδης ΑΕΜ 8997 |
|
|
|
% cchoutou@ece.auth.gr |
|
|
|
|
|
|
|
% Requirements |
|
|
|
% Configuration requirements as new commands |
|
|
|
% =============================================================== |
|
|
|
% |
|
|
|
% \ClassName: To print Class name |
|
|
|
% \DocTitle: To print document title |
|
|
|
% \AuthorName: Author's name |
|
|
|
% \AuthorMail: Author's mail |
|
|
|
% \AuthorAEM: Author's AEM |
|
|
|
% \CoAuthorName: Co-author's name [optional] |
|
|
|
% \CoAuthorMail: Co-author's mail [optional] |
|
|
|
% \DocTitle: To print document title (also in fancyheader) |
|
|
|
% \CoAuthorAEM : Co-author's AEM [optional] |
|
|
|
% \Department: The School |
|
|
|
% \ClassName: Class name to print (also in fancyheader) |
|
|
|
% \InstructorName: To print instructor's mame |
|
|
|
% \InstructorMail: To print instructor's mame |
|
|
|
% \CurrentDate: To print the date |
|
|
|
% |
|
|
|
% example: |
|
|
|
% \newcommand{\AuthorName}{Χρήστος Χουτουρίδης} |
|
|
|
% \newcommand{\AuthorMail}{cchoutou@ece.auth.gr} |
|
|
|
% \newcommand{\AuthorAEM}{8997} |
|
|
|
% |
|
|
|
% \newcommand{\CoAuthorName}{John Doe} |
|
|
|
% \newcommand{\CoAuthorMail}{doe@ece.auth.gr} |
|
|
|
% \newcommand{\CoAuthorAEM}{1729} |
|
|
|
% |
|
|
|
% \newcommand{\DocTitle}{Universal computing machine} |
|
|
|
% \newcommand{\Department}{Τμημα ΗΜΜΥ. Τομεάς Ηλεκτρονικής} |
|
|
|
% \newcommand{\ClassName}{Computer Science lab} |
|
|
|
% |
|
|
|
% \newcommand{\InstructorName}{Allan Turing} |
|
|
|
% \newcommand{\InstructorMail}{aturing@auth.gr} |
|
|
|
% \newcommand{\CurrentDate}{\today} |
|
|
|
% |
|
|
|
|
|
|
|
|
|
|
|
% Exported commands |
|
|
|
% =============================================================== |
|
|
|
% \eng{} |
|
|
|
% \gr{} |
|
|
|
% \setEnglish |
|
|
|
% \setGreek |
|
|
|
% \BottomTitleSpace{} |
|
|
|
% \FirstPage |
|
|
|
% \FirstPageCoAuthor{}{}{} |
|
|
|
% \TitleHeader |
|
|
|
% \TitleHeaderCoAuthor{}{}{} |
|
|
|
% \setFancyHeadLR{}{} |
|
|
|
% \setFancyHeadLERO{}{} |
|
|
|
% \InsertFigure{}{}{}{} |
|
|
|
% \WrapFigure{}{}{}{}{} |
|
|
|
|
|
|
|
% Global configuration |
|
|
|
% =============================================================== |
|
|
|
% Note: You can reassign them with \renewcommand |
|
|
|
% AFTER the \input{AuthReportConfig.tex} |
|
|
|
% |
|
|
|
\newcommand{\AuthorName}{Χρήστος Χουτουρίδης} |
|
|
|
\newcommand{\AuthorMail}{cchoutou@ece.auth.gr} |
|
|
|
\newcommand{\AuthorAEM}{8997} |
|
|
|
\newcommand{\Department}{Τμημα ΗΜΜΥ. Τομεάς Ηλεκτρονικής} |
|
|
|
|
|
|
|
% Packages and document configuration |
|
|
|
% =============================================================== |
|
|
@@ -96,19 +115,34 @@ |
|
|
|
% AUTH report exported commands |
|
|
|
% =============================================================== |
|
|
|
|
|
|
|
% \BottomTitleSpace{} |
|
|
|
% example \BottomTitleSpace{8em} |
|
|
|
\newcommand{\BottomTitleSpace}[1]{ |
|
|
|
\renewcommand{\bottomtitlespace}{#1} |
|
|
|
} |
|
|
|
|
|
|
|
% \eng{} |
|
|
|
% syntactic suggar for english text |
|
|
|
% syntactic suggar for english text inside greek |
|
|
|
% example \eng{A quick brown fox jumpedover the lazy dog} |
|
|
|
\newcommand{\eng}[1]{ |
|
|
|
\foreignlanguage{english}{#1} |
|
|
|
} |
|
|
|
|
|
|
|
% \gr{} |
|
|
|
% syntactic suggar for greek text inside english |
|
|
|
% example \gr{Άσπρη πέτρα ξέξασπρη κι απτον ήλιο ξεξασπρότερη} |
|
|
|
\newcommand{\gr}[1]{ |
|
|
|
\foreignlanguage{greek}{#1} |
|
|
|
} |
|
|
|
|
|
|
|
% \setEnglish |
|
|
|
% Selects english for the rest of the text |
|
|
|
\newcommand{\setEnglish}{\selectlanguage{english}} |
|
|
|
|
|
|
|
% \setGreek |
|
|
|
% Selects greek for the rest of the text |
|
|
|
\newcommand{\setGreek}{\selectlanguage{greek}} |
|
|
|
|
|
|
|
% \BottomTitleSpace{} |
|
|
|
% example \BottomTitleSpace{8em} |
|
|
|
\newcommand{\BottomTitleSpace}[1]{ |
|
|
|
\renewcommand{\bottomtitlespace}{#1} |
|
|
|
} |
|
|
|
|
|
|
|
% \FirstPage |
|
|
|
\newcommand{\FirstPage}{ |
|
|
|
\begin{titlepage} |
|
|
@@ -130,15 +164,18 @@ |
|
|
|
% Authors |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushleft} \large |
|
|
|
\emph{Συντάκτης :} \\ |
|
|
|
\ifdefined \CoAuthorName \emph{Συντάκτες :} \else \emph{Συντάκτης :}\fi \\ |
|
|
|
\textsc{\AuthorName} \\ |
|
|
|
\textsc{AEM:\AuthorAEM} \\[1ex] |
|
|
|
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} |
|
|
|
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] |
|
|
|
\ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi |
|
|
|
\ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi |
|
|
|
\ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi |
|
|
|
\end{flushleft} |
|
|
|
\end{minipage} |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushright} \large |
|
|
|
\emph{Διδάσκον :} \\ % Instructor |
|
|
|
\emph{Διδάσκων :} \\ % Instructor |
|
|
|
\textsc{\InstructorName}\\[1ex] |
|
|
|
\normalsize |
|
|
|
\href{mailto:\InstructorMail}{\eng{\InstructorMail}} |
|
|
@@ -151,55 +188,6 @@ |
|
|
|
\newpage |
|
|
|
} |
|
|
|
|
|
|
|
% \FirstPageCoAuthor{}{}{} |
|
|
|
% [1]: CoAuthor's name |
|
|
|
% [2]: CoAuthor's AEM |
|
|
|
% [3]: CoAuthor's email |
|
|
|
% example: \FirstPage{someone}{1000}{someone@someone.com} |
|
|
|
\newcommand{\FirstPageCoAuthor}[3]{ |
|
|
|
\begin{titlepage} |
|
|
|
% Logo |
|
|
|
\begin{figure} |
|
|
|
\begin{flushleft} |
|
|
|
\includegraphics[width=5cm]{config/images/auth_logogr.png} |
|
|
|
\end{flushleft} |
|
|
|
\end{figure} |
|
|
|
% Titles |
|
|
|
\center % Center everything on the page |
|
|
|
\textbf{} \\[3.5cm] % vertical space |
|
|
|
\textsc{\Large \Department} \\[0.5cm] % Department |
|
|
|
\textsc{\Large \ClassName} \\[1.5cm] % Class/Course name |
|
|
|
\Hrule \\[0.4cm] % ------- |
|
|
|
{\huge \bfseries \DocTitle} \\[0.1cm] % Document/Assignement Title |
|
|
|
\Hrule \\[3.5cm] % ------- |
|
|
|
% vertical space |
|
|
|
% Authors |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushleft} \large |
|
|
|
\emph{Συντάκτες :} \\ |
|
|
|
\textsc{\AuthorName} \\ |
|
|
|
\textsc{AEM:\AuthorAEM} \\[1ex] |
|
|
|
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] |
|
|
|
\textsc{#1} \\ |
|
|
|
\textsc{AEM:#2} \\[1ex] |
|
|
|
\normalsize \href{mailto:#3}{\eng{#3}} |
|
|
|
\end{flushleft} |
|
|
|
\end{minipage} |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushright} \large |
|
|
|
\emph{Διδάσκον :} \\ % Instructor |
|
|
|
\textsc{\InstructorName}\\[1ex] |
|
|
|
\normalsize |
|
|
|
\href{mailto:\InstructorMail}{\eng{\InstructorMail}} |
|
|
|
\end{flushright} |
|
|
|
\end{minipage} \\ |
|
|
|
\vfill |
|
|
|
{\large \CurrentDate} \\ % date |
|
|
|
|
|
|
|
\end{titlepage} |
|
|
|
\newpage |
|
|
|
} |
|
|
|
|
|
|
|
% \TitleHeader |
|
|
|
\newcommand{\TitleHeader}{ |
|
|
|
\thispagestyle{plain} |
|
|
@@ -217,57 +205,18 @@ |
|
|
|
% Authors |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushleft} \large |
|
|
|
\emph{Συντάκτης :} \\ |
|
|
|
\textsc{\AuthorName} |
|
|
|
\textsc{AEM:\AuthorAEM} \\[1ex] |
|
|
|
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} |
|
|
|
\end{flushleft} |
|
|
|
\end{minipage} |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushright} \large |
|
|
|
\emph{Διδάσκον :} \\ % Instructor |
|
|
|
\textsc{\InstructorName}\\[1ex] |
|
|
|
\normalsize |
|
|
|
\href{mailto:\InstructorMail}{\eng{\InstructorMail}} |
|
|
|
\end{flushright} |
|
|
|
\end{minipage} |
|
|
|
\end{center} |
|
|
|
\text{} \\ |
|
|
|
} |
|
|
|
|
|
|
|
% \TitleHeaderCoAuthor{}{}{} |
|
|
|
% [1]: CoAuthor's name |
|
|
|
% [2]: CoAuthor's AEM |
|
|
|
% [3]: CoAuthor's email |
|
|
|
% example: \TitleHeader{someone}{1000}{someone@someone.com} |
|
|
|
\newcommand{\TitleHeaderCoAuthor}[3]{ |
|
|
|
\thispagestyle{plain} |
|
|
|
\begin{center} % Center everything on the page |
|
|
|
% Logo |
|
|
|
\begin{figure} |
|
|
|
\center |
|
|
|
\includegraphics[width=5cm]{config/images/auth_logogr.png} |
|
|
|
\end{figure} |
|
|
|
% Titles |
|
|
|
\textsc{\Large \Department} \\[0.4cm] % Department |
|
|
|
\textsc{\Large \ClassName} \\[0.1cm] % Class/Course name |
|
|
|
{\Large \bfseries \DocTitle} \\[0.2cm] % Document/Assignement Title |
|
|
|
{\large \CurrentDate} \\[0.4cm] % date |
|
|
|
% Authors |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushleft} \large |
|
|
|
\emph{Συντάκτες :} \\ |
|
|
|
\textsc{\AuthorName} |
|
|
|
\textsc{AEM:\AuthorAEM} \\[1ex] |
|
|
|
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] |
|
|
|
\textsc{#1} |
|
|
|
\textsc{AEM:#2} \\[1ex] |
|
|
|
\normalsize \href{mailto:#3}{\eng{#3}} |
|
|
|
\ifdefined \CoAuthorName \emph{Συντάκτες :} \else \emph{Συντάκτης :}\fi \\ |
|
|
|
\textsc{\AuthorName} \\ |
|
|
|
\textsc{AEM:\AuthorAEM} \\[1ex] |
|
|
|
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] |
|
|
|
\ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi |
|
|
|
\ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi |
|
|
|
\ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi |
|
|
|
\end{flushleft} |
|
|
|
\end{minipage} |
|
|
|
\begin{minipage}{0.4\textwidth} |
|
|
|
\begin{flushright} \large |
|
|
|
\emph{Διδάσκον :} \\ % Instructor |
|
|
|
\emph{Διδάσκων :} \\ % Instructor |
|
|
|
\textsc{\InstructorName}\\[1ex] |
|
|
|
\normalsize |
|
|
|
\href{mailto:\InstructorMail}{\eng{\InstructorMail}} |
|
|
|