\begin{quote}
nominal depreciation of the currency of at least 25\% that
is also at least a 10\% increase in the rate of depreciation
\citep[p.~523]{frankel1996currency}
\end{quote}
为什么这个命令不起作用?
我在主文本中使用以下命令。
\documentclass[a4paper,12pt]{report}
\usepackage[USenglish]{babel} % language, change USenglish to german if writing in German
\usepackage{amsmath,amsfonts,amssymb,mathrsfs} % math symbols
\usepackage{graphicx} % package for graphics
\usepackage{tabularx} % package for tables
\usepackage{microtype}
\usepackage{booktabs} % for nice tables
%\usepackage{bookmark} % allows you to click on bookmarks in the pdf, it is commented off because it might disturb you at the beginning. Comment on to see what it can do.
\usepackage{bm} % for bold math
\usepackage{listings} % for inserting code
\usepackage{verbatim} % useful for program listings
\usepackage{pdflscape} % turning wide pages by 90°
\usepackage{color} % package for colors
\usepackage[utf8]{inputenc}
\usepackage{geometry} % interface of your document dimensions
\usepackage[hang]{footmisc} % option hang produces hanging footnotes, see options of package
\usepackage[capposition=top]{floatrow} % defines the position of a caption in a floating environment
\expandafter\def\expandafter\quote\expandafter{\quote\small}
\usepackage{longtable} % for long tables
\usepackage{subcaption}
\usepackage{booktabs}
\usepackage[dvipsnames]{xcolor}
\usepackage{fancyvrb}
\usepackage{makecell} % use for bold line \hlineB{2}
\usepackage{boldline} % use for bold line \hlineB{2}
\usepackage{amsmath}
\usepackage{rotating} % to retrun tables vertically
\usepackage{hyperref}
\usepackage{tablefootnote}
\usepackage{footnote}
\usepackage{apacite}
\usepackage{url} %for online cite
\usepackage{hyperref}
%% Customized options
\usepackage{apacite}
\usepackage[onehalfspacing]{setspace} % Either double-spaced, onehalf-spaced, or single-spaced
\clubpenalty=1000 % prevents single lines at the end of page
\widowpenalty=1000 % prevents single lines at the top of page
\displaywidowpenalty=1000 % for math mode
\interfootnotelinepenalty=10000 % prevents footnotes from breaking across pages
\newcommand{\N}{{\mathbb N}} % shortcut for natural numbers
\newcommand{\R}{{\mathbb R}} % shortcut for real numbers
\usepackage{booktabs}
\usepackage{pdfpages}
%% Other stuff
\DeclareGraphicsExtensions{.pdf,.png,.jpg} % include pictures only with these endings
\setlength{\footnotemargin}{10pt} % defines the space of hanging footnotes
\geometry{left=2.5cm, right=2.5cm, top=2.5cm, bottom=2.5cm} %sets margins on paper itself, check again before submitting/writing if you got the right numbers here
\definecolor{darkblue}{RGB}{51, 51, 178} % defines colour of written text
\allowdisplaybreaks % allows page breaks in align envirnonment
\usepackage{pdfpages}
\graphicspath{C:\Users\Arbnor\Desktop\w\the1\fig}
\begin{document}
\begin{titlepage}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\centering
\includegraphics{Harvardlogo.pdf}
\textsc{\Large Master Thesis}\\[0.5cm]
\HRule\\[0.4cm]
{\huge\bfseries Currency Crises: An Empirical Analysis}\\[0.4cm]
\HRule\\[1.5cm]
\begin{minipage}{0.4\textwidth}
\begin{flushleft}
\large
\textit{Author}\\
\textsc{} % Your name
\end{flushleft}
\end{minipage}
~
\begin{minipage}{0.4\textwidth}
\begin{flushright}
\large
\textit{Supervisor}\\
Prof. Dr. \textsc{} % Supervisor's name
\end{flushright}
\end{minipage}
\vfill\vfill\vfill
{\large\today}
\vfill
\end{titlepage}
\newpage
\include{chapters/abstract}
\newpage
\tableofcontents
\listoffigures
\listoftables
\include{chapters/introduction}
\include{chapters/Literature}
%---------------------------------------------------------------
\bibliographystyle{apacite}
\bibliography{references/references}
\end{document}
答案1
两个建议:
仅加载
apacite
一次包,而不是两次。如果您想要使用
\citet
和\citep
,则必须apacite
使用选项加载包natbibapa
。
另外两条评论:(a)任何包都不应被加载多次。(b)加载hyperref
包最后的。