From c27d16e915615bc56a7b09f56e882661ac69b860 Mon Sep 17 00:00:00 2001 From: Christos Choutouridis Date: Sun, 24 May 2020 23:58:27 +0300 Subject: [PATCH] AuthReport: TitleHeader command added --- AuthReportConfig.tex | 88 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 84 insertions(+), 4 deletions(-) diff --git a/AuthReportConfig.tex b/AuthReportConfig.tex index 4ed3397..fc0eb75 100644 --- a/AuthReportConfig.tex +++ b/AuthReportConfig.tex @@ -19,13 +19,17 @@ % \eng{} % \FirstPage % \FirstPageCoAuthor{}{}{} -% \SetFancyHead{}{} -% \InsertFigure{}{}{} +% \TitleHeader +% \TitleHeaderCoAuthor{}{}{} +% \setFancyHeadLR{}{} +% \setFancyHeadLERO{}{} +% \InsertFigure{}{}{}{} +% \WrapFigure{}{}{}{}{} % Global configuration % =============================================================== % Note: You can reassign them with \renewcommand -% AFTER the \input{AUTH_Settings_Report.tex} +% AFTER the \input{AuthReportConfig.tex} % \newcommand{\AuthorName}{Χρήστος Χουτουρίδης} \newcommand{\AuthorMail}{cchoutou@ece.auth.gr} @@ -190,6 +194,83 @@ \newpage } +% \TitleHeader +\newcommand{\TitleHeader}{ + \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}} + \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}} + \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{} \\ +} + % \setFancyHead{}{} % [1]: Left text % [2]: Right text @@ -243,4 +324,3 @@ \vspace{-20pt} \end{wrapfigure} } -