首先我想說我對 LaTeX 及其結構一無所知。我正在寫論文,被迫使用 LaTeX。
到目前為止,一切都很好。
我的模板是德語,我必須用英文寫論文
我有一個thesis.tex
文件,其中寫入了所有設置...我猜?
我正在使用引用方法\cite
,而且\citeauthor \citeyear
兩者都工作得很好。我遇到的唯一問題是它\citeauthor \citeyear
給了我德語的輸出:例如
\citeauthor{ccelik2011extending} \citeyear{ccelik2011extending}
給出
塞利克與耶爾馬茲 (2011)
如何將“und”從德語更改為英語並使其打印“and”?
\documentclass[openany]{vutinfth} % Remove option 'final' to obtain debug information.
% Load packages to allow in- and output of non-ASCII characters.
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,ngerman]{babel}
\usepackage[autostyle,english=guillemets,english=quotes]{csquotes}
\usepackage{hyperref}
\usepackage{apacite}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\usepackage{float}
\usepackage{fixltx2e}
\usepackage{amsmath}
\usepackage{tabularx}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{microtype}
\usepackage{enumitem}
\usepackage{adjustbox}
\usepackage{rotating}
\usepackage{lipsum}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage[ruled,linesnumbered,algochapter]{algorithm2e}
\usepackage[usenames,dvipsnames,table]{xcolor}
\usepackage{nag}
\usepackage{hyperref}
\usepackage[acronym,toc]{glossaries}
\usepackage[onehalfspacing]{setspace}
\usepackage{graphicx}
\graphicspath{ {./graphics/} }
\newcommand{\authorname}{NAME}
\newcommand{\thesistitle}{Title}
% Set PDF document properties
\hypersetup{
pdfpagelayout = TwoPageRight,
linkbordercolor = {Melon},
pdfauthor = {\authorname},
pdftitle = {\thesistitle},
pdfsubject = {Subject},
pdfkeywords = {a, list, of, keywords}
}
\setsecnumdepth{subsection}
\nonzeroparskip
\setlength{\parindent}{0pt}
\makeindex
\makeglossaries
\setauthor{xy}{xy}{}{male}
\setadvisor{xy}{xy MSc.}{}{male}
\setaddress{Address}
\setregnumber{xy}
\setdate{18}{07}{2019} % Set date with 3 arguments: {day}{month}{year}.
\settitle{\thesistitle}{Titel der Arbeit}
\setsubtitle{xy}{}
% Select the thesis type: bachelor / master / doctor / phd-school.
% Bachelor:
%\setthesis{master}
%
% Master:
\setthesis{master}
\setmasterdegree{master}
\setcurriculum{xy}
{xy}
\newcommand{\todo}[1]{{\color{red}\textbf{TODO: {#1}}}}
\begin{document}
\frontmatter
\addtitlepage{english} % English title page.
\begin{abstract}
abstract
\end{abstract}
\selectlanguage{english}
\tableofcontents % Starred version, i.e., \tableofcontents*, removes the self-entry.
\pagenumbering{arabic}
\input{parts/01_introduction}
\input{parts/02_Background}
\input{parts/03_SystematicLiteratureReview}
\input{parts/04_MethodEmpiric}
\newpage
\listoffigures % Starred version, i.e., \listoffigures*, removes the toc entry.
\listoftables % Starred version, i.e., \listoftables*, removes the toc entry.
\newpage
\bibliographystyle{apacite}
\bibliography{references}
\end{document}