
私は LaTeX 初心者で、引用に関していくつか問題があります。脚注引用には、接頭辞「cf」、次にカンマで区切られた著者名、年、そしてページ番号 (p. とドット) を記述したいと考えています。例: cf. Kaiser, Eckenbusch,2003, p. 29。
私は を使用しましたが\autocite{name_title-_year}
、これは問題なく動作しますが、プレフィックスとページ番号は表示されません。bibtex と次のパッケージを使用します。
\usepackage[style=authoryear,autocite=footnote]{biblatex}
\usepackage{cite}
\usepackage{hyperref}
\usepackage[style=authoryear,autocite=footnote]{biblatex}
このプラットフォームで見つけたものをすでに試しましたが、機能しませんでした。
\autocite{name_title-_year}\\
\citep{name_title-_year}\\
\autocite<⟨cf.⟩>{name_title-_year}
\autocite{[name_title-_year}\\
\autocite{[cf.][post]name_title-_year},
(\citealt[cf.][p.~15]{name_title-_year}
この問題を解決する方法をご存知ですか?
答え1
ブロック
\usepackage[style=authoryear,autocite=footnote]{biblatex}
\usepackage{cite}
\usepackage{hyperref}
\usepackage[style=authoryear,autocite=footnote]{biblatex}
に変更する必要があります
\usepackage[style=authoryear,autocite=footnote]{biblatex}
\usepackage{hyperref}
パッケージは一度だけロードする必要があります。パッケージはcite
と互換性がないためbiblatex
、hyperref
通常は最後にロードする必要があります。
それが整理されれば、希望する引用出力を生成できます。
\autocite[Cf.][380]{sigfridsson}
つまり\autocite[<prenote, e.g. 'cf.'>][<postnote>]{<entrykey>}
。
質問に示されているようにカンマを取得したい場合は、次のようになります。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear,autocite=footnote]{biblatex}
\usepackage{hyperref}
\DeclareDelimFormat{nameyeardelim}{\addcomma\space}
\DeclareDelimAlias{finalnamedelim}{multinamedelim}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite[Cf.][380]{sigfridsson}
ipsum \autocite[380]{sigfridsson}
dolor \autocite[Cf.][]{sigfridsson}
\printbibliography
\end{document}