如何修改 bst 文件或进行更改以删除参考列表中首字母连字符之前的句点?(使用 apacite)
我正在排版我姐姐的博士论文,她的参考文献列表与植物生理学风格类似(虽然很不一样,但最接近)。我对我的 bst 文件做了一些修改,并添加了更新命令,但对于删除首字母连字符前的句号,我几乎不知所措。
这是MWE:
\documentclass[a4paper,12pt]{report}
\usepackage[headheight=14.5pt,left=4.45cm,bottom=3.25cm,top=3.25cm,right=3cm]{geometry}
\usepackage[english]{babel}
\usepackage{titletoc}
\usepackage[nodoi]{apacite}
\usepackage{natbib}
\usepackage{xcolor}
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor={blue!50!green},
pdftitle={Sample},
}
\newcommand{\arab}{\textit{{A}rabi\-dop\-sis}}
\newcommand{\arat}{\textit{{A}\-ra\-bi\-dop\-sis tha\-li\-a\-na}}
\setlength{\parindent}{0pt}
\renewcommand{\APACrefauthstyle}{\bfseries}
\renewcommand{\APACjournalVolNumPages}[4]{%
\Bem{#1}% journal
\ifx\@empty#2\@empty
\else
\unskip, {\bf{#2}}% volume
\fi
\ifx\@empty#3\@empty
\else
\unskip({#3}) % issue number
\fi
\ifx\@empty#4\@empty
\else
\unskip:~{#4}% pages
\fi
}
\begin{document}
\frenchspacing
The proposed function of AtAGP18 is the initiation of female gametogenesis \citep{Acosta2004}. For AtBGAL4, its reported enzyme activities include preferred cleavage at $\beta$-1,3- and $\beta$-1,6-Gal, but not to $\beta$-1,4-Gal \citep{Ahn2007}.
\bibliographystyle{myapacite}
\frenchspacing
\bibliography{samplebib}
\end{document}
这是示例围兜:
@article{Acosta2004,
doi = {10.1105/tpc.104.024588},
year = {2004},
volume = {16},
number = {10},
pages = {2614--2628},
author = {Acosta-Garc{\'\i}a, Gerardo and Vielle-Calzada, Jean-Philippe},
title = {A Classical Arabinogalactan Protein Is Essential for the Initiation of Female Gametogenesis in {\arab}},
journal = {The Plant Cell}
}
@article{Ahn2007,
doi = {10.1016/j.phytochem.2007.03.021},
year = {2007},
volume = {68},
number = {11},
pages = {1510--1520},
author = {Ahn, Young Ock and Zheng, Meiying and Bevan, David R and Esen, Asim and Shiu, Shin-Han and Benson, Jonas and Peng, Hsiao-Ping and Miller, Joseph T and Cheng, Chi-Lien and Poulton, Jonathan E and Shih, Ming-Che},
title = {Functional genomic analysis of {\arat} glycoside hydrolase family 35},
journal = {Phytochemistry}
}
附言:\arat
和\arab
只是我创建的宏,因为它们在论文中经常出现,并且我不希望将那里出现的每一个拟南芥/大蕉都用斜体显示出来。
答案1
我认为重新定义 \BHBI 应该可以解决问题,例如:
...
\begin{document}
\renewcommand{\BHBI}{-}
...
引用 apacite 手册:
\BHBI
是首字母之间的连字符。与 类似\BPBI
,\BHBI
用于具有两个或多个名字且名字之间有连字符的作者,例如Jean-Paul Sartre
。默认为句号和连字符。