Commit bd7a510a authored by Matthias Stierle's avatar Matthias Stierle
Browse files

Added option for citation style APA or MISQ

parent 7ee4ba42
......@@ -11,7 +11,8 @@
%
\documentclass[
language=english, % set to english or german
type=seminar % set to bachelor, master or seminar
type=master, % set to bachelor, master or seminar
citationstyle=misq % set to apa or misq
]{isthesis}
% Graphics rendering using TikZ
......
......@@ -20,6 +20,9 @@
% Set Master Thesis as default document type
\DeclareStringOption[]{type}[master]
% Set MISQ as default citation style
\DeclareStringOption[]{citationstyle}[misq]
% Process options
\ProcessKeyvalOptions*
......@@ -919,12 +922,20 @@
% References
\AtBeginDocument{%
\ifthenelse{\equal{\isthesis@language}{german}}{
\bibliographystyle{assets/misq-de}%
}{
\bibliographystyle{assets/misq}%
}
}
\ifthenelse{\equal{\isthesis@citationstyle}{apa}}{
\bibliographystyle{assets/apa}}%
{
\ifthenelse{\equal{\isthesis@citationstyle}{misq}}{
\ifthenelse{\equal{\isthesis@language}{german}}{
\bibliographystyle{assets/misq-de}%
}{
\bibliographystyle{assets/misq}%
}
}
{ \bibliographystyle{\isthesis@citationstyle}
}
}
}
\newcommand{\references}[1]{%
\addcontentsline{toc}{chapter}{\bibname}%
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment