
参照にいくつかのURLがあります。 を使用すると\usepackage[ngerman]{babel}
、「[あるURL]から取得」は「[あるURL]へ」に変わります。例:
「Zugriff auf」を「Verfügbar unter」に変更したいです。どうやってやるの? MWEはこちら
\documentclass[11pt, oneside, a4paper]{book}
\usepackage[ngerman]{babel}
\usepackage[tocbib, natbibapa, nosectionbib]{apacite}
\renewcommand{\doiprefix}{\ignorespaces}
\usepackage{doi}
\usepackage{hyperref}
\hypersetup{colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black}
\AtBeginDocument{\urlstyle{APACsame}}
\begin{filecontents}{test.bib}
@misc{A,
title = {dplyr: A Grammar of Data Manipulation ({Version} 0.3.0.2)},
author = {Hadley Wickham and Romain Francois},
year = {2014},
type = {\bibcomputersoftware},
url = {http://CRAN.R-project.org/package=dplyr}
}
}
\end{filecontents}
\begin{document}
\citet{A}.
\bibliographystyle{apacite}
\bibliography{test}
\end{document}
答え1
定義はファイルに含まれておりgerman.apc
、次のように与えられます。
\renewcommand{\BRetrievedFrom}{Zugriff auf\ }%
同様のものを発行するだけで\renewcommand
後 \begin{document}
:
\documentclass[11pt, oneside, a4paper]{book}
\usepackage[ngerman]{babel}
\usepackage[tocbib, natbibapa, nosectionbib]{apacite}
\renewcommand{\doiprefix}{\ignorespaces}
\usepackage{doi}
\usepackage{hyperref}
\hypersetup{colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black}
\AtBeginDocument{\urlstyle{APACsame}}
\begin{filecontents}{test.bib}
@misc{A,
title = {dplyr: A Grammar of Data Manipulation ({Version} 0.3.0.2)},
author = {Hadley Wickham and Romain Francois},
year = {2014},
type = {\bibcomputersoftware},
url = {http://CRAN.R-project.org/package=dplyr}
}
}
\end{filecontents}
\begin{document}
\renewcommand{\BRetrievedFrom}{Verf\"ugbar unter\ }
\citet{A}.
\bibliographystyle{apacite}
\bibliography{test}
\end{document}
ファイルには以下の内容も含まれていることに注意してください
\renewcommand{\BRetrieved}[1]{Zugriff am {#1} auf\ }%
フィールドが提供されている場合に使用されますlastchecked
。
\renewcommand{\BAvailFrom}{Verf\"ugbar unter\ }%
しかし、ドキュメントには、これが に置き換えられたと記載されています\BRetrievedFrom
。