I am unable to make use of the \citep{}
function on LaTeX, using Texmaker. \cite{}
works just fine, however.
\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\usepackage{amssymb}
\usepackage{apacite}
\usepackage{float}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage{fullpage}
\usepackage{graphicx, subfigure}
\usepackage{setspace}
\graphicspath{ {./Images/} }
\usepackage{url}
\usepackage{rotating}
\usepackage{adjustbox}
\usepackage{lmodern,microtype}
%\usepackage{titlesec,titling}
\usepackage{enumitem,booktabs}
\usepackage{pstricks}
\usepackage{amsmath,amsthm,amssymb,amsfonts}
\usepackage{dsfont,mathrsfs,ushort}
\usepackage[utf8]{inputenc}
\usepackage{tabularx}
\usepackage[toc,page]{appendix}
\usepackage{xcolor}
\usepackage{sectsty}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,arrows}
\tikzstyle{process}=[rectangle,minimum width=3cm,minimum height=1cm, text centered, draw=black, fill=orange!30]
\tikzstyle{decision}=[diamond,minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30]
\tikzstyle{arrow}=[thick,->,>=stealth]
\newcommand*{\myplus}{\ensuremath{\boldsymbol{\pmb{+}}}}
\chapterfont{\color{blue}} % sets
\sectionfont{\color{blue}} % sets colour of sections
\subsectionfont{\color{red}} % sets colour of sections
\begin{document}
\chapter{citations}
\begin{enumerate}
\Citation 1 \cite{a1}.
\Citation2 \citep{a2}.
\end{enumerate}
\bibliographystyle{apacite}
\bibliography{References}
\end{document}
Any help on this is much appreciated!
biblatex-apa
and\parencite
?biblatex
, it defines anapa
style.