From 2808773a5914e9fbef4149bea7fd4e4958ad8baa Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 7 Mar 2021 23:23:36 +0100 Subject: Evelina and spell-checker --- .../yaac-another-awesome-cv.cls | 33 +++++++++++++++++----- 1 file changed, 26 insertions(+), 7 deletions(-) (limited to 'yaac-another-awesome-cv') diff --git a/yaac-another-awesome-cv/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv/yaac-another-awesome-cv.cls index 00f7af5..0270db3 100644 --- a/yaac-another-awesome-cv/yaac-another-awesome-cv.cls +++ b/yaac-another-awesome-cv/yaac-another-awesome-cv.cls @@ -66,6 +66,11 @@ \def\@dsvariant{ds} } +\DeclareOption{scivariant}{ + \def\@scivariant{sci} + \def\scivariant{sci} +} + \DeclareOption{showLinks}{ \@showLinkstrue} \DeclareOption{compact}{ \@isCompacttrue} @@ -221,6 +226,12 @@ \setlength{\rightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} } +\newcommand{\settopleftcolumnlength}[1]{ + \setlength{\topleftcolumnlength}{#1} + \setlength{\toprightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} +} + + % Font Awesome icons aliases \newcommand{\mailSymbol}{\faAt} \newcommand{\locationSymbol}{\faMapMarker*} @@ -663,23 +674,28 @@ % References \newcommand\refstd{\emph} \newcommand\reflinked[1]{\hyperlink{#1}{\emph{#1}}} -\newcommand\refuni{\refstd} +\newcommand\refint[2]{\hyperlink{#1}{\emph{#2}}} +\newcommand\refuni{\refcol} \newcommand\refexp{\reflinked} \newcommand\reffac{\reflinked} \newcommand\refcol{\reflinked} +\newcommand\refjob{\reflinked} \newcommand\refproj[1]{\hyperlink{proj:#1}{\emph{#1}}} \newcommand\refsoft[1]{\hyperlink{soft:#1}{\emph{#1}}} \newcommand\hlnone[1]{#1} +\newcommand\hlparenthesis[1]{(#1)} \newcommand\hlbold[1]{\textbf{#1}} +\newcommand\hlemph[1]{\emph{#1}} \newcommand\hlcolor[1]{\textcolor{headcolor}{#1}} \newcommand\hltitle{\hlbold} \newcommand\hljob{\hlbold} +\newcommand\hldegree{\hlnone} \newcommand\hlsoft{\hlnone} \newcommand\hlverb{\hlnone} \newcommand\hlrole{\hlnone} -\newcommand\hltype{\hlnone} +\newcommand\hltype{\hlparenthesis} \newcommand\hlproj{\hlnone} % Dates @@ -766,6 +782,7 @@ % Usage: \category{}{} \newcommand\category[2]{ \textbf{#1} & #2 \\} +%\newcommand\category[2]{ #1 & #2 \\} % Usage: \event {} [][at]{Details} \newcommand\event[2]{\enspace #1 & #2\\} @@ -776,9 +793,9 @@ % \activity {dates} {name} {long_name} {description} {responsibilities} \newcommand\titledevent[3]{\event{#1}{\hltitle{#2} #3}} -\newcommand\jobevent[4]{\event{#1}{\hljob{#2} at\ifempty{#4}#3\else #3. #4\fi}} -%\newcommand\jobevent[4]{\event{#1}{\textbf{#2} at #3. #4}} \newcommand\linkedevent[3]{\event{#1}{\urlref{#2}{#3}}} +\newcommand\job[5]{\noalign{\hypertarget{#2}{}} \event{#1}{\hljob{#3} at\ifempty{#5}#4\else #4: #5\fi}} +\newcommand\degree[4]{\noalign{\hypertarget{#2}{}} \event{#1}{\hldegree{#3} #4}} \newcommand\excofa[5]{\noalign{\hypertarget{#2}{}} \linkedevent{#1}{\ifemptyelse{#3}{\hlproj{#2}}{\hlproj{#2}: #3}\ifemptyelse{#5}{}{ \emph{(#5)}}}{#4}} \newcommand\experiment[5]{\excofa{#1}{#2}{#3}{#4}{#5}} % \emph{(Collaborator)}}} @@ -839,14 +856,16 @@ \newcommand\research[5]{\rnd{#1}{#2}{#3}{#4}{#5}} \newcommand\technology[5]{\rnd{#1}{#2}{#3}{#4}{#5}} -\newcommand\supervision[3]{\event{#1}{\hlverb{#2} #3}} -\newcommand\teaching[3]{\event{#1}{\hlverb{#2} #3}} +%\newcommand\supervision[3]{\event{#1}{\hlverb{#2} #3}} +%\newcommand\teaching[3]{\event{#1}{\hlverb{#2} #3}} +\newcommand\supervision[3]{\event{#1}{#3}} +\newcommand\teaching[3]{\event{#1}{#3}} \newcommand\outreach[5]{\event{\footnotesize{#1}}{ \footnotesize{ \ifemptyelse{#2}{\hltype{talk}}{% \hltype{#2} - } "\emph{#3}" at #4 + } ``\emph{#3}'' at #4 }}} \newcommand\conference[5]{\outreach{#1}{#2}{#3}{#4}{#5}} -- cgit v1.2.1