I'd like to change the authoryear citations using \parencite
, so that authors appear as:
(AUTHOR, year) and/or (AUTHOR, year, p.) (one page) (AUTHOR, year, pp.) (multiple pages)
So far I managed to change last names to uppercase (not my choice, but I'm trying to implements this) in citations and in the bibliography using:
\renewcommand{\mkbibnamefirst}[1]{\MakeUppercase{#1}}
\renewcommand{\mkbibnamelast}[1]{\MakeUppercase{#1}}
\renewcommand{\mkbibnameprefix}[1]{\MakeUppercase{#1}}
\renewcommand{\mkbibnameaffix}[1]{\MakeUppercase{#1}}
\DeclareNameFormat{author}{%
\ifthenelse{\value{listcount}=1}
{\MakeUppercase{#1}%
\ifblank{#3}{}{\addcomma\space #3}}
{\ifblank{#3}{}{#3\space}%
\MakeUppercase{#1}}%
\ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space}
{}}
I have also tried to change multi-author delimiters in-text \parencite
citations using
\renewcommand*{\finalnamedelim}{;\space}
\renewcommand*{\multicitedelim}{;\space}
So that references look like:
(AUTHOR1; AUTHOR2; AUTHOR3, year).
But it didn't work.
I would also like to set all multi-author names as last-first in the references list, separated by semicolons, but the following didn't work either:
\DeclareNameAlias{sortname}{last-first}
I'm using the following in my preamble:
\documentclass{article}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{EB Garamond}
\setsansfont{Candara}
\setmonofont{Consolas}
\usepackage{polyglossia}
\setmainlanguage{brazil}
\usepackage{csquotes}
\usepackage[style=historian,doi=false,citestyle=authoryear]{biblatex}
\DefineBibliographyStrings{brazil}{namedash={---},volumeof={de},url={Disponível em: }}
\renewcommand{\mkbibnamefirst}[1]{\MakeUppercase{#1}}
\renewcommand{\mkbibnamelast}[1]{\MakeUppercase{#1}}
\renewcommand{\mkbibnameprefix}[1]{\MakeUppercase{#1}}
\renewcommand{\mkbibnameaffix}[1]{\MakeUppercase{#1}}
\DeclareNameFormat{author}{%
\ifthenelse{\value{listcount}=1}
{\MakeUppercase{#1}%
\ifblank{#3}{}{\addcomma\space #3}}
{\ifblank{#3}{}{#3\space}%
\MakeUppercase{#1}}%
\ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space}
{}}
\parencite
? If you modifymkbibnamefirst
and so on, you will also modify the bibliography. Also, a full MWE, i.e. one with\begin{document}
etc. would be quite helpful.DeclareNameFormat...
?#3
is the author firstname, what are you trying to do there ?MakeUppercase
in that context seems superfluous given the earlier definition.