
APA スタイルの参考文献から「In」という単語を削除しようとしています。コメントで renewbibmacro を使用するように勧められているのを見つけましたが、参考文献にはまだ表示されています。これが私のサンプル コードです。
\documentclass{article}
\usepackage[utf8]{inputenc}
\title{TExtTemp}
\author{mynameisbee }
\date{November 2020}
\usepackage[
backend=biber,
bibencoding=utf8,
style=apa6,
citestyle=numeric,
firstinits=true,
isbn=false,
doi=false,
url=false,
sorting=none,
clearlang=true,
natbib=true,
intitle=true,
date=year,
uniquelist=false,
maxbibnames=6,
maxcitenames=1,
defernumbers=true
]{biblatex}
%% for a list number index
\makeatletter
\RequireBibliographyStyle{numeric}
\makeatother
\DeclareFieldFormat[inproceedings]{title}{\textbf{#1}}
\DeclareFieldFormat[inproceedings]{booktitle}{#1}
\DeclareFieldFormat[article]{title}{#1}
\DeclareFieldFormat[article]{journaltitle}{\textbf{#1}}
\DeclareFieldFormat[article,unpublished,misc]{volume}{\textbf{#1}}
%% remove comma in Author name
%\DeclareNameAlias{default}{last-first}
\renewcommand*{\revsdnamepunct}{}
%remove "in" out from proceeding
\renewbibmacro*{in:}{}
\begin{filecontents}{jobname.bib}
@article{Ellen,
title={Pathogen-Host Interactions: Antigenic Variation V. Somatic Adaptations},
journaltitle = {Journal of Signal Processing Systems},
author={Hsu, Ellen and Du Pasquier, Louis},
volume={57},
year={2015},
publisher={Springer}
}
@inproceedings{Pisit,
title = {Latent Cognizance: {{What}} Machine Really Learns},
booktitle = {{{ACM}} International Conference Proceeding Series},
author = {Nakjai, Pisit and Ponsawat, Jiradej and Katanyukul, Tatpong},
date = {2019},
pages = {164--170}
}
\end{filecontents}
\addbibresource{jobname.bib}
\begin{document}
\cite{Ellen} is a chapter in \cite{Pisit}.
\printbibliography[title=REFERENCES]
\end{document}
これが私の結果です。赤いブロックには、「In」という単語がまだ表示されています。もう 1 つ質問ですが、括弧 (緑のブロック) を削除したいのですが、どうすれば削除できますか?
答え1
グイドすでにコメントで指摘された関連するbibmacroが呼び出さin
れbiblatex-apa6
、呼び出されないことin:
。したがって、次のようなものが必要になります。
\renewbibmacro*{in}{}
booktitle
のエントリはPisit
少し奇妙に見えます。series
というより のように聞こえますbooktitle
。研究によると、
@inproceedings{Pisit,
title = {Latent Cognizance: What Machine Really Learns},
booktitle = {AIPR '19: Proceedings of the 2nd International Conference
on Artificial Intelligence and Pattern Recognition},
author = {Nakjai, Pisit and Ponsawat, Jiradej and Katanyukul, Tatpong},
date = {2019},
pages = {164--170}
}
の方がずっと適切でしょう。その場合は、間違いなく「in」を使用します。