I am very new to LaTeX as you will see from my crude MWE. I have spent a lot of time tweaking biblatex
to how I need it to look. I have one final problem, I can not find a work around and can't find a solution on the site.
I would like to show an "and" for my \textcite
when there are multiple authors, which it currently does. Although I would like to have "&" for my \parencite
with multiple authors. I would also like to have my bibliography showing "&".
Please find MWE and any help would be appreciated.
\documentclass[12pt, twoside]{report}
\usepackage{filecontents}
\usepackage[%
backend=biber,
style=authoryear,
uniquename=init,giveninits,giveninits=true, terseinits=true,hyperref]{biblatex}
\usepackage{xpatch}
\DeclareNameAlias{sortname}{last-first}%Surname first
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
%\addspace\&\space}
\newcommand{\biband}{\ifcurrentname{labelname}{\bibstring{and}}{\&}}
\renewcommand*{\finalnamedelim}{%
\ifnumgreater{\value{liststop}}{4}{\finalandcomma}{}%
\addspace\biband\space}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\labelnamepunct}{\addcomma\addspace}%Sets comma
\renewcommand*{\newunitpunct}{\addcomma\space}%Sets commas
\setlength{\bibhang}{0em}%remove indent
\setlength\bibitemsep{\baselineskip}% add vertical space
\begin{filecontents}{\jobname.bib}
@article{test,
author = "Family, Given and Second, A and Given, Two",
title = "title",
journal = "Journal",
year = "2012"}
@Article{leis2016,
Title = {A Temperature Compensation Technique for Near-Infrared Methane Gas Threshold Detection},
Author = {J. Leis and D. Buttsworth},
Journal = {{IEEE} Trans. Ind. Electron.},
Year = {2016},
Month = mar,
Number = {3},
Pages = {1813--1821},
Volume = {63},
File = {ieeetie-2016.pdf:PDF},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
I would like to use {\bfseries ``\&''} within the {\bfseries bibliography}. \\
I would like to use {\bfseries ``and''} in {\bfseries textcite} \textcite{leis2016} \\
I would like to use {\bfseries ``\&''} within {\bfseries parencite} \parencite{leis2016}.\\
Example of three authors would be the same as above \textcite{test} using {\bfseries ``and''} within {\bfseries textcite}. \\
Although using {\bfseries parencite} to be {\bfseries ``\&''} \parencite{test}.
\renewcommand{\bibname}{REFERENCES}
\xpatchbibmacro{date+extrayear}{%
\printtext[parens]%
}{}{}
\printbibliography
\end{document}