I am writing my thesis and got a custom LaTeX template for it from my institute. It has its own document class and a main.tex file. My problem is that I tried to changed the citation style in my .cls file to APA but, when I use the \cite
command, it displays wrong and it does not link to the bibliography. In fact, it does not create an entry at all. If it is of relevance, I am using TexMaker as the editor for this.
This is my relevant code in the .cls file:
% Configuration of Bibliography (General) ------------------------
% Load the csquotes package for nice quotation symbols
% (recommended by biblatex)
\RequirePackage[autostyle=true]{csquotes}
% Loads the biblatex package for citations
\RequirePackage[
% Use the newest backend: biber
backend=biber,
% Use alphabetic style
style=apa,
% Add an entry to the ToC
bibtotoc
]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
Just in case, here is the entry in the .bib file:
@article{sitaram_closed-loop_2017,
title = {Closed-loop brain training: the science of neurofeedback},
volume = {18},
issn = {1471-003X, 1471-0048},
shorttitle = {Closed-loop brain training},
url = {http://www.nature.com/articles/nrn.2016.164},
doi = {10.1038/nrn.2016.164},
language = {en},
number = {2},
urldate = {2022-03-17},
journal = {Nature Reviews Neuroscience},
author = {Sitaram, Ranganatha and Ros, Tomas and Stoeckel, Luke and Haller, Sven and Scharnowski, Frank and Lewis-Peacock, Jarrod and Weiskopf, Nikolaus and Blefari, Maria Laura and Rana, Mohit and Oblak, Ethan and Birbaumer, Niels and Sulzer, James},
month = feb,
year = {2017},
pages = {86--100},
file = {Eingereichte Version:files/8/Sitaram et al. - 2017 - Closed-loop brain training the science of neurofe.pdf:application/pdf},
}
Here is how I cite it:
\cite[]{sitaram_closed-loop_2017}
I of course also print the bibliography in my main.tex file:
\printbibliography[
heading=bibintoc,
titel{Bibliography}
]
%An additional problem here is, that it doesn't actually create an
%entry in my table of contents, so maybe someone could help here too.
And this is how it shows up:
sitaram_closed-loop_2017
I would very much appreciate any help and feel free to ask me about additional info.