Last active
December 29, 2018 18:01
-
-
Save larsvilhuber/710516356e5791376c33e30d6916eac5 to your computer and use it in GitHub Desktop.
Default biblatex setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%!TeX TXS-program:bibliography = txs:///biber | |
\documentclass{article} | |
\usepackage{authblk} | |
\usepackage[% | |
plainpages,% | |
colorlinks,% removes the boxes around links | |
urlcolor=black,% | |
filecolor=black,% | |
citecolor=Blue,% requires xcolor with option dvipsnames | |
pdfpagemode=UseOutlines,% | |
pdfauthor={Lars Vilhuber},% | |
pdfsubject={Bibliography},% | |
]{hyperref} | |
\usepackage[style=chicago-authordate,sorting=ydnt,maxnames=10,backend=biber]{biblatex} | |
\addbibresource{some.bib} | |
\defbibfilter{papers}{ | |
type=article or | |
type=inproceedings or | |
type=conference or | |
type=proceedings or | |
type=incollection or | |
type=inbook | |
} | |
% Clear some stuff from the bibliography | |
\AtEveryBibitem{% | |
\clearfield{day}% | |
\clearfield{month}% | |
\clearfield{endday}% | |
\clearfield{endmonth}% | |
\clearlist{language}% | |
\clearfield{issn}% | |
\clearfield{eprint}% - adjust if necessary | |
\iffieldundef{doi}{}{\clearfield{url}}% remove URL field if DOI present | |
} | |
\author[1,2]{Lars Vilhuber} | |
\affil[1]{Cornell University} | |
\affil[2]{U.S. Census Bureau} | |
\begin{document} | |
\printbibliography[filter=papers,title={Articles},heading=bibnumbered] | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment