diff options
Diffstat (limited to 'yaac-another-awesome-cv/yaac-another-awesome-cv.cls')
-rw-r--r-- | yaac-another-awesome-cv/yaac-another-awesome-cv.cls | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/yaac-another-awesome-cv/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv/yaac-another-awesome-cv.cls index 0270db3..379959b 100644 --- a/yaac-another-awesome-cv/yaac-another-awesome-cv.cls +++ b/yaac-another-awesome-cv/yaac-another-awesome-cv.cls @@ -207,7 +207,7 @@ \setlength{\fulllength}{17.0cm} \newlength{\topleftcolumnlength} -\setlength{\topleftcolumnlength}{4cm} +\setlength{\topleftcolumnlength}{3.5cm} \newlength{\toprightcolumnlength} \setlength{\toprightcolumnlength}{\dimexpr(\fulllength-\topleftcolumnlength)\relax} @@ -633,7 +633,13 @@ %\RequirePackage{extdash} %Configs +%Prevent unnecessart hyphenation %\setstretch{1} +%\tolerance=1 +\emergencystretch=3em +\hyphenpenalty=10000 +%\vbadness=500 +%\hbadness=1000 \newcommand\ifemptyelse[3]{\ifthenelse{\equal{#1}{}}{#2}{#3}} \def \ifempty#1{\def\temp{#1} \ifx\temp\empty} @@ -658,7 +664,7 @@ \newcommand*{\oss}[2]{\link{#2}{\ossSymbol #1}} % Contacts -\newcommand*{\skype}[1]{\sociallink{\skypeSymbol}{skype:#1}{#1}} +\newcommand*{\skype}[1]{\sociallink{\skypeSymbol}{skype:#1}{skype:#1}} %\newcommand*{\scholar}[1]{\sociallink{\scholarSymbol}{https://scholar.google.com/citations?user=#1}{#1}} %\newcommand*{\orcid}[1]{\sociallink{\orcidSymbol}{https://orcid.org/#1}{#1}} %\newcommand*{\rg}[1]{\sociallink{\rgSymbol}{https://www.researchgate.net/profile/#1}{#1}} @@ -675,7 +681,7 @@ \newcommand\refstd{\emph} \newcommand\reflinked[1]{\hyperlink{#1}{\emph{#1}}} \newcommand\refint[2]{\hyperlink{#1}{\emph{#2}}} -\newcommand\refuni{\refcol} +\newcommand\refuni{\refstd} \newcommand\refexp{\reflinked} \newcommand\reffac{\reflinked} \newcommand\refcol{\reflinked} @@ -755,7 +761,7 @@ \newcommand\subsectiontitle[1]{% \multicolumn{2}{l}{% \hspace{\leftcolumnlength}\hspace{1em}\textbf{#1}% - } \\\cline{2-2}% + } \\*\cline{2-2}% } \newcommand\eventsection[2]{% @@ -766,7 +772,7 @@ \fi \multicolumn{2}{l}{% \hspace{\leftcolumnlength}\hspace{1em}\textbf{#1}% - } \\\cline{2-2}% + } \\*\cline{2-2}% } \newcommand\datedeventsection[3]{% @@ -775,7 +781,7 @@ \vspace{-1em}% \begin{#3}% \fi% - \enspace \textbf{#1} & \textbf{#2} \\\hline + \enspace \textbf{#1} & \textbf{#2} \\*\hline } @@ -794,10 +800,13 @@ \newcommand\titledevent[3]{\event{#1}{\hltitle{#2} #3}} \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\job[6]{\noalign{\hypertarget{#2}{}} \event{#1}{\hljob{#3} at\ifempty{#5}\urlref{#4}{#6}\else \urlref{#4}{#6}: #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\excofa[5]{\noalign{\hypertarget{#2}{}} \event{#1}{ + \ifempty{#3}\urlref{\hlproj{#2}}{#4}\else\urlref{\hlproj{#2}}{#4}: #3\fi \ifemptyelse{#5}{}{ \emph{(#5)}} +%\ifemptyelse{#3}{}{: #3}%\ifemptyelse{#5}{}{ \emph{(#5)}} +}} \newcommand\experiment[5]{\excofa{#1}{#2}{#3}{#4}{#5}} % \emph{(Collaborator)}}} \newcommand\collaboration[5]{\excofa{#1}{#2}{#3}{#4}{#5}}% \emph{(Collaborator)}}} \newcommand\facility[5]{\excofa{#1}{#2}{#3}{#4}{#5}}% \emph{(Contributor)}}} @@ -805,7 +814,7 @@ \newcommand\funding[7]{\noalign{\foreach \n in {#4}{\hypertarget{proj:\n}{}}} \event{#1}{ %\newcommand\funding[7]{\noalign{\ifemptyelse{#7}{}{\foreach \n in {#7}{\hypertarget{XXX}{}}}} \event{#1}{ \begin{minipage}[t]{\dimexpr(\linewidth)} - \hlrole{#5}: #6 \\ % #7 + (\hlrole{#5}) #6 \\ % #7 \footnotesize{\hltag{#2} \foreach \n in {#3}{\cvtag{\n}}} \end{minipage} }} @@ -862,11 +871,12 @@ \newcommand\teaching[3]{\event{#1}{#3}} \newcommand\outreach[5]{\event{\footnotesize{#1}}{ - \footnotesize{ +% \footnotesize{ \ifemptyelse{#2}{\hltype{talk}}{% \hltype{#2} } ``\emph{#3}'' at #4 -}}} +% } +}} \newcommand\conference[5]{\outreach{#1}{#2}{#3}{#4}{#5}} \newcommand\workshop[5]{\outreach{#1}{#2}{#3}{#4}{#5}} |