Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'publication' section and its style #152

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion awesome-cv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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{<publisher>}{<title>}{<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}{%
Expand Down
Binary file modified examples/cv.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
\input{cv/presentation.tex}
\input{cv/writing.tex}
\input{cv/committees.tex}

\input{cv/publication.tex}

%-------------------------------------------------------------------------------
\end{document}
49 changes: 49 additions & 0 deletions examples/cv/publication.tex
Original file line number Diff line number Diff line change
@@ -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}