mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-21 21:58:28 +00:00
List of Publications using BibTeX source
- Generate publications section by running biber with xelatex - Add bibliography support in cls file - Add sample bib and tex files
This commit is contained in:
parent
a944c26b24
commit
67c15a831b
6 changed files with 216 additions and 0 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -8,6 +8,11 @@
|
||||||
*.out
|
*.out
|
||||||
*.toc
|
*.toc
|
||||||
|
|
||||||
|
## BibLaTeX auxiliary files:
|
||||||
|
*.bbl
|
||||||
|
*.bcf
|
||||||
|
*.blg
|
||||||
|
|
||||||
## Intermediate documents:
|
## Intermediate documents:
|
||||||
*.dvi
|
*.dvi
|
||||||
*-converted-to.*
|
*-converted-to.*
|
||||||
|
|
17
README.md
17
README.md
|
@ -99,6 +99,23 @@ $ docker run --rm --user $(id -u):$(id -g) -i -w "/doc" -v "$PWD":/doc thomaswei
|
||||||
|
|
||||||
In either case, this should result in the creation of ``{your-cv}.pdf``
|
In either case, this should result in the creation of ``{your-cv}.pdf``
|
||||||
|
|
||||||
|
##### List of Publications
|
||||||
|
|
||||||
|
You can generate list of publication from [**BibTeX**](http://www.bibtex.org/) source files.
|
||||||
|
[**BibLaTeX**](https://www.ctan.org/pkg/biblatex) and [**biber**](https://www.ctan.org/pkg/biber) should be available.
|
||||||
|
|
||||||
|
To include your publications, add the entries to [`examples/cv/references.bib`](examples/cv/references.bib),
|
||||||
|
and cite them in [`examples/cv/publications.tex`](examples/cv/publications.tex).
|
||||||
|
Update the sections in [`examples/cv.tex`](examples/cv.tex) to include the publications.
|
||||||
|
|
||||||
|
To generate document with the list of publications, at a command prompt, run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ xelatex {your-cv}.tex
|
||||||
|
$ biber {your-cv}
|
||||||
|
$ xelatex {your-cv}.tex
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Credit
|
## Credit
|
||||||
|
|
||||||
|
|
149
awesome-cv.cls
149
awesome-cv.cls
|
@ -792,3 +792,152 @@
|
||||||
\letterenclosurestyle{\@letterenclname: \@letterenclosure} \\
|
\letterenclosurestyle{\@letterenclname: \@letterenclosure} \\
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% Bibliography
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
%\RequirePackage[style=verbose, maxnames=99, sorting=ydnt]{biblatex}
|
||||||
|
\RequirePackage[ % BibLaTeX
|
||||||
|
sorting=ydnt, % Sorts entries by year (descending order), name, title
|
||||||
|
style=verbose,
|
||||||
|
doi=false,
|
||||||
|
isbn=true,
|
||||||
|
url=false,
|
||||||
|
eprint=false,
|
||||||
|
backref = false, % include back references in bibliography
|
||||||
|
maxcitenames=3, % affects only the citations in the document body
|
||||||
|
maxbibnames=99, % affects only the bibliography, pass 99 to print all
|
||||||
|
hyperref=true,
|
||||||
|
block=none,
|
||||||
|
backend=biber % {Options: bibtex, biber}
|
||||||
|
]{biblatex}
|
||||||
|
|
||||||
|
% Avoid splitting entries across page break (only for 3 or fewer lines)
|
||||||
|
% Tip: http://tex.stackexchange.com/a/51261
|
||||||
|
\AtBeginEnvironment{thebibliography}{%
|
||||||
|
\clubpenalty10000
|
||||||
|
\@clubpenalty \clubpenalty
|
||||||
|
\widowpenalty10000
|
||||||
|
\interlinepenalty5000}
|
||||||
|
|
||||||
|
% Customized format, based on the Fancy CV template created by Adrien Friggeri
|
||||||
|
% See https://github.com/ashee/cv (MIT license)
|
||||||
|
\DeclareFieldFormat[article]{title}{#1\par}
|
||||||
|
\DeclareFieldFormat[inproceedings]{title}{#1\par}
|
||||||
|
\DeclareFieldFormat[misc]{title}{#1\par}
|
||||||
|
\DeclareFieldFormat[report]{title}{#1\par}
|
||||||
|
\DeclareFieldFormat[incollection]{title}{#1\par}
|
||||||
|
|
||||||
|
\DeclareBibliographyDriver{article}{%
|
||||||
|
\fontsize{9pt}{1em}\bodyfont%
|
||||||
|
\printfield{title}%
|
||||||
|
\newblock%
|
||||||
|
\printnames{author}%
|
||||||
|
\par%
|
||||||
|
\newblock%
|
||||||
|
{%
|
||||||
|
\fontsize{8pt}{1em}\bodyfontlight\color{graytext}%
|
||||||
|
\usebibmacro{journal+issuetitle}%
|
||||||
|
\setunit{\space}%
|
||||||
|
\printfield{pages}%
|
||||||
|
\newunit%
|
||||||
|
\printlist{publisher}%
|
||||||
|
\setunit*{\addcomma\space}%
|
||||||
|
\printfield{year}%
|
||||||
|
\newunit%
|
||||||
|
}
|
||||||
|
\par\vspace{0.3\baselineskip}
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareBibliographyDriver{inproceedings}{%
|
||||||
|
\fontsize{9pt}{1em}\bodyfont%
|
||||||
|
\printfield{title}%
|
||||||
|
\newblock%
|
||||||
|
\printnames{author}%
|
||||||
|
\par%
|
||||||
|
\newblock%
|
||||||
|
{%
|
||||||
|
\fontsize{8pt}{1em}\bodyfontlight\color{graytext}%
|
||||||
|
\printfield{booktitle}%
|
||||||
|
\setunit{\addcomma\space}%
|
||||||
|
\printfield{year}%
|
||||||
|
\setunit{\addcomma\space}%
|
||||||
|
\printlist{location}%
|
||||||
|
\newunit%
|
||||||
|
}
|
||||||
|
\par\vspace{0.3\baselineskip}
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareBibliographyDriver{incollection}{%
|
||||||
|
\fontsize{9pt}{1em}\bodyfont%
|
||||||
|
\printfield{title}%
|
||||||
|
\newblock%
|
||||||
|
\printnames{author}%
|
||||||
|
\par%
|
||||||
|
\newblock%
|
||||||
|
{%
|
||||||
|
\fontsize{8pt}{1em}\bodyfontlight\color{graytext}%
|
||||||
|
\printfield{booktitle}%
|
||||||
|
\setunit{\addcomma\space}%
|
||||||
|
\printfield{year}%
|
||||||
|
\setunit{\addcomma\space}%
|
||||||
|
\printlist{location}%
|
||||||
|
\newunit%
|
||||||
|
}
|
||||||
|
\par\vspace{0.3\baselineskip}
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareBibliographyDriver{misc}{%
|
||||||
|
\fontsize{9pt}{1em}\bodyfont%
|
||||||
|
\printfield{title}%
|
||||||
|
\newblock%
|
||||||
|
\printnames{author}%
|
||||||
|
\par%
|
||||||
|
\newblock%
|
||||||
|
{%
|
||||||
|
\fontsize{8pt}{1em}\bodyfontlight\color{graytext}%
|
||||||
|
\printfield{booktitle}%
|
||||||
|
\setunit*{\addcomma\space}%
|
||||||
|
\printfield{note}%
|
||||||
|
\setunit*{\addcomma\space}%
|
||||||
|
\printfield{year}%
|
||||||
|
\setunit{\addcomma\space}%
|
||||||
|
\printlist{location}%
|
||||||
|
\newunit%
|
||||||
|
}
|
||||||
|
\par\vspace{0.3\baselineskip}
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareBibliographyDriver{report}{%
|
||||||
|
\fontsize{9pt}{1em}\bodyfont%
|
||||||
|
\printfield{title}%
|
||||||
|
\newblock%
|
||||||
|
\printnames{author}%
|
||||||
|
\par%
|
||||||
|
\newblock%
|
||||||
|
{%
|
||||||
|
\fontsize{8pt}{1em}\bodyfontlight\color{graytext}%
|
||||||
|
\printfield{type}%
|
||||||
|
\setunit{\space}%
|
||||||
|
\printfield{number}%
|
||||||
|
\setunit{\addcomma\space}%
|
||||||
|
\printfield{year}%
|
||||||
|
\newunit%
|
||||||
|
}
|
||||||
|
\par\vspace{0.3\baselineskip}
|
||||||
|
}
|
||||||
|
|
||||||
|
% New syntax for flexible backend (BibLaTeX > v3.3)
|
||||||
|
\DeclareNameFormat{author}{%
|
||||||
|
\fontsize{9pt}{1em}\bodyfont%
|
||||||
|
\renewcommand*{\multinamedelim}{\addcomma\addspace}%
|
||||||
|
\nameparts{#1}%
|
||||||
|
\ifthenelse{\value{listcount}=1}
|
||||||
|
{\ifblank{\namepartgiven}{}{\namepartgiven\space}%
|
||||||
|
\namepartfamily}%
|
||||||
|
{\ifblank{\namepartgiven}{}{\namepartgiven\space}%
|
||||||
|
\namepartfamily}%
|
||||||
|
\ifthenelse{\value{listcount}<\value{liststop}}
|
||||||
|
{\addcomma\space}
|
||||||
|
{}
|
||||||
|
}
|
||||||
|
|
|
@ -78,6 +78,11 @@
|
||||||
|
|
||||||
\quote{``Be the change that you want to see in the world."}
|
\quote{``Be the change that you want to see in the world."}
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% BIBLIOGRAPHY
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\addbibresource{biblatex-examples.bib}
|
||||||
|
\addbibresource{cv/references.bib}
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
@ -105,6 +110,8 @@
|
||||||
\input{cv/honors.tex}
|
\input{cv/honors.tex}
|
||||||
\input{cv/presentation.tex}
|
\input{cv/presentation.tex}
|
||||||
\input{cv/writing.tex}
|
\input{cv/writing.tex}
|
||||||
|
% For publications from bibtex, add to cv/references.bib and uncomment below
|
||||||
|
% \input{cv/publications.tex}
|
||||||
\input{cv/committees.tex}
|
\input{cv/committees.tex}
|
||||||
|
|
||||||
|
|
||||||
|
|
35
examples/cv/publications.tex
Normal file
35
examples/cv/publications.tex
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% SECTION TITLE
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\cvsection{Publications}
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% SUBSECTION TITLE
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\cvsubsection{Journal Articles}
|
||||||
|
|
||||||
|
\begin{refsection}
|
||||||
|
\nocite{gillies}
|
||||||
|
\nocite{glashow}
|
||||||
|
\nocite{herrmann}
|
||||||
|
|
||||||
|
\printbibliography[
|
||||||
|
heading=none,
|
||||||
|
sorting=ydnt
|
||||||
|
]
|
||||||
|
\end{refsection}
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% SUBSECTION TITLE
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\cvsubsection{Conference Proceedings}
|
||||||
|
|
||||||
|
\begin{refsection}
|
||||||
|
\nocite{salam}
|
||||||
|
\nocite{moraux}
|
||||||
|
|
||||||
|
\printbibliography[
|
||||||
|
heading=none,
|
||||||
|
sorting=ydnt
|
||||||
|
]
|
||||||
|
\end{refsection}
|
3
examples/cv/references.bib
Normal file
3
examples/cv/references.bib
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% REPLACE WITH YOUR PUBLICATIONS
|
||||||
|
%-------------------------------------------------------------------------------
|
Loading…
Reference in a new issue