From 4b3765f4ab57fb91e770597e417d74b5849fa144 Mon Sep 17 00:00:00 2001 From: Christos Choutouridis Date: Sun, 8 Nov 2020 20:59:32 +0200 Subject: [PATCH] Better eng-gr support --- AuthReportConfig.tex | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/AuthReportConfig.tex b/AuthReportConfig.tex index f220720..149429d 100644 --- a/AuthReportConfig.tex +++ b/AuthReportConfig.tex @@ -118,16 +118,12 @@ % \eng{} % syntactic suggar for english text inside greek % example \eng{A quick brown fox jumpedover the lazy dog} -\newcommand{\eng}[1]{ - \foreignlanguage{english}{#1} -} +\newcommand{\eng}[1]{\foreignlanguage{english}{#1}} % \gr{} % syntactic suggar for greek text inside english % example \gr{Άσπρη πέτρα ξέξασπρη κι απτον ήλιο ξεξασπρότερη} -\newcommand{\gr}[1]{ - \foreignlanguage{greek}{#1} -} +\newcommand{\gr}[1]{\foreignlanguage{greek}{#1}} % \setEnglish % Selects english for the rest of the text @@ -163,11 +159,13 @@ % vertical space % Authors \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{AEM:\AuthorAEM} \\[1ex] \normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] + \large \ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi \ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi \ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi @@ -175,8 +173,8 @@ \end{minipage} \begin{minipage}{0.4\textwidth} \begin{flushright} \large - \emph{Διδάσκων :} \\ % Instructor - \textsc{\InstructorName}\\[1ex] + \emph{Διδάσκων:} \\ % Instructor + \textsc{\InstructorName} \\[1ex] \normalsize \href{mailto:\InstructorMail}{\eng{\InstructorMail}} \end{flushright} @@ -204,11 +202,13 @@ {\large \CurrentDate} \\[0.4cm] % date % Authors \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{AEM:\AuthorAEM} \\[1ex] \normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex] + \large \ifdefined\CoAuthorName \textsc{\CoAuthorName} \\ \fi \ifdefined\CoAuthorAEM \textsc{AEM:\CoAuthorAEM} \\[1ex] \fi \ifdefined\CoAuthorMail \normalsize \href{mailto:\CoAuthorMail}{\eng{\CoAuthorMail}} \fi @@ -216,14 +216,14 @@ \end{minipage} \begin{minipage}{0.4\textwidth} \begin{flushright} \large - \emph{Διδάσκων :} \\ % Instructor - \textsc{\InstructorName}\\[1ex] + \emph{Διδάσκων:} \\ % Instructor + \textsc{\InstructorName} \\[1ex] \normalsize \href{mailto:\InstructorMail}{\eng{\InstructorMail}} \end{flushright} \end{minipage} \end{center} - \text{} \\ + \text{} \\ } % \setFancyHead{}{}