I currently write my bachelor thesis and I have to use the following style for @incollections:
Mulkay, M.J., 1977: The Sociology of Science in Britain. S. 224-257 in: R.K. Merton & J. Gaston (Hrsg.), The Sociology of Science in Europe. Carbondale: Southern Illinois University Press.
Currently, it looks somewhat like that:
Mulkay, M.J., 1977: The Sociology of Science in Britain. In: The Sociology of Science in Europe. R.K. Merton & J. Gaston (Hrsg.). Carbondale: Southern Illinois University Press, S. 224-257.
How can I change the order of it?
As a minimal example:
\documentclass{article}
\usepackage{lmodern} %
\usepackage[ngerman]{babel} %
\usepackage[utf8]{inputenc} %
\usepackage[T1]{fontenc} %
\usepackage[backend=bibtex, style=authoryear-comp, dashed=false,
sorting=nyt, hyperref=true, firstinits=true, indexing=cite]{biblatex}
% So that editors in incollections stand after the names
\renewbibmacro*{byeditor+others}{%
\ifnameundef{editor}
{}
{\printnames[byeditor]{editor}%
\setunit{\addspace}%
\usebibmacro{byeditor+othersstrg}%
\clearname{editor}%
\newunit}%
\usebibmacro{byeditorx}%
\usebibmacro{bytranslator+others}}
\usepackage{xpatch}
\xpatchbibmacro{byeditor+othersstrg}{\printtext}{\printtext[parens]}{}
{}
\begin{filecontents*}{lit.bib}
@incollection{maazschuler,
title={Sch{\"u}ler als Informanten? Die Qualit{\"a}t von
Sch{\"u}lerangaben zum sozialen Hintergrund},
author={Maaz, Kai and Kreuter, Frauke and Watermann, Rainer},
editor={Baumert, J{\"u}rgen and Stanat, Petra and Watermann,
Rainer},
booktitle={Herkunftsbedingte Disparit{\"a}ten im Bildungswesen:
Differenzielle Bildungsprozesse und Probleme der
Verteilungsgerechtigkeit},
pages={31--59},
year={2006},
publisher={Springer VS},
address={Wiesbaden}
}
\end{filecontents*}
\addbibresource{lit.bib}
\begin{document}
\cite{maazschuler}
\printbibliography
\end{document}
The Output looks as follows:
Maaz, K., Kreuter, F. & Watermann, R. (2006). Schüler als Informanten?
Die Qualität von Schülerangaben zum sozialen Hintergrund. In:
Herkunftsbedingte Disparitäten im Bildungswesen: Differenzielle
Bildungsprozesse und Probleme der Verteilungsgerechtigkeit. J.
Baumert, P. Stanat & R. Watermann (Hrsg.). Wiesbaden: Springer VS, S.
31–59.
Thanks in advance for your help!
\documentlcassto your otherwise very good MWE to make it compilable. I also changed the entrykey of the example citation to make sure the example actually produces a citation. – moewe Apr 26 '19 at 11:52sorting=nytis the default sorting forstyle=authoryear-comp,and thus need not be given explicitly. The optionhyperref=true,is not that different from the defaulthyperref=auto,. The only difference is thathyperref=truethrows a warning if thehyperrefpackage is not loaded. In particular bothhyperref=autoandhyperref=truewill produce links if and only if thehyperrefpackage is loaded. Since many people seem to misunderstand whathyperref=truedoes I recommend not using that option unless absolutely necessary. The default should be good enough. – moewe Apr 26 '19 at 11:55biblatexand not BibTeX. Unless you have a very good reason to stick with BibTeX, I recommend you replacebackend=bibtex,withbackend=biber,and run Biber instead of BibTeX in the compilation cycle (see https://tex.stackexchange.com/q/154751/35864 for help with your editor). – moewe Apr 26 '19 at 11:56biblatexthe optionfirstinitshas been renamed togiveninits. Furthermore the option produces the warningPackage biblatex Warning: Conflicting options. '<namepart>inits' conflicts with 'uniquename=full'. Setting 'uniquename=init'.You can avoid that warning by settnguniquenameto an appropriate value (initorfalse) yourself. – moewe Apr 26 '19 at 11:57