Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
https://tex.stackexchange.com/q/504385/35864 - ONLY FOR OUTDATED OVERLEAF SYSTEMS
% This should work with the outdated system on Overelaf, which does
% not support biblatex-ext.
% On a more modern system, use the code in the answer
% https://tex.stackexchange.com/a/504406/35864
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear,
giveninits=true, uniquename=false,
maxcitenames=2, maxbibnames=99,
url=false, doi=false, isbn=false, dashed=false,
]{biblatex}
\DeclareNameAlias{sortname}{family-given}
\DeclareDelimFormat{finalnamedelim}{\addcomma\space}
\DeclareDelimFormat[bib]{nameyeardelim}{\addspace}
\DeclareDelimFormat[bib]{nametitledelim}{\addspace}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat{booktitle}{#1}
\DeclareFieldFormat{issuetitle}{#1}
\DeclareFieldFormat{journaltitle}{#1\isdot}
\DeclareFieldFormat{maintitle}{#1}
\renewbibmacro{in:}{%
\ifentrytype{article}
{}
{\printtext{\bibstring{in}\intitlepunct}}}
\newcommand*{\volnumdelim}{\adddot}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit*{\volnumdelim}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\renewcommand*{\volnumdelim}{}
\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}
\renewcommand*{\bibpagespunct}{%
\ifentrytype{article}
{\addcolon}
{\addcomma}%
\space}
\DeclareFieldFormat[article]{pages}{#1}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{lande,
author = {Stig Lande and Mats Westin and Marc Schneider},
title = {Properties of Furfurylated Wood},
journal = {Scandinavian Journal of Forest Research},
volume = {19},
number = {suppl~5},
pages = {22-30},
year = {2004},
doi = {10.1080/0282758041001915},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,lande}
\printbibliography
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.