我希望简单的命令\cite
在参考书目(在文档末尾)和脚注中生成一个条目,使用以下格式:
bla bla bla~\cite{myref} bla bla.
其结果是:
bla bla bla [1] bla bla.
[1] 作者、期刊、年份
我发现这个:Biblatex 仅引用一次脚注,并使用括号
[编辑]:这几乎就是我需要的,但没有上标,脚注中的信息也较少(只有作者、期刊、年份、卷、页码)。但我不知道该怎么做。
[edit2]:我找不到解决方案。由于我很快就要提交论文,所以我再次寻求帮助。非常感谢。
感谢您的帮助!
答案1
经过一些修改回答:
\documentclass[a4paper, 12pt]{report}
%\usepackage[french]{babel}
\usepackage[backend=bibtex,
hyperref=true,
url=false,
isbn=false,
backref=false,
style=numeric-comp,
maxcitenames=3,
maxbibnames=100,
block=none]{biblatex}\usepackage[colorlinks=true]{hyperref}
\usepackage{manyfoot}
\ExecuteBibliographyOptions{citetracker=true,sorting=none}
% Citation footnotes: use \footnoteA
\DeclareNewFootnote{A}
% Vanilla footnotes: use \footnoteB
\DeclareNewFootnote{B}
% Number of each bibliography entry in brackets
\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}
\makeatletter
\newtoggle{cbx@togcite}
% Citation number in brackets
\renewcommand\@makefntext[1]{%
\iftoggle{cbx@togcite}
{\normalfont[\@thefnmark]\enspace #1}
{\mkbibsuperscript{\normalfont\@thefnmark}\enspace #1}%
\global\togglefalse{cbx@togcite}}
%---------------------------------------------------------------
% Mostly verbatim from Joseph Wright
% http://www.texdev.net/2010/03/08/biblatex-numbered-citations-as-footnotes/
\DeclareCiteCommand{\bfcite}[\bracketing]%
{\usebibmacro{cite:init}%
%\let\multicitedelim=\supercitedelim
\iffieldundef{prenote}
{}
{\BibliographyWarning{Ignoring prenote argument}}%
\iffieldundef{postnote}
{}
{\BibliographyWarning{Ignoring postnote argument}}}
{\usebibmacro{citeindex}%
\usebibmacro{bfcite}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}}
\newbibmacro*{bfcite}{%
\ifciteseen
{}
{\xappto\cbx@citehook{%
\global\toggletrue{cbx@togcite}%
\noexpand\footnotetextA[\thefield{labelnumber}]{%
\fullcite{\thefield{entrykey}}\addperiod}}}}
\newrobustcmd{\bracketing}[1]{%
\mkbibbrackets{#1}%
\cbx@citehook%
\global\let\cbx@citehook=\empty}
\let\cbx@citehook=\empty
%---------------------------------------------------------------
\makeatother
\addbibresource{example_ref_list.bib}
\begin{document}
\chapter{Title}
\null\vfill\noindent
Vanilla footnote.\footnoteB{Vanilla footnote text.}
First citation\bfcite{Torquato2002}.
First citation\bfcite[e.g.][530]{Bernal1959}.
Vanilla footnote\footnoteB{Vanilla footnote text 2.}.
First ``multi'' citation\bfcite{Bernal1960,Bernal1959}.
\printbibliography
\end{document}