├── .gitignore ├── LICENSE ├── README.md ├── cv ├── cv.pdf ├── cv.tex └── publications.bib └── imgs ├── outcome-knuth.png └── outcome.png /.gitignore: -------------------------------------------------------------------------------- 1 | # Default TeX.gitignore from https://github.com/github/gitignore/blob/master/TeX.gitignore 2 | 3 | ## Core latex/pdflatex auxiliary files: 4 | *.aux 5 | *.lof 6 | *.log 7 | *.lot 8 | *.fls 9 | *.out 10 | *.toc 11 | *.fmt 12 | *.fot 13 | *.cb 14 | *.cb2 15 | 16 | ## Intermediate documents: 17 | *.dvi 18 | *-converted-to.* 19 | # these rules might exclude image files for figures etc. 20 | # *.ps 21 | # *.eps 22 | # *.pdf 23 | 24 | ## Generated if empty string is given at "Please type another file name for output:" 25 | .pdf 26 | 27 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 28 | *.bbl 29 | *.bcf 30 | *.blg 31 | *-blx.aux 32 | *-blx.bib 33 | *.run.xml 34 | 35 | ## Build tool auxiliary files: 36 | *.fdb_latexmk 37 | *.synctex 38 | *.synctex(busy) 39 | *.synctex.gz 40 | *.synctex.gz(busy) 41 | *.pdfsync 42 | 43 | ## Auxiliary and intermediate files from other packages: 44 | # algorithms 45 | *.alg 46 | *.loa 47 | 48 | # achemso 49 | acs-*.bib 50 | 51 | # amsthm 52 | *.thm 53 | 54 | # beamer 55 | *.nav 56 | *.pre 57 | *.snm 58 | *.vrb 59 | 60 | # changes 61 | *.soc 62 | 63 | # cprotect 64 | *.cpt 65 | 66 | # elsarticle (documentclass of Elsevier journals) 67 | *.spl 68 | 69 | # endnotes 70 | *.ent 71 | 72 | # fixme 73 | *.lox 74 | 75 | # feynmf/feynmp 76 | *.mf 77 | *.mp 78 | *.t[1-9] 79 | *.t[1-9][0-9] 80 | *.tfm 81 | 82 | #(r)(e)ledmac/(r)(e)ledpar 83 | *.end 84 | *.?end 85 | *.[1-9] 86 | *.[1-9][0-9] 87 | *.[1-9][0-9][0-9] 88 | *.[1-9]R 89 | *.[1-9][0-9]R 90 | *.[1-9][0-9][0-9]R 91 | *.eledsec[1-9] 92 | *.eledsec[1-9]R 93 | *.eledsec[1-9][0-9] 94 | *.eledsec[1-9][0-9]R 95 | *.eledsec[1-9][0-9][0-9] 96 | *.eledsec[1-9][0-9][0-9]R 97 | 98 | # glossaries 99 | *.acn 100 | *.acr 101 | *.glg 102 | *.glo 103 | *.gls 104 | *.glsdefs 105 | 106 | # gnuplottex 107 | *-gnuplottex-* 108 | 109 | # gregoriotex 110 | *.gaux 111 | *.gtex 112 | 113 | # hyperref 114 | *.brf 115 | 116 | # knitr 117 | *-concordance.tex 118 | # TODO Comment the next line if you want to keep your tikz graphics files 119 | *.tikz 120 | *-tikzDictionary 121 | 122 | # listings 123 | *.lol 124 | 125 | # makeidx 126 | *.idx 127 | *.ilg 128 | *.ind 129 | *.ist 130 | 131 | # minitoc 132 | *.maf 133 | *.mlf 134 | *.mlt 135 | *.mtc[0-9]* 136 | *.slf[0-9]* 137 | *.slt[0-9]* 138 | *.stc[0-9]* 139 | 140 | # minted 141 | _minted* 142 | *.pyg 143 | 144 | # morewrites 145 | *.mw 146 | 147 | # nomencl 148 | *.nlo 149 | 150 | # pax 151 | *.pax 152 | 153 | # pdfpcnotes 154 | *.pdfpc 155 | 156 | # sagetex 157 | *.sagetex.sage 158 | *.sagetex.py 159 | *.sagetex.scmd 160 | 161 | # scrwfile 162 | *.wrt 163 | 164 | # sympy 165 | *.sout 166 | *.sympy 167 | sympy-plots-for-*.tex/ 168 | 169 | # pdfcomment 170 | *.upa 171 | *.upb 172 | 173 | # pythontex 174 | *.pytxcode 175 | pythontex-files-*/ 176 | 177 | # thmtools 178 | *.loe 179 | 180 | # TikZ & PGF 181 | *.dpth 182 | *.md5 183 | *.auxlock 184 | 185 | # todonotes 186 | *.tdo 187 | 188 | # easy-todo 189 | *.lod 190 | 191 | # xindy 192 | *.xdy 193 | 194 | # xypic precompiled matrices 195 | *.xyc 196 | 197 | # endfloat 198 | *.ttt 199 | *.fff 200 | 201 | # Latexian 202 | TSWLatexianTemp* 203 | 204 | ## Editors: 205 | # WinEdt 206 | *.bak 207 | *.sav 208 | 209 | # Texpad 210 | .texpadtmp 211 | 212 | # Kile 213 | *.backup 214 | 215 | # KBibTeX 216 | *~[0-9]* 217 | 218 | # auto folder when using emacs and auctex 219 | /auto/* 220 | 221 | # expex forward references with \gathertags 222 | *-tags.tex 223 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Robert Geirhos 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # academic-cv-publications 2 | 3 | Generate a customised list of publications for your LaTeX CV using BibTeX entries. 4 | 5 | ## Description 6 | It is customary to include a list of publications in one's academic CV. While generating a list of references from a ``.bib`` file is standard practice for writing a paper, I was surprised to see that most LaTeX academic CV templates found online rely on the user manually typing the references in a list. Clearly, this is undesirable, as one usually already has a list of BibTeX entries for one's publications, and changing the citation style means changing every single entry. Still, this has the advantage that publications can be easily sorted as desired, split into different subsections (peer-reviewed articles, conference abstracts, ...) and enriched with links to the pdf. 7 | 8 | I here show a way how a list of publications can be easily generated from a ``.bib`` file with all the advantages listed above (customised order, splitting into sections, links) AND little effort (no more than citing a paper). 9 | 10 | I hope that you may find this useful for your own LaTeX CV! 11 | 12 | ## Example 13 | 14 | ![](imgs/outcome.png) 15 | 16 | ## In detail 17 | 18 | **Desired outcome:** 19 | 20 | ![](imgs/outcome-knuth.png) 21 | 22 | **The cumbersome way:** 23 | ``` 24 | \hangpara{1.5em}{1}Knuth, D. E. (1998). 25 | \textit{The art of computer programming: sorting and searching} (Vol. 3). Pearson Education. 26 | ``` 27 | 28 | **New:** 29 | ``` 30 | \publication{Knuth1998} 31 | ``` 32 | ## A note on compilation order 33 | 34 | You need to generate a ``.bbl`` file from the ``.bib`` file prior to compiling the pdf. 35 | -------------------------------------------------------------------------------- /cv/cv.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rgeirhos/academic-cv-publications/1928bf5a9e0877bf41545e6b27797107bfa72df2/cv/cv.pdf -------------------------------------------------------------------------------- /cv/cv.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt,a4paper]{article} 2 | 3 | %COMPILING: IMPORTANT INFORMATION 4 | % You'll need to generate a .bbl file from 5 | % the .bib file first, otherwise the publications 6 | % will not show up in the cv. 7 | 8 | % in TeXstudio, this means 9 | % 1. F1 or F6 for usual compiling (generate .aux) 10 | % 2. F8 for bibliography compiling (generate .bbl) 11 | % 3. F1 or F6 for usual compiling once more (generate .pdf) 12 | 13 | % use your favourite citation style here 14 | \usepackage{apacite} 15 | 16 | \usepackage[left=2.5cm,right=2.5cm,top=1.5cm,bottom=2.5cm]{geometry} 17 | 18 | 19 | % as bibentry and hyperref clash in some cases, this is a workaround 20 | % as suggested by the following two links: 21 | %https://tex.stackexchange.com/questions/227933/using-bibentry-to-cite-in-text-reference-with-apacite 22 | % and 23 | %https://tex.stackexchange.com/questions/65348/clash-between-bibentry-and-hyperref-with-bibstyle-elsart-harv/65401#65401 24 | \usepackage{bibentry} 25 | \makeatletter\let\saved@bibitem\@bibitem\makeatother 26 | \usepackage[colorlinks=true]{hyperref} 27 | \makeatletter\let\@bibitem\saved@bibitem\makeatother 28 | 29 | 30 | % hanging publications: 1st line starts at beginning of line, 31 | % further lines are placed a bit to the right 32 | \usepackage{hanging} 33 | \newcommand\publication[1]{% 34 | \smallskip\par\hangpara{1.5em}{1}\bibentry{#1}\smallskip 35 | } 36 | 37 | 38 | \begin{document} 39 | 40 | % bibliography 41 | \nobibliography{publications.bib} 42 | \bibliographystyle{apacite} 43 | 44 | \section*{Publications} 45 | 46 | % optional: split into different subsections for 47 | % peer-reviewed articles, conference abstracts, ... 48 | 49 | % example with links 50 | \publication{Geirhos2017} 51 | (\href{https://arxiv.org/abs/1706.06969}{link}, \href{https://arxiv.org/pdf/1706.06969.pdf}{pdf}, \href{https://github.com/rgeirhos/object-recognition}{data and materials}) 52 | 53 | % example without links 54 | \publication{Knuth1998} 55 | 56 | % the cumbersome way 57 | % \hangpara{1.5em}{1}Knuth, D. E. (1998). 58 | % \textit{The art of computer programming: sorting and searching} (Vol. 3). Pearson Education. 59 | 60 | \end{document} 61 | -------------------------------------------------------------------------------- /cv/publications.bib: -------------------------------------------------------------------------------- 1 | ############################################### 2 | # References (.bib) file for publications 3 | ############################################### 4 | 5 | @article{Geirhos2017, 6 | title={Comparing deep neural networks against humans: object recognition when the signal gets weaker}, 7 | author={Geirhos, Robert and Janssen, David HJ and Sch{\"u}tt, Heiko H and Rauber, Jonas and Bethge, Matthias and Wichmann, Felix A}, 8 | journal={arXiv preprint arXiv:1706.06969}, 9 | year={2017}} 10 | 11 | @book{Knuth1998, 12 | title={The art of computer programming: sorting and searching}, 13 | author={Knuth, Donald Ervin}, 14 | volume={3}, 15 | year={1998}, 16 | publisher={Pearson Education}} 17 | 18 | -------------------------------------------------------------------------------- /imgs/outcome-knuth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rgeirhos/academic-cv-publications/1928bf5a9e0877bf41545e6b27797107bfa72df2/imgs/outcome-knuth.png -------------------------------------------------------------------------------- /imgs/outcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rgeirhos/academic-cv-publications/1928bf5a9e0877bf41545e6b27797107bfa72df2/imgs/outcome.png --------------------------------------------------------------------------------