Reihenfolge Nachnamen, Vornamen im Literaturverzeichnis ...

Erstellung eines Literaturverzeichnisses mit BibTeX, Biber, BibLaTeX und Co.


malo
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 51
Registriert: Di 9. Jun 2015, 21:29

Reihenfolge Nachnamen, Vornamen im Literaturverzeichnis ...

Beitrag von malo »

Ich habe folgendes Problem. In meinem Literaturverzeichnis steht der erste Autor als: Nachname, Vorname. Der nächste aber in der Reihenfolge Vorname, Nachname. Ich habe festgestellt, wenn ich im die Namen der Autoren in {} setzt, funktioniert das auch.
Bei einigen Hundert Einträgen möchte ich das aber gerne vermeiden. Gibt es da eine Möglichkeit?

Und wenn ich schon dabei bin. Ist es möglich, die letzte beidem Autoren durch ein & anstatt ein Komma zu trennen ?

Ich habe mich hier mal freimütig an einer foo.bib aus dem Forum bedient.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Welcome to Overleaf --- just edit your LaTeX on the left,
% and we'll compile it for you on the right. If you give
% someone the link to this page, they can edit at the same
% time. See the help menu above for more info. Enjoy!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{filecontents}
\begin{filecontents}{foo.bib} 
@ARTICLE{Ausubel2004, 
  author = {Cramton, Peter and Ausubel, Lawrence M. and Milgrom, Paul}, 
  title = {The Clock-Proxy Auction: A Practical Combinatorial Auction Design}, 
  year = {2006}, 
  volume = {Combinatorial auctions}, 
  pages = {115-138}, 
  chapter = {5}, 
  editor = {Peter Cramton and Yoav Shoham and Richard Steinberg}, 
  institution = {University of Maryland, Department of Economics -- Peter Cramton}, 
  keywords = {Auctions; Combinatorial Auctions; Market Design; Clock Auctions}, 
  publisher = {MIT Press}, 
  timestamp = {2013.07.10}, 
  url = {http://ideas.repec.org/p/pcc/pccumd/04mit5.html} 
} 
@ARTICLE{Cramton2011, 
author = {Cramton, Peter and Kwerel, Evan and Rosston, Gregory and Skrzypacz, 
Andrzej}, 
title = {Using spectrum auctions to enhance competition in wireless services}, 
journal = {Journal of Law and Economics}, 
year = {2011}, 
volume = {54}, 
timestamp = {2013.07.17} 
} 
\end{filecontents} 

\documentclass[listof=numbered,numbers=noenddot,
bibliography=numbered,chapterprefix=false,11pt]{scrreprt} 
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage[english,ngerman]{babel} 

\usepackage[maxbibnames=9, maxcitenames=1 ,bibstyle=authoryear,citestyle=authoryear-icomp,uniquename=false,uniquelist=false,sorting=nyt,
sortcase=false,isbn=false,url=false,doi=false,backend=biber]{biblatex}

\usepackage{csquotes} 

\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}      % et al. statt u.a. 

\setlength{\bibitemsep}{1em}     % Abstand zwischen den Literaturangaben 
\setlength{\bibhang}{2em}        % Einzug nach jeweils erster Zeile 
\renewcommand*{\labelnamepunct}{\addcolon\space}

\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}  
\renewcommand*{\multinamedelim}{\space\addcomma\space}						%dür das & statt und in Biblifragfie
\renewcommand*{\finalnamedelim}{\space\addcomma\space}
\addbibresource{foo.bib} 

\begin{document} 

Bla bla \parencite{Ausubel2004}. Foo bar \parencite{Cramton2011}

\clearpage 
\printbibliography 

\end{document}

Bartman
Forum-Meister
Forum-Meister
Beiträge: 2456
Registriert: Do 16. Jul 2009, 21:41
Wohnort: Hessische Provinz

Beitrag von Bartman »

Versuche es damit:
\RequirePackage{filecontents}
\begin{filecontents}{foo.bib} 
@ARTICLE{Ausubel2004, 
  author = {Cramton, Peter and Ausubel, Lawrence M. and Milgrom, Paul}, 
  title = {The Clock-Proxy Auction: A Practical Combinatorial Auction Design}, 
  year = {2006}, 
  volume = {Combinatorial auctions}, 
  pages = {115-138}, 
  chapter = {5}, 
  editor = {Peter Cramton and Yoav Shoham and Richard Steinberg}, 
  institution = {University of Maryland, Department of Economics -- Peter Cramton}, 
  keywords = {Auctions; Combinatorial Auctions; Market Design; Clock Auctions}, 
  publisher = {MIT Press}, 
  timestamp = {2013.07.10}, 
  url = {http://ideas.repec.org/p/pcc/pccumd/04mit5.html} 
} 
@ARTICLE{Cramton2011, 
author = {Cramton, Peter and Kwerel, Evan and Rosston, Gregory and Skrzypacz, 
Andrzej}, 
title = {Using spectrum auctions to enhance competition in wireless services}, 
journal = {Journal of Law and Economics}, 
year = {2011}, 
volume = {54}, 
timestamp = {2013.07.17} 
} 
\end{filecontents} 

\documentclass[listof=numbered,numbers=noenddot,
bibliography=numbered,chapterprefix=false]{scrreprt} % 11pt ist die Voreinstellung
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage[english,ngerman]{babel} 

\usepackage[
	maxbibnames=9, 
	maxcitenames=1,
	bibstyle=authoryear,
	citestyle=authoryear-icomp,
	uniquename=false,
	uniquelist=false,
	sorting=nyt,
	sortcase=false,
	isbn=false,
	url=false,
	doi=false,
	backend=biber
]{biblatex}

\usepackage{csquotes} 

\DeclareNameAlias{sortname}{family-given}% <- eingefügt

\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}      % et al. statt u.a. 

\setlength{\bibitemsep}{1em}     % Abstand zwischen den Literaturangaben 
\setlength{\bibhang}{2em}        % Einzug nach jeweils erster Zeile 
\renewcommand*{\labelnamepunct}{\addcolon\space}

\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
%\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}
\renewcommand*{\multinamedelim}{\space\addcomma\space}                  %dür das & statt und in Biblifragfie
\renewcommand*{\finalnamedelim}{\space\&\space}% <- geändert
\addbibresource{foo.bib} 

\begin{document} 
Bla bla \parencite{Ausubel2004}. Foo bar \parencite{Cramton2011}
\clearpage 
\printbibliography 
\end{document}

malo
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 51
Registriert: Di 9. Jun 2015, 21:29

Beitrag von malo »

Vielen, vielen Dank für die schnelle Hilfe.

Gast

Beitrag von Gast »

Nur eine Kleinigkeit. Ich würde lieber
\renewcommand*{\multinamedelim}{\addcomma\space}
\renewcommand*{\finalnamedelim}{\addspace\&\space}
nutzen. Am Beginn von Zeichensetzungsanweisungen ist die \add...-Version eines Befehls vorzuziehen. Außerdem muss dass \addcomma so kein vorhergehendes Leerzeichen löschen.

Dein Eintrag Ausubel2004 ist wohl eher ein @incollection als ein @article, ein @article braucht immer ein journal (journaltitle), in dem er erscheint.

(PS: Habe den Status auf 'beantwortet' gesetzt.)

malo
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 51
Registriert: Di 9. Jun 2015, 21:29

Beitrag von malo »

Vielleicht könnt ihr mir noch etwas weiter helfen.

Und zwar müsst ich noch etwas änder.

1. Das IN zwischen Title und Zeitschrift müsste durch ein -
ersetzt werden. Ich habe eine Lösung gefunden es zu entfernen, aber zu ersetzten klappt leider nicht. Mit dem Befehl
[/code]
\renewbibmacro{In:}{}

kann ich es entfernen .


2. Bandnummer müsste Fett sein.

3. Nach der Bandnummer ein Doppelpunkt

4. Journal darf nicht kursiv sein
\DeclareFieldFormat{journaltitle}{#1\isdot}% 
5. Der Title darf nicht in Anführungszeichen: Das Habe ich so gelöst
\DeclareFieldFormat[article]{title}{{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Welcome to Overleaf --- just edit your LaTeX on the left,
% and we'll compile it for you on the right. If you give
% someone the link to this page, they can edit at the same
% time. See the help menu above for more info. Enjoy!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Welcome to Overleaf --- just edit your LaTeX on the left,
% and we'll compile it for you on the right. If you give
% someone the link to this page, they can edit at the same
% time. See the help menu above for more info. Enjoy!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{filecontents}
\begin{filecontents}{foo.bib} 
@ARTICLE{Ausubel2004, 
  author = {Cramton, Peter and Ausubel, Lawrence M. and Milgrom, Paul}, 
  title = {The Clock-Proxy Auction: A Practical Combinatorial Auction Design}, 
  year = {2006}, 
  volume = {Combinatorial auctions}, 
  pages = {115-138}, 
  chapter = {5}, 
  editor = {Peter Cramton and Yoav Shoham and Richard Steinberg}, 
  institution = {University of Maryland, Department of Economics -- Peter Cramton}, 
  keywords = {Auctions; Combinatorial Auctions; Market Design; Clock Auctions}, 
  publisher = {MIT Press}, 
  timestamp = {2013.07.10}, 
  url = {http://ideas.repec.org/p/pcc/pccumd/04mit5.html} 
} 
@Article{Kjaergaard2012,
  Title                    = {Phosphorus mobilization in rewetted peat and sand at variable flow rate and redox regimes },
  Author                   = {Kjaergaard, C. and  Heiberg, L. and Henning S. J. and  Hansen, H. C. B.},
  Year                     = {2012},
  Doi                      = {http://dx.doi.org/10.1016/j.geoderma.2011.12.029},
  ISSN                     = {0016-7061},
  Pages                    = {311 - 321},
  Url                      = {http://www.sciencedirect.com/science/article/pii/S0016706112000067},
  Volume                   = {173–174},

  Journal                  = {Geoderma },
  Keywords                 = {Wetland restoration}
}

@ARTICLE{Cramton2011, 
author = {Cramton, Peter and Kwerel, Evan and Rosston, Gregory and Skrzypacz, 
Andrzej}, 
title = {Using spectrum auctions to enhance competition in wireless services}, 
journal = {Journal of Law and Economics}, 
year = {2011}, 
volume = {54}, 
timestamp = {2013.07.17} 
} 
\end{filecontents} 

\documentclass[listof=numbered,numbers=noenddot,
bibliography=numbered,chapterprefix=false,11pt]{scrreprt} 
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage[english,ngerman]{babel} 

\usepackage[maxbibnames=9, maxcitenames=1 ,bibstyle=authoryear,citestyle=authoryear-icomp,uniquename=false,uniquelist=false,sorting=nyt,
sortcase=false,isbn=false,url=false,doi=false,backend=biber]{biblatex}

\usepackage{csquotes} 

\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}      % et al. statt u.a. 

\setlength{\bibitemsep}{1em}     % Abstand zwischen den Literaturangaben 
\setlength{\bibhang}{2em}        % Einzug nach jeweils erster Zeile 
\renewcommand*{\labelnamepunct}{\addcolon\space}

\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}  
\renewcommand*{\multinamedelim}{\space\addcomma\space}                  %dür das & statt und in Biblifragfie
\renewcommand*{\finalnamedelim}{\space\addcomma\space}
\DeclareFieldFormat[article]{title}{{#1}}
\DeclareFieldFormat{journaltitle}{#1\isdot}% 
\addbibresource{foo.bib} 

\begin{document} 

Bla bla \parencite{Ausubel2004}. Foo bar \parencite{Cramton2011} , aufhsdf \parencite{Kjaergaard2012}

\clearpage 
\printbibliography 

\end{document}
\DeclareFieldFormat{journaltitle}{#1\isdot}%

Gast

Beitrag von Gast »

In Deinem Beispiel hättest Du die schon erhaltenen Hinweise ruhig einbauen können.

Probier
\RequirePackage{filecontents}
\begin{filecontents}{foo.bib}
@ARTICLE{Ausubel2004,
  author = {Cramton, Peter and Ausubel, Lawrence M. and Milgrom, Paul},
  title = {The Clock-Proxy Auction: A Practical Combinatorial Auction Design},
  year = {2006},
  volume = {Combinatorial auctions},
  pages = {115-138},
  chapter = {5},
  editor = {Peter Cramton and Yoav Shoham and Richard Steinberg},
  institution = {University of Maryland, Department of Economics -- Peter Cramton},
  keywords = {Auctions; Combinatorial Auctions; Market Design; Clock Auctions},
  publisher = {MIT Press},
  timestamp = {2013.07.10},
  url = {http://ideas.repec.org/p/pcc/pccumd/04mit5.html}
}
@Article{Kjaergaard2012,
  Title                    = {Phosphorus mobilization in rewetted peat and sand at variable flow rate and redox regimes },
  Author                   = {Kjaergaard, C. and  Heiberg, L. and Henning, S. J. and  Hansen, H. C. B.},
  Year                     = {2012},
  Doi                      = {http://dx.doi.org/10.1016/j.geoderma.2011.12.029},
  ISSN                     = {0016-7061},
  Pages                    = {311 - 321},
  Url                      = {http://www.sciencedirect.com/science/article/pii/S0016706112000067},
  Volume                   = {173–174},

  Journal                  = {Geoderma },
  Keywords                 = {Wetland restoration}
}

@ARTICLE{Cramton2011,
author = {Cramton, Peter and Kwerel, Evan and Rosston, Gregory and Skrzypacz,
Andrzej},
title = {Using spectrum auctions to enhance competition in wireless services},
journal = {Journal of Law and Economics},
year = {2011},
volume = {54},
timestamp = {2013.07.17}
}
\end{filecontents}

\documentclass[listof=numbered,numbers=noenddot,
bibliography=numbered,chapterprefix=false,11pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,ngerman]{babel}

\usepackage{csquotes}

\usepackage[
   maxbibnames=9,
   maxcitenames=1,
   bibstyle=authoryear,
   citestyle=authoryear-icomp,
   uniquename=false,
   uniquelist=false,
   sorting=nyt,
   sortcase=false,
   isbn=false,
   url=false,
   doi=false,
   backend=biber
]{biblatex}

\setlength{\bibitemsep}{1em}     % Abstand zwischen den Literaturangaben
\setlength{\bibhang}{2em}        % Einzug nach jeweils erster Zeile

\DefineBibliographyStrings{german}{andothers={et\addabbrvspace al\adddot}}      % et al. statt u.a.

\DeclareNameAlias{sortname}{family-given}% <- eingefügt 
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand*{\multinamedelim}{\addcomma\space}
\renewcommand*{\finalnamedelim}{\addspace\&\space}

\renewcommand*{\labelnamepunct}{\addcolon\space}

\DeclareFieldFormat[article]{title}{#1}

\renewbibmacro{in:}{%
  \ifentrytype{article}
    {\printunit{\addspace--\space}}
    {\printtext{\bibstring{in}\intitlepunct}}}

\DeclareFieldFormat{journaltitle}{#1\isdot}%
\DeclareFieldFormat[article,periodical]{volume}{\mkbibbold{#1}}


\addbibresource{foo.bib}

\begin{document}
Bla bla \parencite{Ausubel2004}. Foo bar \parencite{Cramton2011} , aufhsdf \parencite{Kjaergaard2012}
\printbibliography
\end{document}
Beachte, dass ich einige Dinge umsortiert und verändert habe. Es schien mir, als würde bei den Autoren von Kjaergaard2012 eine Komma hinter Henning fehlen, das habe ich ergänzt.

Bei Wunsch 3 bin ich mir nicht sicher, ob der Doppelpunkt vor der Seitenzahl kommen soll oder zwischen Volume und Number (sofern vorhanden).

malo
Forum-Fortgeschrittener
Forum-Fortgeschrittener
Beiträge: 51
Registriert: Di 9. Jun 2015, 21:29

Beitrag von malo »

Vielen Dank nochmals.
Der Doppelpunkt soll wohl hinter die Nummer.

In denke mal so:

Geoderma 37(2): 12-20

Gast

Beitrag von Gast »

Dann gehe ich davon aus, dass du einen Doppelpunkt vor der Seitenzahl willst.

Nur für @article geht das mit
\renewcommand*{\bibpagespunct}{\ifentrytype{article}{\addcolon}{\addcomma}\space}
Für alle Typen mit
\renewcommand*{\bibpagespunct}{\addcolon\addcomma}\space}
Beachte an der Stelle auch nochmal mein Kommentar, dass Dein Eintrag Ausubel2004 wohl eher ein @incollection als ein @article ist.

Antworten