Browse Source

Better eng-gr support

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

+ 15
- 15
AuthReportConfig.tex View File

@@ -118,16 +118,12 @@
% \eng{} % \eng{}
% syntactic suggar for english text inside greek % syntactic suggar for english text inside greek
% example \eng{A quick brown fox jumpedover the lazy dog} % example \eng{A quick brown fox jumpedover the lazy dog}
\newcommand{\eng}[1]{
\foreignlanguage{english}{#1}
}
\newcommand{\eng}[1]{\foreignlanguage{english}{#1}}


% \gr{} % \gr{}
% syntactic suggar for greek text inside english % syntactic suggar for greek text inside english
% example \gr{Άσπρη πέτρα ξέξασπρη κι απτον ήλιο ξεξασπρότερη} % example \gr{Άσπρη πέτρα ξέξασπρη κι απτον ήλιο ξεξασπρότερη}
\newcommand{\gr}[1]{
\foreignlanguage{greek}{#1}
}
\newcommand{\gr}[1]{\foreignlanguage{greek}{#1}}


% \setEnglish % \setEnglish
% Selects english for the rest of the text % Selects english for the rest of the text
@@ -163,11 +159,13 @@
% vertical space % vertical space
% Authors % Authors
\begin{minipage}{0.4\textwidth} \begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\ifdefined \CoAuthorName \emph{Συντάκτες :} \else \emph{Συντάκτης :}\fi \\
\begin{flushleft}
\large
\ifdefined \CoAuthorName \emph{Συντάκτες:} \else \emph{Συντάκτης:}\fi \\
\textsc{\AuthorName} \\ \textsc{\AuthorName} \\
\textsc{AEM:\AuthorAEM} \\[1ex] \textsc{AEM:\AuthorAEM} \\[1ex]
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] \normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex]
\large
\ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi \ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi
\ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi \ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi
\ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi \ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi
@@ -175,8 +173,8 @@
\end{minipage} \end{minipage}
\begin{minipage}{0.4\textwidth} \begin{minipage}{0.4\textwidth}
\begin{flushright} \large \begin{flushright} \large
\emph{Διδάσκων :} \\ % Instructor
\textsc{\InstructorName}\\[1ex]
\emph{Διδάσκων:} \\ % Instructor
\textsc{\InstructorName} \\[1ex]
\normalsize \normalsize
\href{mailto:\InstructorMail}{\eng{\InstructorMail}} \href{mailto:\InstructorMail}{\eng{\InstructorMail}}
\end{flushright} \end{flushright}
@@ -204,11 +202,13 @@
{\large \CurrentDate} \\[0.4cm] % date {\large \CurrentDate} \\[0.4cm] % date
% Authors % Authors
\begin{minipage}{0.4\textwidth} \begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\ifdefined \CoAuthorName \emph{Συντάκτες :} \else \emph{Συντάκτης :}\fi \\
\begin{flushleft}
\large
\ifdefined \CoAuthorName \emph{Συντάκτες:} \else \emph{Συντάκτης:}\fi \\
\textsc{\AuthorName} \\ \textsc{\AuthorName} \\
\textsc{AEM:\AuthorAEM} \\[1ex] \textsc{AEM:\AuthorAEM} \\[1ex]
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] \normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex]
\large
\ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi \ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi
\ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi \ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi
\ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi \ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi
@@ -216,14 +216,14 @@
\end{minipage} \end{minipage}
\begin{minipage}{0.4\textwidth} \begin{minipage}{0.4\textwidth}
\begin{flushright} \large \begin{flushright} \large
\emph{Διδάσκων :} \\ % Instructor
\textsc{\InstructorName}\\[1ex]
\emph{Διδάσκων:} \\ % Instructor
\textsc{\InstructorName} \\[1ex]
\normalsize \normalsize
\href{mailto:\InstructorMail}{\eng{\InstructorMail}} \href{mailto:\InstructorMail}{\eng{\InstructorMail}}
\end{flushright} \end{flushright}
\end{minipage} \end{minipage}
\end{center} \end{center}
\text{} \\
\text{} \\
} }


% \setFancyHead{}{} % \setFancyHead{}{}


Loading…
Cancel
Save