summaryrefslogtreecommitdiff
path: root/cv.tex
diff options
context:
space:
mode:
Diffstat (limited to 'cv.tex')
-rw-r--r--cv.tex16
1 files changed, 11 insertions, 5 deletions
diff --git a/cv.tex b/cv.tex
index 4f223b6..90d8556 100644
--- a/cv.tex
+++ b/cv.tex
@@ -2,7 +2,7 @@
\usepackage[margin=1in]{geometry}
\usepackage{amsfonts, amsmath, amssymb, amsthm}
-\PassOptionsToPackage{obeyspaces}{url}
+\PassOptionsToPackage{obeyspaces,hyphens}{url}
\usepackage{url}
\usepackage[colorlinks=true,citecolor=blue,urlcolor=blue,linkcolor=blue,bookmarksopen=true]{hyperref}
\usepackage{tikz}
@@ -23,11 +23,17 @@
\newcommand*{\at}[1]{\vspace{-5pt}\begin{itemize}[leftmargin=0.75cm]\item[@]#1\end{itemize}}
\newcommand*{\with}[1]{\begin{itemize}[leftmargin=1.25cm]\item[with]#1\end{itemize}}
-\newcommand*{\arXiv}[1]{\href{http://arxiv.org/abs/#1}{arXiv:#1}}
-% \published{title}{coauthors}{journal}{vol}{no}{pp}{date}
-\newcommand*{\published}[7]{{\nopagebreak #1. \textit{#3}, \ifthere{vol}{#4}\ifthere{no}{#5}\ifthere{pp}{#6}#7.\with{#2.}}}
+\newcommand*{\arXiv}[1]{\href{https://arxiv.org/abs/#1}{arXiv:#1}}
+\newcommand*{\doi}[1]{\href{https://doi.org/#1}{DOI:#1}}
+% \published{title}{coauthors}{journal}{vol}{no}{pp}{date}{url}
+\newcommand*{\published}[8]{%
+ {\nopagebreak
+ #1. \textit{#3}, \ifthere{vol}{#4}\ifthere{no}{#5}\ifthere{pp}{#6}#7.
+ \with{#2.}
+ }
+}
% \accepted{title}{coauthors}{journal}{arXiv}
-\newcommand*{\accepted}[4]{#1. \textit{#3}, \arXiv{#4}.\with{#2.}}
+\newcommand*{\accepted}[4]{#1. \textit{#3}. \arXiv{#4}.\with{#2.}}
% \submitted{title}{coauthors}{arXiv}
\newcommand*{\submitted}[3]{#1. \arXiv{#3}.\with{#2.}}