
我對 中的參考書目有疑問classicthesis
。我的 main.tex:
\documentclass{scrreprt}
\usepackage[english]{babel}
\usepackage[babel]{csquotes}
\usepackage[style=numeric]{biblatex}
%Loaded here: microtype,graphicx,booktabs,caption,tabularx,hyperref,amsmath
\usepackage{myclassicthesis-preamble}
\usepackage{classicthesis}
\bibliography{references}
\begin{document}
Text
\end{document}
我的參考文獻.bib:
@manual{label,
author= {myauth},
editor= {myedit},
title= {mytitle},
date= {2011}
}
最後報錯:
! LaTeX Error: Command \bibhang already defined.
Or name \end... illegal, see p.192 of the manual.
[...]
l.637 \newlength{\bibhang}
?
可能已經定義了一些東西myclassicthesis-preamble
,但我不知道是什麼。
我在 Windows 7 x64 中使用 TeXworks。
答案1
文件myclassicthesis-preamble.sty
加載natbib
;如果您不打算使用 的任何功能natbib
,請開啟該檔案並註解掉或刪除這些行
\PassOptionsToPackage{square,numbers}{natbib}
\RequirePackage{natbib} % NB: LyX likes to set natbib too, let's avoid clashes