von Mogli9 » Sa 3. Aug 2019, 18:59
Hallo,
ich versuche gerade die zitierweise für meine Bachelorarbeit anzupassen. Die Verweise sollen bei mehreren Verweisen an einer Stelle mit Komma getrennt werden: [ABC19,DEF19] Mein aktueller Code gibt jedoch ein Semikolon aus: [ABC19;DEF19]. Kann mir dabei jemand helfen?
Folgendes Minimalbeispiel - ich kann es leider nicht weiter eingrenzen:
\documentclass[
BCOR=12mm, % 12mm binding corrections, adjust to fit your binding
parskip=half, % new paragraphs start with half line vertical space
open=any, % chapters start on both odd and even pages
cleardoublepage=plain, % no header/footer on blank pages
]{unithesis}
% Warning, if another latex run is needed
\usepackage[aux]{rerunfilecheck}
% just list chapters, sections and subsections in the toc, not subsubsections or smaller
\setcounter{tocdepth}{2}
%------------------------------------------------------------------------------
%------------------------------ Sprache und Schrift: --------------------------
%------------------------------------------------------------------------------
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX} % -- becomes en-dash etc.
\usepackage{tabularx}
\captionsetup[table]{belowskip=9pt}
\usepackage{multirow}
\usepackage[english,ngerman]{babel} % neue deutsche
% microtypographical features, makes the text look nicer on the small scale
\usepackage{microtype}
%------------------------------------------------------------------------------
%------------------------ Für die Matheumgebung--------------------------------
%------------------------------------------------------------------------------
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{braket}
\usepackage{isotope}
\usepackage{pgfplotstable}
\usepackage{longtable}
\usepackage{tabu}
\usepackage{pdfpages}
\pgfplotsset{/pgf/number format/use comma}
\pgfplotsset{compat=1.11}
% Enable Unicode-Math and follow the ISO-Standards for typesetting math
\usepackage[
math-style=ISO,
bold-style=ISO,
sans-style=italic,
nabla=upright,
partial=upright,
]{unicode-math}
\setmathfont{Latin Modern Math}
% nice, small fracs for the text with \sfrac{}{}
\usepackage{xfrac}
%------------------------------------------------------------------------------
%---------------------------- Numbers and Units -------------------------------
%------------------------------------------------------------------------------
\usepackage[
locale=DE,
separate-uncertainty=true,
per-mode=symbol-or-fraction,
]{siunitx}
\sisetup{math-micro=\text{µ},text-micro=µ}
%------------------------------------------------------------------------------
%-------------------------------- tables -------------------------------------
%------------------------------------------------------------------------------
\usepackage{booktabs} % stellt \toprule, \midrule,
%------------------------------------------------------------------------------
%-------------------------------- graphics -------------------------------------
%------------------------------------------------------------------------------
\usepackage{graphicx}
\usepackage{grffile}
% allow figures to be placed in the running text by default:
\usepackage{scrhack}
\usepackage{float}
\floatplacement{figure}{htb}
\floatplacement{table}{htbp}
% keep figures and tables in the section
\usepackage[section, below]{placeins}
%------------------------------------------------------------------------------
%---------------------- customize list environments ---------------------------
%------------------------------------------------------------------------------
\usepackage{enumitem}
%------------------------------------------------------------------------------
%------------------------------ Bibliographie ---------------------------------
%------------------------------------------------------------------------------
\usepackage[
backend=biber, % use modern biber backend
style = alphabetic, % gibt Quellen nicht durchnummeriert, sondern mit Text an
autolang=hyphen, % load hyphenation rules for if language of bibentry is not % german, has to be loaded with \setotherlanguages % in the references.bib use langid={en} for english sources
sorting=none, % sorts literature chronologicaly
maxcitenames=10000000,
maxbibnames=1000000,
minbibnames=3,
mincitenames=3,
maxitems=1000000,
% minitems=3,
]{biblatex}
\addbibresource{bibliografie.bib} % die Bibliographie einbinden
\DefineBibliographyStrings{german}{andothers = {{et\,al\adddot}}, % et al. statt u.a.
editor = {\mkbibparens{Hrsg\adddot}\addcolon}, % ; nach Hrsg
editors = {\mkbibparens{Hrsg\adddot}\addcolon}} % ; nach Hrsg
\DeclareNameAlias{author}{last-first} %Erst Nachname, dann vorname
\DeclareNameAlias{editor}{last-first}
\DeclareFieldFormat[article]{number}{\bibstring{number}\addnbspace #1} % Number mit Text Nr.
\renewcommand{\multinamedelim}[0]{; }
\renewcommand{\finalnamedelim}[0]{; }
\renewcommand{\labelnamepunct}{\addcolon\addspace} % Doppelpunkt nach Namen
%------------------------------------------------------------------------------
%------------------------------ Sonstiges: ------------------------------------
%------------------------------------------------------------------------------
\usepackage[hidelinks]{hyperref} %Links ohne Kasten
\usepackage{bookmark}
\usepackage[shortcuts]{extdash}
\begin{document}
Zitatbeispiel \cite{Grimm,Andersen}
\backmatter
\nocite{*}
\printbibliography
\end{document}
Die Quellenangaben:
@Book{Andersen,
author = {Andersen, H. C.},
title = {Andersens Märchen},
}
@Book{Grimm,
author = {Grimm, J. and Grim, W.},
title = {Die Märchen der Gebrüder Grimm},
}
Und die Klasse:
\ProvidesClass{unithesis}[2015/08/31 v0.9 wrapper to scrbook for thesis at TUDo]
% All other Options go to KOMA-Script
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}}
\PassOptionsToPackage{bibliography=totoc}{biblatex}
\ProcessOptions\relax
\LoadClass[
headsepline, % line between header and text body
bibliography=totoc, % bibliography as unnumbered chapter in toc
numbers=noenddot, % no dot after figure/table number
captions=tableheading, % correct spacing for table headings
headings=normal, % size of chapter headings slightly smaller
]{scrbook}
\RequirePackage{caption}
\RequirePackage{subcaption}
% add some Color to structural elements if option tucolor was given
\RequirePackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\KOMAoption{headsepline}{0.5pt:\textwidth}
% equation numbers of form chapter.equationnumber
\RequirePackage{amsmath}%
\renewcommand{\theequation}{\thechapter{}.\arabic{equation}}%
\numberwithin{equation}{chapter}%
Hallo,
ich versuche gerade die zitierweise für meine Bachelorarbeit anzupassen. Die Verweise sollen bei mehreren Verweisen an einer Stelle mit Komma getrennt werden: [ABC19,DEF19] Mein aktueller Code gibt jedoch ein Semikolon aus: [ABC19;DEF19]. Kann mir dabei jemand helfen?
Folgendes Minimalbeispiel - ich kann es leider nicht weiter eingrenzen:
[code]
\documentclass[
BCOR=12mm, % 12mm binding corrections, adjust to fit your binding
parskip=half, % new paragraphs start with half line vertical space
open=any, % chapters start on both odd and even pages
cleardoublepage=plain, % no header/footer on blank pages
]{unithesis}
% Warning, if another latex run is needed
\usepackage[aux]{rerunfilecheck}
% just list chapters, sections and subsections in the toc, not subsubsections or smaller
\setcounter{tocdepth}{2}
%------------------------------------------------------------------------------
%------------------------------ Sprache und Schrift: --------------------------
%------------------------------------------------------------------------------
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX} % -- becomes en-dash etc.
\usepackage{tabularx}
\captionsetup[table]{belowskip=9pt}
\usepackage{multirow}
\usepackage[english,ngerman]{babel} % neue deutsche
% microtypographical features, makes the text look nicer on the small scale
\usepackage{microtype}
%------------------------------------------------------------------------------
%------------------------ Für die Matheumgebung--------------------------------
%------------------------------------------------------------------------------
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{braket}
\usepackage{isotope}
\usepackage{pgfplotstable}
\usepackage{longtable}
\usepackage{tabu}
\usepackage{pdfpages}
\pgfplotsset{/pgf/number format/use comma}
\pgfplotsset{compat=1.11}
% Enable Unicode-Math and follow the ISO-Standards for typesetting math
\usepackage[
math-style=ISO,
bold-style=ISO,
sans-style=italic,
nabla=upright,
partial=upright,
]{unicode-math}
\setmathfont{Latin Modern Math}
% nice, small fracs for the text with \sfrac{}{}
\usepackage{xfrac}
%------------------------------------------------------------------------------
%---------------------------- Numbers and Units -------------------------------
%------------------------------------------------------------------------------
\usepackage[
locale=DE,
separate-uncertainty=true,
per-mode=symbol-or-fraction,
]{siunitx}
\sisetup{math-micro=\text{µ},text-micro=µ}
%------------------------------------------------------------------------------
%-------------------------------- tables -------------------------------------
%------------------------------------------------------------------------------
\usepackage{booktabs} % stellt \toprule, \midrule,
%------------------------------------------------------------------------------
%-------------------------------- graphics -------------------------------------
%------------------------------------------------------------------------------
\usepackage{graphicx}
\usepackage{grffile}
% allow figures to be placed in the running text by default:
\usepackage{scrhack}
\usepackage{float}
\floatplacement{figure}{htb}
\floatplacement{table}{htbp}
% keep figures and tables in the section
\usepackage[section, below]{placeins}
%------------------------------------------------------------------------------
%---------------------- customize list environments ---------------------------
%------------------------------------------------------------------------------
\usepackage{enumitem}
%------------------------------------------------------------------------------
%------------------------------ Bibliographie ---------------------------------
%------------------------------------------------------------------------------
\usepackage[
backend=biber, % use modern biber backend
style = alphabetic, % gibt Quellen nicht durchnummeriert, sondern mit Text an
autolang=hyphen, % load hyphenation rules for if language of bibentry is not % german, has to be loaded with \setotherlanguages % in the references.bib use langid={en} for english sources
sorting=none, % sorts literature chronologicaly
maxcitenames=10000000,
maxbibnames=1000000,
minbibnames=3,
mincitenames=3,
maxitems=1000000,
% minitems=3,
]{biblatex}
\addbibresource{bibliografie.bib} % die Bibliographie einbinden
\DefineBibliographyStrings{german}{andothers = {{et\,al\adddot}}, % et al. statt u.a.
editor = {\mkbibparens{Hrsg\adddot}\addcolon}, % ; nach Hrsg
editors = {\mkbibparens{Hrsg\adddot}\addcolon}} % ; nach Hrsg
\DeclareNameAlias{author}{last-first} %Erst Nachname, dann vorname
\DeclareNameAlias{editor}{last-first}
\DeclareFieldFormat[article]{number}{\bibstring{number}\addnbspace #1} % Number mit Text Nr.
\renewcommand{\multinamedelim}[0]{; }
\renewcommand{\finalnamedelim}[0]{; }
\renewcommand{\labelnamepunct}{\addcolon\addspace} % Doppelpunkt nach Namen
%------------------------------------------------------------------------------
%------------------------------ Sonstiges: ------------------------------------
%------------------------------------------------------------------------------
\usepackage[hidelinks]{hyperref} %Links ohne Kasten
\usepackage{bookmark}
\usepackage[shortcuts]{extdash}
\begin{document}
Zitatbeispiel \cite{Grimm,Andersen}
\backmatter
\nocite{*}
\printbibliography
\end{document}
[/code]
Die Quellenangaben:
[code]
@Book{Andersen,
author = {Andersen, H. C.},
title = {Andersens Märchen},
}
@Book{Grimm,
author = {Grimm, J. and Grim, W.},
title = {Die Märchen der Gebrüder Grimm},
}
[/code]
Und die Klasse:
[code]
\ProvidesClass{unithesis}[2015/08/31 v0.9 wrapper to scrbook for thesis at TUDo]
% All other Options go to KOMA-Script
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}}
\PassOptionsToPackage{bibliography=totoc}{biblatex}
\ProcessOptions\relax
\LoadClass[
headsepline, % line between header and text body
bibliography=totoc, % bibliography as unnumbered chapter in toc
numbers=noenddot, % no dot after figure/table number
captions=tableheading, % correct spacing for table headings
headings=normal, % size of chapter headings slightly smaller
]{scrbook}
\RequirePackage{caption}
\RequirePackage{subcaption}
% add some Color to structural elements if option tucolor was given
\RequirePackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\KOMAoption{headsepline}{0.5pt:\textwidth}
% equation numbers of form chapter.equationnumber
\RequirePackage{amsmath}%
\renewcommand{\theequation}{\thechapter{}.\arabic{equation}}%
\numberwithin{equation}{chapter}%
[/code]