ich habe eine sehr dringende Frage da morgen Abgabetermin meiner Arbeit ist und ich den letzte Teil der Bibliography nicht hinbekomme.
Wäre unendlich dankbar wenn mir jemand (leider sehr kurzfristig)
helfen könnte!
Es geht darum folgende Vorgaben der Fakultät umzusetzten:
1. Alphabetisch Autoren-Nachname, wenn identisch dann Initialen
2. Wenn beides identisch Jahr in chronologischer Reihenfolge
3. Wenn auch das Jahr identisch dann a/b Nummerierung.
(andere Vorgaben sind bereits umgesetzt)
Das Problem betrifft Punkt 2 und ist im angehängten pdf deutlich.
Bei gleichen Autorennamen + Initialen wird scheinbar wahrlos statt nach Jahr sortiert..
Tausend dank!
Folgendes Minimalbeispiel:
\documentclass[10pt]{article} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @Article{Sakaguchi2008, author = {Sakaguchi, Shimon and Yamaguchi, Tomoyuki and Nomura, Takashi and Ono, Masahiro}, title = {Regulatory T cells and immune tolerance.}, journal = {Cell}, year = {2008}, volume = {133}, pages = {775--787}, issue = {5}, journal-abbreviation = {Cell}, } @Article{Sakaguchi1995, author = {Sakaguchi, S and Sakaguchi, N and Asano, M and Itoh, M and Toda, M}, title = {Immunologic self-tolerance maintained by activated T cells expressing IL-2 receptor alpha-chains (CD25). Breakdown of a single mechanism of self-tolerance causes various autoimmune diseases.}, journal = {Journal of immunology (Baltimore, Md. : 1950)}, year = {1995}, volume = {155}, pages = {1151--1164}, issue = {3}, journal-abbreviation = {J Immunol}, } @Article{Sakaguchi2009, author = {Sakaguchi, Shimon and Wing, Kajsa and Onishi, Yasushi and Prieto-Martin, Paz and Yamaguchi, Tomoyuki}, title = {Regulatory T cells: how do they suppress immune responses?}, journal = {International immunology}, year = {2009}, volume = {21}, pages = {1105--1111}, issue = {10}, journal-abbreviation = {Int Immunol}, } @Article{Sakaguchi2009a, author = {Sakaguchi, Shimon and Wing, Kajsa and Yamaguchi, Tomoyuki}, title = {Dynamics of peripheral tolerance and immune regulation mediated by Treg.}, journal = {European journal of immunology}, year = {2009}, volume = {39}, issue = {9}, journal-abbreviation = {Eur J Immunol}, } @Article{Sakaguchi2013, author = {Sakaguchi, Shimon and Vignali, Dario A A and Rudensky, Alexander Y and Niec, Rachel E and Waldmann, Herman}, title = {The plasticity and stability of regulatory T cells.}, journal = {Nature reviews Immunology}, year = {2013}, volume = {13}, pages = {461--467}, month = {06}, issue = {6}, journal-abbreviation = {Nat Rev Immunol}, } \end{filecontents} \usepackage[utf8]{inputenc} \usepackage[babel,autostyle=true]{csquotes} % - Stil der Zitate und Bibliographie \usepackage[backend=biber, citestyle=numeric, bibstyle=authoryear, giveninits=true, %all first and middle names as initials (old: firstinits) useprefix=true, %Präfixe werden bei Sortierung nach Nachnamen berücksichtigt maxbibnames=1000, %displaying all authors dashed=false, %kein Querstrich bei identischen Autoren sortcites=true, %Aufsteigende order innerhalb der Klammer bei mehreren Autoren sorting=nyt, uniquename=init, %Letters Disambiguierung selber Autor, nicht für Autoren mit demselben Familiennamen isbn=false,doi=false,url=false ]{biblatex} % - Bibliography options I: reference list \setlength{\bibitemsep}{6pt} %Vertikaler Abstand zwischen den einzelnen Einträgen % % Change Sorting scheme in reference list for multiple authors of same name (siehe biblatex manual S.172) \DeclareNameAlias{default}{last-first} % Change order: Last name, then first name \DeclareNameAlias{sortname}{last-first} % to change also last author when using approach for reordering year % % change citations in the reference list text from brackets to parentheses \DeclareFieldFormat{labelnumberwidth}{\mkbibparens{#1}} \DeclareFieldFormat{shorthandwidth}{\mkbibparens{#1}} \renewcommand*{\bibinitdelim}{} % no spaces between author initials \renewcommand*{\bibinitdelim}{\,} %Alternative: adds a non-breakable thin space between author initials \AtEveryBibitem{ \clearfield{note} % clears notes \clearfield{number} % clears Heftnummern } \DeclareFieldFormat{pages}{#1} % no prefix for the `pages` field in the bibliography \renewbibmacro{in:}{% \ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}} % Suppress “In:”ONLY before Journal name(not book) \DeclareFieldFormat[article,book]{title}{#1} % remove quotes around title \DeclareFieldFormat{journaltitle} {#1} %journal title not italicized % remove number (Heftnummer) and electronic identifier (eid) \renewbibmacro*{volume+number+eid}{% \printfield{volume}% \setunit*{\adddot}% } % Print year after author in biblatex' numeric style \defbibenvironment{bibliography} {\list {\printtext[labelnumberwidth]{% \printfield{prefixnumber}% \printfield{labelnumber}}} {\setlength{\labelwidth}{\labelnumberwidth}% \setlength{\leftmargin}{\labelwidth}% \setlength{\labelsep}{\biblabelsep}% \addtolength{\leftmargin}{\labelsep}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}% \renewcommand*{\makelabel}[1]{\hss##1}} {\endlist} {\item} % - Bibliography options II: in text %% change citations in the text from brackets to parentheses (in main text; only for citations) \DeclareCiteCommand{\cite}[\mkbibparens] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \DeclareCiteCommand{\parencite}[\mkbibparens] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \addbibresource{\jobname.bib} \begin{document} \nocite{*} \printbibliography \end{document}