Seite 1 von 1

(Name et al., Datum) zitieren

Verfasst: Fr 16. Feb 2018, 12:35
von Edinita
Für eine Abschlussarbeit soll nach dem Stil des Journals "Molecular Microbiology" zitiert werden. Dementsprechend versuche ich aktuell die Zitation und das Literaturverzeichnis anzupassen.

Ich würde gerne wie folgt zitieren:
1. (Aceveco et al., 2012)
2. oder im Fließtext als Avecedo et al. (2012)

Folgendes Minimalbeispiel:
 %library.bib

@article{Acevedo2012,
author = {Acevedo, B. and Oehmen, A. and Carvalho, G. and Seco, A. and Borr{\'{a}}s, L. and Barat, R.},
doi = {10.1016/j.watres.2012.01.003},
isbn = {0043-1354},
issn = {00431354},
journal = {Water Research},
keywords = {Accumulibacter Type I,Accumulibacter Type II,Glycogen-accumulating metabolism (GAM),Glycogen-accumulating organisms (GAO),Polyphosphate (poly-P),Polyphosphate-accumulating metabolism (PAM),Polyphosphate-accumulating organisms (PAO),Wastewater},
number = {6},
pages = {1889--1900},
pmid = {22297158},
title = {{Metabolic shift of polyphosphate-accumulating organisms with different levels of polyphosphate storage}},
volume = {46},
year = {2012}
}

% main.tex

\documentclass[]{scrartcl} 

\usepackage[utf8]{inputenc}				
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}

\usepackage[style=authoryear,maxbibnames=99,maxcitenames=2,backend=biber, isbn=false,giveninits=true,sorting=nyt]{biblatex}
\usepackage[babel,german=guillemets]{csquotes}


%%\DefineBibliographyStrings{ngerman}{andothers={\textit{et\ al.},}} %um "u.a." durch "et al." auszutauschen

\DefineBibliographyStrings{ngerman}{andothers={\textit{et\ al.}}} %um "u.a." durch "et al.," auszutauschen

\DeclareBibliographyDriver{article}{%
  \printnames{author}%
  \newunit\newblock
  \printfield{year}%
  \newunit\newblock
  \printfield{title}%
  \newunit\newblock
  \printfield{journaltitle}%
  \newunit
  \printfield{volume}%
  \printfield{pages}%
  \finentry
}

\DeclareFieldFormat[article]{year}{(#1)}
\DeclareFieldFormat[article]{title}{#1}
\DeclareFieldFormat[article]{volume}{\textbf{#1:}}
\DeclareFieldFormat[article]{pages}{#1}
\DeclareFieldFormat[article]{journaltitle}{\textit{#1}}

\addbibresource{library.bib}

Mein aktuelles Hauptproblem ist, dass wenn ich folgende Zeile verwende, (Avecedo et al. 2012) zitiert wird. Ich hätte jedoch gerne ein Komma zwischen Autor und Datum.
\DefineBibliographyStrings{ngerman}{andothers={\textit{et\ al.}}}

Wenn ich folgende Zeile verwende, wird richtig zitiert bei (Autor et al., Datum). Jedoch habe ich dann das Problem im Fließtext, dass Avecedo et al., (2012) erscheint - das Komma ist hier natürlich fehl am Platz.
\DefineBibliographyStrings{ngerman}{andothers={\textit{et\ al.},}}

Hat jemand eventuell eine Idee? Ich bin absolute Anfängerin, aber auf jeden Fall gewillt es gescheit zu lernen ;)

Danke schon mal :)

Verfasst: Fr 16. Feb 2018, 12:54
von markusv
Hallo und willkommen im Forum!

Große Umdefinierungen würde ich hier gar nicht vornehmen, alles kann mit den geeigneten Befehlen bereits umgesetzt werden. Lediglich die Anpassung des Kommas und von "u. a." zu "et al." sind nötig:
\documentclass[ngerman]{scrartcl} 

\begin{filecontents}{library.bib}
@article{Acevedo2012, 
 author = {Acevedo, B. and Oehmen, A. and Carvalho, G. and Seco, A. and Borr{\'{a}}s, L. and Barat, R.}, 
 doi = {10.1016/j.watres.2012.01.003}, 
 isbn = {0043-1354}, 
 issn = {00431354}, 
 journal = {Water Research}, 
 keywords = {Accumulibacter Type I,Accumulibacter Type II,Glycogen-accumulating metabolism (GAM),Glycogen-accumulating organisms (GAO),Polyphosphate (poly-P),Polyphosphate-accumulating metabolism (PAM),Polyphosphate-accumulating organisms (PAO),Wastewater}, 
 number = {6}, 
 pages = {1889--1900}, 
 pmid = {22297158}, 
 title = {{Metabolic shift of polyphosphate-accumulating organisms with different levels of polyphosphate storage}}, 
 volume = {46}, 
 year = {2012} 
} 
\end{filecontents}

\usepackage[utf8]{inputenc}            
\usepackage[T1]{fontenc}
\usepackage{babel}

\usepackage[style=authoryear]{biblatex}
\usepackage{csquotes}

\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}} 
\renewcommand*{\nameyeardelim}{\addcomma\space}

\addbibresource{library.bib}
\begin{document}
\textcite{Acevedo2012} \parencite{Acevedo2012}
\printbibliography
\end{document}
Achte bitte immer darauf, ein vollständiges und lauffähiges Minimalbeispiel zu posten, das verspricht wesentlich schnellere Hilfe. Den Link bitte unbedingt beachten.

Verfasst: Fr 16. Feb 2018, 13:22
von Gast
Mit neueren Version von biblatex ist es übrigens vorzuziehen, \DeclareDelimFormat{nameyeardelim}{\addspace} zu nutzen, anstatt \nameyeardelim direkt umzudefinieren. Du kannst Zeichen mit Akzenten bei UTF-8 übrigens direkt eingeben.
\documentclass[ngerman]{scrartcl}

\begin{filecontents}{library.bib}
@article{Acevedo2012,
 author = {Acevedo, B. and Oehmen, A. and Carvalho, G. and Seco, A. and Borrás, L. and Barat, R.},
 doi = {10.1016/j.watres.2012.01.003},
 issn = {0043-1354},
 journal = {Water Research},
 keywords = {Accumulibacter Type I,Accumulibacter Type II,Glycogen-accumulating metabolism (GAM),Glycogen-accumulating organisms (GAO),Polyphosphate (poly-P),Polyphosphate-accumulating metabolism (PAM),Polyphosphate-accumulating organisms (PAO),Wastewater},
 number = {6},
 pages = {1889--1900},
 pmid = {22297158},
 title = {Metabolic shift of polyphosphate-accumulating organisms with different levels of polyphosphate storage},
 volume = {46},
 year = {2012},
}
\end{filecontents}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}

\usepackage[style=authoryear]{biblatex}
\usepackage{csquotes}

\DefineBibliographyStrings{german}{andothers={et\addabbrvspace al\adddot}}
\DeclareDelimFormat{nameyeardelim}{\addcomma\space}

\addbibresource{library.bib}
\begin{document}
\textcite{Acevedo2012} \parencite{Acevedo2012} \cite{Acevedo2012} \autocite{Acevedo2012}
\printbibliography
\end{document}
Deine weiteren Definitionen sind etwas holzhammermäßig, das geht unter Umständen eleganter. Was sollten die denn tun?

Verfasst: Fr 16. Feb 2018, 17:17
von Edinita
Oh super das klappt wunderbar! Vielen vielen Dank schonmal!

Ja es kann sehr gut sein, dass ich nicht die elegantesten Lösungen nutze bisher.. ich bin noch am Lernen und in der Ausprobierphase...

Neben der Zitation selber versuche ich auch das Literaturverzeichnis entsprechend anzupassen nach folgendem Schema:

Wagner, J.C., Platt, R.J., Goldfless, S.J., Zhang, F. andNiles, J.C. (2014) Efficient CRISPR-Cas9-mediatedgenome editing in Plasmodium falciparum. Nat Methods 11: 915–918

Also quasi:

Nachname, A.B., Nachname, C.D. (Jahr) Titel. Journalabkürzung Heftnummer: von Seite-bis Seite

Das klappt bisher auch so halbwegs. Nur erhalte ich die Journals noch nicht als Abkürzungen und nach dem (Jahr) ist ein Punkt der dort nicht hingehört.

Verfasst: Fr 16. Feb 2018, 17:44
von Gast
Ich würde es mal mit
\documentclass[ngerman]{scrartcl}

\begin{filecontents}{\jobname.bib}
@article{Acevedo2012,
 author = {Acevedo, B. and Oehmen, A. and Carvalho, G. and Seco, A. and Borrás, L. and Barat, R.},
 doi = {10.1016/j.watres.2012.01.003},
 issn = {0043-1354},
 journal = {Water Research},
 keywords = {Accumulibacter Type I,Accumulibacter Type II,Glycogen-accumulating metabolism (GAM),Glycogen-accumulating organisms (GAO),Polyphosphate (poly-P),Polyphosphate-accumulating metabolism (PAM),Polyphosphate-accumulating organisms (PAO),Wastewater},
 number = {6},
 pages = {1889--1900},
 pmid = {22297158},
 title = {Metabolic shift of polyphosphate-accumulating organisms with different levels of polyphosphate storage},
 volume = {46},
 year = {2012},
}
\end{filecontents}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}

\usepackage[style=authoryear]{biblatex}
\usepackage{csquotes}

\DefineBibliographyStrings{german}{andothers={et\addabbrvspace al\adddot}}
\DeclareDelimFormat{nameyeardelim}{\addcomma\space}
\DeclareDelimFormat[bib,biblist]{nametitledelim}{\addspace}

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

\renewbibmacro{in:}{%
  \ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}

\DeclareFieldFormat{journaltitle}{#1}
\DeclareFieldFormat[article,periodical]{volume}{\mkbibbold{#1}}
\renewcommand*{\bibpagespunct}{\ifentrytype{article}{\addcolon}{\addcomma}\space}
\DeclareFieldFormat[article,periodical]{pages}{#1}

\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\textcite{Acevedo2012} \parencite{Acevedo2012} \cite{Acevedo2012} \autocite{Acevedo2012,sigfridsson}
\printbibliography
\end{document}
probieren. Wenn die number noch weg soll, kann man das zum Beispiel mit
\DeclareSourcemap{
  \maps{
    \map{
      \pertype{article}
      \pertype{periodical}
      \step[fieldset=number, null]
    }
  }
}
lösen.

Verfasst: Fr 16. Feb 2018, 17:59
von Edinita
Ok danke das werde ich gleich mal ausprobieren.

Ich habe den Punkt auch bei meiner Version ganz einfach wegbekommen, indem ich folgenden Teil:

...
\printfield{year}
\newunit\newblock
...

durch folgenden Teil ausgetauscht habe:

...
\printfield{year}
\addabbrvspace \newblock
...

Dass die Journals mit ihren ganzen Namen und nicht mit Abkürzungen zitiert werden ist denke ich auch ok für mich.
\begin{filecontents}{library.bib} 
@article{Acevedo2012, 
 author = {Acevedo, B. and Oehmen, A. and Carvalho, G. and Seco, A. and Borrás, L. and Barat, R.}, 
 doi = {10.1016/j.watres.2012.01.003}, 
 issn = {0043-1354}, 
 journal = {Water Research}, 
 keywords = {Accumulibacter Type I,Accumulibacter Type II,Glycogen-accumulating metabolism (GAM),Glycogen-accumulating organisms (GAO),Polyphosphate (poly-P),Polyphosphate-accumulating metabolism (PAM),Polyphosphate-accumulating organisms (PAO),Wastewater}, 
 number = {6}, 
 pages = {1889--1900}, 
 pmid = {22297158}, 
 title = {Metabolic shift of polyphosphate-accumulating organisms with different levels of polyphosphate storage}, 
 volume = {46}, 
 year = {2012}, 
} 
\end{filecontents} 

\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage{babel} 

\usepackage[style=authoryear, isbn=false,giveninits=true,sorting=nyt,doi=false]{biblatex}

\DefineBibliographyStrings{ngerman}{andothers={\textit{et\addabbrvspace al\adddot}}} 
\renewcommand*{\nameyeardelim}{\addcomma\space} 

\DeclareBibliographyDriver{article}{%
  \printnames{author}%
  \newunit\newblock
  \printfield{year}%
  \addabbrvspace \newblock
  \printfield{title}%
  \newunit\newblock
  \printfield{journaltitle}%
  \newunit
  \printfield{volume}%
  \printfield{pages}%
  \finentry
}

\DeclareFieldFormat[article]{year}{(#1)}
\DeclareFieldFormat[article]{title}{#1}
\DeclareFieldFormat[article]{volume}{\textbf{#1:}}
\DeclareFieldFormat[article]{pages}{#1}
\DeclareFieldFormat[article]{journaltitle}{\textit{#1}}

\addbibresource{library.bib} 
\begin{document} 
\textcite{Acevedo2012} \parencite{Acevedo2012} \cite{Acevedo2012} \autocite{Acevedo2012} 
\printbibliography 
\end{document}