定制 bibtex 输出

定制 bibtex 输出

我的代码的 MWE 如下所示

\documentclass{article}
%\usepackage{filecontents}
\usepackage[authoryear]{natbib}

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,anchorcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,bookmarksnumbered=true}

\begin{document}

    Here initial concepts\citep{hocman1988chemoprevention} and conditions are explained and
    several hypothesis\citep{defendi1955quantitative} are mentioned in brief.   \citep{kristan2009new} did the initial work in this area. But in Struss' work \citep{vukovic1993identification}  the definitive model is seen \citep{Ratnakarthesis}.

    \bibliographystyle{apa}
    \bibliography{sample.bib}

\end{document}

的内容sample.bib

@article{hocman1988chemoprevention,
    title={Chemoprevention of cancer: selenium},
    author={Hocman, Gabriel},
    journal={International Journal of Biochemistry},
    volume={20},
    number={2},
    pages={123--132},
    year={1988},
    publisher={Elsevier}
}

@article{defendi1955quantitative,
    title={Quantitative estimation of succinic dehydrogenase activity in a single microscopic tissue section},
    author={Defendi, Vittorio and Pearson, Bjarne},
    journal={Journal of Histochemistry \& Cytochemistry},
    volume={3},
    number={1},
    pages={61--69},
    year={1955},
    publisher={SAGE Publications Sage UK: London, England}
}

@article{kristan2009new,
    title={New high-throughput fluorimetric assay for discovering inhibitors of UDP-N-acetylmuramyl-L-alanine: D-glutamate (MurD) ligase},
    author={Kristan, Katja and Kotnik, Miha and Oblak, Marko and Urleb, Uro{\v{s}}},
    journal={Journal of biomolecular screening},
    volume={14},
    number={4},
    pages={412--418},
    year={2009},
    publisher={Sage Publications}
}

@incollection{vukovic1993identification,
    title={Identification of natural antimutagens with modulating effects on DNA repair},
    author={Vukovi{\'c}-Ga{\v{c}}i{\'c}, Branka and Simi{\'c}, Draga},
    booktitle={Antimutagenesis and Anticarcinogenesis Mechanisms III},
    pages={269--277},
    year={1993},
    publisher={Springer}
}

@PhdThesis{Ratnakarthesis,
    author = {Ratnakar, P.},
    title  = {Biochemical studies of Allium sativum Linn.(Garlic)},
    school = {Delhi University},
    year   = {1992},
    type   = {Ph.D Thesis},
}

其输出是

在此处输入图片描述

但根据我的大学指导方针,参考书目应该如下所示在此处输入图片描述

所以我的要求是

1. 删除年份的括号 [例如 (1955) 到 1955 ]

2.将期刊名称改为常规字体,而不是斜体字体[生物分子筛选杂志致生物分子筛选杂志]。

谁能帮帮我。

答案1

这里有一种方法biblatex

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\usepackage[backend=biber, style=authoryear, giveninits, natbib]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\begin{filecontents}{sample.bib}
  @article{hocman1988chemoprevention,
    title={Chemoprevention of cancer: selenium},
    author={Hocman, Gabriel},
    journal={International Journal of Biochemistry},
    volume={20},
    number={2},
    pages={123--132},
    year={1988},
    publisher={Elsevier}
}

@article{defendi1955quantitative,
    title={Quantitative estimation of succinic dehydrogenase activity in a single microscopic tissue section},
    author={Defendi, Vittorio and Pearson, Bjarne},
    journal={Journal of Histochemistry \& Cytochemistry},
    volume={3},
    number={1},
    pages={61--69},
    year={1955},
    publisher={SAGE Publications Sage UK: London, England}
}

@article{kristan2009new,
    title={New high-throughput fluorimetric assay for discovering inhibitors of UDP-N-acetylmuramyl-L-alanine: D-glutamate (MurD) ligase},
    author={Kristan, Katja and Kotnik, Miha and Oblak, Marko and Urleb, Uro{\v{s}}},
    journal={Journal of biomolecular screening},
    volume={14},
    number={4},
    pages={412--418},
    year={2009},
    publisher={Sage Publications}
}

@incollection{vukovic1993identification,
    title={Identification of natural antimutagens with modulating effects on DNA repair},
    author={Vukovi{\'c}-Ga{\v{c}}i{\'c}, Branka and Simi{\'c}, Draga},
    booktitle={Antimutagenesis and Anticarcinogenesis Mechanisms III},
    pages={269--277},
    year={1993},
    publisher={Springer}
}

@PhdThesis{Ratnakarthesis,
    author = {Ratnakar, P.},
    title = {Biochemical studies of Allium sativum Linn.(Garlic)},
    school = {Delhi University},
    year = {1992},
    type = {Ph.D Thesis},
}
\end{filecontents}

\usepackage{xpatch}
 \xpatchbibmacro{date+extrayear}{%
\printtext[parens]
 }{%
\printtext}{}{}

\DeclareFieldFormat{journaltitle}{#1}
\DeclareFieldFormat{booktitle}{#1}

\setlength{\bibhang}{3.5em}

\DeclareCiteCommand{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\printtext[bibhyperref]{\usebibmacro{cite}}}
{\multicitedelim}
{\usebibmacro{postnote}}

\addbibresource{sample.bib}

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,anchorcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,bookmarksnumbered=true}

\begin{document}

    Here initial concepts\citep{hocman1988chemoprevention} and conditions are explained and
    several hypothesis\citep{defendi1955quantitative} are mentioned in brief. \citep{kristan2009new} did the initial work in this area. But in Struss' work \citep{vukovic1993identification} the definitive model is seen \citep{Ratnakarthesis}.

    \printbibliography

\end{document} 

在此处输入图片描述

相关内容