首先我想说的是,我对 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}