I am writing my thesis in LaTeX (to be more specific in Overleaf). For this, I had to refer to articles and do this using APA style. However, I could not find the right way of referencing. I already have this settings, that I found on the internet, but still it does not refer to articles the way it should be.
\usepackage{apacite}
\bibliographystyle{apacite}
\bibliography{references}
\documentclass[a4paper,10pt,twoside]{report}.
This is an example of the text:
Besides this, job resources could buffer the negative impact of high job demands. \cite{bakker2007state}.
and the bib:
@article{bakker2007state,
title={The job demands-resources model: State of the art},
author={Bakker, Arnold B and Demerouti, Evangelia},
journal={Journal of managerial psychology},
volume={22},
number={3},
pages={309--328},
year={2007},
publisher={Emerald Group Publishing Limited}
}
The in-text references only include the authors, not the year of publication. How should I do this?
And I also have another question. In a sentence like "Research performed by Petrou (2012) shows ...", how should I refer to this article, because when I use \cite{...}
, everything including the authors name becomes between brackets.
You would really help me and my thesis!
Update
\documentclass[a4paper,10pt,twoside]{report}
\usepackage{apacite}
\usepackage{a4wide} % Tell latex to use the room there is on the page
\usepackage{amsmath} % For equation environment
\usepackage[greek, british]{babel} % Use british hyphenation stuff and the Greek Euro symbol
\usepackage{fancyhdr} % Nice and shiny headers
\usepackage{graphicx} % For images
\usepackage{grffile} % So that we can use spaces in image names...
\usepackage{pifont} % For ticks and crosses
\usepackage{paralist} % Compact enumerate and itemize
\usepackage[usenames,dvipsnames]{color} % Colored text
\usepackage{moreverb} % To include keywords
\usepackage{lscape} % Landscape page
\usepackage{tocbibind}
%\usepackage{svnkw} % SVN revision number (and more) in LaTeX doc.
\usepackage{verbatim} % Multiline comments (using \begin{comment}
\usepackage{datetime} % For formatting dates
\usepackage{array} % To add extra line spaces in tables
%\usepackage[colorlinks]{hyperref}
\usepackage{color}
\definecolor{darkred}{rgb}{0.5,0,0}
\definecolor{darkgreen}{rgb}{0,0.5,0}
\definecolor{darkblue}{rgb}{0,0,0.5}
\definecolor{gray}{rgb}{0.35,0.35,0.35}
%\hypersetup{ colorlinks,
%linkcolor=darkblue,
%filecolor=darkgreen,
%urlcolor=darkred,
%citecolor=darkblue }
\usepackage[pagebackref=true,
colorlinks=true,
linkcolor=gray,
bookmarks=true,
filecolor=gray,
urlcolor=gray,
citecolor=gray
]{hyperref} % Make links clickable and generate bookmarks (so you can easily click through in acroread)
\usepackage{lineno} % Include line numbers
\usepackage{longtable} % Make tables that can cover multiple pages
\usepackage[section]{placeins} % Prevent floats from passing beyond \FloatBarrier; keep floats within their sections
\usepackage{url} % Make it possible to define clickable urls
\usepackage{makeidx} % Needed for the index
\usepackage{hyperref} % For inserting PDF options (author etc.)
\usepackage{subfig} % sub-figures!!! hooray...
\captionsetup[subfloat]{position=bottom} %captions below
\usepackage{booktabs} % nicer tables, nice!
\usepackage{rotating} % rotated tables and such
\usepackage[absolute]{textpos}
\usepackage{listings} % For code formatting
\usepackage{thesis}
\begin{document}
One of the most well-known concepts of increasing social wellbeing is the concept of job crafting, which is defined as an action in which individuals make physical and cognitive changes in the tasks or relational boundaries of their work \cite{wrzesniewski2001}. Employees who take these actions, may increase their work engagement, job satisfaction, resilience and thriving \cite{berg2008}. This process can be described as a bottom-up process, the employee takes the initiative to redesign the job instead of the employer.
\bibliographystyle{apacite}
\bibliography{references}
\clearemptydoublepage
\appendix
\addcontentsline{toc}{chapter}{Appendix}
\input{appendices/main}
\end{document}
And the references in .bib
@article{berg2008,
title={What is job crafting and why does it matter},
author={Berg, Justin M and Dutton, Jane E and Wrzesniewski, Amy},
journal={Retrieved form the website of Positive Organizational Scholarship on April},
volume={15},
pages={2011},
year={2008}
}
@article{berg2008,
title={What is job crafting and why does it matter},
author={Berg, Justin M and Dutton, Jane E and Wrzesniewski, Amy},
journal={Retrieved form the website of Positive Organizational Scholarship on April},
volume={15},
pages={2011},
year={2008}
}
apacite
should give you author and year (as required in the APA manual), if you don't get that, something must be wrong. Please show us a short example document that reproduces the undesirable output you get at the moment (a so-called tex.meta.stackexchange.com/q/228/35864, tex.meta.stackexchange.com/q/4407/35864 with\documentclass
, relevant bits of the preamble and\begin{document}...\end{document}
as well as a few example.bib
entries). For your second question you may want to try\citeA
instead of\cite
.