如何使用字母引用樣式在腳註中引用完整標題

如何使用字母引用樣式在腳註中引用完整標題

我正在寫論文,正在努力選擇正確的引文風格。

我傾向於字母風格,因為我發現它很容易閱讀,並且可以輕鬆地回憶起引文所指的參考文獻(如果它是重複的),而無需檢查腳註(我認為這相當分散注意力),或者更糟的是論文的結尾(這在閱讀PDF 時還不錯,您只需單擊超鏈接,然後使用反向引用即可返回,但在閱讀列印文件時會很麻煩)。

但是,我希望能夠添加帶有更詳細參考的腳註。所以當我說,

\autocite{AB12}

輸出是 [AB12] 引用的地方,此外,類似於

[AB12]阿伯拉德和巴金斯基,假紙(2012)

出現在腳註中。我怎樣才能做到這一點?

答案1

根據評論,我修改了我的答案,舊版本進一步下降。

我們首先需要為無標記腳註定義一個新的包裝器

\makeatletter
\newrobustcmd{\mkbibblfootnote}[1]{%
  \iftoggle{blx@footnote}
    {\blx@warning{Nested notes}%
     \addspace\mkbibparens{#1}}
    {\unspace
     \ifnum\blx@notetype=\tw@
       \expandafter\@firstoftwo
     \else
       \expandafter\@secondoftwo
     \fi
       {\csuse{blx@theendnote}{\protecting{\blxmkbibnote{end}{#1}}}}
       {\csuse{blfootnote}{\protecting{\blxmkbibnote{foot}{#1}}}}}}

\newcommand\blfootnote[1]{\begingroup\let\thefootnote\relax\footnotetext{#1}\endgroup}
\makeatother

\megafullcite現在列印字母標籤,如果這是第一次引用這項工作 - 對於該功能,我們需要citetracker它的任何風格(請參閱 § 3.1.2.3,第 54 頁)biblatex文件);在我選擇的 MWE 中strict,還列印一個無標記腳註,其中包含字母標籤、作者姓名、年份和標題。

的註腳\megafullcite{wilde}

[Wil99] 王爾德 (1899),《認真的重要性:嚴肅之人的小喜劇》。

\DeclareCiteCommand{\megafullcite}
  {\usebibmacro{prenote}}
  {\mkbibbrackets{\usebibmacro{cite}}%
   \ifciteseen{}
   {\mkbibblfootnote{%
     \mkbibbrackets{\usebibmacro{cite}}%
     \setunit{\addspace}%
     \usebibmacro{morecite}}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\newbibmacro*{morecite}{%
  \printnames{labelname}%
  \setunit{\addspace}%
  \printfield[parens]{year}%
  \setunit{\nametitledelim}%
  \printfield[citetitle]{labeltitle}}

微量元素

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[style=alphabetic,backend=biber,citetracker=strict]{biblatex}
\usepackage{hyperref}
\addbibresource{biblatex-examples.bib}
\makeatletter
\newrobustcmd{\mkbibblfootnote}[1]{%
  \iftoggle{blx@footnote}
    {\blx@warning{Nested notes}%
     \addspace\mkbibparens{#1}}
    {\unspace
     \ifnum\blx@notetype=\tw@
       \expandafter\@firstoftwo
     \else
       \expandafter\@secondoftwo
     \fi
       {\csuse{blx@theendnote}{\protecting{\blxmkbibnote{end}{#1}}}}
       {\csuse{blfootnote}{\protecting{\blxmkbibnote{foot}{#1}}}}}}

\newcommand\blfootnote[1]{\begingroup\let\thefootnote\relax\footnotetext{#1}\endgroup}
\makeatother

\DeclareCiteCommand{\megafullcite}
  {\usebibmacro{prenote}}
  {\mkbibbrackets{\usebibmacro{cite}}%
   \ifciteseen{}
   {\mkbibblfootnote{%
     \mkbibbrackets{\usebibmacro{cite}}%
     \setunit{\addspace}%
     \usebibmacro{morecite}}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\newbibmacro*{morecite}{%
  \printnames{labelname}%
  \setunit{\addspace}%
  \printfield[parens]{year}%
  \setunit{\nametitledelim}%
  \printfield[citetitle]{labeltitle}}

\begin{document}
  Lorem ipsum \megafullcite{wilde} again \megafullcite{wilde}.

  Lorem ipsum \megafullcite{wilde,cicero}.

  Lorem ipsum \megafullcite{baez/article,baez/online}.

  \printbibliography
\end{document}

在此輸入影像描述


這是答案的舊版本,它實現了更詳細的版本\fullcite

我們可以定義兩個新的引用命令

\megafootfullcite將在腳註中列印字母標籤和完整的參考書目條目。

\DeclareCiteCommand{\megafootfullcite}[\mkbibfootnote]
  {\usebibmacro{prenote}}
  {\mkbibbrackets{\usebibmacro{cite}}%
   \setunit{\addspace}%
   \usedriver
     {\DeclareNameAlias{sortname}{default}}
     {\thefield{entrytype}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

所以\megafootfullcite{wilde}給了內容的註腳

[Wil99] 奧斯卡王爾德。認真的重要性:嚴肅的人的瑣碎喜劇。倫納德史密瑟斯公司,1899 年。

\megafullcite列印文字中的字母標籤並為完整的參考書目條目添加腳註。

\DeclareCiteCommand{\megafullcite}
  {\usebibmacro{prenote}}
  {\mkbibbrackets{\usebibmacro{cite}}%
   \mkbibfootnote{\usedriver
     {\DeclareNameAlias{sortname}{default}}%
     {\thefield{entrytype}}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

或者

\DeclareCiteCommand{\megafullcite}
  {\usebibmacro{prenote}}
  {\mkbibbrackets{\usebibmacro{cite}}%
   \mkbibfootnote{%
     \mkbibbrackets{\usebibmacro{cite}}%
     \setunit{\addspace}%
     \usedriver
       {\DeclareNameAlias{sortname}{default}}%
       {\thefield{entrytype}}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

上面兩個版本的不同之處在於,後者會將字母標籤也放入腳註中,而前者不會在腳註中重複該標籤。

微量元素

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[style=alphabetic]{biblatex}
\usepackage{hyperref}
\addbibresource{biblatex-examples.bib}

\DeclareCiteCommand{\megafootfullcite}[\mkbibfootnote]
  {\usebibmacro{prenote}}
  {\mkbibbrackets{\usebibmacro{cite}}%
   \setunit{\addspace}%
   \usedriver
     {\DeclareNameAlias{sortname}{default}}%
     {\thefield{entrytype}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}


\DeclareCiteCommand{\megafullcite}
  {\usebibmacro{prenote}}
  {\mkbibbrackets{\usebibmacro{cite}}%
   \mkbibfootnote{\usedriver
     {\DeclareNameAlias{sortname}{default}}%
     {\thefield{entrytype}}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\begin{document}
  Lorem ipsum\megafootfullcite{wilde} and \megafullcite{wilde}.

  Lorem ipsum\megafootfullcite{wilde,cicero} and \megafullcite{wilde,cicero}.

  \printbibliography
\end{document}

在此輸入影像描述

相關內容