1

My question is concerning the actual citation style and how to represent it using \printbibliography.

In my text I want to cite as:

(Author X & Author Y Year)

But in my bibliography I want it to be displayed as:

Last Name Author X, First Name Author X (only Inital X.), Last Name Author Y, First Name Author Y (only Inital Y.) ........


I have tried a couple of things but without any success, like:


\begin{filecontents}{\jobname.bib}
@article{wombat2016,
    author   = {Walther Wombat and Klaus Koala},
    title    = {The true meaning of 42},
    journal  = {Journal of modern skepticism},
    date     = {2016},
    keywords = {trusted},
}
@book{lion2010,
    author       = {Laura Lion and  Gabrielle Giraffe and Carl Capybara},
    title        = {The dangers of asking the wrong question},
    publisher    = {publishing house},
    date         = {2010},
    keywords     = {trusted},
}
\end{filecontents}
\documentclass{article}
\usepackage[backend=bibtex,style=authoryear,citetracker=true,mincitenames=2,giveninits=true,maxbibnames=99,dashed=false,isbn=false,url=false,urldate=comp,natbib=true]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}

All we know is limited, apart from knowing the answer we all know. Or do we? Wombat and Koala have discovered some interesting things~\parencite{wombat2016}.

Some people are too nosy. What can happen to them is described by Laura Lion~\cite[9]{lion2010}.

\printbibliography
\end{document}
4
  • Well, what style are you using? You can try maxcitenames=2.
    – Johannes_B
    Feb 10, 2018 at 13:53
  • \usepackage[backend=bibtex,style=authoryear,citetracker=true,maxcitenames=2,giveninits=false,maxbibnames=99,dashed=false,isbn=false,url=false,urldate=comp,natbib=true]{biblatex}
    – Peter
    Feb 10, 2018 at 13:58
  • I added a minimal working example (based on en.wikibooks.org/wiki/LaTeX/…) with your original line (slightly modified, solves one issue already).
    – Johannes_B
    Feb 10, 2018 at 14:06
  • thank you @Johannes_B but thats not what i want i want it to be: something cite ( Smith & Penny 2018) and then down in the bibliography it should be Smith, T., Penny, T. something something 2018
    – Peter
    Feb 10, 2018 at 14:23

1 Answer 1

3
\DeclareNameAlias{sortname}{family-given}

Changes the name order in the bibliography to 'Last, First'. Together with giveninits=true you get 'Last, F.'.

\DeclareDelimFormat{finalnamedelim}{\addspace\&\space}
\DeclareDelimFormat[bib,biblist]{finalnamedelim}{\addcomma\space}

Gives '&' in citations and ', ' in the bibliography.

If you want small caps for last names, use

\renewcommand*{\mkbibnamefamily}{\textsc}

MWE

\documentclass{article}
\usepackage[style=authoryear, mincitenames=2, giveninits=true, maxbibnames=99, dashed=false, uniquename=init]{biblatex}
\addbibresource{biblatex-examples.bib}

\DeclareNameAlias{sortname}{family-given}
\DeclareDelimFormat{finalnamedelim}{\addspace\&\space}
\DeclareDelimFormat[bib,biblist]{finalnamedelim}{\addcomma\space}

\renewcommand*{\mkbibnamefamily}{\textsc}

\begin{document}
\cite[123]{sigfridsson}

\cite[9]{companion}

\printbibliography
\end{document}

enter image description here

16
  • tried it but for some reason i get & in citation and & in the bibliography if its more than 2 authors the last ',' is always an '&'
    – Peter
    Feb 10, 2018 at 14:28
  • @Peter Do you get an error about \DeclareDelimFormat not being recognised? It certainly works for me? Can you show me an exact MWE of what you tried to do?
    – moewe
    Feb 10, 2018 at 14:29
  • i dont get an error, i dont know whats going wrong also when i cite it does the following (lastname author X & firstname initial Author Y, Year) i really dont know whats going wrong
    – Peter
    Feb 10, 2018 at 14:46
  • Ok it works for the citation now, but still last author in the bibliography is always noted as " & Author"
    – Peter
    Feb 10, 2018 at 14:49
  • @Peter Can you get my example to work? Just copy it over to your PC and run it, no changes are required. Does it give the same output as in the picture?
    – moewe
    Feb 10, 2018 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .