Ich habe beim Schreiben meines Aufsatzes ein Problem damit, den Bibliografiestil von @article mit biblatex und biber anzupassen. Das Bild zeigt den Bibliografiestil, der durch Ausführen der .tex-Datei generiert wird.
Ich möchte jedoch: 1. Das Komma (,) zwischen dem Nach- und Vornamen der Autoren entfernen. 2. Die Reihenfolge von Band, Nummer und Jahr wie folgt vertauschen: Jahr; Band(Nummer):
Beispielsweise müsste in der Abbildung Reference[3]: 56.7 (2013) eigentlich 2013; 56(7) lauten:
Vielen Dank.
Folgendes sind meine .tex
und .bib
Dateien:
.tex
Datei
\documentclass[a4paper, 10pt]{article}
\usepackage[top=2cm, bottom=2cm, left=3cm, right=3cm]{geometry}
\usepackage[backend=biber,style=numeric-comp,sortcites=true,maxbibnames=100,firstinits=true,terseinits=true,sorting=none]{biblatex}
\usepackage{hyperref}
\addbibresource{mybib.bib}
\renewcommand*{\finalnamedelim}{\multinamedelim}
\renewcommand*{\bibpagespunct}{\intitlepunct}
\DeclareFieldFormat[book, article, thesis, inproceedings]{title}{#1}
\DeclareFieldFormat{journaltitle}{#1}
\DeclareFieldFormat{booktitle}{#1}
\DeclareFieldFormat{pages}{#1}
\DeclareNameAlias{default}{last-first}
\renewbibmacro{in:}{\ifentrytype{article} {} {\printtext{\bibstring{in} \intitlepunct}}}
\begin{document}
This is an example for illustration of customizing bibliography style.~\cite{gams,AIChE,Azeez2013}
\printbibliography
\end{document}
.bib
Datei
@article{Azeez2013,
author = {Azeez, O. S. and Isafiade, A. J. and Fraser, D. M.},
title = {Supply-based superstructure synthesis of heat and mass exchange networks},
journal = {Computers \& Chemical Engineering},
volume = {56},
number = {7},
pages = {184--201},
year = {2013}
}
@book{gams,
author = {Rosenthal, Racd Ejijig},
title = {GAMS---A User's Guide},
year = {2010},
publisher = {GAMS Development Corporation}
}
@inproceedings{AIChE,
author = {Savelski, Minor J and Bagajewicz, Michel J},
title = {Design and retrofit of water utilization systems in refineries and process plants},
booktitle = {Annual National AIChE Meeting},
year = {1997},
location = {Los Angeles, USA}
}
Antwort1
Die notwendigen Änderungen, um @article
das gewünschte Aussehen zu erzielen, sind wie folgt
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addspace}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\setunit{\addsemicolon\space}%
\usebibmacro{volume+number+eid}%
\newunit}
Um die Reihenfolge der Felder zu ändern: zuerst Jahr, erst dann Band und Zahl.
Dann
\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
Band und Nummer sind als "56(3)" zu setzen.
Und schlussendlich
\renewbibmacro*{issue+date}{%
\iffieldundef{issue}
{\usebibmacro{date}}
{\printfield{issue}%
\setunit*{\addspace}%
\usebibmacro{date}}%
\newunit}
Um sicherzustellen, dass das Datum nicht in Klammern steht.
MWE
\documentclass[a4paper, 10pt]{article}
\usepackage{geometry}
\usepackage[backend=biber,style=numeric-comp,sortcites=true,maxbibnames=100,firstinits=true,terseinits=true,sorting=none]{biblatex}
\usepackage{filecontents}
\usepackage{hyperref}
\begin{filecontents*}{\jobname.bib}
@article{Azeez2013,
author = {Azeez, O. S. and Isafiade, A. J. and Fraser, D. M.},
title = {Supply-based superstructure synthesis of heat and mass exchange networks},
journal = {Computers \& Chemical Engineering},
volume = {56},
number = {7},
pages = {184--201},
year = {2013}
}
@book{gams,
author = {Rosenthal, Racd Ejijig},
title = {GAMS---A User's Guide},
year = {2010},
publisher = {GAMS Development Corporation}
}
@inproceedings{AIChE,
author = {Savelski, Minor J and Bagajewicz, Michel J},
title = {Design and retrofit of water utilization systems in refineries and process plants},
booktitle = {Annual National AIChE Meeting},
year = {1997},
location = {Los Angeles, USA}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\renewcommand*{\finalnamedelim}{\multinamedelim}
\renewcommand*{\bibpagespunct}{\intitlepunct}
\DeclareFieldFormat[book, article, thesis, inproceedings]{title}{#1}
\DeclareFieldFormat{journaltitle}{#1}
\DeclareFieldFormat{booktitle}{#1}
\DeclareFieldFormat{pages}{#1}
\DeclareNameAlias{default}{last-first}
\renewbibmacro{in:}{\ifentrytype{article} {} {\printtext{\bibstring{in} \intitlepunct}}}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addspace}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\setunit{\addsemicolon\space}%
\usebibmacro{volume+number+eid}%
\newunit}
\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\renewbibmacro*{issue+date}{%
\iffieldundef{issue}
{\usebibmacro{date}}
{\printfield{issue}%
\setunit*{\addspace}%
\usebibmacro{date}}%
\newunit}
\begin{document}
This is an example for illustration of customizing bibliography style.~\cite{gams,AIChE,Azeez2013}
\printbibliography
\end{document}