[Tex/LaTex] How to put citations in footnote using square bracket style

biblatexfootnotes

I would like the simple command \cite produces an entry in the bibliography (at the end of the doc) and in the footnote, using the format:

bla bla bla~\cite{myref} bla bla.

whose result is:

bla bla bla [1] bla bla.


[1] author, journal, year


I have found this : Biblatex cite with footnote only once, with use of brackets

[edit]: It is almost what I need, but without the superscript and with less information in the footnote (only author, journal, year, volume, page). But I have no idea how to do that.

[edit2]: I cannot find a solution. As I should send my thesis very soon, I am asking for help, once again. Many thanks.

Thanks for your help!

Best Answer

After little modifying this answer:

\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}

Brackets footnotes and vanilla footnotes

Related Question