
我身邊有一個和這個類似的案例:
但使用apacite。當我按照上述主題中的建議進行操作時,結果是 () 但其中沒有單詞,即從“.....(Tech.Rep.)...”到“...( )...” 。有沒有辦法去掉括號並將其應用於整個參考書目而不是逐個條目?
\documentclass[12pt,twoside,a4paper]{book}
\usepackage[english]{babel}
\usepackage{apacite}
\begin{document}
\cite{iso3}
\bibliographystyle{apacite}
\bibliography{alternative}
\end{document}
@techreport{iso3,
Author = {ISO/IEC },
Date-Added = {2013-04-10 19:39:43 +0000},
Date-Modified = {2013-04-14 05:05:06 +0000},
Institution = { International Organization for Standardization, Geneva, Switzerland.},
Title = {{ISO}/{IEC} 9126-1:2001, {S}oftware engineering - {P}roduct quality, {P}art 1:{Q}uality model},
Year = {2001}}
答案1
您可以使用以下重新定義:
\documentclass[12pt,twoside,a4paper]{book}
\usepackage[english]{babel}
\usepackage{apacite}
\makeatletter
\renewcommand{\APACbVolEdTR}[2]{%
\ifx\@empty#1\@empty
\ifx\@empty#2\@empty
\else%
\unskip\hbox{}% (Technical Report No.\ <no>)
\fi%
\else%
({#1}% (2nd ed., Vol.~1
\ifx\@empty#2\@empty%
\else%
\unskip; {#2}% ; Technical Report No.\ <no>
\fi%
)% Final parenthesis.
\fi%
}
\makeatother
\usepackage{filecontents}
\begin{filecontents}{alternative.bib}
@techreport{iso3,
Author = {ISO/IEC },
Date-Added = {2013-04-10 19:39:43 +0000},
Date-Modified = {2013-04-14 05:05:06 +0000},
Institution = { International Organization for Standardization, Geneva, Switzerland.},
Title = {{ISO}/{IEC} 9126-1:2001, {S}oftware engineering - {P}roduct quality, {P}art 1:{Q}uality model},
Year = {2001}}
\end{filecontents}
\begin{document}
\cite{iso3}
\bibliographystyle{apacite}
\bibliography{alternative}
\end{document}