Last active
August 18, 2019 12:28
-
-
Save moewew/e9ae043f49e057abfb344d96cb134f82 to your computer and use it in GitHub Desktop.
https://tex.stackexchange.com/q/504385/35864 - ONLY FOR OUTDATED OVERLEAF SYSTEMS
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
% 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