diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c107448..e708d8912 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -570,12 +570,35 @@ \setlength{\extrarowheight}{0pt} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}} \ifempty{#2#3} - {\entrypositionstyle{#1} & \entrydatestyle{#4} \\} + {\entrytitlestyle{#1} & \entrylocationstyle{#4} \\} {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\ \entrypositionstyle{#1} & \entrydatestyle{#4} \\} \multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}} \end{tabular*}% } +% Define a publication entry of cv information +% Usage: \cvpublicationentry{}{}{<authors>}{<detail of publisher>}{<date>}{<link>} +\newcommand*{\cvpublicationentry}[6]{% + \setlength\tabcolsep{0pt} + \setlength{\extrarowheight}{0pt} + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}} + \entrytitlestyle{#2} & \entrylocationstyle{#1} \\ + \descriptionstyle{#3} & \entrydatestyle{#5} \\ + \descriptionstyle{#4} & \ifthenelse{\isempty{#6}}{}{\entrylocationstyle{\href{#6}{link}}} + \end{tabular*}% +} +% Define a patent entry of cv information +% Usage: \cvpatententry{<title>}{<authors>}{<patent no.>}{<date>}{<link>} +\newcommand*{\cvpatententry}[5]{% + %\vspace{-2.0mm} + \setlength\tabcolsep{0pt} + \setlength{\extrarowheight}{0pt} + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}} + \entrytitlestyle{#1} & \entrylocationstyle{#3 (\href{#5}{link})} \\ + \descriptionstyle{#2} & \entrydatestyle{#4} + \end{tabular*}% +} + % Define an environment for cvsubentry \newenvironment{cvsubentries}{% diff --git a/examples/cv.pdf b/examples/cv.pdf index 9ff26b4cc..9a9fa38ef 100644 Binary files a/examples/cv.pdf and b/examples/cv.pdf differ diff --git a/examples/cv.tex b/examples/cv.tex index 9a5ce9393..9b37e1128 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -99,7 +99,7 @@ \input{cv/presentation.tex} \input{cv/writing.tex} \input{cv/committees.tex} - +\input{cv/publication.tex} %------------------------------------------------------------------------------- \end{document} diff --git a/examples/cv/publication.tex b/examples/cv/publication.tex new file mode 100755 index 000000000..279894033 --- /dev/null +++ b/examples/cv/publication.tex @@ -0,0 +1,49 @@ +%------------------------------------------------------------------------------- +% SECTION TITLE +%------------------------------------------------------------------------------- +\cvsection{Publication} + + +%------------------------------------------------------------------------------- +% CONTENT +%------------------------------------------------------------------------------- +% Usage: \cvpublicationentry{<publisher>}{<title>}{<authors>}{<detail of publisher>}{<date>}{<description>} + +\cvsubsection{International Journal} +\begin{cventries} + +%--------------------------------------------------------- + \cvpublicationentry + {Physical Review} % Publisher + {Can Quantum-Mechanical Description of Physical Reality Be Considered Complete?} % Title + {\textbf{Einstein, A}. and Podolsky, B. and Rosen, N.} % Authors + {Vol. 47, No. 10, pp. 777-780} + {May. 1935} % Date(s) + {https://journals.aps.org/pr/abstract/10.1103/PhysRev.47.777} +\end{cventries} + +\cvsubsection{International Conference} +\begin{cventries} + +%--------------------------------------------------------- + \cvpublicationentry + {WWW} % Publisher + {The Anatomy of a large-scale Social Search Engine} % Title + {Horowitz, Damon and Kamvar, Sepandar D.} % Authors + {Proceedings of the 19th International Conference on World Wide Web, pp. 431-440} + {2010} % Date(s) + {http://dl.acm.org/citation.cfm?doid=1772690.1772735} +\end{cventries} + +\cvsubsection{Patents} +% Usage: \cvpatententry{<title>}{<authors>}{<patent no.>}{<date>}{<link>} + +\begin{cventries} + \cvpatententry + % Edison, Thomas Alva. "Electric lamp." U.S. Patent 223,898, issued January 27, 1880. + {Electric lamp} % Title + {\textbf{Edison, Thomas}} % Authors + {US, 223,898} % patent no. + {1880.01.27} % Date(s) + {https://www.google.com/patents/us223898} +\end{cventries}