Browse Source

AuthReport: TitleHeader command added

master
parent
commit
c27d16e915
1 changed files with 84 additions and 4 deletions
  1. +84
    -4
      AuthReportConfig.tex

+ 84
- 4
AuthReportConfig.tex View File

@@ -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}
}


Loading…
Cancel
Save