修改 apacite 參考樣式

修改 apacite 參考樣式

apacite我正在嘗試使用帶有 的包來模擬我的研究生院的參考風格bibtex。他們聲稱他們的指導方針接近 APA,但它確實是一種混合體,沒有人真正完全實現。儘管我的單一作者的條目似乎沒有差異:礦

和研究生院的 在此輸入影像描述3;

當資源有兩個時,會有很大差異在此輸入影像描述

或更多作者在此輸入影像描述

這是兩位作者

在此輸入影像描述

和多位作者

在此輸入影像描述 以學校的參考風格。 (這個單字在土耳其語中表示「和」。 )有沒有辦法透過修改apacite兩篇或多篇作者論文的屬性來實現此條目樣式?

答案1

大多數學校的規範都可以透過 的方式獲得apacite,但多個作者之間的分號除外,它是硬編碼在 中的apacite.bst

相關變化是\BBAA\BCBT、 和的重新定義\BCBL,請參閱程式碼。當參考文獻中存在期號時,透過新增 來獲得捲和期~之間的空格。\APACjournalVolNumPages

若要取得分號,請複製apacite.bst,並將副本中的第 2320 行變更為

FUNCTION {comma.between.names} { ", " }

FUNCTION {comma.between.names} { "; " }

然後我們得到

\documentclass{article}

\usepackage{url}
\usepackage{apacite}


\AtBeginDocument{%
  \renewcommand{\BBAA}{ve}%% the 'and' between authors in a parenthetical citation and in the reference list
  \renewcommand{\BCBT}{}%% comma between authors in the reference section when there are two authors
  \renewcommand{\BCBL}{}%% comma before the last author when there are three or more authors in a citation and in the reference section
%% make a space between volume and issue:
\renewcommand{\APACjournalVolNumPages}[4]{%
  \Bem{#1}%             journal
  \ifx\@empty#2\@empty
  \else
    \unskip, \Bem{#2}%  volume
  \fi
  \ifx\@empty#3\@empty
  \else
    \unskip~({#3})%      issue number; added the '~'
  \fi
  \ifx\@empty#4\@empty
  \else
    \unskip, {#4}%      pages
  \fi
}
}
\begin{document}
\cite{Ca04}% one author
\cite{StGu92}% two authors
\cite{GhJaEn02}% three authors

\bibliographystyle{oakenshieldapacite}%% based on apacite.bst
\bibliography{test}
\end{document}

樣本輸出

相關內容