1

My university calls for a Harvard style and Biblatex style authoryear works well. For online sources it requires this

enter image description here

I have managed to change the standard URL: to '[Online]. Available at' with

\usepackage[minbibnames=1,maxbibnames=99,maxcitenames=2,backend=biber,
style=authoryear,firstinits=true,dashed=false,natbib=true,url=true,
bibencoding=utf8,isbn=false]{biblatex}
\addbibresource{refa.bib}% 

\DefineBibliographyStrings{english}{%
urlseen = {Accessed}
}
\DeclareFieldFormat{url}{\bibstring{[Online]. Available at}\space\url{#1}}

But it is rendering as enter image description here

with text in bold and the first letter lower case, any ideas?

Here is a MWE

\documentclass[11pt,oneside,british]{scrbook}
\usepackage{scrhack}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage[british]{babel}

\usepackage[minbibnames=1,maxbibnames=99,maxcitenames=2,backend=biber,style=authoryear,
firstinits=true,dashed=false,natbib=true,url=true,bibencoding=utf8,isbn=false]{biblatex}
\addbibresource{refa.bib}% 

\DefineBibliographyStrings{english}{%
  urlseen = {Accessed}
}

\DeclareFieldFormat{url}{\bibstring{[Online]. Available at}\space\url{#1}}

\begin{document}

\cite{schmitt_gradient_2013}

\printbibliography[heading=bibintoc]

\end{document}
  • 2
    You must use \bibstring{url} and redefine the url string as you did with urlseen. (untested as you didn't provide a complete example). – Ulrike Fischer Sep 20 '14 at 10:29
  • Added a MWE. Tried the approach like urlseen but no joy. – James Sep 20 '14 at 11:44
  • 1
    @James Could you post your solution as an answer to the question? That way, it will be much clearer to anybody else who needs to solve the same problem. – cfr Sep 20 '14 at 16:35
5
\documentclass{article}
\usepackage[british]{babel}

\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}% 

\DefineBibliographyStrings{english}{%
    urlseen = {Accessed}
}

\DefineBibliographyStrings{english}{%
    urlseen = {Accessed},
    url = {[Online]. Available at}
}
\DeclareFieldFormat{url}{\bibstring{url}\space\url{#1}}

\begin{document}

\cite{ctan}

\printbibliography

\end{document}
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.