命令错误(学术文献)

命令错误(学术文献)

我正在使用 Texworks 写一篇论文,但在使用某些特定命令时遇到了问题,加载包时会出现一些错误。

第一个错误:

! Package xkeyval Error: `Optionen' undefined in families `Gm

进而:

! Package biblatex Error: Incompatible package 'natbib'

我的代码是:

% !TeX spellcheck = en_US
% !TEX encoding = UTF-8 Unicode
\documentclass{elsarticle}
%\documentclass[preprint,authoryear,12pt]{elsarticle}
%\documentclass[]{interact}
\usepackage{graphicx}
\usepackage[english]{babel}
\usepackage{verbatim}
\usepackage[capposition=top]{floatrow}
\usepackage[colorlinks=true]{hyperref}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{bm}
\usepackage{adjustbox}
\usepackage{etoolbox}
\usepackage{subcaption}
\usepackage{hyperref}
\usepackage{footnotebackref}
\usepackage{lineno}
\usepackage{tikz}
\usepackage{float}
\usepackage{threeparttable}
\usepackage{lscape}
\usepackage{hyphenat}
\usepackage{adjustbox}
\usepackage{longtable}
\usepackage{rotating}
\usepackage{longtable,tabu}
\usepackage{pdflscape}
\usepackage[Optionen]{geometry}
\usepackage{booktabs}
\usepackage{dcolumn}
\usepackage{eurosym}
\usepackage[section]{placeins}
\usepackage{ntheorem}
\usepackage{enumitem}

%\theoremseparator{:}
%\newtheorem{hyp}{Hypothesis}
%\let\citefullauthor\relax
%\let\citetext\relax
%\let\defcitealias\relax
%\let\Citealt\relax
%\let\Citealp\relax
\newcommand{\rowgroup}[1]{\hspace{-1em}#1}
\setlength{\parindent}{0pt}
%\theoremseparator{:}
%\newtheorem{hyp}{Hypothesis}
%\let\citefullauthor\relax
%\let\citetext\relax
%\let\defcitealias\relax
%\let\Citealt\relax
%\let\Citealp\relax
\newcommand{\rowgroup}[1]{\hspace{-1em}#1}
\setlength{\parindent}{0pt}

%%\usepackage{commenting} only in draft mode
%%\declareauthor{hb}{Hendrik}{blue}
%%\declareauthor{gp}{XXX}{green!30!black}
%\usepackage{setspace}% http://ctan.org/pkg/setspace
%\AtBeginEnvironment{table}{\singlespacing}% Single spacing in tabular environment

%\usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty. Commands using natbib.sty MUST be deactivated first!
%\setlength\bibhang{12pt}% To set the indentation in the list of references using apacite.sty. Commands using natbib.sty MUST be deactivated first!
%\renewcommand\bibliographytypesize{\fontsize{10}{12}\selectfont}% To set the list of references in 10 point font using apacite.sty. Commands using natbib.sty MUST be deactivated first

据我了解,第一个错误是由于包含(选项)而引起的,因为其他先前的包可能已上传几何包。第二个错误似乎是不兼容 - 但我有点不知道该怎么做,因为我无法下载包并真正开始工作。

提前致谢,

相关内容