I have a book with @online biblatex url whose title will be appeared in italic. I want to make it non-italic for @online but for@book italic title is fine. Do you know how to do it? To run : I run pdfLaTeX first, then Biber then pdfLaTeX again:
\documentclass{book}
\usepackage[style=authoryear]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{mybook,
author = {Herlastname, Herfirstname M},
date = {2010},
title = {company for him},
publisher = {City: publisher},
}
@online{myurl,
author = {Hislastname, Hisfirstname M.},
date = {2019},
title = {company for her},
organization = {Wikibooks},
url = {https://helping_each_other_and_i_help_u.com},
}
\end{filecontents}
\bibliography{\jobname}
\begin{document}
like to see \textcite{mybook} try \citeauthor{myurl}.
\printbibliography
\end{document}
\DeclareFieldFormat[online]{title}{#1}. Search thebiblatexmanual and this site for\DeclareFieldFormat,\DeclareListFormat, and\DeclareNameFormatfor lots of examples of how to format fields. Alsobiblatexprefers\addbibresource{\jobname.bib}over\bibliography{\jobname}. – David Purton May 14 '19 at 03:00